Notice to all users

We are migrating towards a new forum system located at, as such this forum will become read-only on January 29, 2020

Results 1 to 7 of 7
  1. #1
    Join Date
    June 2004

    [Docker] TS3Server crash by reading licensekey.dat

    Hey there, maybe someone can help me.

    I start the TS3DockerServer
    docker run -p 9987:9987/udp -p 10011:10011 -p 30033:30033 -e TS3SERVER_LICENSE=accept -e TS3SERVER_LICENSEPATH=/var/ts3server/ --name TS3Server teamspeak
    Connect on Shell:
    docker exec -it TS3Server sh
    touch licensekey.dat

    vi licensekey.dat
    press i for insert
    copy&paste my licence infor into the file licensekey.dat
    press ESC
    press :wq
    Restart the TS3DockerServer instance

    2018-11-13 14:15:48.992263|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.5.0 (2018-10-26 06:48:07)
    2018-11-13 14:15:48.992865|INFO |ServerLibPriv | |SystemInformation: Linux 3.10.105 #23824 SMP Fri Oct 26 18:32:55 CST 2018 x86_64 Binary: 64bit
    2018-11-13 14:15:48.992958|INFO |ServerLibPriv | |Using hardware aes
    2018-11-13 14:15:48.993305|INFO |DatabaseQuery | |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
    2018-11-13 14:15:48.993392|INFO |DatabaseQuery | |dbPlugin version: 3.11.1
    2018-11-13 14:15:48.993722|INFO |DatabaseQuery | |checking database integrity (may take a while)
    2018-11-13 14:15:49.066525|INFO |Accounting | |Licensing Information
    2018-11-13 14:15:49.067752|INFO |Accounting | |type : Non-Profit License
    2018-11-13 14:15:49.067881|INFO |Accounting | |starting date : Fri Jun 1 00:00:00 2018
    2018-11-13 14:15:49.067977|INFO |Accounting | |ending date : Fri Dec 21 00:00:00 2018
    2018-11-13 14:15:49.068062|INFO |Accounting | |max virtualservers: 10
    2018-11-13 14:15:49.068150|INFO |Accounting | |max slots : 512
    terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::except ion_detail::error_info_injectorboost::uuids::entro py_error >'
    what(): getrandom

  2. #2
    Join Date
    June 2008
    Your docker does not have enough entropy as required from ts server.
    You may try to include following to get this problem sorted.
    entropy "-v /dev/urandom:/dev/random"

    Creating the licensekey.dat that way is a bit strange. Why don't you just include the original file into your docker?
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  3. #3
    Join Date
    June 2004
    Dear dante969,

    first too your question.
    I was not sure if that worked with the switch "-e TS3SERVER_LICENSEPATH=... correctly, chown and chmod were also set wrong, so i created file manually.

    So i like too install this docker image on my Synology DS1817+, how much entropy i must have available?
    cat /proc/sys/kernel/random/entropy_avail = 249
    Docker TS3Server instance:
    cat /proc/sys/kernel/random/entropy_avail = 173

    Linux version 3.10.105 ([email protected]) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #23824 SMP Fri Oct 26 18:32:55 CST 2018

    To use the urandom i need the "rng-tools" on my Diskstation but this isnt official supported.
    I can start the basic license TS3Server, maybe the devs can include a switch to change the entropy?

    Thanks for your support!

  4. #4
    Join Date
    June 2018
    Hi pikniker,
    dante told me take a look at your problem.

    I think you implied that there is no /dev/urandom on you machine, that might very well be the culprit.
    Instead of mounting /dev/urandom as /dev/random into the docker, you might want to try the reverse.
    So the actual solution should be "-v /dev/random:/dev/urandom".

    I also looked at the required amount of entropy need, and while 173 bytes is a rather low amount, it should be enough.

  5. #5
    Join Date
    June 2004
    Hey mmuenchow,

    thanks for your reply.
    Your solution doenst works, the TS3DockerServer crash with the same issue.
    Btw i can use the *random device in the TS3 Docker instance.

    I think this is a security option which one would have to adapt to docker, I see no chance on the admin-side.

    Any other ideas?

  6. #6
    Join Date
    June 2008
    We found something and we may can fix the problem.
    The kernel on your host system is to old (it must be at least version 3.17) or else server 3.5.0 will not run.

    We will add a fix into server 3.6.0 and maybe will release a beta next week for this.
    Meanwhile you can try to update your kernel or use server 3.4.0 instead.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    Join Date
    June 2004
    Hey dante696,

    im very happy about your greate post!
    I hope the Dev Team can fix this, I have no chance to change the version to a newer one:

    Many thanks and have a nice weekend!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Resolved] Unable to open licensekey.dat/licensekey.dat
    By Neoxx- in forum Server Support
    Replies: 5
    Last Post: March 25th, 2018, 10:10 AM
  2. [Resolved] TeamSpeak Server as a Docker App!!
    By Solamar in forum Suggestions and Feedback
    Replies: 1
    Last Post: May 11th, 2015, 08:48 AM
  3. Move Server without ts3server.ini to configured ts3server.ini
    By EuReKa-LoS in forum Linux / FreeBSD
    Replies: 6
    Last Post: March 7th, 2013, 02:56 PM
  4. Replies: 10
    Last Post: August 9th, 2012, 04:01 PM
  5. Crash start-up - licensekey.dat
    By AMVI_Lince in forum General Questions
    Replies: 5
    Last Post: February 15th, 2010, 05:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts