• If you need help or want to discuss things, you now can also join us on our Discord Server!

Connect - Play - Disconnect

#1
Hey, habe mich gerade mal an dem Sinusbot versucht und dafür das Install Script verwendet. Alles ist also in Standard Pfaden auf einem Debian 9.6 System. Der Zeilserver ist auch localhost und läuft momentan auf der Version: 3.4.0

Das Log vom Sinusbot sieht folgendermaßen aus:


Code:
2019/01/03 13:46:00 a1aecc20 5350c981 WARN   Could not create Chat-Tabletable Chat already exists
2019/01/03 13:46:00 a1aecc20 5350c981 WARN   Could not create WhisperReceive-Tabletable WhisperReceive already exists
2019/01/03 13:46:00 a1aecc20 5350c981 WARN   Could not create Notifications-Tabletable Notifications already exists
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   Starting instance ts3server://domain.de?port=port&nickname=MusicBot&password=&cid=46&channelpassword=
2019/01/03 13:46:00 X [MAIN] New connection
2019/01/03 13:46:00 X [MAIN] New connection
2019/01/03 13:46:00 X [MAIN] New connection
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |              |   |TeamSpeak 3 Client 3.2.3 (2018-10-02 07:57:10)
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |              |   |SystemInformation: Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 Binary: 64bit
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |              |   |Using hardware aes
2019/01/03 13:46:00 X [MAIN] New connection
2019/01/03 13:46:00 X [MAIN] New connection
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |ERROR   |PulseAudio    |   |failed to connect to pulse audio server -
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |ERROR   |PulseAudio    |   |pa_context_connect failed -
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |ERROR   |SoundBckndIntf|   |/opt/sinusbot/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: INIT_PA_IMPL
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |Unable to create an Open GL context.
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |ERROR   |RevocationListCache|   |Failed to import revocation list from cache
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |Addons        |   |Checking for addon updates...
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |Plugins       |   |Loading plugin: libsoundbot_plugin.so
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |              |   |successfully downloaded revocation list for accounting
2019/01/03 13:46:00 a1aecc20 5350c981 INFO   TS |INFO    |              |   |successfully downloaded revocation list for myteamspeak id
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |              |   |*** Time [MAINWINDOW]: 169
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |              |   |*** Time [INIT]: 170
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |DEVELOP |ClientUI      |   |Notifications init: Soundpack path: /opt/sinusbot/teamspeak3-client/sound/nosounds
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |Failed to init text to speech engine
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |Qt version: 5.6.1
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |Using configuration location: /opt/sinusbot/data/ts3/a1aecc20-5373-4b21-b018-ce9a7f2cd9b8/5350c981-9707-4d14-9981-c8567fff01e2/settings.db
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |ts3server: domain.de?port=port&nickname=MusicBot&password=&cid=46&channelpassword=
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect to server: domain.de
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Trying to resolve bping.de
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |Bookmarks     |   |Collecting autoconnect bookmarks
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |Last update check was: Di. Jan. 1 00:00:01 2019
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |   |Checking for update
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |SRV DNS resolve unsuccessful, "_ts3._udp.domain.de" DNS server returned answer with no data
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |A/AAAA DNS resolve for possible TSDNS successful, "domain.de" =(h: 2a01:4f8:190:8064::2 p:0), (h: 144.76.5.101 p:0)
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |A/AAAA DNS resolve successful, "domain.de" =(h: 2a01:4f8:190:8064::2 p:0), (h: 144.76.5.101 p:0)
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |SRV DNS resolve unsuccessful, "_tsdns._tcp.domain.de" DNS server returned answer with no data
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |TSDNS queried unsuccessfully ipv6:ipv6:ipv6:ipv6::2:41144
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |TSDNS queried unsuccessfully ipv4.ipv4.ipv4.ipv4:41144
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |TSDNS         |   |No TSDNS found
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |Update        |   |Checking for updates...
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Lookup finished: ip=****::2 port=7777 query=bping.de error=0
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Resolve successful: [****::2]:7777144.76.5.101:***
2019/01/03 13:46:01 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Initiating connection: [****::2]:****
2019/01/03 13:46:02 a1aecc20 5350c981 INFO   TS |INFO    |PreProSpeex   |1  |Speex version: 1.2rc1
2019/01/03 13:46:02 a1aecc20 5350c981 INFO   TS |INFO    |Update        |   |Check license: version=4, min_version=4, my_license_version=4, my_license_min_version=1
2019/01/03 13:46:02 a1aecc20 5350c981 INFO   TS |INFO    |LicenseViewer |   |View license: version=4, language=en, require accept=1
2019/01/03 13:46:02 a1aecc20 5350c981 INFO   TS |INFO    |LicenseViewer |   |Found cached license for version 4 and language en
2019/01/03 13:46:02 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connecting
2019/01/03 13:46:02 a1aecc20 5350c981 INFO   New connection status 1; Error 0
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect status: Disconnected
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation or the password is wrong , the security level of your identity is too low or the server does not allow the version of the client you are using. See our Wiki / Forums for more help.
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   New connection status 0; Error 1797
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Initiating connection: ipv4:1234
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connecting
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   New connection status 1; Error 0
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |DEVELOP |PktHandler    |   |Puzzle solve time: 4
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connected
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   New connection status 2; Error 0
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect status: Establishing connection
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   New connection status 3; Error 0
2019/01/03 13:46:07 a1aecc20 5350c981 WARN   Error in script (event clientMove): TypeError: Cannot access member 'replace' of undefined
    at welcome.js:23:15

2019/01/03 13:46:07 Deprecated use of .ID() on Channel. Please use .id() instead.
2019/01/03 13:46:07 a1aecc20 5350c981 WARN   Error in script (event clientMove): TypeError: Cannot access member 'replace' of undefined
    at welcome.js:23:15

2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connection established
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |PermManager   |   |Loading permissions from cache
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   New connection status 4; Error 0
2019/01/03 13:46:07 a1aecc20 5350c981 INFO   TS |INFO    |              |   |No image, refusing to display
2019/01/03 13:46:08 a1aecc20 5350c981 INFO   TSClient quit.
Troubleshooting bin ich durch, in der Praxis connected der Bot, spielt ca. 0,3 Sekunden Musik und verstummt und disconencted dann mit connection lost.

Vielen Dank im voraus.
 
#2
Auf Loglevel 10 ist noch folgendes hinzu gekommen:

Code:
2019/01/03 15:37:25 a1aecc20 5350c981 DEBUG  TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2019/01/03 15:37:25 a1aecc20 5350c981 DEBUG  TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2019/01/03 15:37:25 a1aecc20 5350c981 DEBUG  TS>XDG_RUNTIME_DIR (/run/user/0) gehört uns (Benutzerkennung 1001) nicht, sondern der Benutzerkennung 0! Dies kann beispielsweise passieren, wenn Sie sich über das native Protokoll als Root-Benutzer mit einem ohne Root-Rechte betriebenen PulseAudio-Server verbinden wollen. Sie sollten dies nicht tun.
2019/01/03 15:37:25 a1aecc20 5350c981 DEBUG  TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2019/01/03 15:37:25 a1aecc20 5350c981 DEBUG  TS>libpng warning: iCCP: known incorrect sRGB profile
2019/01/03 15:37:25 a1aecc20 5350c981 DEBUG  Closed.
2019/01/03 15:37:25 a1aecc20 5350c981 INFO   TSClient quit.
2019/01/03 15:37:51 a1aecc20 5350c981 DEBUG  Storing configuration.
Ausgabe von:
xinit /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

Ist:
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
/opt/sinusbot/teamspeak3-client/ts3client_linux_amd64: error while loading shared libraries: libquazip.so: cannot open shared object file: No such file or directory
xinit: connection to X server lost

waiting for X server to shut down
 
#3
Ich habe jetzt mal die Libarys quick and dirty gesymlinkt und das Ergebnis sieht jetzt so aus:

xinit /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".

Available platform plugins are: xcb.

Reinstalling the application may fix this problem.
xinit: connection to X server lost

waiting for X server to shut down
 

Al3x

New Member
#5
Hey Olli2k,

bitte versuche folgendes:

1. Lösche alle Sinusbot-Dateien (normalerweise unter /opt/sinusbot)
2. Update deinen Host (ssh --> "apt-get update && apt-get upgrade")
3. Installiere den Sinusbot neu und nutze hierfür die offizielle Anleitung: https://wiki.sinusbot.com/en:guides:installation:linux
4. Sinusbot via Webinterface (Port 8087) konfigurieren und auf deinen TS/Discord joinen lassen.


Kannst uns gerne ne Info dalassen ob es geklappt hat.
Viel Glück & Viele Grüße
Alex
 
#6
Danke für die Hilfe, habe auch alles exakt wie in dem Tutorial beschrieben neu installiert, aber bis auf den Pfad für die TS3 Client Installation hat sich nichtw geändert. Gleiches Verhalten und das gleiche Log:

Code:
2019/01/08 11:51:51 9143df65 23fb8259 INFO   TS |INFO    |              |   |No image, refusing to display
2019/01/08 11:51:51 9143df65 23fb8259 DEBUG  TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object fi                              rst
2019/01/08 11:51:51 9143df65 23fb8259 DEBUG  TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are ena                              bled
2019/01/08 11:51:51 9143df65 23fb8259 DEBUG  TS>XDG_RUNTIME_DIR (/run/user/0) gehört uns (Benutzerkennung 1001) nicht, sondern der                               Benutzerkennung 0! Dies kann beispielsweise passieren, wenn Sie sich über das native Protokoll als Root-Benutzer mit einem ohne Roo                              t-Rechte betriebenen PulseAudio-Server verbinden wollen. Sie sollten dies nicht tun.
2019/01/08 11:51:51 9143df65 23fb8259 DEBUG  TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are ena                              bled
2019/01/08 11:51:51 9143df65 23fb8259 DEBUG  TS>libpng warning: iCCP: known incorrect sRGB profile
2019/01/08 11:51:51 9143df65 23fb8259 INFO   TSClient quit.
2019/01/08 11:51:51 9143df65 23fb8259 DEBUG  Closed.
2019/01/08 11:52:11 9143df65 23fb8259 DEBUG  Storing configuration.
 

Al3x

New Member
#7
Hi Oli,

kann es sein, dass du den Bot als Root gestartet hast?
Wenn du dich via SSH auf deinen Rootserver/VPS verbindest kannst du das gerne als Root tun, danach wechsle bitte mit "su <Benutzername>" zu deinem Benutzer den du für den Sinusbot angelegt hast. Versuche dann nochmal, den Bot zu starten.

Zudem solltest du vor dem starten mal den Scripts-Ordner leeren.


Viel Erfolg! :)
Grüße
Alex
 
#8
Nein, der Bot läuft nicht als Root. Wie im Tutorial beschrieben wurde ein neuer User dafür eingerichtet und dieser wird auch benutzt. Ein leeren des Script Ordner hat nicht geholfen.

Das Problem bleibt unverändert.
 
#11
Sry, hätte ich schon lange posten müssen:

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 9.6 (stretch)
 - Kernel: Linux 4.9.0-8-amd64 x86_64
 - Load Average: 0.22 0.06 0.06
 - Uptime: 9 days, 1 hours, 5 minutes, 37 seconds
 - OS x64 check: OK
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None
 - OS APT Last Update: 17.01.2019 15:00:10 CET +01:00:00
 - SHELL LOCALE LANG: de_DE.UTF-8
 - Bot Start Script: not found
 - DNS resolution check: www.sinusbot.com resolved to 104.28.14.74 -> OK
 - HTTPS check with IPv4 mode: SUCCESS [Connection was established to www.sinusbot.com, CODE #200]
 - HTTPS check with IPv6 mode: IGNORE
 - CPU:
    CPU(s):                8
    CPU MHz:               1601.013
 - RAM: 6.37 GB/15.37 GB in use (41%)
 - SWAP: 87.15 MB/7.99 GB in use (1%)
 - DISK: 153.18 GB/2.67 TB in use (5%)
 - Package versions:
   + libglib: 2.50.3-2

BOT INFORMATION
 - Status: not running
 - Webinterface: port locally not reachable (Port: 8087)
 - Binary: /opt/sinusbot/sinusbot
 - Binary Info: MD5 Hash: 457224ee75d8a25d64eab6fc7465cd48, Perms: 755, User: sinusbot
 - Version: 0.14.3-0e747fd
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 9463787dd59286dea7a4a284409993c3
   - TS3 Client: 9463787dd59286dea7a4a284409993c3
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.2.3)
   - YoutubeDLPath = not set (does exist anyway, version: 2019.01.02)
 - Installed scripts: *.js

TIME INFORMATION
 - Time (local): 17.01.2019 15:54:04 CET +01:00:00
 - Time (remote): 17.01.2019 15:54:04 CET +01:00:00
 - Time (difference): 0 secs (Time diff less than 2 secs. Good.)
 - Timezone: Europe/Berlin

OTHER INFORMATION
 - TeamSpeak 3 Version: 3.2.3
 - youtube-dl Version: 2019.01.02
 - DiagScript Version: 0.7.1
==========================================================
 
#13
2019/01/17 16:12:37 9143df65 23fb8259 DEBUG TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2019/01/17 16:12:37 9143df65 23fb8259 DEBUG TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2019/01/17 16:12:37 9143df65 23fb8259 DEBUG TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2019/01/17 16:12:37 9143df65 23fb8259 DEBUG TS>libpng warning: iCCP: known incorrect sRGB profile
2019/01/17 16:12:37 9143df65 23fb8259 DEBUG Closed.
2019/01/17 16:12:37 9143df65 23fb8259 INFO TSClient quit.
^C
2019/01/17 16:12:58 [GENERAL ] Shutting down... Hold on...

Auf Version:

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 9.6 (stretch)
 - Kernel: Linux 4.9.0-8-amd64 x86_64
 - Load Average: 0.07 0.14 0.10
 - Uptime: 9 days, 1 hours, 27 minutes, 58 seconds
 - OS x64 check: OK
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None
 - OS APT Last Update: 17.01.2019 16:00:07 CET +01:00:00
 - SHELL LOCALE LANG: de_DE.UTF-8
 - Bot Start Script: not found
 - DNS resolution check: www.sinusbot.com resolved to 104.28.14.74 -> OK
 - HTTPS check with IPv4 mode: SUCCESS [Connection was established to www.sinusbot.com, CODE #200]
 - HTTPS check with IPv6 mode: IGNORE
 - CPU:
    CPU(s):                8
    CPU MHz:               1599.975
 - RAM: 6.39 GB/15.37 GB in use (41%)
 - SWAP: 87.15 MB/7.99 GB in use (1%)
 - DISK: 153.21 GB/2.67 TB in use (5%)
 - Package versions:
   + libglib: 2.50.3-2

BOT INFORMATION
 - Status: not running
 - Webinterface: port locally not reachable (Port: 8087)
 - Binary: /opt/sinusbot/sinusbot
 - Binary Info: MD5 Hash: 066ec3dae178e4fe6e11dc726a6a84ab, Perms: 755, User: sinusbot
 - Version: 1.0.0-alpha.2-9a3be66
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 0cb7720523475e509ea99d101804e5f0
   - TS3 Client: 0cb7720523475e509ea99d101804e5f0
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.2.3)
   - YoutubeDLPath = not set (does exist anyway, version: 2019.01.02)
 - Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; welcome.js

TIME INFORMATION
 - Time (local): 17.01.2019 16:16:25 CET +01:00:00
 - Time (remote): 17.01.2019 16:16:25 CET +01:00:00
 - Time (difference): 0 secs (Time diff less than 2 secs. Good.)
 - Timezone: Europe/Berlin

OTHER INFORMATION
 - TeamSpeak 3 Version: 3.2.3
 - youtube-dl Version: 2019.01.02
 - DiagScript Version: 0.7.1
==========================================================
<16:12:35> "MusicBot" loggte sich in Channel "Music" ein
<16:13:04> Die Verbindung von "MusicBot" wurde unterbrochen (connection lost)

Gleiches Verhalten.

Der Server ist als Stretch minimal image aufgesetzt worden. Muss da noch iregendwas an sonstigen Packages drauf?
GLXinfo sagt zum Beispiel:

[email protected]:/opt/sinusbot$ glxinfo
Error: unable to open display
 

Diesmon

Tuetchen Dominator
is awesome!
Contributor
Insider
#14
Denn Fehler hatte ich auch Mal, lag bei mir glaub ich daran das ich von TS 3.0.19.4 auf TS 3.1 geupgraded hätte und dann denn TS Data Ordner nicht entfernt hatte. Weiß nicht ob das bei dir der Fall ist.

Sonst nochmal: Bist du sicher das du die qxl Integration File gelöscht hast?
 

Similar threads