Giter Club home page Giter Club logo

arch-teamspeak's Introduction

Application

TeamSpeak3

Description

TeamSpeak is proprietary voice-over-Internet Protocol (VoIP) software that allows computer users to speak on a chat channel with fellow computer users, much like a telephone conference call. A TeamSpeak user will often wear a headset with an integrated microphone. Users use the TeamSpeak client software to connect to a TeamSpeak server of their choice, from there they can join chat channels and discuss things.

Build notes

Latest stable TeamSpeak release from Arch Linux AUR.

Usage

docker run -d \
    --net="host" \
    --name=<container name> \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-teamspeak

Please replace all user variables in the above command defined by <> with the correct values.

Access application

Connect using the TeamSpeak client on <host ip>:9987

Example

docker run -d \
    --net="host" \
    --name=teamspeak \
    -v /apps/docker/teamspeak:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-teamspeak

Notes

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

To authenticate use the privileged key shown in /config/supervisord.log


If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

arch-teamspeak's People

Contributors

binhex avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arch-teamspeak's Issues

Resetting serveradmin password

Hi!

When starting this docker i get a token to be serveradmin. But there is no serveradmin with a password when i start the ts3 server up for the first time. Can i set a variable to reset this?

Kind regrads,
Graxo

TeamSpeak server can't access volume

It appears that the TeamSpeak server can't access the /config volume.
However, supervisord can, as the supervisord.log file is created and readable.

# ls teamspeak
supervisord.log
# docker logs teamspeak
2015-06-28 14:20:19,259 CRIT Set uid to user 0
2015-06-28 14:20:19,259 WARN Included extra file "/etc/supervisor/conf.d/teamspeak.conf" during pars                 ing
2015-06-28 14:20:19,263 INFO supervisord started with pid 1
2015-06-28 14:20:20,265 INFO spawned: 'teamspeak' with pid 7
2015-06-28 14:20:20,279 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.279675|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.11.3 (2015-04-13 13:2                 6:31)
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed
2015-06-28 12:20:20.279749|INFO    |ServerLibPriv |   | SystemInformation: Linux 3.13.0-40-generic #                 69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 Binary: 64bit

2015-06-28 14:20:20,280 DEBG 'teamspeak' stdout output:
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed
2015-06-28 12:20:20.279783|INFO    |ServerLibPriv |   | Using hardware aes
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,280 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.280481|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2,                  (c)TeamSpeak Systems GmbH
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,280 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.280528|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,281 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.281034|INFO    |DatabaseQuery |   | checking database integrity (may take a whil                 e)

2015-06-28 14:20:20,281 DEBG 'teamspeak' stdout output:
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,297 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.297366|INFO    |SQL           |   | db_CreateTables() tables created
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,462 DEBG 'teamspeak' stderr output:

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
               Server Query Admin Account created
         loginname= "serveradmin", password= "4K1z68AK"
------------------------------------------------------------------


2015-06-28 14:20:20,462 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.462744|WARNING |Accounting    |   | Unable to find valid license key, falling ba                 ck to limited functionality
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,929 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.929709|INFO    |              |   | Puzzle precompute time: 456
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,930 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.930209|INFO    |FileManager   |   | listening on 0.0.0.0:30033
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,934 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.934192|INFO    |VirtualSvrMgr |   | executing monthly interval
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:20,934 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:20.934364|INFO    |VirtualSvrMgr |   | reset virtualserver traffic statistics
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:21,098 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:21.098089|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_1.log) failed

2015-06-28 14:20:21,098 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:21.098531|INFO    |VirtualServer |  1| client 'server'(id:0) added privilege key fo                 r servergroup 'Server Admin'(id:6)
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_1.log) failed

2015-06-28 14:20:21,098 DEBG 'teamspeak' stderr output:

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
      ServerAdmin privilege key created, please use it to gain
      serveradmin rights for your virtualserver. please
      also check the doc/privilegekey_guide.txt for details.

       token=ihH2HQ9TRheE5sDjIQh1mhO8FUIdjW4qZ4S1c+IQ
------------------------------------------------------------------


2015-06-28 14:20:21,099 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:21.098577|WARNING |VirtualServer |  1| --------------------------------------------                 ------------
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_1.log) failed
2015-06-28 12:20:21.098610|WARNING |VirtualServer |  1| ServerAdmin privilege key created, please us                 e the line below
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_1.log) failed
2015-06-28 12:20:21.098640|WARNING |VirtualServer |  1| token=ihH2HQ9TRheE5sDjIQh1mhO8FUIdjW4qZ4S1c+                 IQ
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_1.log) failed
2015-06-28 12:20:21.098671|WARNING |VirtualServer |  1| --------------------------------------------                 ------------
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_1.log) failed

2015-06-28 14:20:21,111 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:21.111205|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:21,111 DEBG 'teamspeak' stdout output:
2015-06-28 12:20:21.111709|INFO    |Query         |   | listening on 0.0.0.0:10011
ERROR: openFile( file:/config/ts3server_2015-06-28__12_20_20.279561_0.log) failed

2015-06-28 14:20:22,113 INFO success: teamspeak entered RUNNING state, process has stayed up for > t                 han 1 seconds (startsecs)
2015-06-28 14:21:17,403 WARN received SIGTERM indicating exit request
2015-06-28 14:21:17,404 DEBG killing teamspeak (pid 7) with signal SIGTERM
2015-06-28 14:21:17,404 INFO waiting for teamspeak to die
2015-06-28 14:21:17,404 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 140428518649728 f                 or <Subprocess at 140428518649224 with name teamspeak in state STOPPING> (stderr)>
2015-06-28 14:21:17,404 DEBG fd 6 closed, stopped monitoring <POutputDispatcher at 140428518649368 f                 or <Subprocess at 140428518649224 with name teamspeak in state STOPPING> (stdout)>
2015-06-28 14:21:17,404 INFO stopped: teamspeak (terminated by SIGTERM)
2015-06-28 14:21:17,404 DEBG received SIGCLD indicating a child quit
2015-06-28 14:25:48,088 CRIT Set uid to user 0
2015-06-28 14:25:48,088 WARN Included extra file "/etc/supervisor/conf.d/teamspeak.conf" during pars                 ing
2015-06-28 14:25:48,091 INFO supervisord started with pid 1
2015-06-28 14:25:49,093 INFO spawned: 'teamspeak' with pid 7
2015-06-28 14:25:49,108 DEBG 'teamspeak' stderr output:
mv: cannot create regular file ‘/config/ts3server.sqlitedb’: Permission denied

2015-06-28 14:25:49,109 DEBG 'teamspeak' stderr output:
ln: failed to create symbolic link ‘/usr/share/teamspeak3-server/sql/ts3server.sqlitedb’
2015-06-28 14:25:49,110 DEBG 'teamspeak' stderr output:
: File exists

2015-06-28 14:25:49,113 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.113464|INFO    |ServerLibPriv |   | TeamSpeak 3 Server 3.0.11.3 (2015-04-13 13:2                 6:31)

2015-06-28 14:25:49,113 DEBG 'teamspeak' stdout output:
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed
2015-06-28 12:25:49.113541|INFO    |ServerLibPriv |   | SystemInformation: Linux 3.13.0-40-generic #                 69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 Binary: 64bit
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed
2015-06-28 12:25:49.113577|INFO    |ServerLibPriv |   | Using hardware aes
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,114 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.114276|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2,                  (c)TeamSpeak Systems GmbH
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,114 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.114330|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,114 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.114683|INFO    |DatabaseQuery |   | checking database integrity (may take a whil                 e)

2015-06-28 14:25:49,114 DEBG 'teamspeak' stdout output:
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,136 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.136575|WARNING |Accounting    |   | Unable to find valid license key, falling ba                 ck to limited functionality
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,680 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.680015|INFO    |              |   | Puzzle precompute time: 529
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,680 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.680408|INFO    |FileManager   |   | listening on 0.0.0.0:30033

2015-06-28 14:25:49,680 DEBG 'teamspeak' stdout output:
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,706 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.706430|INFO    |VirtualServer |  1| listening on 0.0.0.0:9987
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_1.log) failed

2015-06-28 14:25:49,706 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.706664|INFO    |CIDRManager   |   | updated query_ip_whitelist ips: 127.0.0.1,
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:49,707 DEBG 'teamspeak' stdout output:
2015-06-28 12:25:49.707169|INFO    |Query         |   | listening on 0.0.0.0:10011
ERROR: openFile( file:/config/ts3server_2015-06-28__12_25_49.113354_0.log) failed

2015-06-28 14:25:50,708 INFO success: teamspeak entered RUNNING state, process has stayed up for > t                 han 1 seconds (startsecs)

Unable to Load ts3server.ini to Adjust Configuration

I was working on getting a container running using this image however it appears that the ts3server.ini file is not actually passed to the server start script. Maybe I am missing something but it appears that in run/nobody/start.sh on line 69 you have:

cd "${install_path}/sql/" && /usr/bin/ts3server logpath=/config/ dbsqlpath=/usr/share/teamspeak3-server/sql/ licensepath=/config/ license_accepted=1

Typically with TS3 in order to read the ts3server.ini file you need to specify the inifile parameter.

No matter how I attempt to change the settings it does not load the ts3server.ini file. Let me know if I am missing a step or something as that could be the case here!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.