Package Details: teamspeak3-server 3.2.0-2

Git Clone URL: (read-only)
Package Base: teamspeak3-server
Description: A proprietary VoIP conference software
Upstream URL:
Licenses: custom
Submitter: None
Maintainer: nyyu
Last Packager: nyyu
Votes: 70
Popularity: 0.470346
First Submitted: 2010-03-11 03:16
Last Updated: 2018-05-22 16:14

Latest Comments

wuestengecko commented on 2018-05-22 15:24

I've created a patch with some hardening options enabled, which also switches to using systemd's DynamicUser facility:

The server is still successfully running with all functions (as far as I can tell), but this should make it significantly harder to compromise the entire system in the (however unlikely) event of the server being hacked.

What this means for you as server admin: systemd will automatically move the /var/{lib,log}/teamspeak3-server directories to /var/{lib,log}/private/teamspeak3-server, leave a symlink in the former places, and the server will from that point on only have write access to these two paths. You should move the database plugin config file to /var/lib/teamspeak3-server too, if you have one. Note that noone else will from that point on have READ access to these directories anymore, and you should refrain from changing the permissions of /var/{lib,log}/private - you would bypass a fundamental security mechanism.

You can then delete the user/group named teamspeak, which will complete the switch to dynamic UIDs - however this is not a requirement, if a static user/group exist, systemd will use them.

Make sure to delete either both user AND group, or none of them. Having only one of them statically allocated is an error, and systemd will refuse to start the service.

matthias.lisin commented on 2018-05-04 08:13

For those with notifications enabled.

Server Release 3.1.3 30 april 2018
  • Fixed a potential crash on malicious incoming traffic.

matthias.lisin commented on 2018-04-24 08:47

Server Release 3.1.2 24 april 2018
  • Better handling of nonlinear system clocks.

  • Fixed crash on malicious incoming traffic.

Source: TeamSpeak 3 Server 3.1.2 released

matthias.lisin commented on 2018-02-02 21:08

Just a heads up: Version 3.1.0 is coming soon with several changes that require adjustments to the package:

Zearan commented on 2017-08-01 05:17

I have just updated the package. Thanks for you patience.

Zearan commented on 2017-07-25 10:50

My access to a build machine is currently limited (vacation time). I will update the package soon.

Aomx commented on 2017-07-24 20:45

Can Zearan update the package to There seem to be security relevant fixes in the latest versions. It would be great, if you could keep this AUR package up to date :-)!

Thanks in advance!

Zearan commented on 2017-03-24 17:48

I have added TSDNS and the serverquerydocs as TXT files. If someone could provide a service file for TSDNS, I would gladly include it.

wyre commented on 2017-03-16 11:46

Also you have not implemented query docs to get help about query commands either. They are in src/teamspeak3-server_linux_amd64/serverquerydocs/

wyre commented on 2017-03-16 02:16

Can you include in your packaging the tsdns folder? It seems to be to redirect subdomains to your teamspeak server.

Gaesthy commented on 2017-02-23 13:01

Thanks for answer i will try this way.

Thanks for help, it's working, have a nice day. ;)

Kubax commented on 2017-02-23 12:42!?highlight=superadmin

you could try this to set the serveradmin user password, and then give yourself superadmin group

just stop the server and run this manually.

/usr/bin/ts3server inifile=/etc/teamspeak3-server.ini serveradmin_password=passwordhere

Kubax commented on 2017-02-23 12:39

when i recall it right, i searched for the superadmin token inside my database. when there is no token for the superadmin, you could easily add one. just use a sqlite database editor and rerun the server after changes

Gaesthy commented on 2017-02-23 12:36


Kubax commented on 2017-02-23 12:35

thought you meant the token.. so, what do you mean then?

Do you mean access to superadmin group?

Gaesthy commented on 2017-02-23 12:33

didn't see it. only server admin token.

2017-02-23 12:08:55.867767|INFO |ServerLibPriv | |TeamSpeak 3 Server (2016-11-08 08:48:33)
2017-02-23 12:08:55.868259|INFO |ServerLibPriv | |SystemInformation: Linux 4.9.8-1-ARCH #1 SMP PREEMPT Mon Feb 6 12:59:40 CET 2017 x86_64 Binary: 64bit
2017-02-23 12:08:55.868562|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale!
2017-02-23 12:08:55.868845|INFO |ServerLibPriv | |Using hardware aes
2017-02-23 12:08:55.870344|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2017-02-23 12:08:55.870672|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2017-02-23 12:08:55.871254|INFO |DatabaseQuery | |checking database integrity (may take a while)
2017-02-23 12:08:55.888432|INFO |SQL | |db_CreateTables() tables created
2017-02-23 12:08:55.935428|WARNING |Accounting | |Unable to find valid license key, falling back to limited functionality
2017-02-23 12:08:56.911798|INFO | | |Puzzle precompute time: 945
2017-02-23 12:08:56.912222|INFO |FileManager | |listening on, :::30033
2017-02-23 12:08:56.913511|INFO |VirtualSvrMgr | |executing monthly interval
2017-02-23 12:08:56.913654|INFO |VirtualSvrMgr | |reset virtualserver traffic statistics
2017-02-23 12:08:56.935822|INFO |CIDRManager | |updated query_ip_whitelist ips:, ::1/128,
2017-02-23 12:08:56.935942|INFO |Query | |listening on, :::10011
2017-02-23 12:08:56.935059|INFO |VirtualServer |1 |listening on, :::9987
2017-02-23 12:08:56.935660|WARNING |VirtualServer |1 |--------------------------------------------------------
2017-02-23 12:08:56.935697|WARNING |VirtualServer |1 |ServerAdmin privilege key created, please use the line below
2017-02-23 12:08:56.935721|WARNING |VirtualServer |1 |token=dxv52Ae5Duuflil4tUtESkGsnooenwNRw0gUZCO3
2017-02-23 12:08:56.935746|WARNING |VirtualServer |1 |--------------------------------------------------------

Kubax commented on 2017-02-23 12:31

The password should be generated by teamspeak server on first run. most likely it's in /var/log/teamspeak3-server/ts3server_0.log

firegore commented on 2017-02-23 12:31

its written into the Log on First Start. Maybe its still in the Logfiles?

There is no other way to retrieve it, if you cant find it in the Log anymore you need to change it. Or if nothing is on the TS yet, delete the Files and let it regenrate.

Gaesthy commented on 2017-02-23 12:29

I installed teamspeak3-server and it's working very well.
My question is:
where can i find systemadmin password? (i need access to query group)

Gonzo2028 commented on 2016-12-18 21:17

You re right guys. I have no idea how the ownership could be root. I changed it to teamspeak:teamspeak and that fixed it for me. I found the solution elsewhere in the www.

Thank you

Kubax commented on 2016-12-18 14:43

As Buddlespit mentioned, you have to change the owner of "/var/lib/teamspeak3-server/licensekey.dat" to teamspeak:teamspeak. Solved exact same issue for me.. the critical error from teamspeak server is not very acuarate here.

Also i changed serverkey.dat but i doubt that it was necessary.

Buddlespit commented on 2016-12-18 14:35

Have you given your teamspeak server user read/write permissions to the license.dat?

Gonzo2028 commented on 2016-12-18 14:13

Finally i found something in the logs:

2016-12-18 14:06:46.324457|INFO |ServerLibPriv | |TeamSpeak 3 Server (2016-11-08 08:48:33)
2016-12-18 14:06:46.324542|INFO |ServerLibPriv | |SystemInformation: Linux 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 Binary: 64bit
2016-12-18 14:06:46.324571|INFO |ServerLibPriv | |Using hardware aes
2016-12-18 14:06:46.325138|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2016-12-18 14:06:46.325181|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
2016-12-18 14:06:46.325343|INFO |DatabaseQuery | |checking database integrity (may take a while)
2016-12-18 14:06:46.468508|INFO |Accounting | |Your license was updated by the licensing server
2016-12-18 14:06:46.470481|INFO |Accounting | |Licensing Information
2016-12-18 14:06:46.470504|INFO |Accounting | |type : Non-profit
2016-12-18 14:06:46.470521|INFO |Accounting | |starting date : Thu Jun 16 00:00:00 2016
2016-12-18 14:06:46.470534|INFO |Accounting | |ending date : Fri Dec 16 00:00:00 2016
2016-12-18 14:06:46.470544|INFO |Accounting | |max virtualservers: 2
2016-12-18 14:06:46.470553|INFO |Accounting | |max slots : 512
2016-12-18 14:06:46.838666|INFO | | |Puzzle precompute time: 355
2016-12-18 14:06:46.838794|INFO |FileManager | |listening on, :::30033
2016-12-18 14:06:46.846460|ERROR |VirtualSvrMgr | |loading VirtualServer(3) failed to start, error: virtualserver limit reached
2016-12-18 14:06:46.846539|INFO |CIDRManager | |updated query_ip_whitelist ips:,
2016-12-18 14:06:46.846683|INFO |Query | |listening on, :::10011
2016-12-18 14:06:47.057430|INFO | | |License expired, but there is a new one available.. retrieving
2016-12-18 14:06:47.185596|INFO |Accounting | |Your license was updated by the licensing server
2016-12-18 14:06:47.310404|INFO |Accounting | |Licensing Information
2016-12-18 14:06:47.310525|INFO |Accounting | |type : Non-profit
2016-12-18 14:06:47.310574|INFO |Accounting | |starting date : Sun Dec 11 00:00:00 2016
2016-12-18 14:06:47.310610|INFO |Accounting | |ending date : Fri Jun 16 00:00:00 2017
2016-12-18 14:06:47.310639|INFO |Accounting | |max virtualservers: 10
2016-12-18 14:06:47.310669|INFO |Accounting | |max slots : 512
2016-12-18 14:09:46.972365|CRITICAL|Accounting | |Assertion "false" failed at ../../../../s/deps/teamspeak_server_lib/src/ts_server/server_accounting.cpp:538;

Gonzo2028 commented on 2016-12-17 11:31

This is crashing for me since about one week - i updated it, but didnt fix. I cant find anything in the logs. The serverapplication seems to just disappear. It was rocksolid before. I am running two small virtual servers with a non profit license. Any ideas?

quomoow commented on 2016-10-16 13:53

thx installing base && base-devel solved that problem, sorry for wasting your time, i've got just and preinstalled arch on my vps

Zearan commented on 2016-10-15 20:54

@quomoow: Are you sure you have 'base-devel' installed? Please see for further information. If that's not the problem, try building without an AUR helper.

quomoow commented on 2016-10-15 20:16

teamspeak3-server (2016-09-19 14:27)
( Unsupported package: Potentially dangerous ! )
==> teamspeak3-server dependencies:
- glibc (already installed)

==> Continue building teamspeak3-server ? [Y/n]
==> -------------------------------------------
==> Building and installing package
==> ERROR: Cannot find the strip binary required for object file stripping.
==> ERROR: Makepkg was unable to build teamspeak3-server.
==> Restart building teamspeak3-server ? [y/N]
==> ------------------------------------------

Zearan commented on 2016-09-28 17:13

Will be fixed in the next update, thank you!

Kubax commented on 2016-09-26 08:01

Could you change

Description=TeamSpeak3 Server


Description=TeamSpeak3 Server

to ensure that the teamspeak server is started after complete initialization of the network? At least my server didn't start teamspeak because there was no network interface initialized properly (static ip address)

Zearan commented on 2016-08-21 18:38

Package updated to, included '/usr/lib' to LD_LIBRARY_PATH as requested. Please update to this version as soon as possible if you had 3.0.13 installed.

Kubax commented on 2016-08-21 08:20

AFAIK: allready fixed this issue. But, i'm not 100% sure.

namru commented on 2016-08-19 16:26

Please check the next days/weeks more frequently for teamspeak update because of security bugs:

matthias.lisin commented on 2016-08-19 13:18

Changelog from CHANGELOG file because release isn't official yet.

=== Server Release 19 august 2016
- fixed a problem where virtual servers refuse to start due to invalid flags or order
- fixed a crash in fix crash on servergroupautodelperm / servergroupautoaddperm

sl1pkn07 commented on 2016-08-17 14:53

teamspeak3-server W: File (var/lib/teamspeak3-server) does not have the world readable bit set.
teamspeak3-server W: Directory (var/lib/teamspeak3-server) does not have the world executable bit set.
teamspeak3-server W: File (var/log/teamspeak3-server) does not have the world readable bit set.
teamspeak3-server W: Directory (var/log/teamspeak3-server) does not have the world executable bit set.

Kubax commented on 2016-08-16 10:29

Thanks for the update...

Could you please update the .service file to include /usr/lib to the LD_LIBRARY_PATH?

Otherwise teamspeak will not start after update with mariadb as backend.

dotted commented on 2016-08-11 21:14

Seemed to work, thanks

Kubax commented on 2016-08-11 20:57

exactly. in the service file LD_LIBRARY_PATH is set to /usr/lib/mariadb:$LD_LIBRARY_PATH

but the file is located in /usr/lib. So teamspeak_server can't fint this library.

just change it to be:

this should do it.

dotted commented on 2016-08-11 20:40

But in the service file this is set:

$ ls /usr/lib/mariadb/

# LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH" ldd /usr/lib/
ldd: warning: you do not have execution permission for `/usr/lib/' (0x00007ffc90114000) => /usr/lib/mariadb/ (0x00007f9ae3ab6000) => /usr/lib/ (0x00007f9ae379d000) => /usr/lib/ (0x00007f9ae3580000) => /usr/lib/ (0x00007f9ae31e2000) => /usr/lib/ (0x00007f9ae2fcc000) => /usr/lib/ (0x00007f9ae2dc8000) => /usr/lib/ (0x00007f9ae2b55000) => /usr/lib/ (0x00007f9ae26de000)
/usr/lib64/ (0x0000562f2ad11000)

Kubax commented on 2016-08-11 20:22

Either add /usr/lib to the LD_LIBRARY_PATH in the service file, or move the into the /usr/lib/mariadb/ folder.. this should fix it.

dotted commented on 2016-08-11 20:20

Getting this error now: 2016-08-11 20:09:32.922389|CRITICAL|DatabaseQuery | |unable to load database plugin library "", halting!

Reinstalling mariadb-connector-c does nothing

Zearan commented on 2016-08-10 18:24

Please install 'mariadb-connector-c' from AUR when using MariaDB. It is listed as optional dependency. It provides '' inside '/usr/lib/mariadb/'.

Kubax commented on 2016-08-10 17:45

i later found a litle bug while switching to mariadb.


has to be changed to


or the library has to be moved.

Also this libraries has to be installed: (inside the redist folder)
Arch linux seems to be missing a package containing this library...

Zearan commented on 2016-08-10 17:23

Sorry guys for the delay, it is vacation time. Package has been updated to 3.0.13 and configuration has been moved to ini file as requested. You can find the ini file at /etc/teamspeak3-server.ini, please move your configuration if required. The ini file template has been created by running "./ts3server createinifile=1".

Kubax commented on 2016-08-10 09:53

Here are two patches that update to teamspeak3-server 3.0.13 and implement the implement the changes suggested by JoFa.

DOWNLOAD teamspeak3-server.ini (

--- PKGBUILD.old 2016-08-10 09:38:41.290025363 +0000
+++ PKGBUILD 2016-08-10 09:57:57.006713965 +0000
@@ -2,7 +2,7 @@
# Contributor: EnteEnteEnte <>

pkgdesc='A proprietary VoIP conference software'
@@ -12,14 +12,14 @@
optdepends=('mariadb-connector-c: for MariaDB backend')
- '3d1b7c34e6d460d12f4bf51bdf96d2d58036493a969025fabd2b4ea38c9ac170')
+ 'e278e962cb0068059d5a0b981110dce1a708de59bb8355cdfc6b519dc14b21fa')

if [ "$CARCH" == "x86_64" ]; then
@@ -30,7 +30,7 @@
package() {
cd "$srcdir"

- install -Dm 644 teamspeak3-server.default "$pkgdir/etc/default/teamspeak3-server"
+ install -Dm 644 teamspeak3-server.ini "$pkgdir/etc/teamspeak3-server.ini"
install -Dm 644 teamspeak3-server.service "$pkgdir/usr/lib/systemd/system/teamspeak3-server.service"

install -Dm 755 "teamspeak3-server_linux_$_TSARCH/ts3server" "$pkgdir/usr/bin/ts3server"

--- teamspeak3-server.service.old 2016-08-10 09:49:59.550038237 +0000
+++ teamspeak3-server.service 2016-08-10 09:49:31.320037703 +0000
@@ -7,8 +7,8 @@
-ExecStart=/usr/bin/ts3server $TS_ARGS
+ExecStart=/usr/bin/ts3server inifile=/etc/teamspeak3-server.ini


would be nice if the package get's updated...

Zearan commented on 2016-07-07 07:23

@JoFa Thanks for your suggestions. I will try to include them in one of the next updates.

JoFa commented on 2016-06-30 19:54


first of all thank you for providing this package, but imho there are a few things which might be changed in order to make the package a little cleaner..

The teamspeak3-server.default could be used as an actual ini file intstead of providing environment variables.
Therefore the service file would need to be changed to to use the inifile. Furthermore, the "EnvironmentFile" line could be replaced with an "Environment"

see for changes....


swyn commented on 2016-02-19 17:31

By default, any extra files (database, license key, ini) are located in /var/lib/teamspeak3-server

ItsiAdam commented on 2016-02-19 07:56

Where is ts3server.ini kept?

BluePeril commented on 2016-02-12 22:56

Could you please add (redist/ to /usr/lib? Otherwise you will not be able to use mysql/mariadb

I think it would be better to use mariadb-connector-c as (optional) dependency. In this case you either have to modify LD_LIBRARY_PATH to /usr/lib/mariadb/ or I have to symlink /usr/lib/mariadb/ to /usr/lib/

Zearan commented on 2016-02-05 07:29

Updated for 3.0.12, sorry for the delay.

sflor commented on 2016-02-04 17:30

Here's an updated PKGBUILD that I used if anyone's interested:
I didn't bother to fix the 32bit hash, though.

matthias.lisin commented on 2016-01-31 09:10

also: since all the server binaries are called "ts3server", we should keep this name instead of renaming it to teamspeak3-server

matthias.lisin commented on 2016-01-31 09:05

=== Server Release 3.0.12 26 Jan 2016
+ added "virtualserver_min_android_version" and "virtualserver_min_ios_version" to specifically
set the minimal allowed client versions for android and iOS on the server.
+ added "-mapping" to the serversnapshotdeploy command. This optional parameters will add a mapping
of the old and new channelid's in the return
+ Grouped several SQL queries together into one statement which improves performance
- fixed clientdbfind command returning false entries
- fixed some hangs after heavy network IO on Linux/FreeBSD/OSX
- fixed issue with clientinfo command
- fixed crash when (automatically) deleting a channel
- fixed tsdnsserver libc++ issue on Linux
* The server will now print a warning if the locale is set to "C"
* Replaced Server query manual PDF file with a HTML version
* Unsigned variables (client/server/instance etc) now only accept positive values and -1 (synonym
for maximum value). Other negative values result in conversion error.
* Serverquery manual fixes
* Made a small change to the way the server handles the initialization protocol
! Removed "virtualserver_max_upload_total_bandwidth" and
"virtualserver_max_download_total_bandwidth" from the server template if the value was "-1"
! The server binaries file names now do NOT have the platform suffixes any more. They are all
called "ts3server"
! The OSX version is now 64 bit only. OSX 10.7 is now the minimum supported version.
! Some SQL queries changed or added. If you use custom SQL queries, please take note of this.
! The minimum supported FreeBSD version for the server is 10.1 from now on. Release 3.0.13 (next)
will need a libc++ from ports/pkg or FreeBSD 10.2.


markzz commented on 2015-10-29 21:37

It states on the TeamSpeak page that linking directly to the download file is prohibited. You will probably need to modify the PKGBUILD so that it just simply looks for an already downloaded tar file instead of downloading it.

"...Mirroring or linking directly to our files is prohibited without our express, written consent..."

Zearan commented on 2015-09-29 07:45

That way I can upgrade the package on daytime and schedule a reboot for the night when no one is affected by the downtime. Furthermore I do not know of any package in the official repositories that performs a restart in post_upgrade(). I do not see a reason why this package should behave otherwise.

zer0t3ch commented on 2015-09-28 03:28

Out of curiosity, why are you against automatic restarts?

Zearan commented on 2015-07-12 17:52

I uploaded a modified version of EnteEnteEnte's PKGBUILD and install scripts. I tried to further simplify the files and removed parts I did not agree with (e.g. the automated restart). Please note the this package writes the environment file to '/etc/default/teamspeak3-server' instead of '/etc/conf.d/teamspeak3-server'. You should move your configuration.

Tetsumaki commented on 2015-06-07 12:03

Please update or disown package.

Borbarad commented on 2015-05-16 21:04 is already stable.
Even the Server Downloads from Teamspeak point to it.

Borbarad commented on 2015-05-13 23:28 is already stable.
Even the Server Downloads from Teamspeak point to it.

matthias.lisin commented on 2015-05-03 14:12

I flagged this package out-of-date. Although the newer available version is a beta pre-release, it brings an important fix and should be preferred over the (stable)

=== Server Release 20 apr 2015
- fixed DDOS amplification vulnerability


firegore commented on 2015-05-02 19:57 is out as Pre-Release btw :)

VanCoding commented on 2015-04-14 10:39


You're probably missing lib32-glibc. Just install it using pacman -S lib32-glbic after enabling multilib.

rabcor commented on 2015-02-16 02:07

I'm getting the same problem as some guys back in 2012. Critical error:

setSQLfromFile( file:sql/create_sqlite//create_tables.sql) failed

For one of them this apparently solved it: "ln -s /opt/teamspeak3-server/sql /var/lib/teamspeak3-server/sql"

So I tried "ln -s /usr/share/teamspeak3-server/sql /var/lib/teamspeak3-server/sql"

That didn't do anything for me, how do I solve this?

(Also, the wiki said nothing about where the files folder is now located, is it at /var/lib/teamspeak3-server/files as well? or somewhere else?)

rabcor commented on 2015-02-16 02:06

I'm getting the same problem as some guys back in 2012. Critical error:

setSQLfromFile( file:sql/create_sqlite//create_tables.sql) failed

For one of them this apparently solved it: "ln -s /opt/teamspeak3-server/sql /var/lib/teamspeak3-server/sql"

So I tried "ln -s /usr/share/teamspeak3-server/sql /var/lib/teamspeak3-server/sql"

That didn't do anything for me, how do I solve this?

enteenteente commented on 2015-01-18 22:38

make sure that you have pacman >= 4.2 before updating.

enteenteente commented on 2015-01-18 22:23


sl1pkn07 commented on 2015-01-18 02:46

thanks. but please remove

rm -r /var/log/teamspeak3-server/
rm -r /var/lib/teamspeak3-server/

in the .install file. because if remove don't delete the settings

and little tip. now you can use the new pacman 4.2 system for handle a i686/x86_64 sources/sums download. like this

enteenteente commented on 2015-01-17 04:14

the warnings should be gone now. In my opinion this is an issue because pacman is too restrictive when checking consitency of the packet. For example the 'murmur'-packet raises the same warnings on re-installation. I can imagine a lot of other packets show similar behaviour.

Johnny_Net commented on 2015-01-17 00:19

Installing by hand or symlinking does the trick. Thanks guys.

enteenteente commented on 2015-01-17 00:02


As far as I can see this is not mentioned in [1], [2] or [3]. So I assume this depends on personal preferences. From my point of view; when I upgrade a service I'd expect the service to be:

1. not reachable during the update
2. up to date and running after the update

Unless you can point out a piece of documentation which mentions this, I'll leave this as it is now.

[1] :
[2] :
[3] :

Johnny_Net commented on 2015-01-17 00:02

I think I remember doing something about the lib-issue when mariadb support was introduced into teamspeak. Unfortunately I do not recall what exactly it was that I did. I do know, however, that I did not install the mariadb native client. Maybe I just symlinked something. But if I did, I don't see how the new update would have killed that. Anyways, gonna try your suggestions and will make sure to report back. Thanks.

Johnny_Net commented on 2015-01-17 00:01

I think I remember doing something about the lib-issue when the mariadb support was introduced into teamspeak. Unfortunately I do not recall what exactly it was that I did. I do know, however, that I did not install the mariadb native client. Maybe I just symlinked something. But if I did, I don't see how the new update would have killed it. Anyways, gonna try your suggestions and will make sure to report back. Thanks.

sl1pkn07 commented on 2015-01-16 23:40


yes, still happening. (cower+pacman 4.2 and yaourt 1.5)


enteenteente commented on 2015-01-16 23:31

- Change the .install for proper deinstallation

"this is because the ownership is set in the .install instead of in PKGBUILD"
don't think so. Is this with rel 2 still happening?

as I said for now I suggest not using mariadb. I created a version of the mariadb-native-client package which would solve this issue [1]. I'm currently waiting for the maintainer of the packet [2] to merge my changes.

[1] :
[2] :

Spider.007 commented on 2015-01-16 21:12

Why does this package reload the server after an update? I think this is bad practice

r3ddr4gOn commented on 2015-01-16 20:40

@Johnny_Net: as matthias.lisin wrote you need which currently not available as package. But it is in the redist directory of the official archive (read my comment from 2014-10-19 03:08)

matthias.lisin commented on 2015-01-16 19:19

This is probably because "" can't find "".
Pretty sure there is no package that provides this library under the name "".

Try symlinking "" to "" (extra/libmariadbclient), this might solve the problem.

Johnny_Net commented on 2015-01-16 18:16

After applying the latest package version, I get: "unable to load database plugin library "".

Please advise.

Thanks for maintaining this package.

sl1pkn07 commented on 2015-01-16 01:23

(1/1) updating teamspeak3-server
warning: directory ownership differs on /var/lib/teamspeak3-server/
filesystem: 997:997 package: 0:0
warning: directory ownership differs on /var/log/teamspeak3-server/
filesystem: 997:997 package: 0:0

this is because the ownership is set in the .install instead of in PKGBUILD


matthias.lisin commented on 2014-12-16 17:43

=== Server Release 15 dec 2014
- fixed possible deadlock in server query
- fixed a mariadb/mysql db creation issue
- fixed a mariadb/mysql performance issue
- fixed a server query crash


matthias.lisin commented on 2014-12-16 17:42

=== Server Release 15 dec 2014
- fixed possible deadlock in server query
- fixed a mariadb/mysql db creation issue
- fixed a mariadb/mysql performance issue
- fixed a server query crash

enteenteente commented on 2014-10-28 15:53

according to [1], is the newest version. -> unflagged
[1] :

enteenteente commented on 2014-10-19 12:43

Indeed, [1] provides But what they need is so.2. I don't like the idea installing the library systemwide when installing this package. I'll come up with a solution. For now I'd suggest not using mariadb or installing the library by hand. Shell changed to /nologin with rel3, will be release when i fixed the mariadb issue.

[1] mariadb-native-client :

r3ddr4gOn commented on 2014-10-19 03:08

Hi, is it intended that you need to copy the library from the redist directory to /usr/lib ? I added this to the PKGBUILD:
install -Dm 644 "${pkgname}_linux-${_TSARCH}/redist/" "${pkgdir}/usr/lib/"

But maybe there should be a separate package? I tried mariadb-native-client but it only gives me ...

PS: I just wanted to note that when upgrading the database to the new format you should only run the first script (convert_mysql_to_mariadb.sql). The script mariadb_fix_latin_utf8.sql will screw up all unicode characters because Arch is the unlikely case mentioned in the upgrade documentation.


r3ddr4gOn commented on 2014-10-19 02:59

Hi, is it intended that you need to copy the library from the redist directory to /usr/lib ? I added this to the PKGBUILD:
install -Dm 644 "${pkgname}_linux-${_TSARCH}/redist/" "${pkgdir}/usr/lib/"

But maybe there should be a separate package? I tried mariadb-native-client but it only gives me ...


djmattyg007 commented on 2014-10-15 21:17

Might it be worth changing the default shell for the teamspeak user to be /usr/bin/nologin instead of /bin/false?

binhex commented on 2014-10-15 16:04

works for me!, cheers enteenteente appreciate your effort.

enteenteente commented on 2014-10-15 15:45

should work now.

enteenteente commented on 2014-10-15 15:38

jep just noticed that.. man you're fast..

binhex commented on 2014-10-15 15:38

ahh spotted the problem, looks like they have switched from mysql to mariadb, the filename is now called NOT

binhex commented on 2014-10-15 15:35

im afraid the latest tarball doesnt work, looks like you will need to modify the PKGBUILD file:-

install: cannot stat ‘teamspeak3-server_linux-amd64/’
: No such file or directory

sflor commented on 2014-10-15 15:17

Trying to build the new version gives me this:
install: cannot stat 'teamspeak3-server_linux-amd64/': No such file or directory

enteenteente commented on 2014-10-09 11:37

I'm currently quite busy. I'll fix this when i've time.

binhex commented on 2014-10-09 10:24

sha1 is incorrect for file teamspeak3-server_linux-amd64-, please can this be corrected.

enteenteente commented on 2014-07-09 10:05

As of today this happens for me as well. Stupid sysadmins. Let me quickly fake an useragent which they accept.

rszalski commented on 2014-07-08 16:54


hi, I know that you are parsing the SHA1 dynamically but in this case it didn't work and I (and Rojikku apparently) was looking for a quick fix.

I ran the curl/sed line you posted but got no output. Seems like is using some kind of DDoS protection. Curl alone returned:
I get this page sometimes when I visit teamspeak in the browser. It waits for ~5 s and then redirects.

enteenteente commented on 2014-07-07 08:30

This is what I'm doing automatically during the build. See function: getSHA1.
@Rojikku, could you please post the output of the following command:

curl -s | sed -nre 's/^.*<i><b>SHA1:<\/b>\s(.*)<\/i>.*$/\1/p'

Rojikku commented on 2014-07-06 03:15

That fixes it, thank you very much.

rszalski commented on 2014-07-05 06:30


you have to change the SHA1 for teamspeak3-server tar.gz package that makepkg will download.

Go to, copy the SHA1 digest of the correct package (arch, version), look at the `source` array in PKGBUILD. During install, choose to edit the PKGBUILD and paste the SHA1 instead of `${_TSSHA1}` in the `sha1sums` array, save and continue.

This is a workaround before the PKGBUILD gets updated.

Rojikku commented on 2014-07-05 01:04

==> ERROR: Integrity checks (sha1) differ in size from the source array.
==> ERROR: Makepkg was unable to build teamspeak3-server.
Got this error a bajillion times now. Anyone else getting it?

enteenteente commented on 2014-06-24 23:40

@ Johnny_Net:

This is not the right place for support questions regarding your sepcific installation. Please consult the wiki [1] or ask your question in the forum [2]. If you then see that problems you face were package related ones please feel free to drop a line here.


enteenteente commented on 2014-06-24 23:33

the client got upgraded to 3.0.15. This is the teamspeak3-server package which is at that time still in version

canton7 commented on 2014-06-24 20:46

3.0.15 is out

Johnny_Net commented on 2014-06-09 03:29

systemctl start teamspeak3-server work perfectly fine.
But after systemctl enable teamspeak3-server the teamspeak server is not running after reboot. I always have to start it manually. Any ideas, why this might happen?

Johnny_Net commented on 2014-05-30 13:53

Actually, I think this might rather be related to not being installed. Well, let's try and find out how to get this on arch...

Johnny_Net commented on 2014-05-30 13:28

I want to use teamspeak3-server with a MySQL database.

I have set up my /etc/conf.d/teamspeak3-server like this:
TS_ARGS="logpath=/var/log/teamspeak3-server/ dbsqlpath=/usr/share/teamspeak3-server/sql/ dbplugin=ts3db_mysql dbpluginparameter=/etc/teamspeak3-server/ts3db_mysql.ini"

Furthermore I created the ts3db_mysql.ini and provided all the necessary details.

However, the server will not start up. Here is what the log says:
"Please make sure to use supplied to run the server, or set LD_LIBRARY_PATH yourself."
"unable to load database plugin library"

Since the systemd startscript does not set the former mentioned LD_LIBRARY_PATH, I was wondering if that might be the reason why the database plugin which has been installed to /usr/lib/ cannot be found.

Any ideas? Please advise. Thank you.

adambot commented on 2014-03-14 00:34

3.0.14 should be out very soon

enteenteente commented on 2014-01-26 16:31

like this. Added in thx.

russo79 commented on 2014-01-26 09:05

Hi enteenteente

I made some small changes to the install script so that it doesn't try to restart the server if it is not running when the upgrade operation takes place.

You can download my version of the teamspeak3-server.install script from here [1] if you wish to.
Note: I use a CACert [2] signed certificate in this server, so it may be normal for you to have an SSL warning when trying to connect to this site.


russo79 commented on 2014-01-26 09:04

Hi enteenteente

I made some small changes to the install script so that it doesn't try to restart the server if it is not running when the upgrade operation takes place.

You can download my version of the teamspeak3-server.install script from here [1] if you wish to.
Note: I use a CACert [2] signed certificate in this server, so it may be normal for you to have an SSL warning when trying to connect to this site.


enteenteente commented on 2014-01-06 16:53

pkg up to date now

enteenteente commented on 2014-01-06 16:51

the thing is that they already updated ts3-version to which means that the script is checking against the new sha1sum. Now every time this happens the ts3-server package is behind release.

What you can do as a hotfix:
- download PKGUILD
- change 'pkgver' to the newest ts3-version

Nairou commented on 2014-01-06 16:42

I get a failed validity test on teamspeak3-server_linux-x86-, and so can't get the latest update. I know I have curl installed and up-to-date.

==> Validating source files with sha1sums...
teamspeak3-server_linux-x86- ... FAILED
teamspeak3-server.conf.d ... Passed
teamspeak3-server.service ... Passed
==> ERROR: One or more files did not pass the validity check!

enteenteente commented on 2014-01-02 01:49

in order to make the packet easier to maintain i now get sha1sums directly from Make sure that you have curl installed.

Packet up to date!

enteenteente commented on 2013-11-27 20:50

Didn't had time. Up to date now.

wodim commented on 2013-11-25 10:21

Here's an updated PKGBUILD for

jdarnold commented on 2013-11-21 14:33

Thanks for the info - worked fine here.

r3ddr4gOn commented on 2013-11-19 00:45

Hi, came out and because teamspeak is showing an anoying "new version popup" to everyone i decided to update the package on my own :). So i just wanted you to know that changing
pkgver to
and md5sums to
amd64 9d2f6b7674907967ba52c57d0151dcd3
x86 f92f01970871ab543208a39d00abe86e
works for me.

Thanks for the package. r3ddr4gOn

sinatosk commented on 2013-10-03 13:35

yup, working, thanks

get sleep next time before you update :p hehe

enteenteente commented on 2013-10-03 13:17

i should not build packets when i'm tired: systemd, workingdirectory was not set. try again please.

sinatosk commented on 2013-10-03 13:10

If I download the tar.gz myself manually and run it manually... works fine... when I use your package I get an error as I stated in my last post

sinatosk commented on 2013-10-03 12:47

I'm still getting the same error

enteenteente commented on 2013-10-03 12:34

ewww.. uploaded the wrong version of the packet.
This happens due missing go+x -permission for folders in /usr/share/teamspeak3-server/sql.

sinatosk commented on 2013-10-03 11:19

upgraded from 3.0.8 to 3.0.10 and server won't start now...

enteenteente commented on 2013-10-02 22:09

version 3.0.10
@Yushyin: therefore

Yushyin commented on 2013-09-26 23:53

Why do you still use `su` instead of systemd’s directives?

friesoft commented on 2013-09-25 12:13

The /etc/rc.d/teamspeak3-server init script shouldn't be there anymore I guess? (the systemd service is working correctly)

sinatosk commented on 2013-09-14 14:19

3.0.9 is now released

enteenteente commented on 2013-09-11 08:19

thx, changed that

russo79 commented on 2013-09-10 22:09

Hi enteenteente

there is an error in your teamspeak3-server.service file.

The ExecStart line is missing a 'k' at the end. It should be
ExecStart=/bin/su -s /bin/bash -l -c "/usr/bin/teamspeak3-server ${TS_ARGS}" teamspeak

and not
ExecStart=/bin/su -s /bin/bash -l -c "/usr/bin/teamspeak3-server ${TS_ARGS}" teamspea

enteenteente commented on 2013-09-10 20:14

sytemd integration and update to 3.0.8

Yushyin commented on 2013-06-15 19:18

A more systemd-like service file would be great. I suggest something like that

enteenteente commented on 2013-05-21 08:49

package is now on

enteenteente commented on 2013-04-01 20:23

updated package to

taktoa commented on 2013-03-04 20:56

TeamSpeak Server version 3.0.7 is out

Until the PKGBUILD is updated, you can get the new version with this PKGBUILD (all I did was change the version and the MD5sums, but this update doesn't seem to change a whole lot, so it should still work).
You can get it here:

DerFlob commented on 2012-11-04 22:21

You can use User=teamspeak in the Service-section to set the user. No need for su that way.

Zearan commented on 2012-11-02 08:32

I just released pkgrel=2. All files have been moved out of /opt and I removed the helper script (/usr/bin/teamspeak3-server). Instead the main executable is copied directly in its place. The package has now a .service file which is based on fdx' comment (thanks!). I have experienced no problems when upgrading, please let me know if you have any.

franciscod commented on 2012-07-24 04:15

Maybe instead of hardcoding TS_ARGS it's better to use EnvironmentFile=/etc/confd/teamspeak3-server, like network.service here:

franciscod commented on 2012-07-21 05:51

# cat ts3.service
My current ts3.service:

Description=TeamSpeak3 Server

ExecStart=/bin/su -s /bin/bash -c "/usr/bin/teamspeak3-server logpath=/var/log/teamspeak3-server/ dbsqlpath=/opt/teamspeak3-server/sql/" teamspeak


It was created it by hand looking at the rc.d script, and replaced ${TS_ARGS} to its default value in /etc/conf.d/teamspeak3-server.

Packages usually drop .service files at /usr/lib/systemd/system, in my case its located at /etc/systemd/system (another location where handmade .service files go to)

Zearan commented on 2012-07-10 09:55

The database lies in "/var/lib/teamspeak3-server/ts3server.sqlitedb" if you are using SQLite. In "/opt/teamspeak3-server/sql/" are the SQL queries which are used by TeamSpeak 3 server. I know that "/opt/" is not the best way of installing software but the package used "/opt/" when I adopted it and I have not migrated all files yet (I did some already). I will change it bit by bit when new versions of TeamSpeak will be released to avoid additional package releases.
BTW, I have not found the time yet to look at systemd. Would it be possible that you provide a working systemd file please and the path where it has to be installed to be executed on startup?

franciscod commented on 2012-07-10 09:33

ohhhhhhhhhh silly me, I'm using systemd, I created the ts3 unit by copying this line from rc.d/teamspeak3-server:

ExecStart=/bin/su -s /bin/bash -c "/usr/bin/teamspeak3-server ${TS_ARGS}" teamspeak

but TS_ARGS is empty, because /etc/conf.d/teamspeak3-server never gets sourced.

Why the database is (intented to be) stored in /opt rather tan in /var ?

franciscod commented on 2012-07-10 09:29


Yes, I have, yet it doesn't get configured?

[root@pomodoro ~]# grep dbsqlpath= /etc/conf.d/teamspeak3-server
TS_ARGS="logpath=/var/log/teamspeak3-server/ dbsqlpath=/opt/teamspeak3-server/sql/"

Zearan commented on 2012-07-10 06:25

Please check your "/etc/conf.d/teamspeak3-server". Do you have set "dbsqlpath=/opt/teamspeak3-server/sql/"?

franciscod commented on 2012-07-08 07:28

For the "setSQLfromFile( file:sql/create_sqlite//create_tables.sql) failed" error, I solved it with this:

ln -s /opt/teamspeak3-server/sql /var/lib/teamspeak3-server/sql

Maybe the TS3 server versions ago used as PW the executable path (/opt/teamspeak3-server), and now the su makes it cd to /var/lib/teamspeak3-server...

Zearan commented on 2012-06-25 05:26

I have posted a start of a wiki article at several days ago. It describes the first steps but also needs more work to get expanded. But you should find all necessary information to run a server in the official documentation:

Feng-Huang commented on 2012-06-24 22:38

Can you please setup a wiki for teamspeak3-server please ?

Cannot find a damn doc online ...

Zearan commented on 2012-05-16 13:04

Hm, I don't have any clue. Could it be that the SQL files where missing. I have a cp command without quoting the path in the PKGBUILD for copying the sql folder. I'm unsure what excatly is happing during package creation but maybe that causes problems. I will look for an alternate way of copying that files.

Anonymous comment on 2012-05-14 13:57

Hmmm. Installed that via makepkg. While Starting "teamspeak3-server" I get following Error: setSQLfromFile( file:sql/create_sqlite//create_tables.sql) failed
Reinstalled that via the files from teamspeak homepage. (something like just worked fine.
But now I dont have it in the pacman library. Please help.

apinhal commented on 2012-05-09 04:03

Oh thanks. I've looked there, before ask, but without the proper attention! Actually the info is there, I've found it in the 6th line of the second log file! Thanks

apinhal commented on 2012-05-09 04:01

Oh thanks. I've looked there, before ask, but without the proper attention! Actually the info is there, I've found it in the 6th line of the firs log file! Thanks

Zearan commented on 2012-05-08 15:46

The privilege key of the first virtual server will be written to the log files at /var/log/teamspeak3-server when you run the teamspeak3-server process for the first time. This will be explained in detail in a wiki article as soon as I find the time to create one.

apinhal commented on 2012-05-07 22:51

In the server first run where/how do I get the privilege key?

apinhal commented on 2012-05-07 22:44

In the first run of the server how do I get the privilege key?


apinhal commented on 2012-05-07 20:10

how do I get the privilege key?

Zearan commented on 2012-04-24 08:18

== Updated to 3.0.5-1 ==
* New version 3.0.5
* Cleaned up package

Feel free to post suggestions on how to further improve this package.

Zearan commented on 2012-04-16 18:23

I adopted the package as I started to use a TeamSpeak this morning. I just cleaned up the PKGBUILD a bit and updated it to the latest version (using Ne4mi's comment, thanks!). I will have a deeper look into the installation tomorrow and start cleaning up the package. Please expect a few minor changes. Wiki article will follow, too. If there are any question regarding this PKGBUILD, comments or suggestions, feel free to post here or contact me via email.

Anonymous comment on 2012-03-30 08:35

TS server version 3.0.3 is out :


if [ "$CARCH" == "x86_64" ]; then


Anonymous comment on 2011-11-17 19:57

3.0.1 is out. Thanks :)

if [ "$CARCH" == "x86_64" ]; then

FrozenCow commented on 2011-08-13 16:28

3.0.0 is officially out. I've used the following PKGBUILD:

Anonymous comment on 2011-05-25 22:41


zozs commented on 2011-05-25 16:51

It seems to be a problem when building on amd64.

In the package() function, $_tsarch is set to "x86" even if it is changed to "amd64" in the build() function. This causes the wrong files to be copied to /opt.

FrozenCow commented on 2011-05-24 11:57

RC1 is out:
The beta will be unusable in a week or so (see in the above thread).

Anonymous comment on 2010-12-02 22:30

If you want to host more than 1 virtual server with more than 32 slots you have to buy a license. See /usr/share/licenses/teamspeak3-server/LICENSE for more information.

Anonymous comment on 2010-12-02 20:22

When i go to start the server it tells me in the log file something about a license?

Anonymous comment on 2010-11-04 12:43

Unfortunately, that didn't work for me, it was the first thing I tried. It just crashes out. It needs the older version for some reason.

Anonymous comment on 2010-09-12 08:28

A quick & dirty way would be to create a symlink /usr/lib/ -> /usr/lib/

I didn't test it but it should work...

Anonymous comment on 2010-09-10 00:08

Beta 28 is out.

Note to everyone else: it appears on Arch you will need some older .so files installed in order for MySQL database mode to work at all (in addition to existing & correctly configured /etc/conf.d/teamspeak3-server , /opt/teamspeak3-server/ts3db_mysql.ini and /opt/teamspeak3-server/ts3server.ini ). It doesn't seem to recognize Arch's mysql client libraries from [extra]. It otherwise gives some vague, misleading error about the plugin being not found or something. Specifically, ts3 wants /usr/lib/ . How you resolve that issue is up to you.

Anonymous comment on 2010-06-23 17:30

Beta 25 is out, check