更新Mint 20上的Docker Azerothcore最新版本的问题

问题描述

我在Docker容器中运行Azerothcore-WOLTK。我想更新它(它是在2019年12月克隆的)。在这里关注我的问题:How to properly Update Docker Azerothcore with customizations to both code (scripts),modules and database (added quests,vendors,items)

一切正常,并已安全编译。还使用bash apps / db_assembler / db_assembler.sh更新了数据库。脚本。

但是,使用docker-compose up出现了一些问题:

ac-worldserver_1  | /azeroth-server/bin/worldserver: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory
ac-database_1     | 2020-09-11 22:34:50+00:00 [Note] [Entrypoint]: Entrypoint script for MysqL Server 5.7.28-1debian9 started.
ac-authserver_1   | /azeroth-server/bin/authserver: error while loading shared libraries: libMysqLclient.so.21: cannot open shared object file: No such file or directory

Exception in thread Thread-10:
Traceback (most recent call last):
  File "site-packages/docker/api/client.py",line 246,in _raise_for_status
  File "site-packages/requests/models.py",line 940,in raise_for_status
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.25/containers/695d16e8329be5e8771606aabaec4754a63521ef14c37f8ef92f50e55c34dfc7/attach?logs=0&stdout=1&stderr=1&stream=1

During handling of the above exception,another exception occurred:

Traceback (most recent call last):
  File "threading.py",line 916,in _bootstrap_inner
  File "threading.py",line 864,in run
  File "compose/cli/log_printer.py",line 233,in watch_events
  File "compose/container.py",line 215,in attach_log_stream
  File "compose/container.py",line 307,in attach
  File "site-packages/docker/utils/decorators.py",line 19,in wrapped
  File "site-packages/docker/api/container.py",line 57,in attach
  File "site-packages/docker/api/client.py",line 385,in _read_from_socket
  File "site-packages/docker/api/client.py",line 296,in _get_raw_response_socket
  File "site-packages/docker/api/client.py",line 248,in _raise_for_status
  File "site-packages/docker/errors.py",line 31,in create_api_error_from_http_exception
docker.errors.APIError: 409 Client Error: Conflict ("b'container 695d16e8329be5e8771606aabaec4754a63521ef14c37f8ef92f50e55c34dfc7 is restarting,wait until the container is running'")

虽然我可以从Windows机器上使用Heidisql访问数据库(那里的一切看起来都很好),但似乎实际的worldserver和authserver都失败了,我在那里得到了退出代码

我检查了libMysqLclient和libncurses,并且都已安装:

libncurses6 is already the newest version (6.2-0ubuntu2).
libMysqLclient21 is already the newest version (8.0.21-0ubuntu0.20.04.4).

我尝试过以下几次:

docker-compose down
./bin/acore-docker-remove-build-cache
./bin/acore-docker-build
docker-compose up

但是结果没有改变。有指针吗?

请在下面查看我的docker和docker-compose版本:

Docker version 19.03.12,build 48a66213fe 
docker-compose version 1.27.1,build 509cfb99

谢谢您的时间:)

解决方法

看来AzerothCore的最新版本与Linux Mint 19.2或Linux Mint 20不兼容。

我尝试了一切,包括从源github进行擦除和重新安装,问题始终是相同的。

我确实首先尝试了Mint 19.2(然后升级到20希望能解决它),而最新版本根本无法正常工作。

从我在2019年12月安装的版本恢复备份可以正常工作。

在这一点上,从2019年12月到现在,AC代码发生了变化,打破了Mint 19.2 / 20的支持。经过数十个小时的尝试,我没有其他结论可言了。

对于可能遇到我问题的任何人:如果您有薄荷糖19.2 / 20,请尝试从AzerothCore github安装2019年12月发行版。应该可以。

o /