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

Ubuntu 16.04 StartScript

Status
Not open for further replies.

UncleSam

#stayinghome
Hello,

I switched from Ubuntu 14.04 LTS to Ubuntu 16.04 LTS. Now the old sysvinit scripts are no longer working.

After trying to start the bot on boot using systemd I had to surrender. It is starting, but it is not loading the correct way. All I got are error messages. The bot can join my channel but it is unable to play music till I start it again (see log below).

My question:
Is there any working way to start the bot on boot using Ubuntu 16.04?

Sinusbot version: 0.9.12.2

2016-07-12T00:12:54+02:00 TS |INFO |LicenseViewer | |Found cached license for version 1 and language en
2016-07-12T00:12:54+02:00 TS |INFO |LicenseViewer | |License language: en
2016-07-12T00:12:54+02:00 TS |INFO |Update | |Check license version: 1
2016-07-12T00:12:54+02:00 PRIVATE-CHAT [VeaBot] Hallo \m/(◣_◢)\m/! Du hast dich bereits 237 mal seit dem 19.02.2016 19:37:34 hierher verbunden. Alle meine Befehle erhältst du, wenn du hier "!bothelp" schreibst. Viel Spaß auf dem TeamSpeak Server von VEA!
2016-07-12T00:12:54+02:00 New connection status 4; Error 0
2016-07-12T00:12:54+02:00 TS |INFO |PermManager | |Loading permissions from cache
2016-07-12T00:12:54+02:00 TS |INFO |ClientUI |1 |Connect status: Connection established
2016-07-12T00:12:54+02:00 UncleSam joined the channel
2016-07-12T00:12:54+02:00 New connection status 3; Error 0
2016-07-12T00:12:54+02:00 New connection status 2; Error 0
2016-07-12T00:12:54+02:00 TS |INFO |ClientUI |1 |Connect status: Establishing connection
2016-07-12T00:12:54+02:00 TS |INFO |ClientUI |1 |Connect status: Connected
2016-07-12T00:12:54+02:00 TS |INFO |Update | |Checking for updates...
2016-07-12T00:12:54+02:00 TS |DEVELOP |PktHandler | |Puzzle solve time: 3
2016-07-12T00:12:54+02:00 TS |INFO |ClientUI | |Checking for update
2016-07-12T00:12:54+02:00 TS |INFO |ClientUI | |Last update check was: So. Jan. 1 00:00:01 2017
2016-07-12T00:12:54+02:00 New connection status 1; Error 0
2016-07-12T00:12:54+02:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2016-07-12T00:12:53+02:00 TS |INFO |PreProSpeex |1 |Speex version: 1.2rc1
2016-07-12T00:12:53+02:00 TS |INFO |ClientUI |1 |Initiating connection: 127.0.0.1:9987 127.0.0.1
2016-07-12T00:12:53+02:00 TS |INFO |ClientUI |1 |Blacklist check ok
2016-07-12T00:12:53+02:00 TS |INFO |ClientUI |1 |Connect to server: 127.0.0.1
2016-07-12T00:12:53+02:00 TS |INFO |ClientUI | |ts3server: 127.0.0.1?port=9987&nickname=%5Cm%2F%28%E2%97%A3_%E2%97%A2%29%5Cm%2F&password=&cid=160&channelpassword=
2016-07-12T00:12:51+02:00 TS |INFO |ClientUI | |Using configuration location: /home/tsbots/sinusbot/data//ts3/90e24053-81ee-4928-8ca3-c8d36130443b/87289228-98ac-4a10-8344-9f35df79460b/settings.db
2016-07-12T00:12:51+02:00 TS |INFO |ClientUI | |Qt version: 5.5.1
2016-07-12T00:12:51+02:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2016-07-12T00:12:50+02:00 TS |INFO | | |*** Time [INIT]: 146
2016-07-12T00:12:50+02:00 TS |INFO | | |*** Time [MAINWINDOW]: 146
2016-07-12T00:12:49+02:00 TS |INFO |Query | |listening on 127.0.0.1:25639
2016-07-12T00:12:49+02:00 TS |INFO | | |Loading plugin: libtest_plugin
2016-07-12T00:12:49+02:00 TS |INFO | | |Loading plugin: libsoundbot_plugin
2016-07-12T00:12:49+02:00 TS |INFO | | |Loading plugin: liblua_plugin
2016-07-12T00:12:49+02:00 TS |INFO | | |Loading plugin: libclientquery_plugin
2016-07-12T00:12:49+02:00 TS |WARNING |SoundDevManager| |Did not load any sound backends. No (usable) dynamic libraries found.
2016-07-12T00:12:49+02:00 TS |ERROR |SoundBckndIntf| |libpulse.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
2016-07-12T00:12:49+02:00 TS |ERROR |SoundBckndIntf| |libasound.so.2: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
2016-07-12T00:12:49+02:00 TS |INFO | | |Using hardware aes
2016-07-12T00:12:49+02:00 TS |INFO | | |SystemInformation: Linux 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 Binary: 64bit
2016-07-12T00:12:49+02:00 TS |INFO | | |TeamSpeak 3 Client 3.0.19.3 (2016-06-23 09:02:14)
2016-07-12T00:12:49+02:00 Starting instance ts3server://127.0.0.1?port=9987&nickname=%5Cm%2F%28%E2%97%A3_%E2%97%A2%29%5Cm%2F&password=&cid=160&channelpassword=
2016-07-12T00:12:38+02:00 TSClient quit.
2016-07-12T00:12:38+02:00 KILL [admin] OK
2016-07-12T00:12:37+02:00 Ping failed.
2016-07-12T00:12:37+02:00 Could not send config.
2016-07-12T00:12:37+02:00 Could not request shutdown. Please make sure that the loopback interface is not firewalled.
2016-07-12T00:12:37+02:00 TS |INFO |Query | |listening on 127.0.0.1:25639
2016-07-12T00:12:37+02:00 TS |INFO | | |Loading plugin: libtest_plugin
2016-07-12T00:12:37+02:00 TS |INFO | | |Loading plugin: libsoundbot_plugin
2016-07-12T00:12:37+02:00 TS |INFO | | |Loading plugin: liblua_plugin
2016-07-12T00:12:37+02:00 TS |INFO | | |Loading plugin: libclientquery_plugin
2016-07-12T00:12:37+02:00 TS |WARNING |SoundDevManager| |Did not load any sound backends. No (usable) dynamic libraries found.
2016-07-12T00:12:37+02:00 TS |ERROR |SoundBckndIntf| |libpulse.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
2016-07-12T00:12:37+02:00 TS |ERROR |SoundBckndIntf| |libasound.so.2: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
2016-07-12T00:12:37+02:00 TS |INFO | | |Using hardware aes
2016-07-12T00:12:37+02:00 TS |INFO | | |SystemInformation: Linux 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 Binary: 64bit
2016-07-12T00:12:37+02:00 TS |INFO | | |TeamSpeak 3 Client 3.0.19.3 (2016-06-23 09:02:14)
2016-07-12T00:12:32+02:00 Starting instance ts3server://127.0.0.1?port=9987&nickname=%5Cm%2F%28%E2%97%A3_%E2%97%A2%29%5Cm%2F&password=&cid=160&channelpassword=
2016-07-12T00:10:54+02:00 Initialization complete
2016-07-12T00:10:54+02:00 Loading script aloneMode
2016-07-12T00:10:54+02:00 [youtube] YTWeb Webinterface Ready
2016-07-12T00:10:54+02:00 Loading script youtube
2016-07-12T00:10:54+02:00 Loading script metadata
2016-07-12T00:10:54+02:00 Loading script covatar
 
Last edited:
Status
Not open for further replies.
Top