• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Information [Linux] How to update your TeaSpeak server (including script)

essem

Active member
0. (Only once required)
You can download the update script with this command
Code:
curl https://raw.githubusercontent.com/kaerns/teaspeak-updatescript/master/update.sh -o update.sh
or
Code:
wget https://raw.githubusercontent.com/kaerns/teaspeak-updatescript/master/update.sh
or
create a new File and copy/paste it from the link.

1.
Stop your TeaSpeak-server (if not already done).
Depending on how you started your server different methods can be used.
The default way should be
Code:
./teastart.sh stop
.

2.
Run the script:
Code:
bash update.sh
Run the Update Script in the same directory where TeaSpeaks start scripts are.
If you want to use the optimised beta-builds you can pass the parameter --beta .
More infos available in the GitHub repository.

3.
Start your Server again.
Again depending on how you run your server.
The default again is
Code:
./teastart.sh start
.

If you don't have curl installed, it is required and recommended:
Code:
apt-get update
apt-get install curl

For the changelog see GitHub commit history.

Special thanks to:
@Bluscream
@Coolguy3289
 
Last edited:

knightnato

New member
after i did the update i'm getting these:
Code:
<16:09:41> file not exists
<16:09:44> file not exists
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
 

essem

Active member
after i did the update i'm getting these:
Code:
<16:09:41> file not exists
<16:09:44> file not exists
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
<16:09:48> not implemented
thats weird and has nothing todo with the update script rather than with teaspeak.
you can contact @WolverinDEV if you got issues on the actual teaspeak server.
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
Hmm based on the first two errors I think it's the ftstop command, so your client tries to download non existing files.
But if you want to be sure wich commands fails, you have to look at the log
 

h1web

Well-known member
It would be cool that we can assign a Servermessage before the Server quits :-D like "Server is back in 10 seconds for upgrades."
 

essem

Active member
well, as far as i know you can stop the server with a custom message or at least change the config message.
my script does not include a restart part because of the amount of different ways to do it.
 

essem

Active member
@h1web updated the script so it checks if the environent is 32 or 64 bit and use the corresponding version.

Hopefully it is fine with every linux distribution, could just test it on my two 64bit machines.
 

Tincho

Active member
@h1web updated the script so it checks if the environent is 32 or 64 bit and use the corresponding version.

Hopefully it is fine with every linux distribution, could just test it on my two 64bit machines.
Hi. Thanks for the script. On 64 bit is working fine. Just one question, could you add a validation to stop the script if server is actually on lastest version?
 

h1web

Well-known member
Really offtopic, but do you also have a TeamSpeak Update Script like that? I really like it.
 

razaq

Well-known member
just for clarification: Your script backs up the db and config
Code:
cp config.yml config.yml.old
cp TeaData.sqlite TeaData.sqlite.old
Since they should be compatible between the versions, why dont you copy them back after the unpacking?