How the get the Admin Key for a TS6 Server on a Synology NAS

Hi, i saw this Post for a UGNAS Setting up a TS6 Server on UGNAS Docker

and now i try to create a TS6 server on my Synology NAS.

The server is running now and i am able to connect to it, but the Admin Key is not shown in the container protocoll

how can i find the admin key?

i found the problem and post the solution here for others.

the problem was caused by missing access rights. by default the container has no rights to use the folder. but there is no warning or error message, and the server will start, but you cant claim it without the token.

so you have to add a user and group id to the yaml from a user that has read/write access to the folder “teamspeak-data” in my example.

services:
  teamspeak:
    image: teamspeaksystems/teamspeak6-server:latest
    container_name: teamspeak6-server
    user: xx:yy
    restart: unless-stopped
    ports:
      - "9987:9987/udp"   # Voice Port
      - "30033:30033/tcp" # File Transfer
      # - "10080:10080/tcp" # Web Query
    environment:
      - TSSERVER_LICENSE_ACCEPTED=accept
    volumes:
      - ./teamspeak-data:/var/tsserver

volumes:
  teamspeak-data:
    name: teamspeak-data

You need to add “user: xx:yy” to the teamspeak section. xx stands for the user ID and yy for the group ID.

I created a new user and group in DSM for the server with Read/Write rights only for this folder. but as far as i know, its not possible to see these ID’s anywhere in DSM. here is a guide that explains how to check them → https://mariushosting.com/synology-how-to-find-uid-userid-and-gid-groupid/

when you found out the ID’s you can enter them in the yaml file, and create the project. after that, the Admin Key is shown in the container protocol and the “teamspeak-data” folder finaly shows the files.

I hope this is a help for others