Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

keeps asking for privilege key #6

Open
pazport opened this issue Aug 15, 2021 · 2 comments
Open

keeps asking for privilege key #6

pazport opened this issue Aug 15, 2021 · 2 comments

Comments

@pazport
Copy link

pazport commented Aug 15, 2021

every time. my teamspeak restarts, it keeps asking for a privilege key. but when i look at the config and database file. it doesn't seem to be saving any information.

@qdm12
Copy link
Owner

qdm12 commented Aug 17, 2021

Hmm strange, I just tried:

docker pull qmcgaw/teamspeak3-alpine
docker run -it --rm -e TS3SERVER_LICENSE=accept -v teamspeak3:/teamspeak/data qmcgaw/teamspeak3-alpine

First logs:

...
2021-08-17 22:54:20.612282|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.6 (2021-06-09 10:22:37)
2021-08-17 22:54:20.612423|INFO    |ServerLibPriv |   |SystemInformation: Linux 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 Binary: 64bit
2021-08-17 22:54:20.612456|INFO    |ServerLibPriv |   |Using hardware aes
2021-08-17 22:54:20.612596|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2021-08-17 22:54:20.612638|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2021-08-17 22:54:20.612744|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
2021-08-17 22:54:20.617621|INFO    |SQL           |   |db_CreateTables() tables created

------------------------------------------------------------------
                      I M P O R T A N T
------------------------------------------------------------------
               Server Query Admin Account created
         loginname= "serveradmin", password= "5mpTeRzl"
         apikey= "BADUU6AM8yf06WjKaphdngSVvfrUhfJf9R5VWf4"
------------------------------------------------------------------

2021-08-17 22:54:20.629251|WARNING |Accounting    |   |Unable to open licensekey.dat, falling back to limited functionality
2021-08-17 22:54:20.633239|INFO    |Accounting    |   |Licensing Information
2021-08-17 22:54:20.633288|INFO    |Accounting    |   |licensed to       : Anonymous
2021-08-17 22:54:20.633331|INFO    |Accounting    |   |type              : No License
2021-08-17 22:54:20.633374|INFO    |Accounting    |   |starting date     : Thu Oct  1 00:00:00 2020
2021-08-17 22:54:20.633411|INFO    |Accounting    |   |ending date       : Tue Nov  1 00:00:00 2022
2021-08-17 22:54:20.633452|INFO    |Accounting    |   |max virtualservers: 1
2021-08-17 22:54:20.633489|INFO    |Accounting    |   |max slots         : 32
2021-08-17 22:54:20.943003|INFO    |              |   |Puzzle precompute time: 299
2021-08-17 22:54:20.943396|INFO    |FileManager   |   |listening on 0.0.0.0:30033, [::]:30033
2021-08-17 22:54:20.943798|INFO    |VirtualSvrMgr |   |executing monthly interval
2021-08-17 22:54:20.943895|INFO    |VirtualSvrMgr |   |reset virtualserver traffic statistics
2021-08-17 22:54:20.945483|INFO    |Query         |   |Using a query thread pool size of 2
2021-08-17 22:54:20.954902|INFO    |VirtualServerBase|1  |listening on 0.0.0.0:9987, [::]:9987
2021-08-17 22:54:20.955158|WARNING |VirtualServer |1  |--------------------------------------------------------
2021-08-17 22:54:20.955190|WARNING |VirtualServer |1  |ServerAdmin privilege key created, please use the line below
2021-08-17 22:54:20.955227|WARNING |VirtualServer |1  |token=ebQ0C6EXAR01fFrGLxoQRibmpNyhRuAiiPHUbK16
2021-08-17 22:54:20.955246|WARNING |VirtualServer |1  |--------------------------------------------------------

------------------------------------------------------------------
                      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=ebQ0C6EXAR01fFrGLxoQRibmpNyhRuAiiPHUbK16
------------------------------------------------------------------

2021-08-17 22:54:20.955373|INFO    |Query         |   |listening for query on 0.0.0.0:10011, [::]:10011
2021-08-17 22:54:20.955461|INFO    |              |   |creating QUERY_SSH_RSA_HOST_KEY file: ssh_host_rsa_key
2021-08-17 22:54:21.082003|INFO    |              |   |myTeamSpeak identifier revocation list was downloaded successfully - all related features are activated
2021-08-17 22:54:21.820872|INFO    |Query         |   |listening for ssh query on 0.0.0.0:10022, [::]:10022
2021-08-17 22:54:21.820982|INFO    |Query         |   |listening for http query on 0.0.0.0:10080, [::]:10080
^C2021-08-17 22:56:07.068151|INFO    |ServerMain    |   |Received signal SIGINT, shutting down.
2021-08-17 22:56:07.068391|INFO    |VirtualServerBase|1  |stopped

Then stop it (CTRL+C) and re-run it again:

docker run -it --rm -e TS3SERVER_LICENSE=accept -v teamspeak3:/teamspeak/data **qmcgaw/teamspeak3-alpine**

Second logs:

2021-08-17 22:56:08.811390|INFO    |ServerLibPriv |   |TeamSpeak 3 Server 3.13.6 (2021-06-09 10:22:37)
2021-08-17 22:56:08.811544|INFO    |ServerLibPriv |   |SystemInformation: Linux 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020 x86_64 Binary: 64bit
2021-08-17 22:56:08.811577|INFO    |ServerLibPriv |   |Using hardware aes
2021-08-17 22:56:08.811742|INFO    |DatabaseQuery |   |dbPlugin name:    SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2021-08-17 22:56:08.811785|INFO    |DatabaseQuery |   |dbPlugin version: 3.11.1
2021-08-17 22:56:08.811895|INFO    |DatabaseQuery |   |checking database integrity (may take a while)
2021-08-17 22:56:08.829712|WARNING |Accounting    |   |Unable to open licensekey.dat, falling back to limited functionality
2021-08-17 22:56:08.833678|INFO    |Accounting    |   |Licensing Information
2021-08-17 22:56:08.833728|INFO    |Accounting    |   |licensed to       : Anonymous
2021-08-17 22:56:08.833781|INFO    |Accounting    |   |type              : No License
2021-08-17 22:56:08.833824|INFO    |Accounting    |   |starting date     : Thu Oct  1 00:00:00 2020
2021-08-17 22:56:08.833866|INFO    |Accounting    |   |ending date       : Tue Nov  1 00:00:00 2022
2021-08-17 22:56:08.833916|INFO    |Accounting    |   |max virtualservers: 1
2021-08-17 22:56:08.833957|INFO    |Accounting    |   |max slots         : 32
2021-08-17 22:56:09.121642|INFO    |              |   |Puzzle precompute time: 277
2021-08-17 22:56:09.122095|INFO    |FileManager   |   |listening on 0.0.0.0:30033, [::]:30033
2021-08-17 22:56:09.123678|INFO    |Query         |   |Using a query thread pool size of 2
2021-08-17 22:56:09.150546|INFO    |VirtualServerBase|1  |listening on 0.0.0.0:9987, [::]:9987
2021-08-17 22:56:09.150696|INFO    |Query         |   |listening for query on 0.0.0.0:10011, [::]:10011
2021-08-17 22:56:09.150818|INFO    |              |   |creating QUERY_SSH_RSA_HOST_KEY file: ssh_host_rsa_key
2021-08-17 22:56:10.271660|INFO    |Query         |   |listening for ssh query on 0.0.0.0:10022, [::]:10022
2021-08-17 22:56:10.271792|INFO    |Query         |   |listening for http query on 0.0.0.0:10080, [::]:10080
^C2021-08-17 22:56:30.090966|INFO    |ServerMain    |   |Received signal SIGINT, shutting down.
2021-08-17 22:56:30.091178|INFO    |VirtualServerBase|1  |stopped

Are you sure you are bind mounting directories correctly?

@pazport
Copy link
Author

pazport commented Aug 19, 2021

yes i am sure i have mounting directories correct. i will do some more testng and see what happens.

just sometimes it will ask for the key but somedays it just won't ask.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants