Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@!287003997586325504> a recap please?

[DiscordArchive] <@!287003997586325504> a recap please?

[DiscordArchive] <@!287003997586325504> a recap please?

rektbyfaith
Administrator
0
04-25-2021, 07:33 AM
#1
Archived author: Yehonal • Posted: 2021-04-25T07:33:34.428000+00:00
Original source

<@!287003997586325504> a recap please?
rektbyfaith
04-25-2021, 07:33 AM #1

Archived author: Yehonal • Posted: 2021-04-25T07:33:34.428000+00:00
Original source

<@!287003997586325504> a recap please?

rektbyfaith
Administrator
0
04-25-2021, 08:58 AM
#2
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
rektbyfaith
04-25-2021, 08:58 AM #2

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

rektbyfaith
Administrator
0
04-25-2021, 08:59 AM
#3
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.
rektbyfaith
04-25-2021, 08:59 AM #3

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.

rektbyfaith
Administrator
0
04-25-2021, 09:06 AM
#4
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.
rektbyfaith
04-25-2021, 09:06 AM #4

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.

rektbyfaith
Administrator
0
04-25-2021, 09:08 AM
#5
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:
rektbyfaith
04-25-2021, 09:08 AM #5

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:

rektbyfaith
Administrator
0
04-25-2021, 09:08 AM
#6
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
rektbyfaith
04-25-2021, 09:08 AM #6

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

rektbyfaith
Administrator
0
04-25-2021, 09:11 AM
#7
Archived author: Mynder • Posted: 2021-04-25T09:11:04.522000+00:00
Original source

Next, I'm fetching the client-data.
rektbyfaith
04-25-2021, 09:11 AM #7

Archived author: Mynder • Posted: 2021-04-25T09:11:04.522000+00:00
Original source

Next, I'm fetching the client-data.

rektbyfaith
Administrator
0
04-25-2021, 09:12 AM
#8
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.
rektbyfaith
04-25-2021, 09:12 AM #8

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.

rektbyfaith
Administrator
0
04-25-2021, 09:12 AM
#9
Archived author: Yehonal • Posted: 2021-04-25T09:12:46.654000+00:00
Original source

I've fixed the dos2unix , pushing the PR soon
rektbyfaith
04-25-2021, 09:12 AM #9

Archived author: Yehonal • Posted: 2021-04-25T09:12:46.654000+00:00
Original source

I've fixed the dos2unix , pushing the PR soon

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)