[Support] Linuxserver.io - TeamSpeak 3


Recommended Posts

  • Replies 100
  • Created
  • Last Reply

Top Posters In This Topic

Hey so i'm running unRaid 6.2 rc2 and i cant seem to get teamspeak3 working at all.

 

When i do a fresh install of ts3 and then go check my logs i find ths....

 

Aug 05 16:12:25 ts3-server: INSTALL: INFO: Logs installed

Aug 05 16:12:26 ts3-server: INSTALL: PASS: downloading check_deps.sh: OK

Aug 05 16:12:31 ts3-server: CHECK: ERROR: Checking dependencies: missing: [31mbsdmainutils

Aug 05 16:12:32 ts3-server: CHECK: WARN: abc does not have sudo access. Manually install dependencies.

Aug 05 16:12:38 ts3-server: INSTALL: PASS: downloading install_server_files.sh: OK

Aug 05 16:12:39 ts3-server: INSTALL: PASS: downloading update_ts3.sh: OK

Aug 05 16:12:48 ts3-server: UPDATE: PASS: Checking for update: teamspeak.com

 

EDIT:

 

log updated to this:

 

Aug 05 16:12:25 ts3-server: INSTALL: INFO: Logs installed

Aug 05 16:12:26 ts3-server: INSTALL: PASS: downloading check_deps.sh: OK

Aug 05 16:12:31 ts3-server: CHECK: ERROR: Checking dependencies: missing: [31mbsdmainutils

Aug 05 16:12:32 ts3-server: CHECK: WARN: abc does not have sudo access. Manually install dependencies.

Aug 05 16:12:38 ts3-server: INSTALL: PASS: downloading install_server_files.sh: OK

Aug 05 16:12:39 ts3-server: INSTALL: PASS: downloading update_ts3.sh: OK

Aug 05 16:12:48 ts3-server: UPDATE: PASS: Checking for update: teamspeak.com

Aug 05 16:26:39 ts3-server: UPDATE: PASS: downloading teamspeak3-server_linux_amd64-3.0.13.tar.bz2: OK

Aug 05 16:26:39 ts3-server: UPDATE: INFO: Extracting download

Aug 05 16:26:40 ts3-server: UPDATE: FATAL: Extracting download: FAIL

 

Aug 05 16:26:46 ts3-server: UPDATE: FATAL: update_ts3.sh exiting with code: 1

 

What do i do?

 

Thx in advance :)

Link to comment

Hey so i'm running unRaid 6.2 rc2 and i cant seem to get teamspeak3 working at all.

 

When i do a fresh install of ts3 and then go check my logs i find ths....

 

Aug 05 16:12:25 ts3-server: INSTALL: INFO: Logs installed

Aug 05 16:12:26 ts3-server: INSTALL: PASS: downloading check_deps.sh: OK

Aug 05 16:12:31 ts3-server: CHECK: ERROR: Checking dependencies: missing: [31mbsdmainutils

Aug 05 16:12:32 ts3-server: CHECK: WARN: abc does not have sudo access. Manually install dependencies.

Aug 05 16:12:38 ts3-server: INSTALL: PASS: downloading install_server_files.sh: OK

Aug 05 16:12:39 ts3-server: INSTALL: PASS: downloading update_ts3.sh: OK

Aug 05 16:12:48 ts3-server: UPDATE: PASS: Checking for update: teamspeak.com

 

EDIT:

 

log updated to this:

 

Aug 05 16:12:25 ts3-server: INSTALL: INFO: Logs installed

Aug 05 16:12:26 ts3-server: INSTALL: PASS: downloading check_deps.sh: OK

Aug 05 16:12:31 ts3-server: CHECK: ERROR: Checking dependencies: missing: [31mbsdmainutils

Aug 05 16:12:32 ts3-server: CHECK: WARN: abc does not have sudo access. Manually install dependencies.

Aug 05 16:12:38 ts3-server: INSTALL: PASS: downloading install_server_files.sh: OK

Aug 05 16:12:39 ts3-server: INSTALL: PASS: downloading update_ts3.sh: OK

Aug 05 16:12:48 ts3-server: UPDATE: PASS: Checking for update: teamspeak.com

Aug 05 16:26:39 ts3-server: UPDATE: PASS: downloading teamspeak3-server_linux_amd64-3.0.13.tar.bz2: OK

Aug 05 16:26:39 ts3-server: UPDATE: INFO: Extracting download

Aug 05 16:26:40 ts3-server: UPDATE: FATAL: Extracting download: FAIL

 

Aug 05 16:26:46 ts3-server: UPDATE: FATAL: update_ts3.sh exiting with code: 1

 

What do i do?

 

Thx in advance :)

 

 

my first instinct is the download server was down.

delete the docker container and image and any appdata and try again.

Link to comment

So i did what you said and now it seems to have installed correctly:

 

first log:

 

Aug 05 17:29:24 ts3-server: INSTALL: INFO: Logs installed

Aug 05 17:29:25 ts3-server: INSTALL: PASS: downloading check_deps.sh: OK

Aug 05 17:29:29 ts3-server: CHECK: ERROR: Checking dependencies: missing: [31mbsdmainutils

Aug 05 17:29:31 ts3-server: CHECK: WARN: abc does not have sudo access. Manually install dependencies.

Aug 05 17:29:36 ts3-server: INSTALL: PASS: downloading install_server_files.sh: OK

Aug 05 17:29:38 ts3-server: INSTALL: PASS: downloading update_ts3.sh: OK

Aug 05 17:29:50 ts3-server: UPDATE: PASS: Checking for update: teamspeak.com

Aug 05 17:32:47 ts3-server: UPDATE: PASS: downloading teamspeak3-server_linux_amd64-3.0.13.tar.bz2: OK

Aug 05 17:32:47 ts3-server: UPDATE: INFO: Extracting download

Aug 05 17:32:48 ts3-server: UPDATE: Copying to /config/serverfiles

Aug 05 17:32:49 ts3-server: INSTALL: PASS: downloading install_config.sh: OK

Aug 05 17:32:51 ts3-server: INSTALL: INFO: creating ts3-server.ini config file.

Aug 05 17:32:52 ts3-server: INSTALL: PASS: downloading install_ts3db.sh: OK

Aug 05 17:33:01 ts3-server: INSTALL: PASS: downloading fix.sh: OK

Aug 05 17:33:01 ts3-server: INSTALL: PASS: downloading install_complete.sh: OK

Aug 05 17:33:01 ts3-server: INSTALL: INFO: Install Complete!

Aug 05 17:33:01 ts3-server: INSTALL: PASS: install_complete.sh exiting with code: 0

Aug 05 17:33:01 ts3-server: PASS: downloading command_update_functions.sh: OK

Aug 05 17:33:03 ts3-server: CHECK: PASS: downloading check_logs.sh: OK

Aug 05 17:33:03 ts3-server: INFO: Updating functions

Aug 05 17:33:13 ts3-server: PASS: Updating functions

Aug 05 17:33:13 ts3-server: PASS: command_update_functions.sh exiting with code: 0

Aug 05 17:33:14 ts3-server: PASS: downloading command_update.sh: OK

Aug 05 17:33:15 ts3-server: CHECK: PASS: downloading check_system_dir.sh: OK

Aug 05 17:33:16 ts3-server: CHECK: PASS: downloading check_status.sh: OK

Aug 05 17:33:16 ts3-server: UPDATE: INFO: Checking for update: teamspeak.com

Aug 05 17:33:27 ts3-server: UPDATE: PASS: Checking for update: teamspeak.com

Aug 05 17:33:29 ts3-server: UPDATE: INFO: Current build: 3.0.13

Aug 05 17:33:29 ts3-server: UPDATE: INFO: Available build: 3.0.13

Aug 05 17:33:29 ts3-server: UPDATE: PASS: command_update.sh exiting with code: 0

Aug 05 17:33:30 ts3-server: PASS: downloading command_start.sh: OK

Aug 05 17:33:32 ts3-server: CHECK: ERROR: Checking dependencies: missing: [31mbsdmainutils

Aug 05 17:33:33 ts3-server: CHECK: WARN: abc does not have sudo access. Manually install dependencies.

Aug 05 17:33:33 ts3-server: CHECK: PASS: downloading check_ip.sh: OK

Aug 05 17:33:34 ts3-server: CHECK: PASS: downloading check_tmux.sh: OK

Aug 05 17:33:34 ts3-server: CHECK: PASS: downloading check_config.sh: OK

Aug 05 17:33:35 ts3-server: START: PASS: downloading info_config.sh: OK

Aug 05 17:33:36 ts3-server: START: PASS: downloading logs.sh: OK

 

second log:

 

Aug 05 17:33:38 ts3-server: START: PASS: Started TeamSpeak 3 Server

Aug 05 17:33:38 ts3-server: START: PASS: command_start.sh exiting with code: 0

 

 

So what do i do from here?

 

This is my first time installing teamspeak on linux/unRaid so im a bit of a noob...is there some kind of quick start guide?

 

Link to comment

@PieQuest, now you have your server up and running, download a client for the platforms you are running from here:

 

https://www.teamspeak.com/downloads

 

The basic steps are:

 

Connect to a TeamSpeak Server

 

1. Grab the latest TeamSpeak 3 Client from our Downloads page and install the software.

2. Launch the TeamSpeak 3 Client, hit the Connections menu and click Connect.

3. Enter the server address, choose a nickname, and if required, enter the server password.

4. Click Connect.

 

https://www.teamspeak.com/getstarted

 

If you're trying to expose you're teamspeak server to the internet, you will have to forward the appropriate ports on your router - but make sure things are secure before you do.

Link to comment
  • 1 month later...

If you are experiencing problems getting logs into the unRAID UI, here was a solution for me.

 

Fix logging in unRAID UI:

 

Started TS3 and got this mess in the log:

 

tail: cannot open 'ts3server_2016-09-14__22_35_20.912262_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-14__22_35_17.029256_0.log' for reading: No such file or directory
ls: write error: Broken pipe

tail: cannot open 'ts3server_2016-09-14__22_35_25.789968_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-14__22_35_20.912262_0.log' for reading: No such file or directory
ls: write error: Broken pipe

 

Well, that was pretty ugly. Let's get that fixed....connected to the docker and found the startup in /etc/services.d/teamspeak within there is a run file which has the following part a little broken:

 

exec \
        s6-setuidgid abc tail -F -q --pid=$(cat /config/serverfiles/ts3server.pid) \
        $(ls -t /config/serverfiles/logs | head -n 2)

 

The s6-setuidgid is similar to sudo -u abc -c <cmd> for those who are interested in the first tidbit. The problem was a simple oversight to the third line. ls -t /config/serverfiles/logs |head -n 2 lists the two latest files. The problem is the path to the file is not included in the listing. Changing the ls command to the following results output that appears to be desired:

 

ls -rt -1 /config/serverfiles/logs/*.log |head -n2

 

Logs in UI.

 

Cheers.

Link to comment

I'm pretty sure I have this container configured properly but no matter what I seem to do I end up with this...

 

[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log

 

It just repeats these two lines over and over until I stop the container.  I have tried nuking the entire thing and rebuilding it from scratch and it still gets me to this same spot.  I'm at a loss here.  Any ideas?

Link to comment

I'm pretty sure I have this container configured properly but no matter what I seem to do I end up with this...

 

[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log

 

It just repeats these two lines over and over until I stop the container.  I have tried nuking the entire thing and rebuilding it from scratch and it still gets me to this same spot.  I'm at a loss here.  Any ideas?

 

I have the Container set up and it is working fine. Can you please share the config of the Container? Perhaps a screenshot?

Link to comment
Can you please share the config of the Container?

 

I defined /config as /mnt/cache/cacheonly/apps/TeamSpeak3/,

PUID as 1001,  <- The PUID of my user account on my unRAID server.

PGID as 100,

and I renamed the container "TeamSpeak3" instead of "teamspeak3".

I have not modified any of the other fields (or added any additional ones).

Link to comment

Ok, I gave up and used the binhex-teamspeak docker. It works. This one requires way too much work to get right and it doesn't look like anyone is maintaining it. If you're looking for one that works out of the box, use that one.

We're maintaining it, along with many other containers as well as having full time jobs and families and other commitments to see to. 

 

But I get Teamspeak is urgent enough that a 2 day wait for issues is absolutely unacceptable....

 

On behalf of ls.io I apologise....

 

Sent from my LG-H815 using Tapatalk

 

 

Link to comment

If you are experiencing problems getting logs into the unRAID UI, here was a solution for me.

 

Fix logging in unRAID UI:

 

Started TS3 and got this mess in the log:

 

tail: cannot open 'ts3server_2016-09-14__22_35_20.912262_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-14__22_35_17.029256_0.log' for reading: No such file or directory
ls: write error: Broken pipe

tail: cannot open 'ts3server_2016-09-14__22_35_25.789968_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-14__22_35_20.912262_0.log' for reading: No such file or directory
ls: write error: Broken pipe

 

Well, that was pretty ugly. Let's get that fixed....connected to the docker and found the startup in /etc/services.d/teamspeak within there is a run file which has the following part a little broken:

 

exec \
        s6-setuidgid abc tail -F -q --pid=$(cat /config/serverfiles/ts3server.pid) \
        $(ls -t /config/serverfiles/logs | head -n 2)

 

The s6-setuidgid is similar to sudo -u abc -c <cmd> for those who are interested in the first tidbit. The problem was a simple oversight to the third line. ls -t /config/serverfiles/logs |head -n 2 lists the two latest files. The problem is the path to the file is not included in the listing. Changing the ls command to the following results output that appears to be desired:

 

ls -rt -1 /config/serverfiles/logs/*.log |head -n2

 

Logs in UI.

 

Cheers.

 

 

we're not looking to output the log to the unraid UI with that line, the app doesn't foreground so the tailing of the log is to stop it respawning by the process supervisor whilst keeping the benefits of the process management provided by s6.

Link to comment

Can you please share the config of the Container?

 

I defined /config as /mnt/cache/cacheonly/apps/TeamSpeak3/,

PUID as 1001,  <- The PUID of my user account on my unRAID server.

PGID as 100,

and I renamed the container "TeamSpeak3" instead of "teamspeak3".

I have not modified any of the other fields (or added any additional ones).

 

Sorry it took so long to get back to you. I've had a chat internally and it appears that the culprit "might" be the changing of the PUID after setup.

 

The solution presented to try is to do the following from the command line:

 

docker exec -it TeamSpeak3 bash
chown -R abc:abc /config
exit

 

abc is the internal user to the container.

 

Give it a go and let us know how you get on!?  :)

Link to comment

Corrected what looks like a long standing mistake in the template, the network config should have been net=host

 

please update your templates accordingly.

 

It's a dumb question... But mine's been running for months with 4 ports mapped in bridge mode, there's no downside to leaving it as such? Or should I just play it safe and switch to the (now "correct") host mode? :)

Link to comment

 

docker exec -it TeamSpeak3 bash
chown -R abc:abc /config
exit

Executed these commands.  No errors thrown on execution but the problem persists.

 

Tried sparkly's thing about switching it to Host instead of Bridge, as well, still no change.  Here's the full text of what I'm getting in the log:

_ _ _
| |___| (_) ___
| / __| | |/ _ \ 
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We do accept donations at:
https://www.linuxserver.io/donations
-------------------------------------
GID/UID
-------------------------------------
User uid: 1001
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing... 
[cont-init.d] 30-install: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
// Repeat into infinity...

 

[insert sad face here.]

Link to comment

 

docker exec -it TeamSpeak3 bash
chown -R abc:abc /config
exit

Executed these commands.  No errors thrown on execution but the problem persists.

 

Tried sparkly's thing about switching it to Host instead of Bridge, as well, still no change.  Here's the full text of what I'm getting in the log:

_ _ _
| |___| (_) ___
| / __| | |/ _ \ 
| \__ \ | | (_) |
|_|___/ |_|\___/
|_|

Brought to you by linuxserver.io
We do accept donations at:
https://www.linuxserver.io/donations
-------------------------------------
GID/UID
-------------------------------------
User uid: 1001
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-install: executing... 
[cont-init.d] 30-install: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
[K[[31m FAIL [0m] Starting ts3-server: Unable to start TeamSpeak 3 Server
Check log files: /config/log
// Repeat into infinity...

 

[insert sad face here.]

 

I'm inclined to just say "Nuke and start again". Delete config. Delete container and image.

 

This time don't change any defaults other than config location to your cache.

 

I've tried a fresh pull with just setting location of config on my cache and leaving everything else alone and it works. Give it a whirl.

Link to comment

I can't get this docker working either.  The docker shows itself as running but the TeamSpeak client is unable to connect to the server.  I tried leaving all of the default settings (including deleting the config folder and docker image before reinstalling) as well as manually setting the ports in bridged mode.

 

Here is a snippet of the output from [docker logs -f teamspeak3]:

 

[  OK  ] Starting ts3-server: TeamSpeak 3 Server
tail: cannot open 'ts3server_2016-09-21__02_38_06.125233_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-21__02_38_02.188619_0.log' for reading: No such file or directory
[  OK  ] Starting ts3-server: TeamSpeak 3 Server
tail: cannot open 'ts3server_2016-09-21__02_38_10.061207_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-21__02_38_06.125233_0.log' for reading: No such file or directory

 

It looks like it's looping endlessly.

 

Some other details:

  - I'm running unRAID 6.2 final.

  - I tested the Teamspeak3 docker from binhex and it works, but I don't like the way it stores the TS server config outside the actual /config folder (i made a change to a docker setting and it blew away my whole TS server config  ::) ).

 

 

 

EDIT: grammar

Link to comment

I can't get this docker working either.  The docker shows itself as running but the TeamSpeak client is unable to connect to the server.  I tried leaving all of the default settings (including deleting the config folder and docker image before reinstalling) as well as manually setting the ports in bridged mode.

 

Here is a snippet of the output from [docker logs -f teamspeak3]:

 

[  OK  ] Starting ts3-server: TeamSpeak 3 Server
tail: cannot open 'ts3server_2016-09-21__02_38_06.125233_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-21__02_38_02.188619_0.log' for reading: No such file or directory
[  OK  ] Starting ts3-server: TeamSpeak 3 Server
tail: cannot open 'ts3server_2016-09-21__02_38_10.061207_0.log' for reading: No such file or directory
tail: cannot open 'ts3server_2016-09-21__02_38_06.125233_0.log' for reading: No such file or directory

 

It looks like it's looping endlessly.

 

Some other details:

  - I'm running unRAID 6.2 final.

  - I tested the Teamspeak3 docker from binhex and it works, but I don't like the way it stores the TS server config outside the actual /config folder (i made a change to a docker setting and it blew away my whole TS server config  ::) ).

 

 

 

EDIT: grammar

 

I'm sure we can help.

 

First things first, sparklyballs has confirmed that the Container now needs to be run in host mode.

 

Corrected what looks like a long standing mistake in the template, the network config should have been net=host

 

please update your templates accordingly.

 

Second - and this goes for both of you guys having an issue ...

 

I hope when you "start from scratch" as I've suggested you're not doing something like:

 

- migrating from someone else's container (e.g binhex container;

- leaving your config intact - it needs to be deleted too;

- not having your port forwarding properly configured on your router.

 

I maintain, if you do the following EXACTLY then it "should" work ....

 

- stop container

- delete container and image

- delete config from cache

- add container (from new - not user template)

- configure as per published guidelines

- configure port forwarding on router (if required)

- done.

 

Please don't skip any of these steps. Sorry to harp on but it all seems to be working for me and there is nothing special about my setups (x3) but they are hardware unique.

 

Updates below, to keep you all informed of progress:

 

UPDATE1: Standby, it appears there is an issue that is unRAID specific. We are looking into it right now. Thank you for reporting and patience.

UPDATE2: Not confirmed yet but it seems the issue is related to the application trying to bind to an ipv6 address. Given unRAID does not support ipv6 this is why the containers in unRAID are not working. In our VM's it is working, where ipv6 is supported.

Link to comment
  • trurl locked this topic
Guest
This topic is now closed to further replies.