[DiscordArchive] First time attempt to install via docker on my Ubuntu linux server. Everything went fine until I get
[DiscordArchive] First time attempt to install via docker on my Ubuntu linux server. Everything went fine until I get
Archived author: WildcardX • Posted: 2023-08-22T21:50:09.171000+00:00
Original source
First time attempt to install via docker on my Ubuntu linux server. Everything went fine until I get this error:
chris@mercury:~/wow_server/azerothcore-wotlk$ ./acore.sh docker start:app:d
NOTICE: file </home/chris/wow_server/azerothcore-wotlk/conf/config.sh> not found, we use default configuration only.
Deno version check:
Version 1.26.0 is already installed
>>>>> Running: docker compose --profile app up -d
[+] Running 2/2
✔ Container azerothcore-wotlk-ac-database-1 Healthy 2.0s
✔ Container azerothcore-wotlk-ac-db-import-1 Exited 2.5s
service "ac-db-import" didn't complete successfully: exit 1
error: Uncaught (in promise) Error: Failed with error: 1, 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}, however,
^
at Command.<anonymous> (file:///home/chris/wow_server/azerothcore-wotlk/apps/docker/docker-cmd.ts:268:17)
at async Promise.all (index 0)
at async main (file:///home/chris/wow_server/azerothcore-wotlk/apps/docker/docker-cmd.ts:324:7)
Is this a known issue with a known fix?
Archived author: WildcardX • Posted: 2023-08-22T21:51:11.084000+00:00
Original source
I tested I could successfully connect remotely to the mysql container that is started and left running when this error happens.
![[Image: image.png?ex=690c7127&is=690b1fa7&hm=c52...2935ca9fa&]](https://cdn.discordapp.com/attachments/535208956449128490/1143665397464313886/image.png?ex=690c7127&is=690b1fa7&hm=c5243f10c94b6f106de107ba2850866c01355949b9a24fb77fc0fbd2935ca9fa&)
Archived author: WildcardX • Posted: 2023-08-22T21:57:59.087000+00:00
Original source
I scrolled up in this channel and I think I may be seeing the same issue reported earlier.
![[Image: image.png?ex=690c7127&is=690b1fa7&hm=c52...2935ca9fa&]](https://cdn.discordapp.com/attachments/535208956449128490/1143665397464313886/image.png?ex=690c7127&is=690b1fa7&hm=c5243f10c94b6f106de107ba2850866c01355949b9a24fb77fc0fbd2935ca9fa&)
Archived author: Martin Hou • Posted: 2023-08-22T23:23:18.167000+00:00
Original source
I can confirm that the Docker build is broken on my side too.
```>>>>> Running: docker compose --profile app up -d
[+] Running 4/4
✔ Container azerothcore-wotlk-with-npcbots-ac-database-1 Healthy 11.8s
✔ Container azerothcore-wotlk-with-npcbots-ac-db-import-1 Exited 11.7s
✔ Container azerothcore-wotlk-with-npcbots-ac-authserver-1 Created 0.0s
✔ Container azerothcore-wotlk-with-npcbots-ac-worldserver-1 Created 0.0s
service "ac-db-import" didn't complete successfully: exit 1
error: Uncaught (in promise) Error: Failed with error: 1, 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}, however,
^
at Command.<anonymous> (file:///docker/AzerothCore/AzerothCore-wotlk-with-NPCBots/apps/docker/docker-cmd.ts:268:17)
at async Promise.all (index 0)
at async main (file:///docker/AzerothCore/AzerothCore-wotlk-with-NPCBots/apps/docker/docker-cmd.ts:324:7)```
Archived author: mynameismeat • Posted: 2023-08-23T00:39:25.983000+00:00
Original source
for all ya, the `env/docker/etc` folder has been moved into the `env/dist/etc` folder. If you have the `env/docker/etc` folder, you can move everything into the other folder with `cp -rv env/docker/etc/* env/dist/etc`
Archived author: mynameismeat • Posted: 2023-08-23T00:40:57.619000+00:00
Original source
specifically as well, the DBimport fails when there isn't a `dbimport.conf` for it. so it's looking in `env/dist/etc/dbimport.conf`, doesn't see anything, and crashes. Note, if you ran a build, there should be the `.conf.dist` there (so `env/dist/etc/dbimport.conf`)
Archived author: WildcardX • Posted: 2023-08-23T00:48:32.018000+00:00
Original source
I don't have a env/docker/ folder but I do have the env/dist/etc/dbimport.conf.dist file
So I can just: cp env/dist/etc/dbimport.conf.dist env/dist/etc/dbimport.conf ?
Archived author: mynameismeat • Posted: 2023-08-23T00:48:47.243000+00:00
Original source
thats right
Archived author: mynameismeat • Posted: 2023-08-23T00:49:10.829000+00:00
Original source
you'll have to do the same for the others; worldserver.conf.dist, authserver.conf.dist, etc
Archived author: WildcardX • Posted: 2023-08-23T00:49:49.629000+00:00
Original source
I'll give it all a go now