Update / Upgrade a TS3 server

Here we explain how you can update your server in some simple steps.

  1. You have to stop the current server instance first.
    (Do not kill the process or else you will not be able to start your new server for the next 2-3 hours!)
Shutdown your server instance (Expand to get a how to for your operation system)
  • These are official supported ways. to shutdown the whole server.
    All ways will shutdown the whole instance and will report, that slots are not used anymore.```
* All operation systems:
In the ServerQuery interface you can enter the command `serverprocessstop`

* Linux/FreeBSD shell:
The command `./ts3server_startscript.sh stop` when your server was started with `./ts3server_startscript.sh start`

* Windows:
Right-click into the Server Tray Icon -> Then press `Exit`
  1. It’s always good to have a backup so lets make one first before we go on with step 3.
    Create a copy of the ts3server.sqlitedb or make a dump of your Maria Database

  2. Download the server from our website

  3. Extract the server **without using any Root / Admin account**

  4. Copy all extracted files to old server folder and overwrite the old file.

  • Open the redist folder and copy/move the files to the root folder from the server in case you want to use MariaDB
  1. Start the server instance.

Another description of the process can be found inside doc folder of the server.
There you will find a server_upgrade.txt wit all details needed to update a server.

The topic in this thread is all about updating a server.
Every Off-topic posts won’t get any answer or will be removed from this thread.

Please search for the topic in our forum first and create a thread for your problem in case you could not find any related topic or answer.

18 Likes

I made this script two years ago. Might be helpful for some fellas :slight_smile:

#!/bin/bash
TS_USER=teamspeak

/etc/init.d/teamspeak stop
su $TS_USER -c "mkdir -p ~/backups/"
su $TS_USER -c "tar cfvz ~/backups/latest.tar.gz ~/teamspeak3-server_linux_amd64"
su $TS_USER -c "wget $(curl -s https://www.teamspeak.com/en/downloads/#server | grep -o 'https://files.teamspeak-services.com/releases/server/.*/teamspeak3-server_linux_amd64-.*.tar.bz2' | head -n1) -O ~/latest.tar.bz2"
su $TS_USER -c "tar -xjf ./latest.tar.bz2 -C ~"
/etc/init.d/teamspeak start
15 Likes

nice and clean info.
thank you dude

1 Like

Thank Noted.

Is the best code.

1 Like

may be just another script, but for systemd user. hopefully helpful, too :wink:

1 Like

Hello, I also have a teamspeck license and I don’t know how to update it to add the new version. I have version 3.11.0 and I noticed that the new version is 3.12.1. You can send me some details on how to update. to my teampseck server
the problem is that I never installed my teamspeck server, someone helped me to install my server and I don’t have that person in contact anymore, the teamspek server is on vps and I don’t know how to update it without making a fuss or to erase something I don’t know
when I did the first installation it was done by a friend and I can’t manage to find it anymore my teamspeck server is on vps and I don’t know how to update it

1 Like

You can find a step by step tutorial in the main post of this thread.

4 Likes

I’m sorry to tell you, yes, I don’t know how to do this because I’m 43 years old and I always had the cinerva to do, but now he’s gone and I don’t understand him anymore, I paid him every time to to update me or the degrees and I don’t know how to do them and me not to delete something from it or something from there so I can’t climb it at all

1 Like

i can help you with these, if you want. :slight_smile:

1 Like

Hello,

How to automate this by script on windows server without having to right-click and exit on Server Tray Icon?

Good day

1 Like

Read step one (for all operation systems) and open a Telnet connection to the ServerQuery and then send the command that i wrote there.

2 Likes

Great thanks for the info @FakE

Really well I used API TS3 PHP Framework and didn’t know the new WebQuery Queries
But how can I enable WebQuery on Windows server with ts3server.ini if you like?

thank you

1 Like

Hello and thank you again @FakE

Actually I hadn’t thought about creating a new INI file
It worked perfectly, I was then able to create a key and it worked perfectly with http://127.0.0.1:10080/serverprocessstop?api-key=12345678snT987654w05QDqPliY12345678 (false key)
Server stop completely this is really top.

It’s just too bad there isn’t a dokuwiki or other that collects all the code and other manips on TeamSpeak3 because that would be really great.

Thanks again

1 Like

A post was split to a new topic: Can not untar server on FreeBSD

I’m wondering if it is possible to update while saving old data of my server,such as channels,icons and other settings.For I only have a free license,if it could do so,it would help me a lot.Unfortunately I just replaced the whole server filefolder and lost my all old datas.
By the way,I run my server on Linux.

2 Likes

you are already in the right topic to know that, obviously you can, just follow the instructions on the first post of this topic

You can say the whole channels and stuff you want to keep is all into the ts3server.sqlitedb file, so just keep it and paste the updated version into your folder and you’re done.

1 Like