Skip to content

Troubleshooting

invalid apikey

TS6 Manager does not clear saved WebQuery keys during a normal container restart or upgrade.

If TeamSpeak returns invalid apikey:

  1. confirm the saved connection points to the correct server and port;
  2. verify the server-side key still exists and has management scope;
  3. if you used beta13 TSSERVER_QUERY_ADMIN_API_KEY, check whether that value changed; and
  4. update the saved connection if the server-side key was replaced.

When manually creating a persistent key, use lifetime=0 where appropriate.

Saved credentials stopped working after redeploy

Check ENCRYPTION_KEY.

The same key must be retained across restarts and upgrades. A different value cannot decrypt credentials stored with the previous key.

Server Logs: TeamSpeak log file unavailable / error 2052

Server Logs uses TeamSpeak logview. When TeamSpeak cannot open or read its logfile it returns error 2052 (file input/output error). TS6 Manager maps that to TeamSpeak log file unavailable (not a generic “Connection failed”).

Typical causes on the TeamSpeak host:

  • the logs directory is missing or not writable by the TeamSpeak process user;
  • logfile lock or rotation while logview runs;
  • a Docker volume whose ownership was changed outside the container (e.g. host chown as root).

What to do:

  1. Confirm other TeamSpeak-backed pages still work (Dashboard, Clients). If they do, Manager ↔ Query is fine.
  2. On Docker pr-test: docker exec ts6-pr-teamspeak ls -la /var/tsserver/logs and ensure the TeamSpeak user owns the tree. If permissions look wrong, recreate the volume with docker compose -f docker-compose.pr-test.yml down -v and bring the stack up again.
  3. Use the Retry button once after a short wait — Manager does not auto-retry this error (repeated logview calls can make locks worse).

Activity journal and administrative audit do not use logview, so they can look healthy while Server Logs fails.

TeamSpeak Query flood protection / error 524

TS6 Manager automatically pauses WebQuery traffic and backs off SSH Query reconnects when TeamSpeak reports flood protection. The UI should show a temporary cooldown message and recover automatically after TeamSpeak accepts Query traffic again.

If this happens repeatedly, verify the TeamSpeak Query allow-list. TeamSpeak 6 uses a file path for this setting:

  • command line: --query-ip-allow-list <file>
  • environment: TSSERVER_QUERY_ALLOW_LIST=<file>
  • tsserver.yaml: query.ip-allow-list
  • default filename: query_ip_allowlist.txt

For the official TeamSpeak Docker image, persistent server data is normally mounted at /var/tsserver, so the default file will commonly be /var/tsserver/query_ip_allowlist.txt unless the setting points elsewhere.

Compare the source IP shown in TeamSpeak's Query logs with the CIDRs loaded at startup. If TS6 Manager comes from a Docker network that is not covered by the allow-list, add the narrowest stable address/CIDR that covers the manager. Prefer a dedicated network/static container address and a /32 entry when practical instead of exempting an unrelated shared Docker subnet.

After changing the file, restart TeamSpeak and confirm its startup log reports the expected query_ip_allowlist entries.

SSH features do not work

Core WebQuery management can work while SSH-dependent features fail.

Check:

  • SSH Query is enabled and reachable;
  • the saved SSH credentials are correct;
  • host-key trust is valid; and
  • network/firewall rules allow the connection.

Transient closes during the initial handshake are retried. Authentication and host-key failures need configuration changes.

Sidecar or video streaming errors

For a split-stack deployment verify:

  • SIDECAR_URL points to the sidecar service;
  • backend and sidecar use the same SIDECAR_SECRET;
  • both containers share the same media volume path; and
  • sidecar port 9800 is reachable internally without being exposed publicly.

In the UI, use Refresh on the Runtime / media strip beside Video, IPTV, or Settings → YouTube. That runs a bounded on-demand probe (yt-dlp, ffmpeg, ffprobe, sidecar). Music bot status polling does not run these probes.

YouTube/media extraction problems

yt-dlp is bundled into the production backend image and does not self-update at runtime.

If an extractor has changed upstream, pull a newer TS6 Manager image or rebuild the image so a newer bundled yt-dlp can be installed.

The Settings → YouTube Runtime / media strip shows the bundled yt-dlp version when you refresh diagnostics. It never updates the tool in place.

For media requiring login, age, or member access, configure an appropriate cookie file and protect it like a credential.

Database/schema problems after upgrade

Backend startup runs the schema-apply script automatically.

Confirm:

  • the persistent database volume is mounted at the expected path;
  • the container can write to it; and
  • startup logs show the schema apply/seed path completing.

Do not discard the persistent volume as a first troubleshooting step.

Reverse-proxy login or live-update problems

Check:

  • the public frontend origin matches FRONTEND_URL;
  • WebSocket upgrades are supported by the reverse proxy; and
  • the public domain routes to the frontend/nginx service, not directly to the internal sidecar.

Appearance custom CSS made the UI unusable

Custom CSS is browser-local. Open:

/settings?tab=appearance&safe-ui=1

Safe mode suspends custom CSS for that page load (and the rest of that document lifetime) without deleting the saved text. Use Appearance → Advanced to Disable or Reset, then reload without ?safe-ui=1.

Do not rely on a visible Disable button under hostile CSS — type or bookmark the recovery URL before enabling custom CSS. Clearing site data for the origin also removes the preference, but safe mode is the supported recovery path.


View source · a4bd9a9