Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker WSL: Modules won't import SQL data #18965

Open
gruselgg opened this issue May 28, 2024 · 2 comments
Open

Docker WSL: Modules won't import SQL data #18965

gruselgg opened this issue May 28, 2024 · 2 comments

Comments

@gruselgg
Copy link

Current Behaviour

I can't seem to figure this one out. I installed AzerothCore via Docker on Windows 10 using WSL. Things seemed to run fine, docker images are running, I can connect with a client, create characters, run around, use in-game commands and everything.

Then I tried to install the basic skeleton module and after a few tweaks to the file names I got it to compile. But for some reason it just won't import the sql data (in this case the hello world acore string). I then tried different mods, and all seem to be suffering from this. No imports to the database. Therefore no mod seems to be working.

Here you can see the ac-worldserver logs.

Errors I discovered so far:

  • When logging in with a character: In the ac-worldserver console I get Acore string entry 35410 not found in DB. (ac-worldserver logs last line)
  • When logging in with a character: In-game I get the message <error> in the chat
  • When starting the docker containers i get in the ac-worldserver Can't set process priority class, error: Permission denied right at the start (ac-worldserver logs line 24)

I'm not sure the last error is relevant to this problem, but it seems off.

Expected Blizzlike Behaviour

Modules should work.

Source

No response

Steps to reproduce the problem

  1. Install AzerothCore via Docker and WSL on Windows 10.
  2. Add a module (like the basic skeleton module) and compile again.
  3. Log in with a character and see errors in ac-worldserver console and in-game.

Extra Notes

Things I tried:

AC rev. hash/commit

AzerothCore rev. 46aed4d+ 2024-05-28 06:44:38 +0000 (master branch) (Unix, RelWithDebInfo, Static)

Operating system

Windows 10

Custom changes or Modules

@Kitzunu
Copy link
Member

Kitzunu commented Jun 1, 2024

isn't there a general issue for SQL files in modules not being able to be loaded, or was that fixed? I can't recall

@michaeldelago
Copy link
Contributor

isn't there a general issue for SQL files in modules not being able to be loaded, or was that fixed? I can't recall

kinda? I had this open a while back. #16157. General consensus was to ultimately let the user manage SQL for modules.

otherwise though, docker doesn't mount SQL from modules because it's a difficult to copy only the SQL into the container. To get around this, you can copy SQL files into the appropriate dir at data/sql/custom and the database import should pick it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants