TS3Tools / TS3UpdateScript

Automate all update processes for your TeamSpeak 3 server instances
GNU General Public License v3.0
189 stars 22 forks source link

Script Won't Ask To Update TS3 Server #61

Closed dado3272 closed 7 years ago

dado3272 commented 7 years ago

Hello, I downloaded this script and it is giving me this error: Following instance needs an update, but is stopped and not touched by the script. I've changed my ts3server.pid permissions to 666 but the problem still persists. How can i solve this? log.txt

Sebbo94BY commented 7 years ago

Hi @dado3272 , in your case, the ts3server_startscript.sh script returns following: Server seems to have died

The TS3UpdateScript uses following code to identify this: su -s /bin/bash -c 'cd /usr/local/teamspeak && ./ts3server_startscript.sh status && cd - > /dev/null' - teamspeak

Please make sure, that you've started your TS3 server instance using the user teamspeak. If you log in as user teamspeak and execute ./ts3server_startscript.sh status, this script should return you a text like this, when the server is up and running: Server is running

It might be useful to know, how your directory looks like at the moment: ls -lha /usr/local/teamspeak/

dado3272 commented 7 years ago

Hi, I've started the server with the user teamspeak and now the scripts is working. Before i was running it as root. Thanks for your help.

Sebbo94BY commented 7 years ago

Excellent. Thanks for your feedback!