如何解决AzerothCore Docker 安装返回 FileNotFoundError
我正在尝试通过来自 chromiecraft 网站和 acore wiki 的 Docker 方法安装 Azerothcore。任何一种方法都会导致错误。我将不胜感激任何建议。谢谢!
- Docker 版本 20.10.7,构建 f0df350
- docker-compose 版本 1.29.2,构建 5becea4c
方法 1: https://www.chromiecraft.com/how-to-install-a-wow-server-on-your-own-computer/
$ docker-compose pull
Traceback (most recent call last):
File "urllib3/connectionpool.py",line 677,in urlopen
File "urllib3/connectionpool.py",line 392,in _make_request
File "http/client.py",line 1277,in request
File "http/client.py",line 1323,in _send_request
File "http/client.py",line 1272,in endheaders
File "http/client.py",line 1032,in _send_output
File "http/client.py",line 972,in send
File "docker/transport/unixconn.py",line 43,in connect
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception,another exception occurred:
Traceback (most recent call last):
File "requests/adapters.py",line 449,in send
File "urllib3/connectionpool.py",line 727,in urlopen
File "urllib3/util/retry.py",line 410,in increment
File "urllib3/packages/six.py",line 734,in reraise
File "urllib3/connectionpool.py",in connect
urllib3.exceptions.ProtocolError: ('Connection aborted.',FileNotFoundError(2,'No such file or directory'))
During handling of the above exception,another exception occurred:
Traceback (most recent call last):
File "docker/api/client.py",line 214,in _retrieve_server_version
File "docker/api/daemon.py",line 181,in version
File "docker/utils/decorators.py",line 46,in inner
File "docker/api/client.py",line 237,in _get
File "requests/sessions.py",line 543,in get
File "requests/sessions.py",line 530,in request
File "requests/sessions.py",line 643,in send
File "requests/adapters.py",line 498,in send
requests.exceptions.ConnectionError: ('Connection aborted.',another exception occurred:
Traceback (most recent call last):
File "docker-compose",line 3,in <module>
File "compose/cli/main.py",line 81,in main
File "compose/cli/main.py",line 200,in perform_command
File "compose/cli/command.py",line 70,in project_from_options
File "compose/cli/command.py",line 153,in get_project
File "compose/cli/docker_client.py",in get_client
File "compose/cli/docker_client.py",line 170,in docker_client
File "docker/api/client.py",line 197,in __init__
File "docker/api/client.py",line 222,in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.','No such file or directory'))
[21973] Failed to execute script docker-compose
方法 2: https://www.azerothcore.org/wiki/install-with-docker
$ ./acore.sh docker client-data
NOTICE: file </home/user/azerothcore-wotlk/conf/config.sh> has not been found,you should create and configure it.
Deno version check:
Checking https://github.com/denoland/deno/releases/download/v1.9.1/deno-x86_64-unknown-linux-gnu.zip
30.1 MiB / 30.1 MiB (100.0%)
Deno is upgrading to version 1.9.1
Archive: /tmp/.tmpcmcss5/deno.zip
inflating: deno
Upgraded successfully
Check file:///home/user/azerothcore-wotlk/apps/docker/docker-cmd.ts
>>>>> Running: docker-compose run --rm ac-build bash acore.sh client-data
Traceback (most recent call last):
File "urllib3/connectionpool.py",'No such file or directory'))
[22757] Failed to execute script docker-compose
error: Uncaught (in promise) Error: Failed with error: 255,however,it's not related to this Deno script directly. An error occurred within
the script called by the command itself
throw new Error(`Failed with error: ${status.code},^
at Command.<anonymous> (file:///home/user/azerothcore-wotlk/apps/docker/docker-cmd.ts:290:17)
at async Promise.all (index 0)
at async file:///home/user/azerothcore-wotlk/apps/docker/docker-cmd.ts:240:
无论如何都要运行构建命令:
$ ./acore.sh docker build
NOTICE: file </home/user/azerothcore-wotlk/conf/config.sh> has not been found,you should create and configure it.
Deno version check:
Version 1.9.1 is already installed
>>>>> Running: docker-compose --profile local build --parallel
Traceback (most recent call last):
File "urllib3/connectionpool.py",'No such file or directory'))
[22970] Failed to execute script docker-compose
error: Uncaught (in promise) Error: Failed with error: 255,^
at Command.<anonymous> (file:///home/user/azerothcore-wotlk/apps/docker/docker-cmd.ts:290:17)
at async Promise.all (index 0)
at async file:///home/user/azerothcore-wotlk/apps/docker/docker-cmd.ts:240:5
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。