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

pzserver hangs on startup asking for an admin password #100

Open
mrd0ll4r opened this issue Sep 16, 2024 · 2 comments
Open

pzserver hangs on startup asking for an admin password #100

mrd0ll4r opened this issue Sep 16, 2024 · 2 comments

Comments

@mrd0ll4r
Copy link

When starting the server, I eventually end up in a situation like this:

pzserver  | LOG  : General     , 1726515032194> 1,220,115,395> User 'admin' not found, creating it
pzserver  | LOG  : General     , 1726515032194> 1,220,115,395> Command line admin password: null
pzserver  | LOG  : General     , 1726515032194> 1,220,115,395> Enter new administrator password:

which then hangs.

I fixed this by modifying the start parameters to

startparameters="-servername ${selfname} -adminpassword ${adminpassword}"
@Colgrave34
Copy link

Colgrave34 commented Jan 26, 2025

Would you mind explain a little how u did this workaround?
Just encounter the same problem, thanks for the help.

@mrd0ll4r
Copy link
Author

I modified /data/config-lgsm/pzserver/pzserver.cfg with the above mentioned:

startparameters="-servername ${selfname} -adminpassword ${adminpassword}"

Where exactly that file is on your machine depends on where you mounted /data of the container.
If you use a bind mount, you'll find it in there. If you use a named volume, it'll be a bit more annoying.

Good luck!

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

2 participants