docker-gameserver
docker-gameserver copied to clipboard
pzserver hangs on startup asking for an admin password
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}"
Would you mind explain a little how u did this workaround? Just encounter the same problem, thanks for the help.
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!