TeamSpeak3 suddenly stopped working - Failed loading default license file!
Solved
TeamSpeak
-
TL;DR
TeamSpeak3 App needs an update.
I would love to fork the app https://git.cloudron.io/cloudron/teamspeak-app to create a pr but can't do that.
I added my local git diff in this post.App start log:
Jul 01 17:30:04 2020-07-01 15:30:04,528 INFO spawned: 'teamspeak' with pid 18 Jul 01 17:30:04 2020-07-01 15:30:04.536476|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 (2020-01-13 08:12:37) Jul 01 17:30:04 2020-07-01 15:30:04.536576|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:30:04 2020-07-01 15:30:04.536595|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:30:04 2020-07-01 15:30:04.536607|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:30:04 2020-07-01 15:30:04.537146|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:30:04 2020-07-01 15:30:04.537176|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:30:04 2020-07-01 15:30:04.583966|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:30:04 2020-07-01 15:30:04.584023|CRITICAL|Accounting | |Failed loading default license file! Jul 01 17:30:04 2020-07-01 15:30:04,585 INFO exited: teamspeak (exit status 1; not expected) Jul 01 17:30:05 2020-07-01 15:30:05,585 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Jul 01 17:30:05 2020-07-01 15:30:05,587 INFO spawned: 'teamspeak' with pid 52 Jul 01 17:30:05 2020-07-01 15:30:05.594733|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 (2020-01-13 08:12:37) Jul 01 17:30:05 2020-07-01 15:30:05.594837|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:30:05 2020-07-01 15:30:05.594857|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:30:05 2020-07-01 15:30:05.594888|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:30:05 2020-07-01 15:30:05.595463|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:30:05 2020-07-01 15:30:05.595493|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:30:05 2020-07-01 15:30:05.643199|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:30:05 2020-07-01 15:30:05.643258|CRITICAL|Accounting | |Failed loading default license file! Jul 01 17:30:05 2020-07-01 15:30:05,644 INFO exited: teamspeak (exit status 1; not expected) Jul 01 17:30:07 2020-07-01 15:30:07,647 INFO spawned: 'teamspeak' with pid 70 Jul 01 17:30:07 2020-07-01 15:30:07.654949|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 (2020-01-13 08:12:37) Jul 01 17:30:07 2020-07-01 15:30:07.655048|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:30:07 2020-07-01 15:30:07.655067|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:30:07 2020-07-01 15:30:07.655079|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:30:07 2020-07-01 15:30:07.655572|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:30:07 2020-07-01 15:30:07.655598|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:30:07 2020-07-01 15:30:07.697770|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:30:07 2020-07-01 15:30:07.697828|CRITICAL|Accounting | |Failed loading default license file! Jul 01 17:30:07 2020-07-01 15:30:07,699 INFO exited: teamspeak (exit status 1; not expected) Jul 01 17:30:10 2020-07-01 15:30:10,703 INFO spawned: 'teamspeak' with pid 88 Jul 01 17:30:10 2020-07-01 15:30:10.710668|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 (2020-01-13 08:12:37) Jul 01 17:30:10 2020-07-01 15:30:10.710771|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:30:10 2020-07-01 15:30:10.710789|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:30:10 2020-07-01 15:30:10.710802|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:30:10 2020-07-01 15:30:10.711306|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:30:10 2020-07-01 15:30:10.711337|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:30:10 2020-07-01 15:30:10.757937|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:30:10 2020-07-01 15:30:10.758002|CRITICAL|Accounting | |Failed loading default license file! Jul 01 17:30:10 2020-07-01 15:30:10,759 INFO exited: teamspeak (exit status 1; not expected) Jul 01 17:30:11 2020-07-01 15:30:11,760 INFO gave up: teamspeak entered FATAL state, too many start retries too quickly
Error code:
Jul 01 17:30:10 2020-07-01 15:30:10.758002|CRITICAL|Accounting | |Failed loading default license file!
Updated the app local - diff
diff --git a/CHANGELOG b/CHANGELOG index 465b2bf..d2406b6 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -24,3 +24,5 @@ [1.1.0] * Use latest image 2.0.0 +[1.1.1] +* Updated to 3.12.1 diff --git a/CloudronManifest.json b/CloudronManifest.json index 0958744..be7469e 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -6,7 +6,7 @@ "changelog": "file://CHANGELOG", "tagline": "Out-of-this-world VoIP solution", "postInstallMessage": "file://POSTINSTALL.md", - "version": "1.1.0", + "version": "1.1.1", "healthCheckPath": "/", "httpPort": 8000, "memoryLimit": 268435456, diff --git a/Dockerfile b/Dockerfile index e2be3b4..3bc7e42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4 -ENV TSVERSION=3.11.0 +ENV TSVERSION=3.12.1 ENV TS3SERVER_LICENSE=accept EXPOSE 9987/udp
Update via cloudron cli:
cloudron update --image brutalbirdie/teamspeak-app:1.1.1 --app ts.deadsec.net
New app start log:
Jul 01 17:30:07 2020-07-01 15:30:07,647 INFO spawned: 'teamspeak' with pid 70 Jul 01 17:30:07 2020-07-01 15:30:07.654949|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 (2020-01-13 08:12:37) Jul 01 17:30:07 2020-07-01 15:30:07.655048|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:30:07 2020-07-01 15:30:07.655067|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:30:07 2020-07-01 15:30:07.655079|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:30:07 2020-07-01 15:30:07.655572|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:30:07 2020-07-01 15:30:07.655598|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:30:07 2020-07-01 15:30:07.697770|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:30:07 2020-07-01 15:30:07.697828|CRITICAL|Accounting | |Failed loading default license file! Jul 01 17:30:07 2020-07-01 15:30:07,699 INFO exited: teamspeak (exit status 1; not expected) Jul 01 17:30:10 2020-07-01 15:30:10,703 INFO spawned: 'teamspeak' with pid 88 Jul 01 17:30:10 2020-07-01 15:30:10.710668|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.11.0 (2020-01-13 08:12:37) Jul 01 17:30:10 2020-07-01 15:30:10.710771|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:30:10 2020-07-01 15:30:10.710789|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:30:10 2020-07-01 15:30:10.710802|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:30:10 2020-07-01 15:30:10.711306|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:30:10 2020-07-01 15:30:10.711337|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:30:10 2020-07-01 15:30:10.757937|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:30:10 2020-07-01 15:30:10.758002|CRITICAL|Accounting | |Failed loading default license file! Jul 01 17:30:10 2020-07-01 15:30:10,759 INFO exited: teamspeak (exit status 1; not expected) Jul 01 17:30:11 2020-07-01 15:30:11,760 INFO gave up: teamspeak entered FATAL state, too many start retries too quickly Jul 01 17:45:49 2020-07-01 15:45:49,937 WARN received SIGTERM indicating exit request Jul 01 17:45:49 2020-07-01 15:45:49,937 INFO waiting for nginx to die Jul 01 17:45:50 2020-07-01 15:45:50,943 INFO stopped: nginx (exit status 0) Jul 01 17:45:53 + TS3SERVER_LICENSE=accept Jul 01 17:45:53 + mkdir -p /app/data/ts/files /run/nginx/log /run/nginx/lib Jul 01 17:45:53 + [[ ! -f /app/data/ts/ts3server.ini ]] Jul 01 17:45:53 + echo '=> Creating initial /app/data/ts/ts3db_mysql.ini' Jul 01 17:45:53 => Creating initial /app/data/ts/ts3db_mysql.ini Jul 01 17:45:53 + echo ' Jul 01 17:45:53 [config] Jul 01 17:45:53 host='\''mysql'\'' Jul 01 17:45:53 port='\''3306'\'' Jul 01 17:45:53 username='\''1340879bab2ba163'\'' Jul 01 17:45:53 password='\''2c9c7fc848c5851fa2c387aa4efac58230a4dabecc22c11d'\'' Jul 01 17:45:53 database='\''1340879bab2ba163'\'' Jul 01 17:45:53 socket= Jul 01 17:45:53 ' Jul 01 17:45:53 + touch /app/data/ts/query_ip_whitelist.txt Jul 01 17:45:53 + touch /app/data/ts/query_ip_blacklist.txt Jul 01 17:45:53 + '[' -z x ']' Jul 01 17:45:53 + echo 'DEFAULT_PORT is set to '\''9987'\''' Jul 01 17:45:53 DEFAULT_PORT is set to '9987' Jul 01 17:45:53 + '[' -z x ']' Jul 01 17:45:53 + echo 'SERVERQUERY_PORT is set to '\''10011'\''' Jul 01 17:45:53 SERVERQUERY_PORT is set to '10011' Jul 01 17:45:53 + '[' -z x ']' Jul 01 17:45:53 + echo 'FILETRANSFER_PORT is set to '\''30033'\''' Jul 01 17:45:53 FILETRANSFER_PORT is set to '30033' Jul 01 17:45:53 + sed -i 's/default_voice_port=.*/default_voice_port=9987/' /app/data/ts/ts3server.ini Jul 01 17:45:53 + sed -i 's/filetransfer_port=.*/filetransfer_port=30033/' /app/data/ts/ts3server.ini Jul 01 17:45:53 + sed -i 's/query_port=.*/query_port=10011/' /app/data/ts/ts3server.ini Jul 01 17:45:53 + echo '=> Updating port in database' Jul 01 17:45:53 => Updating port in database Jul 01 17:45:53 ++ mysql -N -s --user=1340879bab2ba163 --password=2c9c7fc848c5851fa2c387aa4efac58230a4dabecc22c11d --host=mysql 1340879bab2ba163 -e 'select count(*) from servers;' Jul 01 17:45:53 mysql: [Warning] Using a password on the command line interface can be insecure. Jul 01 17:45:53 + '[' 1 -ge 1 ']' Jul 01 17:45:53 + mysql --user=1340879bab2ba163 --password=2c9c7fc848c5851fa2c387aa4efac58230a4dabecc22c11d --host=mysql 1340879bab2ba163 Jul 01 17:45:53 mysql: [Warning] Using a password on the command line interface can be insecure. Jul 01 17:45:53 + echo '=> Ensuring permissions' Jul 01 17:45:53 => Ensuring permissions Jul 01 17:45:53 + chown -R www-data.www-data /app/data /run/ Jul 01 17:45:53 + echo '=> Starting Teamspeak Server' Jul 01 17:45:53 => Starting Teamspeak Server Jul 01 17:45:53 + exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Teamspeak Jul 01 17:45:53 2020-07-01 15:45:53,150 CRIT Supervisor running as root (no user in config file) Jul 01 17:45:53 2020-07-01 15:45:53,150 INFO Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing Jul 01 17:45:53 2020-07-01 15:45:53,150 INFO Included extra file "/etc/supervisor/conf.d/teamspeak.conf" during parsing Jul 01 17:45:53 2020-07-01 15:45:53,157 INFO RPC interface 'supervisor' initialized Jul 01 17:45:53 2020-07-01 15:45:53,157 CRIT Server 'unix_http_server' running without any HTTP authentication checking Jul 01 17:45:53 2020-07-01 15:45:53,157 INFO supervisord started with pid 1 Jul 01 17:45:54 2020-07-01 15:45:54,159 INFO spawned: 'nginx' with pid 17 Jul 01 17:45:54 2020-07-01 15:45:54,161 INFO spawned: 'teamspeak' with pid 18 Jul 01 17:45:54 2020-07-01 15:45:54.168985|INFO |ServerLibPriv | |TeamSpeak 3 Server 3.12.1 (2020-03-27 10:38:47) Jul 01 17:45:54 2020-07-01 15:45:54.169078|INFO |ServerLibPriv | |SystemInformation: Linux 4.15.0-108-generic #109-Ubuntu SMP Fri Jun 19 11:33:10 UTC 2020 x86_64 Binary: 64bit Jul 01 17:45:54 2020-07-01 15:45:54.169096|WARNING |ServerLibPriv | |The system locale is set to "C" this can cause unexpected behavior. We advice you to repair your locale! Jul 01 17:45:54 2020-07-01 15:45:54.169108|INFO |ServerLibPriv | |Using hardware aes Jul 01 17:45:54 2020-07-01 15:45:54.169647|INFO |DatabaseQuery | |dbPlugin name: MariaDB plugin, version 3, (c)TeamSpeak Systems GmbH Jul 01 17:45:54 2020-07-01 15:45:54.169677|INFO |DatabaseQuery | |dbPlugin version: 2 Jul 01 17:45:54 2020-07-01 15:45:54.191894|INFO |SQL | |database updated successfully to revision: 33 Jul 01 17:45:54 2020-07-01 15:45:54.224735|WARNING |Accounting | |Unable to open /app/data/licensekey.dat, falling back to limited functionality Jul 01 17:45:54 2020-07-01 15:45:54.224956|INFO |Accounting | |Licensing Information Jul 01 17:45:54 2020-07-01 15:45:54.224979|INFO |Accounting | |licensed to : Anonymous Jul 01 17:45:54 2020-07-01 15:45:54.224991|INFO |Accounting | |type : No License Jul 01 17:45:54 2020-07-01 15:45:54.225006|INFO |Accounting | |starting date : Sat Feb 1 00:00:00 2020 Jul 01 17:45:54 2020-07-01 15:45:54.225018|INFO |Accounting | |ending date : Mon Feb 1 00:00:00 2021 Jul 01 17:45:54 2020-07-01 15:45:54.225028|INFO |Accounting | |max virtualservers: 1 Jul 01 17:45:54 2020-07-01 15:45:54.225039|INFO |Accounting | |max slots : 32 Jul 01 17:45:54 2020-07-01 15:45:54.493628|INFO | | |Puzzle precompute time: 251 Jul 01 17:45:54 2020-07-01 15:45:54.493850|INFO |FileManager | |listening on 0.0.0.0:30033 Jul 01 17:45:54 2020-07-01 15:45:54.493922|INFO |VirtualSvrMgr | |executing monthly interval Jul 01 17:45:54 2020-07-01 15:45:54.494198|INFO |VirtualSvrMgr | |reset virtualserver traffic statistics Jul 01 17:45:54 2020-07-01 15:45:54.549210|INFO |VirtualServerBase|1 |listening on 0.0.0.0:9987 Jul 01 17:45:54 2020-07-01 15:45:54.549325|INFO |Query | |listening for query on 0.0.0.0:10011 Jul 01 17:45:55 2020-07-01 15:45:55,550 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Jul 01 17:45:55 2020-07-01 15:45:55,550 INFO success: teamspeak entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) Jul 01 17:45:55 2020-07-01 15:45:55.789466|INFO | | |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
-
-
Hi Elias,
thanks for the detailed fix description, I've also granted you rights to add your own projects and repos in our gitlab so you should be able to fork now and create a pull request. Otherwise I will get around to fix the app by tomorrow.
-
B BrutalBirdie referenced this topic on
-
B BrutalBirdie referenced this topic on
-
B BrutalBirdie referenced this topic on