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

No sound, ubuntu 15.10

Status
Not open for further replies.

henrik

New Member
Hi,

Version: 0.9.8 with ts client 3.0.18.2
OS: Ubuntu 15.10
HW: Dedicated with OVH, i7, 32gb ram
Browser: Chrome

I'm running the bot off a dedicated server with OVH with the generic kernel (not the OVH one) and can't get the sound to work. If I start a song from the web interface it looks like it's playing and the bots log gives no errors, but there's no sound on TS.

Output from your diagnostic tool:

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 15.10
- OS x64 check: OK
- Kernel: Linux 4.2.0-19-generic x86_64
- Load Average: 1.21 1.23 1.04
- Uptime: 0 days, 0 hours, 25 minutes, 59 seconds
- OS Updates: 50 (updates available!)
- OS Missing Packages: None (v1)
- OS APT Last Update: 06.12.2015 07:40:35 CET +01:00:00
- Bot Start Script: not found
- DNS resolution check: google.com -> OK
- 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-4790K CPU @ 4.00GHz
    CPU MHz:               1827.968
- RAM: 5.31 GB/31.30 GB in use (16%)
- SWAP: 0 B/1021.99 MB in use (0%)
- DISK: 37.77 GB/184.28 GB in use (20%)
- Report date: 07.12.2015 05:29:03 CET +01:00:00 (timezone: Europe/Paris)

BOT INFORMATION
- Status: running (PIDs: 3992, User: teamspeak-bots)
- Webinterface: port locally reachable (Port: 8087)
- Binary: /opt/ts3soundboard/ts3bot (Hash: 3b2c7f99a3b0a358e7d328079c4fa8b8)
- Version: unknown
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: db9ca817116ad2a1d5f1efa4aabae409
   - TS3 Client: db9ca817116ad2a1d5f1efa4aabae409
- Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = not set
- Installed Scripts: config.ini config.ini.dist data diagSinusbot.sh libavcodec.so.56 libavformat.so.56 libavutil.so.54 libswresample.so.1 plugin README.md sinusbot-0.9.8.tar.bz2 TeamSpeak3-Client-linux_amd64 TeamSpeak3-Client-linux_amd64-3.0.18.2.run ts3bot
==========================================================

Config.ini:
Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [236, 62, 126, 110, 87, 180, 150, 82, 139, 76, 99, 109, 1, 207, 224, 27, 184, 228, 238, 208, 210, 30, 66, 159, 49, 4, 24, 191, 27, 47, $
EnableLocalFS = false
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = true
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 100
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false

[StreamRewrites]


Sorry to bother you if this is something super simple. I've been trying to fix it since last night, but I'm out of ideas (and google searches..)
 

henrik

New Member
Bot log/output:
Code:
teamspeak-bots@encrypted:/opt/ts3soundboard$ xinit /opt/ts3soundboard/ts3bot -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

xinit: XFree86_VT property unexpectedly has 0 items instead of 1
___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

(C) 2013-2015 Michael Friese. All rights reserved.

2015/12/07 05:11:30 9b62f5a5 INFO   Initializing bot://9b62f5a5-08ff-4d87-9881-0b314effd990
2015/12/07 05:11:30 9b62f5a5 4b05458d INFO   Loaded
2015/12/07 05:11:30 Auto-Starting 9b62f5a5-08ff-4d87-9881-0b314effd990/4b05458d-3400-48cd-bc76-475dca969f8b in 2500 ms...
2015/12/07 05:11:30 FFmpeg/avcodec v3675236; license: LGPL version 2.1 or later; 494 codecs
2015/12/07 05:11:30 FFmpeg/avformat v3674980; license: LGPL version 2.1 or later; 139 formats
2015/12/07 05:11:30 RadioStation data loaded
2015/12/07 05:11:30 Imported radio stations
2015/12/07 05:11:32 9b62f5a5 4b05458d DEBUG  Could not delete from Notificationsno such table: Notifications
2015/12/07 05:11:32 9b62f5a5 4b05458d DEBUG  Could not insert into Notifications-Tableno such table: Notifications
2015/12/07 05:11:32 9b62f5a5 4b05458d DEBUG  Could not delete from Notificationsno such table: Notifications
2015/12/07 05:11:32 9b62f5a5 4b05458d DEBUG  Could not insert into Notifications-Tableno such table: Notifications
2015/12/07 05:11:32 9b62f5a5 4b05458d INFO   Starting instance ts3server://127.0.0.1?port=9987&nickname=Chill%20Bot&password=&cid=71&channelpassword=
Crashdump ENABLED,  directory is: /opt/ts3soundboard/data/ts3/9b62f5a5-08ff-4d87-9881-0b314effd990/4b05458d-3400-48cd-bc76-475dca969f8b/crashdumps
DUMP defined! Dumpdir is: /opt/ts3soundboard/data/ts3/9b62f5a5-08ff-4d87-9881-0b314effd990/4b05458d-3400-48cd-bc76-475dca969f8b/crashdumps
2015-12-07 04:11:32.884367|INFO    |              |   |TeamSpeak 3 Client 3.0.18.2 (2015-10-22 11:14:48)
2015-12-07 04:11:32.884421|INFO    |              |   |SystemInformation: Linux 4.2.0-19-generic #23-Ubuntu SMP Wed Nov 11 11:39:30 UTC 2015 x86_64 Binary: 64bit
2015-12-07 04:11:32.884442|INFO    |              |   |Using hardware aes
2015-12-07 04:11:32.888193|DEBUG   |PulseAudio    |   |connected to pulse audio server
2015-12-07 04:11:32.904290|INFO    |              |   |Loading plugin: libclientquery_plugin
2015-12-07 04:11:32.904329|INFO    |              |   |Loading plugin: liblua_plugin
2015-12-07 04:11:32.904348|INFO    |              |   |Loading plugin: libsoundbot_plugin
2015-12-07 04:11:32.904363|INFO    |              |   |Loading plugin: libtest_plugin
2015-12-07 04:11:32.905034|INFO    |Query         |   |listening on 127.0.0.1:25639
libpng warning: iCCP: known incorrect sRGB profile
ClientQueryPlugin: currentServerConnectionChanged 1 (0)
2015-12-07 04:11:33.053471|INFO    |ClientUI      |   |Failed to init text to speech engine
2015-12-07 04:11:33.053568|INFO    |ClientUI      |   |Qt version: 5.5.0
2015-12-07 04:11:33.053600|INFO    |ClientUI      |   |Using configuration location: /opt/ts3soundboard/data/ts3/9b62f5a5-08ff-4d87-9881-0b314effd990/4b05458d-3400-48cd-bc76-475dca969f8b/settings.db
2015-12-07 04:11:33.352292|INFO    |ClientUI      |   |ts3server: 127.0.0.1?port=9987&nickname=Chill%20Bot&password=&cid=71&channelpassword=
2015-12-07 04:11:33.352550|INFO    |ClientUI      |1  |Connect to server: 127.0.0.1
2015-12-07 04:11:33.353099|INFO    |ClientUI      |1  |Blacklist check ok
2015-12-07 04:11:33.353175|INFO    |ClientUI      |1  |Initiating connection: 127.0.0.1:9987 127.0.0.1
2015-12-07 04:11:33.519664|INFO    |PreProSpeex   |1  |Speex version: 1.2rc1
warning: The VAD has been replaced by a hack pending a complete rewrite
2015-12-07 04:11:33.581846|INFO    |ClientUI      |1  |Connect status: Connecting
2015-12-07 04:11:33.583312|DEVELOP |PktHandler    |   |Puzzle solve time: 2
2015-12-07 04:11:33.583406|INFO    |ClientUI      |   |Last update check was: Sun Jan 1 00:00:01 2017
2015-12-07 04:11:33.583478|INFO    |ClientUI      |   |Checking for update
warning: The VAD has been replaced by a hack pending a complete rewrite
2015-12-07 04:11:33.658067|INFO    |Update        |   |Checking for updates...
2015-12-07 04:11:33.658419|INFO    |ClientUI      |1  |Connect status: Connected
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
2015-12-07 04:11:33.659804|INFO    |ClientUI      |1  |Connect status: Establishing connection
2015-12-07 04:11:33.664483|INFO    |ClientUI      |1  |Connect status: Connection established
2015-12-07 04:11:33.664784|INFO    |PermManager   |   |Loading permissions from cache
libpng warning: iCCP: known incorrect sRGB profile
2015-12-07 04:11:34.067143|INFO    |Newsticker    |   |Newsticker next check: Mon Dec 7 05:38:25 2015
2015-12-07 04:11:38.772665|INFO    |Update        |   |Check license version: 1
2015-12-07 04:11:38.773313|INFO    |LicenseViewer |   |License language: en
2015-12-07 04:11:38.773415|INFO    |LicenseViewer |   |Found cached license for version 1 and language en
2015/12/07 05:12:00 9b62f5a5 4b05458d DEBUG  Storing configuration.
2015/12/07 05:12:06 9b62f5a5 4b05458d WARN   Could not send config
2015/12/07 05:13:40 9b62f5a5 4b05458d INFO   PLAY [admin] 2478647e-d047-4bb9-bec0-fd4f25ae5e8e OK
2015/12/07 05:13:40 9b62f5a5 4b05458d DEBUG  New channel
2015/12/07 05:13:42 9b62f5a5 4b05458d WARN   Could not send chat command
2015/12/07 05:14:00 9b62f5a5 4b05458d DEBUG  Storing configuration.
2015/12/07 05:16:53 9b62f5a5 4b05458d INFO   SEEK [admin] 12.291667 OK
2015/12/07 05:19:52 9b62f5a5 4b05458d DEBUG  Deleting channel
2015/12/07 05:19:52 9b62f5a5 4b05458d DEBUG  Channels now zero
2015/12/07 05:19:52 9b62f5a5 4b05458d DEBUG  Done playing
2015/12/07 05:22:53 9b62f5a5 4b05458d INFO   PLAY-LIST [admin] d09aa1bd-d9b7-4cb0-8094-bdcffccf983d / 0 OK
2015/12/07 05:22:53 9b62f5a5 4b05458d DEBUG  New channel
2015/12/07 05:23:00 9b62f5a5 4b05458d DEBUG  Storing configuration.
2015/12/07 05:26:17 9b62f5a5 4b05458d DEBUG  Deleting channel
2015/12/07 05:26:17 9b62f5a5 4b05458d DEBUG  Channels now zero
2015/12/07 05:26:17 9b62f5a5 4b05458d DEBUG  Done playing
2015/12/07 05:31:20 9b62f5a5 4b05458d INFO   PLAY [admin] 2478647e-d047-4bb9-bec0-fd4f25ae5e8e OK
2015/12/07 05:31:20 9b62f5a5 4b05458d DEBUG  New channel
2015/12/07 05:31:20 9b62f5a5 4b05458d INFO   PLAY [admin] 2478647e-d047-4bb9-bec0-fd4f25ae5e8e OK
2015/12/07 05:31:20 9b62f5a5 4b05458d DEBUG  New channel
2015/12/07 05:31:21 9b62f5a5 4b05458d DEBUG  Deleting channel
2015/12/07 05:31:30 9b62f5a5 4b05458d DEBUG  Storing configuration.
2015/12/07 05:34:44 9b62f5a5 4b05458d DEBUG  Deleting channel
2015/12/07 05:34:44 9b62f5a5 4b05458d DEBUG  Channels now zero
2015/12/07 05:34:44 9b62f5a5 4b05458d DEBUG  Done playing
2015/12/07 05:36:21 9b62f5a5 INFO   LOGIN [admin] FAIL
2015/12/07 05:37:17 9b62f5a5 INFO   LOGIN [admin] OK
2015-12-07 04:38:25.469293|INFO    |Newsticker    |   |Newsticker next check: Mon Dec 7 05:38:25 2015
2015-12-07 04:38:30.561559|INFO    |Newsticker    |   |Newsticker received for language en, expires on Mon Dec 7 06:08:30 2015, next check in 1800 seconds
2015/12/07 05:41:35 UPDATER No update available.
2015/12/07 05:41:55 9b62f5a5 4b05458d INFO   PLAY-LIST [admin] d09aa1bd-d9b7-4cb0-8094-bdcffccf983d / 0 OK
2015/12/07 05:41:55 9b62f5a5 4b05458d DEBUG  New channel
2015/12/07 05:42:00 9b62f5a5 4b05458d DEBUG  Storing configuration.
2015/12/07 05:45:19 9b62f5a5 4b05458d DEBUG  Deleting channel
2015/12/07 05:45:19 9b62f5a5 4b05458d DEBUG  Channels now zero
2015/12/07 05:45:19 9b62f5a5 4b05458d DEBUG  Done playing

Aplay -l
Code:
root@encrypted:/opt/ts3soundboard# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 

henrik

New Member
pactl list

Code:
teamspeak-bots@encrypted:~$ pactl list
Module #0
        Name: module-device-restore
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute state of devices"
                module.version = "6.0"

Module #1
        Name: module-stream-restore
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the volume/mute/device state of streams"
                module.version = "6.0"

Module #2
        Name: module-card-restore
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore profile of cards"
                module.version = "6.0"

Module #3
        Name: module-augment-properties
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Augment the property sets of streams with additional static information"
                module.version = "6.0"

Module #4
        Name: module-switch-on-port-available
        Argument:
        Usage counter: n/a
        Properties:


Module #5
        Name: module-bluetooth-policy
        Argument:
        Usage counter: n/a
        Properties:
module.author = "Frédéric Dalleau"
                module.description = "When a bluetooth sink or source is added, load module-loopback"
                module.version = "6.0"

Module #6
        Name: module-bluetooth-discover
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "João Paulo Rechi Vita"
                module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
                module.version = "6.0"

Module #7
        Name: module-bluez5-discover
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "João Paulo Rechi Vita"
                module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
                module.version = "6.0"

Module #8
        Name: module-esound-protocol-unix
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "ESOUND protocol (UNIX sockets)"
                module.version = "6.0"

Module #9
        Name: module-native-protocol-unix
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Native protocol (UNIX sockets)"
                module.version = "6.0"

Module #10
        Name: module-gconf
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "GConf Adapter"
                module.version = "6.0"

Module #11
        Name: module-default-device-restore
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically restore the default sink and source"
                module.version = "6.0"

Module #12
        Name: module-rescue-streams
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
                module.version = "6.0"

Module #13
        Name: module-always-sink
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Always keeps at least one sink loaded even if it's a null one"
                module.version = "6.0"

Module #14
        Name: module-null-sink
        Argument: sink_name=auto_null sink_properties='device.description="Dummy Output"'
        Usage counter: 0
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Clocked NULL sink"
                module.version = "6.0"

Module #15
        Name: module-intended-roles
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Automatically set device of streams based on intended roles of devices"
                module.version = "6.0"

Module #16
        Name: module-suspend-on-idle
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "When a sink/source is idle for too long, suspend it"
                module.version = "6.0"

Module #17
        Name: module-systemd-login
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Create a client for each login session of this user"
                module.version = "6.0"

Module #18
        Name: module-position-event-sounds
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
                module.version = "6.0"

Module #19
        Name: module-filter-heuristics
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Detect when various filters are desirable"
                module.version = "6.0"

Module #20
        Name: module-filter-apply
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Colin Guthrie"
                module.description = "Load filter sinks automatically when needed"
                module.version = "6.0"

Sink #0
        State: SUSPENDED
        Name: auto_null
        Description: Dummy Output
        Driver: module-null-sink.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 14
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: auto_null.monitor
        Latency: 0 usec, configured 0 usec
        Flags: DECIBEL_VOLUME LATENCY
        Properties:
                device.description = "Dummy Output"
                device.class = "abstract"
                device.icon_name = "audio-card"
        Formats:
                pcm

Source #0
        State: SUSPENDED
        Name: auto_null.monitor
        Description: Monitor of Dummy Output
        Driver: module-null-sink.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 14
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor of Sink: auto_null
        Latency: 0 usec, configured 0 usec
        Flags: DECIBEL_VOLUME LATENCY
        Properties:
                device.description = "Monitor of Dummy Output"
                device.class = "monitor"
                device.icon_name = "audio-input-microphone"
        Formats:
                pcm

Client #0
        Driver: module-systemd-login.c
        Owner Module: 17
        Properties:
                application.name = "Login Session 6"
                systemd-login.session = "6"

Client #3
        Driver: protocol-native.c
        Owner Module: 9
        Properties:
                application.name = "TeamSpeak3"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                media.role = "phone"
                media.icon_name = "teamspeak3"
                application.process.id = "4004"
                application.process.user = "teamspeak-bots"
                application.process.host = "encrypted"
                application.process.binary = "ts3client_linux_amd64"
                application.language = "en_GB.UTF-8"
                window.x11.display = ":1"
                application.process.machine_id = "ed21515a9f592e8fa7a473515614c3a0"
                application.process.session_id = "6"

Client #4
        Driver: module-systemd-login.c
        Owner Module: 17
        Properties:
                application.name = "Login Session 61"
                systemd-login.session = "61"

Client #5
        Driver: protocol-native.c
        Owner Module: 9
        Properties:
                application.name = "pactl"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "30"
                application.process.id = "11586"
                application.process.user = "teamspeak-bots"
                application.process.host = "encrypted"
                application.process.binary = "pactl"
                application.language = "en_GB.UTF-8"
                application.process.machine_id = "ed21515a9f592e8fa7a473515614c3a0"
                application.process.session_id = "61"
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Please try again with the latest beta 0.9.9. It could be a firewalled localhost which the newer version doesn't require anymore.

Thanks for the excellent report, that really helps a lot narrowing down the issue!
 
Status
Not open for further replies.
Top