A few years ago I migrated my Teamspeak3 installation to Docker. Until now this ran like a charm with minimal management effort. For some reason the configured admin password, which is displayed once on the initial startup of Teamspeak3, did not work for me anymore. Researching this issue I have found an easy yet undocumented way on how to reset the admin password on the Teamspeak3 Docker image.
As I’m using the official Teamspeak3 Docker container image I would have to overwrite the start command. When looking into this I have found an undocumented environment property which is not mentioned on the setup page with all the other environment properties. After finding this in the entrypoint file in
/opt/ts3server/entrypoint.sh inside the container, I’ve decided to give it a try – and well – it worked like a charm. Simply add this env to your run command / compose file / deployment resource, set it to your new password and recreate the container:
When the container starts you should see a log entry stating:
2022-07-17 21:02:40.625598|INFO |ServerLibPriv | |updated server query admin password
The username for this password is called:
I advise removing the environment property once the password is reset.
Why they did not include this property with all the other properties in the official documention I fail to grasp.