GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.3k stars 819 forks source link

[ts3server] (SOLVED) Installation bug - download name changed #672

Closed lnxprof closed 8 years ago

lnxprof commented 8 years ago

ts3server's tarball that it downloads changed the format of the extracted directory name. Symptom: Installation dies with copying to /home/ts3server/serverfiles...FAIL - Exit status 1

Fix: From the ts3server login directory, issue: sed -i "s/_linux-/_linux_/g" functions/install_ts3.sh That will replace the copy line and the line that removes the directory in the install_ts3.sh file.

UltimateByte commented 8 years ago

Additional info http://steamcommunity.com/id/UltimateByte/commentnotifications/ To summ up, update now works, but install doesn't. I've not been working on that function yet, it's chinese to me, so @dgibbs64 if you could have a look, would be great.

Relevant code :

downloading teamspeak3-server_linux_amd64-3.0.12.tar.bz2...OK
extracting teamspeak3-server_linux_amd64-3.0.12.tar.bz2...OK
copying to /home/serverdev/ts3server2/serverfiles...FAIL - Exit status 1
cp: cannot stat ‘/home/serverdev/ts3server2/teamspeak3-server_linux-amd64/*’: No such file or directory

serverdev@lrob:~/ts3server2$ ls
functions  serverfiles  teamspeak3-server_linux_amd64  teamspeak3-server_linux_amd64-3.0.12.tar.bz2  ts3server
UltimateByte commented 8 years ago

Well, i think i fixed it in the end, that was pretty easy. I'll pull request that.

UltimateByte commented 8 years ago

Tested, install working... But update fails on a freshly installed ts3server...

serverdev@lrob:~/ts3server2$ ./ts3server update
[ FAIL ] Update ts3-server: Checking for update: teamspeak.com: Not returning version infoserverdev@lrob:~/ts3server2$

However, it can sucessfully check for udpates on a previously (and updated) installed server. It's driving me insane... I'll check that again after some sleep, feel free to have a look and solve it before me.

Other bug detected : Details function

ts3server Script Details
===============================================================================================================================================
/home/serverdev/ts3server2/functions/command_details.sh: line 149: [: : integer expression expected
Service name:        ts3-server
ts3server version:   251215
User:                serverdev
GLIBC required:      UNKNOWN
Email notification:  off
Update on start:     off
Location:            /home/serverdev/ts3server2
Config file:         /home/serverdev/ts3server2/serverfiles/ts3-server.ini

Backups
===============================================================================================================================================
No Backups created
/home/serverdev/ts3server2/functions/command_details.sh: line 594: fn_parms: command not found

PS : Nothing to do with ts3 issue i guess, i just checked it, seeking for relevant stuff : command_update.sh appears to be blank... i don't get it. https://github.com/dgibbs64/linuxgsm/blob/master/functions/command_update.sh

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.