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

Solved Scripts wont load - page freeze/crash

BlueBorne

Member
Hello!
I am submitting this report because i can't open "scripts" page in my sinusbot!
I always had a really good time using this bot but since 2 days ago i can't do anything.
Bot does spawn correctly but scripts not working. Tried with a fresh new installation (with no scripts in the folder but the default ones) but the problem persisted.
Tried deleting scripts folder with the default ones, but nothing happened.
Any ideas? If you need i can provide a video too but i think that's all!

  • SinusBot version -->1.0.0-beta.10-202ee4d
  • TS Client and Server version --> Client 3.3.2 Server 3.11.0 on Linux
  • OS (operating system) --> Ubuntu 19.04
  • hardware specs --> in the diagnose script output
  • any browser.



DIAGNOSE SCRIPT OUTPUT (https://forum.sinusbot.com/threads/diagsinusbot-sh-sinusbot-diagnostic-script.831/)
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 19.04
- Kernel: Linux 5.0.0-38-generic x86_64
- Load Average: 0.57 0.45 0.37
- Uptime: 0 days, 0 hours, 59 minutes, 33 seconds
- OS x64 check: OK
- OS Updates: 0 (well done!)
- OS Missing Packages: None
- OS APT Last Update: 02.02.2020 11:27:50 CET +01:00:00
- Shell Locale: en_US.UTF-8
- Bot Start Script: not found
- CPU:
    Architecture:        x86_64
    CPU(s):              4
    Thread(s) per core:  1
    Core(s) per socket:  4
    Socket(s):           1
    Model name:          Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
    CPU MHz:             2399.996
    Hypervisor vendor:   KVM
    Virtualization type: full
- RAM: 1.03 GB/7.78 GB in use (13%)
- SWAP: 0 B/1.99 GB in use (0%)
- DISK: 58.51 GB/195.84 GB in use (29%)
- Package versions:
   - libglib: 2.60.4-0ubuntu0.19.04.1

BOT INFORMATION
- Status: running (PIDs: 7808 7801, User: sinusbot)
- Webinterface: port locally reachable (Port: 8088)
- 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.3.2)
   - YoutubeDLPath = not set
- Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; sinusbot-commands.js; welcome.js

BOT TECHNICAL INFORMATION
- File exists:
   - TS3Client/libqxcb-glx-integration.so: no
- LDD output:
    linux-vdso.so.1 (0x00007ffc09bb0000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007f1a6e994000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007f1a6e63c000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007f1a6e23b000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007f1a6d8d6000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007f1a6d662000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1a6d651000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1a6d501000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1a6d4e0000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1a6d2fe000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1a6d2e4000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1a6d0f9000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1a6d0dd000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1a6d0d0000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1a6ebb0000)

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 -> 104.28.14.74: 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): 02.02.2020 12:14:41 CET +01:00:00
- Time (remote): 02.02.2020 12:14:41 CET +01:00:00
- Time (difference): 0 secs (Time diff less than 2 secs. Good.)
- Timezone: Europe/Berlin

OTHER INFORMATION
- TeamSpeak3 Version: 3.3.2
- youtube-dl Version: unknown
- DiagScript Version: 0.8.0
==========================================================

Instance-Log OUTPUT
Code:
2020-02-02T12:21:07+01:00 imported module: command
2020-02-02T12:21:07+01:00 resolving module command
2020-02-02T12:21:07+01:00 script command loaded
2020-02-02T12:21:07+01:00 module registered as command
2020-02-02T12:21:07+01:00 registered callback for event chat
2020-02-02T12:21:07+01:00 Initialization complete
2020-02-02T12:21:07+01:00 script sinusbot-commands loaded
2020-02-02T12:21:07+01:00 registered callback for event load
2020-02-02T12:21:07+01:00 [sinusbot-commands:86:12] Loaded SinusBot Commands v1.0.0 by Jonas Bögle (@irgendwr).
2020-02-02T12:21:07+01:00 executing script command
2020-02-02T12:21:07+01:00 executing script sinusbot-commands

Bot Log Output
Code:
2020-02-02T12:21:07+01:00 Loading instance://6de2c431-06f0-4c75-a159-3901d36d6722
2020-02-02T12:21:07+01:00 Loading instances

config.ini Output
Code:
TS3Path = "/opt/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8088
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
EnableInternalCommands = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "Daas95xmePmIkAPtHZH0xn9P8GL9pbXW0xWpckheHH4="
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  MaxSimultaneousChunkDownloads = 6
  CacheStreamed = false
  TimeoutSingleDownloader = 0
  TimeoutMultiDownloader = 0
  ChunkSize = 3145728

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  Debug = false
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  DevMode = false
  ScriptTimeout = 5

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (1.0.0-beta.10-202ee4d)"
  WaitTime = 0

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0

[RadioStations]
  URL = ""
  UpdateInterval = 0

[TTS]
  Enabled = false
 

TwentyFour

BinusSot Junkie
V.I.P.
Contributor
Insider
Please try to attach log with LogLevel = 10 ;)
This should provide more details.
 

BlueBorne

Member
I don't know how but, I've removed again all the scripts in the folder and after a restart works with all the previous scripts.
Thanks for the reply!
 

fabm3n

Well-Known Member
Tier II
Tier III
Tier I
is awesome!
Insider
Set the LogLevel in the config.ini to 10 and then restart the sinusbot. After that provide the new logs and Diagnostig script.
 
Top