Package Details: teamspeak3-server 3.0.13.3-1

Git Clone URL: https://aur.archlinux.org/teamspeak3-server.git (read-only)
Package Base: teamspeak3-server
Description: A proprietary VoIP conference software
Upstream URL: http://www.teamspeak.com
Licenses: custom
Submitter: None
Maintainer: Zearan
Last Packager: Zearan
Votes: 63
Popularity: 1.969235
First Submitted: 2010-03-11 03:16
Last Updated: 2016-08-21 18:35

Latest Comments

Zearan commented on 2016-08-21 18:38

Package updated to 3.0.13.3, 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: 3.0.13.2 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: http://seclists.org/fulldisclosure/2016/Aug/61

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

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

=== Server Release 3.0.13.3 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

http://dl.4players.de/ts/releases/3.0.13.3/
or
http://teamspeak.gameserver.gamed.de/ts3/releases/3.0.13.3/

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 libts3db_mariadb.so is located in /usr/lib. So teamspeak_server can't fint this library.

just change it to be:
LD_LIBRARY_PATH="/usr/lib:/usr/lib/mariadb:$LD_LIBRARY_PATH"

this should do it.

dotted commented on 2016-08-11 20:40

But in the service file this is set:
Environment='LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH"'

And
$ ls /usr/lib/mariadb/
libmariadbclient.a libmariadb.so libmariadb.so.2 libmysqlclient_r.so libmysqlclient.so

EDIT:
# LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH" ldd /usr/lib/libts3db_mariadb.so
ldd: warning: you do not have execution permission for `/usr/lib/libts3db_mariadb.so'
linux-vdso.so.1 (0x00007ffc90114000)
libmariadb.so.2 => /usr/lib/mariadb/libmariadb.so.2 (0x00007f9ae3ab6000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f9ae379d000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f9ae3580000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f9ae31e2000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f9ae2fcc000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f9ae2dc8000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007f9ae2b55000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f9ae26de000)
/usr/lib64/ld-linux-x86-64.so.2 (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 libts3db_mariadb.so 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 "libts3db_mariadb.so", 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 'libmariadb.so.2' inside '/usr/lib/mariadb/'.

Kubax commented on 2016-08-10 17:45

i later found a litle bug while switching to mariadb.

Environment='LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH"'

has to be changed to

Environment='LD_LIBRARY_PATH="/usr/lib/:$LD_LIBRARY_PATH"'

or the library has to be moved.

Also this libraries has to be installed: libmariadb.so.2 (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 (https://raw.githubusercontent.com/joe-nas/teamspeak3-server/master/teamspeak3-server.ini)

PKGBUILD.patch
------------------------------------------------------
--- 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 <ducksource@duckpond.ch>

pkgname='teamspeak3-server'
-pkgver='3.0.12.4'
+pkgver='3.0.13'
pkgrel=1
pkgdesc='A proprietary VoIP conference software'
license=('custom')
@@ -12,14 +12,14 @@
optdepends=('mariadb-connector-c: for MariaDB backend')
backup=(etc/default/teamspeak3-server)
install='teamspeak3-server.install'
-source=('teamspeak3-server.default'
+source=('teamspeak3-server.ini'
'teamspeak3-server.service')
source_i686=("http://teamspeak.gameserver.gamed.de/ts3/releases/$pkgver/teamspeak3-server_linux_x86-$pkgver.tar.bz2")
source_x86_64=("http://teamspeak.gameserver.gamed.de/ts3/releases/$pkgver/teamspeak3-server_linux_amd64-$pkgver.tar.bz2")
-sha256sums=('bc52b851f5d7c878050e70661fafa8983031a43d115bc2762bae82f4331ee36e'
- '3d1b7c34e6d460d12f4bf51bdf96d2d58036493a969025fabd2b4ea38c9ac170')
-sha256sums_i686=('6c1138abc8e849d956793ddbf4fda79777c5311627239f7bac2a1c08d66373a7')
-sha256sums_x86_64=('6bb0e8c8974fa5739b90e1806687128342b3ab36510944f576942e67df7a1bd9')
+sha256sums=('3164c0cb21b317d9ba81e4698f26603e4b5acc19cadb24e0586fd5d358e641ee'
+ 'e278e962cb0068059d5a0b981110dce1a708de59bb8355cdfc6b519dc14b21fa')
+sha256sums_i686=('62998a542a4dd50a0f2df7b812215e3cb402dfc7000d9f52ac5971f9f925cee5')
+sha256sums_x86_64=('93d702c30e5f3745ad156b020a751e448afa64459d8769d6d848a3ef43b28de9')

if [ "$CARCH" == "x86_64" ]; then
_TSARCH='amd64'
@@ -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.patch
------------------------------------------------------
--- 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 @@
User=teamspeak
Group=teamspeak
WorkingDirectory=/var/lib/teamspeak3-server
-EnvironmentFile=/etc/default/teamspeak3-server
-ExecStart=/usr/bin/ts3server $TS_ARGS
+Environment='LD_LIBRARY_PATH="/usr/lib/mariadb/:$LD_LIBRARY_PATH"'
+ExecStart=/usr/bin/ts3server inifile=/etc/teamspeak3-server.ini

[Install]
WantedBy=multi-user.target
------------------------------------------------------

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

Hi,

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 https://github.com/joe-nas/teamspeak3-server for changes....

regards,
Jonas

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 libmariadb.so.2 (redist/libmariadb.so.2) 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/libmariadb.so.2 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: https://paste.ee/p/gwVaC
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.

Source: http://forum.teamspeak.com/threads/122857-TeamSpeak-3-Server-3-0-12-released

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

3.0.11.3 is already stable.
Even the Server Downloads from Teamspeak point to it.

http://dl.4players.de/ts/releases/3.0.11.3/

Borbarad commented on 2015-05-13 23:28

3.0.11.3 is already stable.
Even the Server Downloads from Teamspeak point to it.

http://dl.4players.de/ts/releases/3.0.11.3/6

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) 3.0.11.2.

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

Source: http://forum.teamspeak.com/showthread.php/110894-PreRelease-TeamSpeak-3-Server-3-0-11-3-Beta

firegore commented on 2015-05-02 19:57

3.0.11.3 is out as Pre-Release btw :)

VanCoding commented on 2015-04-14 10:39

@rabcor

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

done

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

http://sl1pkn07.wtf/paste/view/35a243a6

enteenteente commented on 2015-01-17 04:14

@sl1pkn07
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 libmariadb.so.2 by hand or symlinking does the trick. Thanks guys.

enteenteente commented on 2015-01-17 00:02

@Spider.007

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] : https://wiki.archlinux.org/index.php/Arch_packaging_standards
[2] : https://wiki.archlinux.org/index.php/AUR_User_Guidelines
[3] : https://wiki.archlinux.org/index.php/Creating_Packages

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

@enteenteente

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

greetings

enteenteente commented on 2015-01-16 23:31

- Change the .install for proper deinstallation

@sl1pkn07
"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?

@Johnny_Net
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] : https://github.com/Enteee/teamspeak3-server-arch-pkg/tree/master/misc/mariadb-nativ-client
[2] : https://aur.archlinux.org/packages/mariadb-native-client/

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 libmariadb.so.2 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 "libts3db_mariadb.so" can't find "libmariadb.so.2".
Pretty sure there is no package that provides this library under the name "libmariadb.so".

Try symlinking "libmariadb.so.2" to "libmysqld.so" (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 "libts3db_mariadb.so".

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

greetings

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

=== Server Release 3.0.11.2 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

Source: http://forum.teamspeak.com/showthread.php/104131-TeamSpeak-3-Server-3-0-11-2-released

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

=== Server Release 3.0.11.2 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], 3.0.11.1 is the newest version. -> unflagged
[1] : http://www.teamspeak.com/?page=downloads

enteenteente commented on 2014-10-19 12:43

Indeed, [1] provides libmariadb.so.1. 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 : https://aur.archlinux.org/packages/mariadb-native-client/

r3ddr4gOn commented on 2014-10-19 03:08

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

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

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.

Thanks
r3ddr4gOn

r3ddr4gOn commented on 2014-10-19 02:59

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

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

Thanks
r3ddr4gOn

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 libts3db_mariadb.so NOT libts3db_mysql.so

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/libts3db_mysql.so’
: 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/libts3db_mysql.so': 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-3.0.10.3.tar.gz, 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

@enteenteente,

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 teamspeak.com is using some kind of DDoS protection. Curl alone returned: http://pastebin.com/X1vbCcVe.
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 http://www.teamspeak.com/?page=downloads -s | sed -nre 's/^.*<i><b>SHA1:<\/b>\s(.*)<\/i>.*$/\1/p'

Rojikku commented on 2014-07-06 03:15

@rszalski,
That fixes it, thank you very much.

rszalski commented on 2014-07-05 06:30

@Rojikku,

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

Go to http://www.teamspeak.com/?page=downloads, 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.

[1] https://wiki.archlinux.org/
[2] https://bbs.archlinux.org/

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 3.0.10.3.

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 libmysqlclient.so.15 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 ts3server_minimal_runscript.sh to run the server, or set LD_LIBRARY_PATH yourself."
"unable to load database plugin library ts3db_mysql.so"

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/libts3db_mysql.so 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 3.0.10.3-2. 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.

[1] https://cloud.russo79.com/public.php?service=files&t=f63b14a2339f3b96fc11e237c42c2640
[2] http://www.cacert.org

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.

[1] https://cloud.russo79.com/public.php?service=files&t=f63b14a2339f3b96fc11e237c42c2640
[2] http://wwwcacert.org

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 3.0.10.3 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-3.0.10.2.tar.gz, 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-3.0.10.2.tar.gz ... 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 teamspeak.org. 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 3.0.10.1
http://pastie.org/pastes/8506969/text

jdarnold commented on 2013-11-21 14:33

Thanks for the info - worked fine here.

r3ddr4gOn commented on 2013-11-19 00:45

Hi, 3.0.10.1 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 3.0.10.1
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...

http://forum.teamspeak.com/showthread.php/92816-upgraded-from-3-0-8-to-3-0-10-and-won-t-start

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 https://paste.xinu.at/GiBZ/

enteenteente commented on 2013-05-21 08:49

package is now on 3.0.7.2

enteenteente commented on 2013-04-01 20:23

updated package to 3.0.7.1

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: http://pastebin.com/raw.php?i=sftGhFJe

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:

https://wiki.archlinux.org/index.php/Systemd/Services#Network

franciscod commented on 2012-07-21 05:51

# cat ts3.service
[Unit]
My current ts3.service:

Description=TeamSpeak3 Server
After=syslog.target network.target

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

[Install]
WantedBy=multi-user.target
#EOF

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

@Zearan:

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 https://wiki.archlinux.org/index.php/TeamSpeak 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: http://www.teamspeak.com/?page=literature

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 startscript.sh...) just worked fine.
But now I dont have it in the pacman library. Please help.
Thanks

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?

Thanks

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 :

pkgver="3.0.3"

if [ "$CARCH" == "x86_64" ]; then
_TSARCH='amd64'
_TSMD5='b15613ca930b0362032983d64f333a94'
else
_TSARCH='x86'
_TSMD5='50d12cebc4d5165a0ef0d957c7e0132a'
fi

Thanks.

Anonymous comment on 2011-11-17 19:57

3.0.1 is out. Thanks :)

pkgver="3.0.1"
if [ "$CARCH" == "x86_64" ]; then
_TSARCH='amd64'
_TSMD5='0253fb6eabbd7e1c83414babb4b145be'
else
_TSARCH='x86'
_TSMD5='a81c79b18185eb2bfa6e1b881a502a2a'
fi

FrozenCow commented on 2011-08-13 16:28

3.0.0 is officially out. I've used the following PKGBUILD: http://pastebin.com/Kxyxn01K

Anonymous comment on 2011-05-25 22:41

fixed

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: http://forum.teamspeak.com/showthread.php/64536-TeamSpeak-3-Server-3.0.0-rc1-available
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/libmysqlclient.so.15 -> /usr/lib/libmysqlclient.so

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 libts3db_mysql.so being not found or something. Specifically, ts3 wants /usr/lib/libmysqlclient.so.15 . How you resolve that issue is up to you.

baghera commented on 2010-06-23 17:30

Beta 25 is out, check http://forum.teamspeak.com/showthread.php?t=55646