[DiscordArchive] <@!287003997586325504> a recap please?
[DiscordArchive] <@!287003997586325504> a recap please?
Archived author: Yehonal • Posted: 2021-04-25T07:33:34.428000+00:00
Original source
<@!287003997586325504> a recap please?
Archived author: Mynder • Posted: 2021-04-25T08:58:26.595000+00:00
Original source
Morning. I'll try. Two at least seemingly different issues here. One is the one with dos2unix not converting the config EOLs, instead getting permission errors. That should be fixed by picking/creating a user/group with ids 1000 or bigger and assigning those in an .env file. I'm going to try this with a clean git clone in a bit.
The second is that for me, the database is apparently expected at 127.0.0.1 instead of at the docker hostname "ac-database".
One thing I just found out now after sleeping a few hours is that woldserver.conf apparently contains the authserver config:
[eddy@corsair etc]$ cat worldserver.conf
###############################################
# AzerothCore Auth Server configuration file #
###############################################
[authserver]
# Do not change this
# Files in LogsDir will reflect on your host directory: docker/authserver/logs
LogsDir = "/azerothcore/env/dist/logs"
# Change this configuration accordingly with your docker setup
# The format is "hostname;port;username;password;database":
# - docker containers must be on the same docker network to be able to communicate
# - the DB hostname will be the name of the database docker container
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
# Add more configuration overwrites by copying settings from from authserver.conf.dist
LogLevel = 3
SQLDriverLogFile = "SQLDriver.log"
SQLDriverQueryLogging = 1
Archived author: Mynder • Posted: 2021-04-25T08:59:00.096000+00:00
Original source
Again this is something that I'd prefer to verify with a fresh git clone.
Archived author: Mynder • Posted: 2021-04-25T09:06:11.198000+00:00
Original source
In order to test this properly, I am doing a docker builder prune and docker volume prune before proceeding with the install guide.
Archived author: Mynder • Posted: 2021-04-25T09:08:04.603000+00:00
Original source
So, after a fresh git clone, env/docker/etc looks like this:
Archived author: Mynder • Posted: 2021-04-25T09:08:08.312000+00:00
Original source
[eddy@corsair etc]$ pwd
/run/media/eddy/samsung/azerothcore-wotlk/env/docker/etc
[eddy@corsair etc]$ ls -l
insgesamt 8
-rw-r--r-- 1 eddy users 800 25. Apr 11:02 authserver.conf.dockerdist
-rw-r--r-- 1 eddy users 1051 25. Apr 11:02 worldserver.conf.dockerdist
[eddy@corsair etc]$ cat worldserver.conf.dockerdist
################################################
# AzerothCore World Server configuration file #
################################################
[worldserver]
# Do NOT change those Dir configs
# Files in LogsDir will reflect on your host directory: docker/worldserver/logs
LogsDir = "/azerothcore/env/dist/logs"
DataDir = "/azerothcore/env/dist/data"
# Change this configuration accordingly with your docker setup
# The format is "hostname;port;username;password;database":
# - docker containers must be on the same docker network to be able to communicate
# - the DB hostname will be the name of the database docker container
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
WorldDatabaseInfo = "ac-database;3306;root;password;acore_world"
CharacterDatabaseInfo = "ac-database;3306;root;password;acore_characters"
# Add more configuration overwrites by copying settings from worldserver.conf.dist
LogLevel = 2
# Disable idle connections automatic kick since it doesn't work well on macOS + Docker
CloseIdleConnections = 0
Archived author: Mynder • Posted: 2021-04-25T09:11:04.522000+00:00
Original source
Next, I'm fetching the client-data.
Archived author: Mynder • Posted: 2021-04-25T09:12:43.057000+00:00
Original source
After that, I have two possible ways to continue: do ./acore.sh docker build as the guide says, which will run into the dos2unix issues mentioned above since my regular group id is 100, and id 1000 is group "sambashare", i.e. the files will be created with wrong permissions.
Archived author: Yehonal • Posted: 2021-04-25T09:12:46.654000+00:00
Original source
I've fixed the dos2unix , pushing the PR soon