无法从控制台启动定位堆栈



当我尝试运行时,我的虚拟机上安装了本地堆栈,它抛出我以下错误。

guest@VirtualBox:~$ localstack start

启动本地开发环境。按 CTRL-C 退出。

ERROR: 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip': [es.zip] 
End-of-central-directory signature not found.  Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive.  In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of es.zip or
es.zip.zip, and cannot find es.zip.ZIP, period.
Error starting infrastructure: Command 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip' returned non-zero exit status 9
Traceback (most recent call last):
File "/usr/local/bin/localstack", line 86, in <module>
infra.start_infra()
File "/usr/local/lib/python2.7/dist-packages/localstack/services/infra.py", line 366, in start_infra
raise e
subprocess32.CalledProcessError: Command 'cd /usr/local/lib/python2.7/dist-packages/localstack/infra && cp /tmp/localstack.es.zip es.zip && unzip -q es.zip && mv elasticsearch* elasticsearch && rm es.zip' returned non-zero exit status 9

任何帮助将不胜感激。

@Shital 这应该在最新版本中修复。你能尝试跑步吗:

rm -f /tmp/localstack.es.zip
pip install --no-cache --upgrade localstack
localstack start

相关问题已在此处修复:https://github.com/localstack/localstack/issues/213

最新更新