Teamspeak 3 App Update

TeamSpeak 3 continues the legacy of the original TeamSpeak communication system previously offered in TeamSpeak Classic (1.5) and TeamSpeak 2. TeamSpeak 3 is not merely an extension of its predecessors but rather a complete rewrite in C++ of its proprietary protocol and core technology.

Moderator: Lillian.W@AST

MadMe86
Posts: 7
youtube meble na wymiar Warszawa
Joined: Sun Jun 10, 2018 7:01 am

Re: Teamspeak 3 App Update

Post by MadMe86 »

fritzboxuser wrote:
clinton.hall wrote:A clean install of current App will install 3.2.0, however, if you already have an old version installed, that version (3.0.11.4) will remain to preserve all settings etc.

To update, all you need to do is download the current server files from teamspeak
For 64 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2
For 32 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2

Now Stop teamspeak via app central
Then you extract these and copy them into the Public/teamspeak/teamspeak3-server/ directory.

Then restart Teamspeak from App Central.
no that definitely does not work, I've tested it several times
thats strange it should work that way... it worked at least for me
i just found out that deleting under Gnome is unreliable did you use Linux to upgrade?

@clinton.hall im already registered as a developer. i will send you an pm
BeanR
Posts: 58
Joined: Sun Mar 23, 2014 12:10 am

Re: Teamspeak 3 App Update

Post by BeanR »

fritzboxuser wrote:
clinton.hall wrote:A clean install of current App will install 3.2.0, however, if you already have an old version installed, that version (3.0.11.4) will remain to preserve all settings etc.

To update, all you need to do is download the current server files from teamspeak
For 64 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2
For 32 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2

Now Stop teamspeak via app central
Then you extract these and copy them into the Public/teamspeak/teamspeak3-server/ directory.

Then restart Teamspeak from App Central.
no that definitely does not work, I've tested it several times
Worked well for me. But the server was reset, so I started form scratch. But it worked.
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Teamspeak 3 App Update

Post by clinton.hall »

Re: having to set up from scratch... Damn.. I missed that.

In the code I posted "mv teamspeak3-server teamspeak3-server.old"
Will mean your old setup was saved at Public/teamspeak/teamspeak3-server.old/
So we need to identify the actual config files/databases etc and then copy them back to the new version...

From TS https://teamspeak.zendesk.com/hc/en-us/ ... ld-I-copy-

So based on this information, if we copy back the important files the upgrade script should look like this

Code: Select all

ARCH=$(/bin/uname -m)
if [ "$ARCH" = "x86_64" ]; then
    URL="http://dl.4players.de/ts/releases/3.3.0/teamspeak3-server_linux_amd64-3.3.0.tar.bz2"
else
    URL="http://dl.4players.de/ts/releases/3.3.0/teamspeak3-server_linux_x86-3.3.0.tar.bz2"
fi
cd /volume1/Public/teamspeak
mv teamspeak3-server teamspeak3-server.old
wget -O teamspeak3-server.tar.bz2 $URL
mkdir teamspeak3-server
tar -xvjf teamspeak3-server.tar.bz2 -C teamspeak3-server --strip-components=1
rm -rf teamspeak3-server.tar.bz2
cp teamspeak3-server.old/licensekey.dat teamspeak3-server/
cp teamspeak3-server.old/query_ip_whitelist.txt teamspeak3-server/
cp teamspeak3-server.old/query_ip_blacklist.txt teamspeak3-server/
cp -rf teamspeak3-server.old/files teamspeak3-server/
cp teamspeak3-server.old/ts3server.sqlitedb teamspeak3-server/
cp teamspeak3-server.old/*.ini teamspeak3-server/
cp teamspeak3-server.old/tsdns/tsdns_settings.ini teamspeak3-server/tsdns/
For those finding the non-script update method doesn't work, a few things to note... extracting files on windows may lead to files being corrupt (CRLF vs LF etc) or having wrong permissions when copied over to the share folder... these can be fixed by changing permissions and running dostounix on the folders... but then we are already using ssh so just try the update script above.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
foffe77
Posts: 20
Joined: Fri Sep 08, 2017 2:58 am

Re: Teamspeak 3 App Update

Post by foffe77 »

BeanR wrote:
fritzboxuser wrote:
clinton.hall wrote:A clean install of current App will install 3.2.0, however, if you already have an old version installed, that version (3.0.11.4) will remain to preserve all settings etc.

To update, all you need to do is download the current server files from teamspeak
For 64 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2
For 32 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2

Now Stop teamspeak via app central
Then you extract these and copy them into the Public/teamspeak/teamspeak3-server/ directory.

Then restart Teamspeak from App Central.
no that definitely does not work, I've tested it several times
Worked well for me. But the server was reset, so I started form scratch. But it worked.
This worked for me, and all my settings were still there. No reset of server.
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Teamspeak 3 App Update

Post by fritzboxuser »

MadMe86 wrote:
fritzboxuser wrote:
clinton.hall wrote:A clean install of current App will install 3.2.0, however, if you already have an old version installed, that version (3.0.11.4) will remain to preserve all settings etc.

To update, all you need to do is download the current server files from teamspeak
For 64 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2
For 32 bit system http://dl.4players.de/ts/releases/3.3.0 ... .0.tar.bz2

Now Stop teamspeak via app central
Then you extract these and copy them into the Public/teamspeak/teamspeak3-server/ directory.

Then restart Teamspeak from App Central.
no that definitely does not work, I've tested it several times
thats strange it should work that way... it worked at least for me
i just found out that deleting under Gnome is unreliable did you use Linux to upgrade?
sure i use linux to copy and extract, for prevent corrupt data

ssh methode works for me but its not verry comfort
MadMe86
Posts: 7
Joined: Sun Jun 10, 2018 7:01 am

Re: Teamspeak 3 App Update

Post by MadMe86 »

fritzboxuser wrote:
sure i use linux to copy and extract, for prevent corrupt data

ssh methode works for me but its not verry comfort
if you use linux you could test it...
When i delete an folder on Linux (Arch Linux with gnome) i can still see the folder when i log in over ssh. Deleting with ssh of course works fine...
On Windows(10) it also works fine... what is your distro? atm i dont have a clue where the problem is... may be my smb config, the file browser or maybe ADM...
fritzboxuser
Posts: 49
Joined: Mon Sep 07, 2015 6:40 pm

Re: Teamspeak 3 App Update

Post by fritzboxuser »

i use arch linux too, so i dont care the copy paste way with ftp any...ssh is working fine but, what i already say, its not a comfort way^^

(ftp way) maybe it was my fail maybe it was adm, maybe...maybe...
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Teamspeak 3 App Update

Post by clinton.hall »

@MadMe86

So from a dev point of view, trying to release a package every time TeamSpeak update is too much of a burden, so I am trying to find suggestions for an auto-update method, and avoid ssh

So.. perhaps we can embed the ssh code I posted previously into the start-stop.sh script. But to avoid this running everytime (we only want to download and update when we get a new version) we check for the existence of an update version file???

So the usage would be:
User puts a file in the shared folders "/shares/Public/teamspeak/update.txt"

This file has 1 line, which is the version number.

Code: Select all

3.3.0
when this file exists the update script will embed the version into the URL so that the appropriate version is downloaded and extracted.
Then the file "update.txt" is renamed to "installed.txt" so that the script no-longer tried to update until the user renames this share file and updates the version...

The main issue with this is that it requires that Teamspeak keeps a consistent URL
http://dl.4players.de/ts/releases/<VER> ... R>.tar.bz2
http://dl.4players.de/ts/releases/<VER> ... R>.tar.bz2
Otherwise we could set this file up to allow users to specify version + URL, but this requires the User to find the correct URL on the TeamSpeak site....
Last edited by clinton.hall on Fri Aug 17, 2018 9:45 am, edited 1 time in total.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Teamspeak 3 App Update

Post by clinton.hall »

Ok.

I think I have made this where it will keep you existing version and settings on upgrade. On a fresh install it will install version 3.3.0.

If the user creates the file shares/Public/teamspeak3/update.txt with this file containing only the version (i.e. the file just looks like the following:

Code: Select all

3.3.0
Then when the App is re-started it will update to that version.
Technically you can use this to install ANY released version. e.g.

Code: Select all

3.0.0
Please note, now one apkg for "all", but when this is sent in to App Central it will be made as an x86_64 only and an i386 only as ARM is not supported.
https://www.dropbox.com/s/ikqn340t8alox ... y.apk?dl=1
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
BeanR
Posts: 58
Joined: Sun Mar 23, 2014 12:10 am

Re: Teamspeak 3 App Update

Post by BeanR »

clinton.hall wrote:Ok.

I think I have made this where it will keep you existing version and settings on upgrade. On a fresh install it will install version 3.3.0.

If the user creates the file shares/Public/teamspeak3/update.txt with this file containing only the version (i.e. the file just looks like the following:

Code: Select all

3.3.0
Then when the App is re-started it will update to that version.
Technically you can use this to install ANY released version. e.g.

Code: Select all

3.0.0
Please note, now one apkg for "all", but when this is sent in to App Central it will be made as an x86_64 only and an i386 only as ARM is not supported.
https://www.dropbox.com/s/ikqn340t8alox ... y.apk?dl=1
So in the other hand, if I use your new version of TS, I just need to rename the version I need to update in here shares/Public/teamspeak3/update.txt and then restart the TS ?
Post Reply

Return to “Teamspeak”