How to enable the ServerQuery?

Good afternoon.

I’m a beginner, and I’d like to know what commands I need to enter on my server to grant access to query admin.

I’m using Ubuntu server and Docker.

Because you said ur using docker you can use the Environment Variables:

Like mentioned by @GingerFury_Phil you’ll need to use the variables to enable the ServerQuery.

The ServerQuery access is disabled by default and needs to be enabled if needed. You should find the password in the first start up logs, however if you don’t have it on hand you can use the variable to set a custom password / to overwrite the default password.

Note that the Telnet Query is deprecated and you’ll need to use the SSH Query.

4 Likes

Hello i am hosting a TeamSpeak 6 server inside a docker container.

My docker compose looks like this mentioned in the Blog Post.
After pulling the latest Image i lost my privilege on the Server, since they are one time use my privilege Key won’t work and i tried to delete my container and start a new one with my compose but it showed me no new token.

I tried to generate a new token but i am unable to connect via telnet. I cannot find the port forwarding on my hosting provider. So i tried it from inside my Container by using the command

docker exec -u 0 -it teamspeak-server bash
login serveradmin

But my Password won’t work as well…

So i tried to change my Password with the variable TSSERVER_QUERY_ADMIN_PASSWORD mentioned on Github inside my compose. But it won’t work either.

Has anybody an similar issue or any further advise what i could try?

Thanks in regard

The Telnet Query is no longer supported on TS6 servers.

Make sure that port 10022 is forwarded and you’re using an SSH connection.

3 Likes

That did the charm thank you i am connected.

EDIT: Is there anything i need to enable additionally? I added the Portforwarding in my .yaml and i am able to connect. But reffering to this Post i tried to get my servergroupID with the command servergrouplist and am receiving the message
serveradmin> servergrouplist
error id=1024 msg=invalid\sserverID

1 Like

You pretty much only need to use the following command before using the servergrouplist command

use 1

OR

use port=9987

Regarless, I’ve updated the post here, so it is easier to read. Thanks for your input

3 Likes

Nailed it thank you. The Output was still confusing but i was able to just copy past your commands.

serveradmin> use 1
error id=0 msg=ok

1 Like