• 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.

BUG: Sinusbot fails to reconnect if the server was just restarted

olokos

Insider
Insider
Hello,

This is a bug that probably will happen every ts3 server binary update.
There was just an update to 3.13.3, so my server autoupdated.

What I didn't notice at first is that 2 of 5 instances failed to connect back after the LGSM ts3 server update.

MusicBot2 Instance log
MusicBot5 Instance log

diag.sh output:

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 18.04.5 LTS
- Kernel: Linux 5.9.8-050908-generic x86_64
- Load Average: 2.33 2.44 2.45
- Uptime: 21 days, 2 hours, 7 minutes, 6 seconds
- OS x64 check: OK
- OS Updates: 27 (updates available!)
- OS Missing Packages: None
- OS APT Last Update: 20.12.2020 11:40:25 CET +01:00:00
- Shell Locale: pl_PL.UTF-8
- Bot Start Script: found at /etc/systemd/system/sinusbot.service [perms: 755]
- CPU:
    Architecture:        x86_64
    CPU(s):              x
    Thread(s) per core:  x
    Core(s) per socket:  x
    Socket(s):           x
    Model name:          x
    CPU MHz:             x
    Hypervisor vendor:   KVM
    Virtualization type: full
- RAM: x in use (67%)
- SWAP: x in use (34%)
- DISK: x in use (87%)
- Package versions:
   - libglib: 2.56.4-0ubuntu0.18.04.6

BOT INFORMATION
- Status: running (PIDs: 1619 1339, User: sinusbot)
- Webinterface: port locally reachable (Port: 8087)
- Binary: /opt/sinusbot/sinusbot
- Binary Info: MD5 Hash: 224b687db910b732fe5a7cfec4f6c78e, Perms: 755, User: sinusbot
- Version: 1.0.0-beta.10-202ee4d
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: aa483aea105cb62033392b1ce6d317ab
   - TS3 Client: aa483aea105cb62033392b1ce6d317ab
- Config:
   - LogLevel = 3
   - TS3Path = /opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.5.6)
   - YoutubeDLPath = /opt/sinusbot/youtube-dl (does exist, version: 2020.12.14)
- Installed scripts: AntiProxy.js; automaticCodec.js; badnickname.js; channelcleaner.js; clientStatusInChannelName.js; come.js; command.js; expandingChannel.js; MoveWhenIdle.js; norecording.js; OKlib.js; onlineClientsRecord.js; onlineTeamMembers.js; PrivatChannelManager.js; reconnect.js; saveCPU.js; ServerQuery.js; sinusbot-commands.js; slim_reconnect.js; teleport.js; theSimpliestSupport.js; tunakills_ranking.js; twitch_status.js; volumeKeeper.js; youtube.js; youtube-web.js

BOT TECHNICAL INFORMATION
- File exists:
   - TS3Client/libqxcb-glx-integration.so: yes
- LDD output:
    linux-vdso.so.1 (0x00007fffb81fd000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007fb290885000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007fb29052d000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007fb29012c000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007fb28f7c7000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007fb28f553000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb28f34f000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb28efb1000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb28ed92000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb28ea09000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb28e7f1000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb28e400000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fb28e1e3000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fb28dfdb000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fb290a9f000)

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 104.28.15.74]
- Update server checks:
    update01.sinusbot.com -> 172.67.132.160: SUCCESS [CODE #404]
    update02.sinusbot.com -> 104.28.14.74: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.28.15.74: SUCCESS [CODE #404]

TIME INFORMATION
- Time (local): 20.12.2020 20:07:22 CET +01:00:00
- Time (remote): 20.12.2020 20:07:22 CET +01:00:00
- Time (difference): 0 secs (Time diff less than 2 secs. Good.)
- Timezone: Europe/Warsaw

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