原 各种游戏汇总
|-原 azerothcore-wotlk 编译 + 初始化数据库
root@ubuntu-s-2vcpu-8gb-160gb-intel-sfo3-01:/opt/azerothcore-wotlk# # 3. 编译 + 初始化数据库
./acore.sh docker build
./acore.sh docker start:app
root@ubuntu-s-2vcpu-8gb-160gb-intel-sfo3-01:/opt/azerothcore-wotlk# # 3. 编译 + 初始化数据库 ./acore.sh docker build ./acore.sh docker start:app NOTICE: file not found, we use default configuration only. + docker compose build [+] Building 254.0s (23/42) [+] Building 2105.5s (48/48) FINISHED => [internal] load local bake definitions 0.0s => => reading from stdin 2.56kB 0.0s => [ac-db-import internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 8.37kB 0.0s => [ac-worldserver internal] load metadata for docker.io/library/ubuntu:22.04 6.8s => [ac-worldserver internal] load .dockerignore 0.0s => => transferring context: 261B 0.0s => [ac-db-import internal] load build context 63.1s => => transferring context: 2.02GB 63.1s => [ac-worldserver skeleton 1/4] FROM docker.io/library/ubuntu:22.04@sha256:09506232a8004baa32c47d68f1e5c307d648fdd59f5e7eaa42aaf87914100db3 0.1s => => resolve docker.io/library/ubuntu:22.04@sha256:09506232a8004baa32c47d68f1e5c307d648fdd59f5e7eaa42aaf87914100db3 0.0s => => sha256:09506232a8004baa32c47d68f1e5c307d648fdd59f5e7eaa42aaf87914100db3 6.69kB / 6.69kB 0.0s => => sha256:4cb780d50443fc4463f1f9360c03ca46512e4fdd8fd97c5ce7e69c8758924575 424B / 424B 0.0s => => sha256:392fa14dddd09da29a5c3d26948ff81c494424035b755d01b84ab12d92127433 2.30kB / 2.30kB 0.0s => [ac-worldserver internal] load build context 50.7s => => transferring context: 1.19GB 50.6s => [ac-client-data-init internal] load build context 0.2s => => transferring context: 524.95kB 0.1s => [ac-client-data-init skeleton 2/4] RUN mkdir -pv /azerothcore/bin /azerothcore/data /azerothcore/deps 0.5s => [ac-worldserver skeleton 3/4] RUN apt-get update && apt-get install -y --no-install-recommends tzdata ca-certificate 22.2s => [ac-authserver skeleton 4/4] WORKDIR /azerothcore 0.0s => [ac-client-data-init client-data 1/2] RUN apt-get update && apt-get install -y curl unzip && rm -rf /var/lib/apt/lists/* 24.5s => [ac-authserver build 1/8] RUN apt-get update && apt-get install -y --no-install-recommends 67.2s => [ac-worldserver runtime 1/4] RUN apt-get update && apt-get install -y --no-install-recommends libmysqlclient21 libreadline8 gettext-base default-mysql-client 25.0s => [ac-client-data-init client-data 2/2] COPY --chown=: apps apps 0.4s => [ac-client-data-init] exporting to image 1.4s => => exporting layers 1.3s => => writing image sha256:93cdafc90fb4100583f17aa846c26b56fd85d9d01831711c6a8c9bda49bab342 0.0s => => naming to docker.io/acore/ac-wotlk-client-data:master 0.0s => [ac-client-data-init] resolving provenance for metadata file 0.1s => [ac-db-import build 2/8] COPY CMakeLists.txt /azerothcore/CMakeLists.txt 0.0s => [ac-worldserver build 3/8] COPY conf /azerothcore/conf 0.0s => [ac-worldserver build 4/8] COPY deps /azerothcore/deps 0.3s => [ac-authserver build 5/8] COPY src /azerothcore/src 0.6s => [ac-authserver build 6/8] COPY modules /azerothcore/modules 0.0s => [ac-db-import build 7/8] WORKDIR /azerothcore/build 0.0s => [ac-worldserver build 8/8] RUN --mount=type=cache,target=/ccache,sharing=locked --mount=type=bind,target=/azerothcore/.git,source=.git git config --global --add saf 1994.9s => [ac-worldserver runtime 2/4] COPY --from=build /azerothcore/env/dist/etc/ /azerothcore/env/ref/etc 0.0s => [ac-authserver runtime 3/4] RUN groupadd --gid "1000" "acore" && useradd -d /azerothcore --uid "1000" --gid "1000" "acore" && passwd -d "acore" && chown -R "aco 0.3s => [ac-db-import runtime 4/4] COPY --chown=1000:1000 --chmod=755 apps/docker/entrypoint.sh /azerothcore/entrypoint.sh 0.1s => CACHED [ac-worldserver build 2/8] COPY CMakeLists.txt /azerothcore/CMakeLists.txt 0.0s => CACHED [ac-worldserver build 3/8] COPY conf /azerothcore/conf 0.0s => CACHED [ac-worldserver build 4/8] COPY deps /azerothcore/deps 0.0s => CACHED [ac-worldserver build 5/8] COPY src /azerothcore/src 0.0s => CACHED [ac-worldserver build 6/8] COPY modules /azerothcore/modules 0.0s => CACHED [ac-worldserver build 7/8] WORKDIR /azerothcore/build 0.0s => CACHED [ac-worldserver build 8/8] RUN --mount=type=cache,target=/ccache,sharing=locked --mount=type=bind,target=/azerothcore/.git,source=.git git config --global --add 0.0s => CACHED [ac-worldserver runtime 2/4] COPY --from=build /azerothcore/env/dist/etc/ /azerothcore/env/ref/etc 0.0s => CACHED [ac-worldserver runtime 3/4] RUN groupadd --gid "1000" "acore" && useradd -d /azerothcore --uid "1000" --gid "1000" "acore" && passwd -d "acore" && chown 0.0s => CACHED [ac-worldserver runtime 4/4] COPY --chown=1000:1000 --chmod=755 apps/docker/entrypoint.sh /azerothcore/entrypoint.sh 0.0s => [ac-authserver authserver 1/1] COPY --chown=acore:acore --from=build /azerothcore/env/dist/bin/authserver /azerothcore/env/dist/bin/authserver 0.1s => [ac-db-import db-import 1/3] COPY --chown=acore:acore data data 5.4s => [ac-worldserver worldserver 1/1] COPY --chown=acore:acore --from=build /azerothcore/env/dist/bin/worldserver /azerothcore/env/dist/bin/worldserver 0.6s => [ac-authserver] exporting to image 1.1s => => exporting layers 1.0s => => writing image sha256:b3f8e0d6a70be4d2c27f3f42139886a70a124bfe6c4b0007f218690ab0f9353e 0.0s => => naming to docker.io/acore/ac-wotlk-authserver:master 0.0s => [ac-worldserver] exporting to image 2.7s => => exporting layers 2.6s => => writing image sha256:9a8ec0c842369a73f1dbbbb2f8f422fc65394acfdc94ea8cf35f8dd3de1c1557 0.0s => => naming to docker.io/acore/ac-wotlk-worldserver:master 0.0s => [ac-authserver] resolving provenance for metadata file 0.0s => [ac-worldserver] resolving provenance for metadata file 0.0s => [ac-db-import db-import 2/3] COPY --chown=acore:acore modules modules 0.0s => [ac-db-import db-import 3/3] COPY --chown=acore:acore --from=build /azerothcore/env/dist/bin/dbimport /azerothcore/env/dist/bin/dbimport 0.1s => [ac-db-import] exporting to image 5.0s => => exporting layers 5.0s => => writing image sha256:ee2a97f8761ee1f60a5e01cd89ea17c8fe52ab37664886f1bf6d015ce55716ea 0.0s => => naming to docker.io/acore/ac-wotlk-db-import:master 0.0s => [ac-db-import] resolving provenance for metadata file 0.0s [+] Building 4/4 ✔ acore/ac-wotlk-worldserver:master Built 0.0s ✔ acore/ac-wotlk-authserver:master Built 0.0s ✔ acore/ac-wotlk-client-data:master Built 0.0s ✔ acore/ac-wotlk-db-import:master Built 0.0s + set +x NOTICE: file not found, we use default configuration only. + docker compose up [+] Running 5/5 ✔ Network azerothcore-wotlk_ac-network Created 0.1s ✔ Container ac-db-import Created 0.1s ✔ Container ac-client-data-init Recreated 0.1s ✔ Container ac-authserver Created 0.0s ✔ Container ac-worldserver Created 0.0s Attaching to ac-authserver, ac-client-data-init, ac-db-import, ac-worldserver ac-client-data-init | ####################### ac-client-data-init | Client data downloader ac-client-data-init | ####################### ac-client-data-init | /azerothcore/apps/installer/includes/functions.sh: line 146: /includes/modules-manager/modules.sh: No such file or directory ac-client-data-init | Data v16 already installed. If you want to force the download remove the following file: /azerothcore/env/dist/data/data-version ac-db-import | touch: cannot touch '/azerothcore/env/dist/etc/.write-test': Permission denied ac-db-import | ===== WARNING ===== ac-db-import | The current user doesn't have write permissions for ac-db-import | the configuration dir (/azerothcore/env/dist/etc) or logs dir (/azerothcore/env/dist/logs). ac-db-import | It's likely that services will fail due to this. ac-db-import | ac-db-import | This is usually caused by cloning the repository as root, ac-db-import | so the files are owned by root (uid 0). ac-db-import | ac-db-import | To resolve this, you can set the ownership of the ac-db-import | configuration directory with the command on the host machine. ac-db-import | Note that if the files are owned as root, the ownership must ac-db-import | be changed as root (hence sudo). ac-db-import | ac-db-import | $ sudo chown -R 1000:1000 /path/to/azerothcore/env/dist/etc /path/to/azerothcore/env/dist/logs ac-db-import | ac-db-import | Alternatively, you can set the DOCKER_USER environment ac-db-import | variable (on the host machine) to "root", though this ac-db-import | isn't recommended. ac-db-import | ac-db-import | $ DOCKER_USER=root docker-compose up -d ac-db-import | ==================== ac-db-import | cp: cannot create regular file '/azerothcore/env/dist/etc/authserver.conf.dist': Permission denied ac-db-import | cp: cannot create regular file '/azerothcore/env/dist/etc/dbimport.conf.dist': Permission denied ac-db-import | cp: cannot create regular file '/azerothcore/env/dist/etc/worldserver.conf.dist': Permission denied ac-db-import | '/azerothcore/env/ref/etc/authserver.conf.dist' -> '/azerothcore/env/dist/etc/authserver.conf.dist' ac-db-import | '/azerothcore/env/ref/etc/dbimport.conf.dist' -> '/azerothcore/env/dist/etc/dbimport.conf.dist' ac-db-import | '/azerothcore/env/ref/etc/worldserver.conf.dist' -> '/azerothcore/env/dist/etc/worldserver.conf.dist' ac-client-data-init exited with code 0 ac-db-import exited with code 1 service "ac-db-import" didn't complete successfully: exit 1 root@ubuntu-s-2vcpu-8gb-160gb-intel-sfo3-01:/opt/azerothcore-wotlk# root@ubuntu-s-2vcpu-8gb-160gb-intel-sfo3-01:/opt/azerothcore-wotlk#
20251008 1021 ...
浏览更多内容请先登录。
立即注册
更新于:2025-10-08 10:23:34
相关内容
推荐内容