Closed Cannonb4ll closed 8 years ago
You need to make sure, that the server files are owned by a non-root user and the server must be started as this user.
Did it solve your problem?
I have the same problem with this error message. I ran the script as the user owning teamspeak, and all files are owned by this user.
Installed Version: 3.0.12.2
@mightyBroccoli please send me a debug file via email address.
@Sebi94nbg email sent.
@mightyBroccoli in your case, the server seems to be not started.
Following command returns No server running (ts3server.pid is missing):
su -s /bin/bash -c 'cd /usr/local/bin/teamspeak3-server_linux_amd64 && ./ts3server_startscript.sh status && cd - > /dev/null' - teamspeak
Can you see a ts3server.pid in your TeamSpeak 3 server directory? If yes, which permissions does the file has and who owns it?
Thats the strange thing. The server is running. Thats the point.
su -s /bin/bash -c 'cd /usr/local/bin/teamspeak3-server_linux_amd64 && ./ts3server_startscript.sh status'
Server is running
and I can see the ts3server.pid the permission is set like
-rw-r--r-- 1 teamspeak teamspeak 5 Mar 12 13:41 ts3server.pid
I really didn't change anything with the file permission or the user permissions. I even updated the server from 3.12.1 to 3.12.2 and after that the script stoped working with this message.
As which user did you run the status command? I believe as root, because you haven't specified an user.
Please copy and paste my above command from https://github.com/TS3Tools/TS3UpdateScript/issues/26#issuecomment-195744901 and test it again.
I ran this line and the server message is nevertheless the same.
su teamspeak -s /bin/bash -c 'cd /usr/local/bin/teamspeak3-server_linux_amd64 && ./ts3server_startscript.sh status'
Server is running
But today I tried just for the fun of it your script again with the same line as usual (I aliased this command to make it even easier)
su teamspeak -s /bin/bash -c 'cd /usr/local/bin/TS3UpdateScript/TS3UpdateScript --check
and today the script ran perfectly without any problems. I did not change anything on the system and I am really surprised that it is working now.
You've a very strange problem. Please let me know, if it's working for you tomorrow or if it's failing again.
@mightyBroccoli are there any news about this issue?
Is it solved or do you still need any help.
I'll close this issue, due no feedback.
Script is not asking me to update, I just get the message in the title constantly.
My TS3 server version: 3.0.11.4