• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Bot can't connect after win > linux (docker) migration

JonnyBDev

Member
Okay. Long story short. I moved a sinusbot installation (working) on a windows server (don't blame me) to a linux server. For that I used the docker image provided by https://github.com/SinusBot/docker . After copy-paste the "data" and "scripts" directory i started the docker container. Webinterface is up and running with all my scripts. But I can't connect to the teamspeak server. If I type in a address from a random server it's working.

Versions and specs can be found in the block below.
If you are missing anything just let me know. Thanks :)

Diag script
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 10 (buster) (Docker)
 - Kernel: Linux 4.19.0-16-amd64 x86_64
 - Load Average: 0.02 0.04 0.00
 - Uptime: 0 days, 5 hours, 22 minutes, 54 seconds
 - OS x64 check: OK
 - OS Updates: 13 (updates available!)
 - OS Missing Packages: None
 - OS APT Last Update: 01.07.2021 14:16:38 UTC +00:00:00
 - Shell Locale: en_US.UTF-8
 - Bot Start Script: not found 
 - CPU:
    Architecture:        x86_64
    CPU(s):              3
    Thread(s) per core:  1
    Core(s) per socket:  3
    Socket(s):           1
    Model name:          AMD EPYC Processor
    CPU MHz:             2495.312
    Hypervisor vendor:   KVM
    Virtualization type: full
 - RAM: 692.59 MB/3.76 GB in use (17%) 
 - SWAP: 0 B/0 B in use (0%) (SWAP disabled)
 - DISK: 3.27 GB/74.94 GB in use (4%) 
 - Package versions:
   - libglib: 2.58.3-2+deb10u3

BOT INFORMATION
 - Status: not running 
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /opt/sinusbot/sinusbot
 - Binary Info: MD5 Hash: 9e3b0b3203e71dd8b177bd39effa7bea, Perms: 755, User: UNKNOWN
 - Version: 1.0.0-beta.14-dc94a7c
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: d34be55adbe414e302111d4b779ddbe6
   - TS3 Client: d34be55adbe414e302111d4b779ddbe6
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.5.6)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2021.06.06)
 - Installed scripts: advertising.js; AFK_Mover_(AwayMuteDeafIdle).js; alonemode.js; AntiProxy.js; Auto_Channel_Creator.js; bookmark.js; command.js; CountOnlineUsers.js; followme.js; Group__Distributor.js; norecording.js; OKlib.js; PrivatChannelManager.js; Reconnect.js; rememberChannel.js; sinusbot-commands.js; staff-list.js; Support.js; tg.js; timeInChannelsName.js; Tunakills_Rankingsystem.js; twitch_status.js; virtualdefaultchannels.js; vote.js; welcome.js
BOT TECHNICAL INFORMATION
 - File exists:
   - TS3Client/libqxcb-glx-integration.so: no
 - LDD output:
    linux-vdso.so.1 (0x00007fffdafa4000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007ff74b9e7000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007ff74b68f000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007ff74b28e000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007ff74a929000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007ff74a6b5000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff74a6ab000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff74a526000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff74a505000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ff74a381000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ff74a367000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff74a1a6000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff749f88000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ff749f7c000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ff74bc03000)

REACHABILITY CHECKS
 - HTTPS check with IPv4 mode: SUCCESS [Connection established to www.sinusbot.com, CODE #200]
 - HTTPS check with IPv6 mode: IGNORED [Disabled]
 - DNS resolution check: SUCCESS [www.sinusbot.com resolved to 172.67.132.160]
 - Update server checks: 
    update01.sinusbot.com -> 104.21.13.58: SUCCESS [CODE #404]
    update02.sinusbot.com -> 172.67.132.160: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.21.13.58: SUCCESS [CODE #404]

TIME INFORMATION
 - Time (local): 01.07.2021 14:49:49 UTC +00:00:00
 - Time (remote): <Failed retrieving remote time!>
 - Time (difference): n/a secs 
 - Timezone: Etc/UTC

OTHER INFORMATION
 - TeamSpeak3 Version: 3.5.6 
 - youtube-dl Version: 2021.06.06
 - DiagScript Version: 0.8.0
==========================================================



Instance log
Code:
2021-07-01T16:46:14+02:00 Storing configuration.
2021-07-01T16:46:02+02:00 eof from voice
2021-07-01T16:46:02+02:00 closing channels
2021-07-01T16:46:01+02:00 TSClient quit.
2021-07-01T16:46:01+02:00 Closed.
2021-07-01T16:46:01+02:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2021-07-01T16:46:01+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2021-07-01T16:46:01+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2021-07-01T16:46:01+02:00 TS>QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-'
2021-07-01T16:46:01+02:00 TS>qt.qpa.xkeyboard: no keyboard layouts with latin keys present
2021-07-01T16:46:01+02:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2021-07-01T16:46:00+02:00 New connection status 0; Error 1797
2021-07-01T16:46:00+02:00 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, the password is wrong, the security level of your identity is too low, the nickname is too short or too long or the server does not allow the version of the client you are using. See our Wiki / Forums for more help.
2021-07-01T16:46:00+02:00 TS |INFO |ClientUI |1 |Failed to connect to server, want autoreconnect = 0
2021-07-01T16:46:00+02:00 TS |INFO |ClientUI |1 |Connect status: Disconnected
2021-07-01T16:46:00+02:00 error on setTimeout/setInterval callback: Uncaught exception: TypeError: Cannot read property 'update' of undefined at timeInChannelsName:164:41 backend.getChannelByID(channelID).update({ ^ Stack trace: TypeError: Cannot read property 'update' of undefined at channelDate (timeInChannelsName:164:42) at config.channels.forEach.channel (timeInChannelsName:120:44) at Array.forEach (<anonymous>) at updateChannels (timeInChannelsName:120:25) at startScript (timeInChannelsName:113:9)
2021-07-01T16:45:56+02:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
2021-07-01T16:45:56+02:00 TS |INFO | | |successfully downloaded revocation list for accounting
2021-07-01T16:45:56+02:00 TS |INFO | | |Statistics report: Not yet, next report on Tue Jul 27 14:44:03 2021
2021-07-01T16:45:56+02:00 TS |INFO |ClientUI | |Last update check was: Sat Jan 1 00:00:01 2022
2021-07-01T16:45:56+02:00 TS |INFO |Bookmarks | |Collecting autoconnect bookmarks
2021-07-01T16:45:55+02:00 TS |DEVELOP |PktHandler |1 |Puzzle solve time: 3
2021-07-01T16:45:55+02:00 New connection status 1; Error 0
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI |1 |Initiating connection: **.**.***.***:9987
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI |1 |Connect to server: **.**.***.***:9987
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI | |ts3server: **.**.***.***?port=9987&nickname=Serverbot%20~%20TS%C2%B3-Technik&password=&channel=&channelpassword=
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data/ts3/acf21165-ff4b-46ba-9a56-39f528a45c58/d3cf5520-9ac1-46fe-bc4d-ea897c966079/settings.db
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI | |Qt version: 5.12.1
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2021-07-01T16:45:55+02:00 TS |INFO | | |*** Time [INIT]: 179
2021-07-01T16:45:55+02:00 TS |INFO | | |*** Time [MAINWINDOW]: 179
2021-07-01T16:45:55+02:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2021-07-01T16:45:55+02:00 TS |INFO |Addons | |Checking for addon updates...
2021-07-01T16:45:55+02:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2021-07-01T16:45:55+02:00 TS |ERROR |SoundBckndIntf| |libpulse.so.0: cannot open shared object file: No such file or directory
2021-07-01T16:45:55+02:00 TS |INFO | | |Using hardware aes
2021-07-01T16:45:55+02:00 TS |INFO | | |SystemInformation: Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 Binary: 64bit
2021-07-01T16:45:55+02:00 TS |INFO | | |TeamSpeak Client 3.5.6 (2020-11-25 13:53:42)
2021-07-01T16:45:55+02:00 TS>DUMP defined! Dumpdir is: /opt/sinusbot/data/ts3/acf21165-ff4b-46ba-9a56-39f528a45c58/d3cf5520-9ac1-46fe-bc4d-ea897c966079/crashdumps
2021-07-01T16:45:55+02:00 TS>Crashdump ENABLED, directory is: /opt/sinusbot/data/ts3/acf21165-ff4b-46ba-9a56-39f528a45c58/d3cf5520-9ac1-46fe-bc4d-ea897c966079/crashdumps
2021-07-01T16:45:55+02:00 Starting instance ts3server://**.**.***.***?port=9987&nickname=Serverbot%20~%20TS%C2%B3-Technik&password=&channel=&channelpassword=
2021-07-01T16:45:55+02:00 Could not create Notifications-Tabletable Notifications already exists
2021-07-01T16:45:55+02:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists
2021-07-01T16:45:55+02:00 Could not create Chat-Tabletable Chat already exists
2021-07-01T16:45:55+02:00 About to run.
2021-07-01T16:45:55+02:00 Prespawn.
2021-07-01T16:45:47+02:00 [ staff-list:741:20] Staff-List > The bot was not able to connect to the backend in time! To use this script, the bot needs to be connected to your TeamSpeak server. Make sure it can connect. Deactivating script...
2021-07-01T16:45:20+02:00 [ twitch_status:739:12] >> API-Token authentification successful!
2021-07-01T16:45:20+02:00 queued serialized callback
2021-07-01T16:45:14+02:00 imported module: command
2021-07-01T16:45:14+02:00 resolving module command
2021-07-01T16:45:14+02:00 [ twitch_status:238:10] Started Twitch Status! (2.0.2) by >> @TwentyFour | Original Code by Filtik & Julian Huebenthal (Xuxe) <<
2021-07-01T16:45:14+02:00 registered callback for event clientMove
2021-07-01T16:45:14+02:00 registered callback for event public:channelRename
2021-07-01T16:45:14+02:00 registered callback for event connect
2021-07-01T16:45:14+02:00 imported module: OKlib.js
2021-07-01T16:45:14+02:00 resolving module OKlib.js
2021-07-01T16:45:14+02:00 [AFK_Mover_(AwayMuteDeafIdle):582:20] [WARN] AFK Channel not found on load.
2021-07-01T16:45:14+02:00 imported module: command
2021-07-01T16:45:14+02:00 resolving module command
2021-07-01T16:45:14+02:00 script AFK_Mover_(AwayMuteDeafIdle) loaded
2021-07-01T16:45:14+02:00 registered callback for event clientMove
2021-07-01T16:45:14+02:00 registered callback for event clientUndeaf
2021-07-01T16:45:14+02:00 registered callback for event clientDeaf
2021-07-01T16:45:14+02:00 registered callback for event clientUnmute
2021-07-01T16:45:14+02:00 registered callback for event clientMute
2021-07-01T16:45:14+02:00 registered callback for event clientBack
2021-07-01T16:45:14+02:00 registered callback for event clientAway
2021-07-01T16:45:14+02:00 [AFK_Mover_(AwayMuteDeafIdle):582:20] [INFO] AFK mover (Away/Mute/Deaf/Idle) v2.4.0 by Jonas Bögle <[email protected]> loaded successfully.
2021-07-01T16:45:14+02:00 [AFK_Mover_(AwayMuteDeafIdle):582:20] [INFO] debug messages are disabled
2021-07-01T16:45:14+02:00 registered callback for event load
2021-07-01T16:45:14+02:00 registered callback for event connect
2021-07-01T16:45:14+02:00 [AFK_Mover_(AwayMuteDeafIdle):582:20] [WARN] Unable to find afk channel.
2021-07-01T16:45:14+02:00 Initialization complete
2021-07-01T16:45:14+02:00 script virtualdefaultchannels loaded
2021-07-01T16:45:14+02:00 registered callback for event clientMove
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] === CONFIGURATION END ===
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] on_join: 1
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] 572
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] channels:
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] 357
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] groups:
2021-07-01T16:45:14+02:00 [virtualdefaultchannels:208:10] [DEBUG] === CONFIGURATION START ===
2021-07-01T16:45:14+02:00 executing script AFK_Mover_(AwayMuteDeafIdle)
2021-07-01T16:45:14+02:00 script twitch_status loaded
2021-07-01T16:45:14+02:00 registered callback for event load
2021-07-01T16:45:14+02:00 executing script virtualdefaultchannels
2021-07-01T16:45:14+02:00 script tg loaded
2021-07-01T16:45:14+02:00 [ tg:134:12] [Script] "Timed Groups" [Version] "0.1" [Author] "DrWarpMan <[email protected]>"
2021-07-01T16:45:14+02:00 registered callback for event connect
2021-07-01T16:45:14+02:00 registered callback for event serverGroupRemoved
2021-07-01T16:45:14+02:00 registered callback for event serverGroupAdded
2021-07-01T16:45:14+02:00 executing script twitch_status
2021-07-01T16:45:14+02:00 script PrivatChannelManager loaded
2021-07-01T16:45:14+02:00 registered callback for event load
2021-07-01T16:45:14+02:00 executing script tg
2021-07-01T16:45:14+02:00 script Auto_Channel_Creator loaded
2021-07-01T16:45:14+02:00 registered callback for event channelCreate
2021-07-01T16:45:14+02:00 registered callback for event chat



Bot log
Code:
2021-07-01T16:45:14+02:00 Loading instance://d3cf5520-9ac1-46fe-bc4d-ea897c966079
2021-07-01T16:45:14+02:00 Loading instances
 
Top