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

Newly installed sinusbot doesn't play sound

Zkitzo

Member
When I try out youtube through !yt, it executes the command but no sound at all... I've installed sinusbot before on other VPS'es and never had any problems. I firstly installed TeamSpeak 3.5.6, no sound, so I downgraded it to TeamSpeak 3.5.3, but still no sound.

Also, I remember in the past, the bot used to say something like: "Downloading youtube video" and then after this another message that it was playing it or something, did this get removed? (EDIT: found the option in the scripts to get a message after a command)

Found this in the client log file:
Code:
libpulse.so.0: cannot open shared object file: No such file or directory

EDIT: After fixing libpulse.so.0 (by `sudo apt install pulseaudio`) I got the next error in the TeamSpeak client log:
Code:
2022-01-11 22:30:48.869791|ERROR   |SoundBckndIntf|   |/home/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2022-01-11 22:30:49.373832|ERROR   |SoundBckndIntf|   |/home/sinusbot/TeamSpeak3-Client-linux_amd64/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED

Trying to fix this now.

EDIT2: Also got this fixed by starting the pulse-daemon
Code:
sinusbot@static:~$ pulseaudio -D -v
I: [pulseaudio] main.c: Daemon startup successful.

What I don't understand is why the TeamSpeak client log file says:
Code:
2022-01-11 22:49:13.414215|INFO    |ClientUI      |1  |Ignored text message by Zkitzo: !yt [URL]https://www.youtube.com/watch?v=NTw9LRFdUeE[/URL]

Output of the diag tool:
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Ubuntu 20.04.3 LTS
 - Kernel: Linux 5.11.0-46-generic x86_64
 - Load Average: 0.25 0.49 0.33
 - Uptime: 0 days, 11 hours, 32 minutes, 16 seconds
 - OS x64 check: OK
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None
 - OS APT Last Update: 11.01.2022 08:07:47 CET +01:00:00
 - Shell Locale: en_US.UTF-8
 - Bot Start Script: not found
 - CPU:
    Architecture:                    x86_64
    CPU(s):                          8
    Thread(s) per core:              2
    Core(s) per socket:              4
    Socket(s):                       1
    Model name:                      Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
    CPU MHz:                         3900.000
    Virtualization:                  VT-x
 - RAM: 2.55 GB/31.22 GB in use (8%)
 - SWAP: 0 B/15.98 GB in use (0%)
 - DISK: 72.59 GB/217.77 GB in use (33%)
 - Package versions:
   - libglib: 2.64.6-1~ubuntu20.04.4

BOT INFORMATION
 - Status: running (PIDs: 13809 13808, User: sinusbot)
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /home/sinusbot/sinusbot/sinusbot
 - Binary Info: MD5 Hash: 000db57a7fc04074ea799d11281be28a, Perms: 755, User: sinusbot
 - Version:
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: d34be55adbe414e302111d4b779ddbe6
   - TS3 Client: d34be55adbe414e302111d4b779ddbe6
 - Config:
   - LogLevel = 3
   - TS3Path = /home/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.5.3)
   - YoutubeDLPath = not set (does exist anyway, version: 2021.06.06)
 - 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: yes
 - LDD output:
    linux-vdso.so.1 (0x00007ffd7fa1b000)
    libswresample.so.2 => /home/sinusbot/sinusbot/libswresample.so.2 (0x00007f59372a6000)
    libavfilter.so.6 => /home/sinusbot/sinusbot/libavfilter.so.6 (0x00007f5936f4e000)
    libavformat.so.57 => /home/sinusbot/sinusbot/libavformat.so.57 (0x00007f5936b4d000)
    libavcodec.so.57 => /home/sinusbot/sinusbot/libavcodec.so.57 (0x00007f59361e8000)
    libavutil.so.55 => /home/sinusbot/sinusbot/libavutil.so.55 (0x00007f5935f74000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5935f65000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5935e14000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5935df1000)
    libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5935c0f000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5935bf4000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5935a02000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f59359e6000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f59359d9000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f59374c2000)

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

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

OTHER INFORMATION
 - TeamSpeak3 Version: 3.5.3
 - youtube-dl Version: 2021.06.06
 - DiagScript Version: 0.8.0
==========================================================
 
Last edited:

Zkitzo

Member
Also it doesn't create my youtube playlist..

Code:
Jan 11 22:45:54 s3rv3r sinusbot[15001]: 2022/01/11 22:45:54 65f1745b          INFO   Could not get playlist: fork/exec : no such file or directory
Jan 11 22:45:54 s3rv3r sinusbot[15001]: 2022/01/11 22:45:54 65f1745b          INFO   PLAYLIST-CREATE [admin] Hardcore OK
Jan 11 22:46:50 s3rv3r sinusbot[15001]: 2022/01/11 22:46:50 65f1745b          INFO   PLAYLIST-DEL [admin] 026956de-4a42-4203-8832-9096eedb73d6 OK
Jan 11 22:46:58 s3rv3r sinusbot[15001]: 2022/01/11 22:46:58 65f1745b          INFO   Could not get playlist: fork/exec : no such file or directory
Jan 11 22:46:58 s3rv3r sinusbot[15001]: 2022/01/11 22:46:58 65f1745b          INFO   PLAYLIST-CREATE [admin] Hardcore OK
 
Top