Giter VIP home page Giter VIP logo

docker-sinusbot's Introduction

Hello there ๐Ÿ‘‹

I'm Alexander Trost aka galexrt. I am a maintainer of the Rook project.

docker-sinusbot's People

Contributors

buschtoens avatar galexrt avatar jormodn avatar mrwitold avatar p4sca1 avatar raaaimund avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-sinusbot's Issues

Config should be editable

Hello,
if I would want to change the configuration file of the sinusbot, I would need to be root or at least sudo to edit the file and to install an editor. But it's not possible to change the user from Docker, or I couldnt figure out how to do it.

su --> must be run from a terminal
sudo -i --> unable to resolve host + no tty present and no askpass program specified

Youtube-dl slow fix

Youtube-dl is very slow (it's speed <200 kbps), the problem that when youtube-dl downloads by youtube-dl -x (audio files) from youtube it downloads at slow speed, So there a temporary solution which is to update the image and do this: change config.ini to point at the new file youtube-dl2.
YoutubeDLPath2 = "/usr/local/bin/youtube-dl"
YoutubeDLPath = "./youtube-dl2"
Create the file youtube-dl2 in the same folder, then edit it and type this :

#!/bin/bash
youtube-dl ${@/bestaudio/43}

and use
chmod +x youtube-dl2
to make it executable.
That file replaces the -f bestaudio flag for the download to -f 43. Format 43 seems to be the .webm format which is not throttled by youtube.
That temporary solution was submitted by TomRiddle01 here: https://forum.sinusbot.com/threads/not-a-bug-youtube-dl-slow-download-rate.4679/page-2
I hope it helps.

Permission error

I'm getting permission errors when starting the bot.

Here's the full log:

-> Updating sinusbot user and group id if necessary ...
-> Correcting file and mount point permissions ...
=> Corrected mount point permissions.
-> Checking if scripts directory is empty
-> Copying original sinusbot scripts to volume ...
cp: cannot create regular file '/sinusbot/scripts/advertising.js': Permission denied
cp: cannot create regular file '/sinusbot/scripts/alonemode.js': Permission denied
cp: cannot create regular file '/sinusbot/scripts/bookmark.js': Permission denied
cp: cannot create regular file '/sinusbot/scripts/followme.js': Permission denied
cp: cannot create regular file '/sinusbot/scripts/norecording.js': Permission denied
cp: cannot create regular file '/sinusbot/scripts/rememberChannel.js': Permission denied
cp: cannot create regular file '/sinusbot/scripts/welcome.js': Permission denied
touch: cannot touch '/sinusbot/scripts/.docker-sinusbot-installed': Permission denied
=> Sinusbot scripts copied.
-> Checking for old data location ...
=> You are good to go! You are already using the new data directory, located at "/sinusbot/data".
=> Updating Youtube-dl...
youtube-dl is up-to-date (2018.01.27)
=> Updated youtube-dl with exit code 0
=> Starting SinusBot (https://sinusbot.com) by Michael Friese ...
Error: Could not create directory /sinusbot/data//db; mkdir /sinusbot/data//db: permission denied

I started the container with the following command:

docker container run --name sinusbot --mount type=bind,src=/Users/pascal/Sinusbot/data,dst=/sinusbot/data --mount type=bind,src=/Users/pascal/Sinusbot/scripts,dst=/sinusbot/scripts -p 8087:8087 galexrt/sinusbot

I set the owner and user of the mounted paths to 3000:

ls -l /Users/pascal/Sinusbot
total 0
drwxr-xr-x  2 3000  3000  64 31 Jan 11:04 data
drwxr-xr-x  2 3000  3000  64 31 Jan 11:04 scripts

I hope somebody can help me fixing the problem.

Regards,
Pascal

cannot allocate memory and download failed for https/www.youtube.com/watch?v=***; youtube-dl download failed (check youtube-dl)

Hi,

I got 2 issues, one of them is that, when I create new image or just turn off the bot, all works okay(website and settings works) to time when I click the button to connect the bot to the server then I see this message in "Instance Log"

2017-07-13T02:13:29+02:00 Closed.

2017-07-13T02:13:29+02:00 TSClient quit. LogLevel has been increased, please try to connect again to see more details.

2017-07-13T02:13:29+02:00 Error spawning instancefork/exec /sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64: cannot allocate memory

2017-07-13T02:13:29+02:00 Starting instance ts3server://147.135.209.143?port=1337&nickname=%E2%99%AA%20Bot%20Muzyczny%20%23%20Poczekalnia%20%E2%99%AA&password=&channel=&channelpassword=

2017-07-13T02:13:29+02:00 Could not insert into FileTransfer-Tableno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not delete from FileTransferno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not insert into FileTransfer-Tableno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not delete from FileTransferno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not insert into FileTransfer-Tableno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not delete from FileTransferno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not insert into FileTransfer-Tableno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not delete from FileTransferno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not insert into FileTransfer-Tableno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not delete from FileTransferno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not insert into FileTransfer-Tableno such table: FileTransfer

2017-07-13T02:13:29+02:00 Could not delete from FileTransferno such table: FileTransfer


2017-07-13T02:13:29+02:00 Could not create Notifications-Tabletable Notifications already exists

2017-07-13T02:13:29+02:00 Could not create WhisperReceive-Tabletable WhisperReceive already exists

2017-07-13T02:13:29+02:00 Could not create Chat-Tabletable Chat already exists

2017-07-13T02:13:29+02:00 About to run.

Sometimes to solve that, I had to restart whole machine but It isn't works always.
Yes, I have enought memory - (0.3/1.9 GB) - in time when it happens.

And second issues is that the youtube-dl don't works. After reboot it works for 1 minute and then I see this error

Download failed for https/www.youtube.com/watch?v=***; youtube-dl download failed (check youtube-dl)

Updating, rebooting - doesn't help.

After the new Update from 06.08.2017 the Bot cannot start

I removed the Image and delete all data from mounts.

I reinstalled the Image and the log show this:

-> Updating sinusbot user and group id if necessary ...
-> Correcting file and mount point permissions ...
=> Corrected mount point permissions.
-> Checking if scripts directory is empty
-> Copying original sinusbot scripts to volume ...
=> Sinusbot scripts copied.
-> Checking for old data location ...
=> You are good to go! You are already using the new data directory, located at "/sinusbot/data".
=> Updating Youtube-dl...
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
Updating to version 2017.08.06 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
=> Updated youtube-dl with exit code 0
=> Starting SinusBot (https://sinusbot.com) by Michael Friese ...
This version has expired. Please download a newer version from the official SinusBot website and upgrade.

The newest Version is running but the Sinusbot say that is outdated.

Question: Error when assign requested IP

Hello,

I am not sure where I can ask those kind of questions. But when I open up the sinusbot with the ./entrypoint.sh I get the Error

listen tcp IP:PORT: bind: cannot assign requested address

What am I doing wrong? Could someone help me out?

Sinusbot Youtube-DL slow

Hey there,

The youtube-dl as well as the youtube-dl-speedpatched are running very fast in the docker container but sadly they doesn't work fast with the sinusbot and its UI.

In the UI it says download speed <400K/s and after some seconds it changes to 64K/s and then it changes some times between 0 and 64 till it stops after it has not more than 5mb downloaded . This equals the first 5mins of the 1hour track which i want to download.

Here a screenshot of the commands in the docker terminal:

image

Here a screenshot of the UI:

image

I also noticed that the sinusbot config.ini is not in the config folder /sinusbot/config/config.ini instead its directly in the /sinusbot/config.ini

Any hints which setting could be resulting in a slow download speed?

Docker image isnt still working

I updated the image and restartet the sinusbot but i isnt still working :D
in docker logs is this:

Checking if scripts directory is empty
=> Scripts directory is marked, scripts were already copied. Nothing to do.
-> No /sinusbot/config/config.ini found, not linking.
=> Starting SinusBot (https://sinusbot.com) by Michael Friese ...
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ | | | | | | / __| _ )/ _ _ |
_
| || .` | |
| _
\ _ \ () || |
|
/||_|_/|//_/ |_|

Version: 0.14.3-0e747fd
(C) 2013-2018 Michael Friese. All rights reserved.

2018/08/19 22:13:06 X [MAIN] Starting up fake x-server...
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin alonemode.js
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin rememberChannel.js
2018/08/19 22:13:06 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcome.js
could not contact update server

It is the same error before and in docker ps it isnt showing up

Docker problem whit connect to localhost

You see like that everywhere can that connects music bot just can not to localhost ip if we write Instance-Log : 2016-03-22T19:18:49+01:00 TSClient quit.
but only in the localhost

!yt command not working

Hello, I'm trying to use this command !yt https://www.youtube.com/watch?v=E8VwtjhMFJ8 and I get this in the logs (and no music playing) 2019/03/08 23:15:55 cc7fbda3 7868d07b INFO PRIVATE-CHAT [RealRunSpace] yt [URL]https://www.youtube.com/watch?v=E8VwtjhMFJ8[/URL] 2019/03/08 23:15:55 cc7fbda3 7868d07b INFO CHAT 1 [rrs @ RealRunSpace] < yt [URL]https://www.youtube.com/watch?v=E8VwtjhMFJ8[/URL] > / OK 2019/03/08 23:15:59 err from ytdl: exit status 1
I don't see any error log for ytdl, so I don't really know what's wrong. I'm using Centos7 with CWP + Firewall.

All containers suddenly restarting

All containers suddenly started to restart in a loop with this message:

2019-05-30T19:14:14.868367264Z could not contact update server

Config.ini not mounting

Hi, I just installed this script and for some reason my config.ini file is not showing up on the folder "/opt/docker/sinusbot/sinusbot_8081/config" (not mounted ?).

mkdir -p /opt/docker/sinusbot/sinusbot_8081/data /opt/docker/sinusbot/sinusbot_8081/scripts /opt/docker/sinusbot/sinusbot_8081/config
chown 3000:3000 -R /opt/docker/sinusbot/sinusbot_8081/data /opt/docker/sinusbot/sinusbot_8081/scripts /opt/docker/sinusbot/sinusbot_8081/config
docker run \
    --restart=always \
    --name sinusbot_8081 \
    -d \
    -v /opt/docker/sinusbot/sinusbot_8081/data:/sinusbot/data \
    -v /opt/docker/sinusbot/sinusbot_8081/scripts:/sinusbot/scripts \
    -v /opt/docker/sinusbot/sinusbot_8081/config:/sinusbot/config \
    -p 8081:8087 \
    galexrt/sinusbot:latest

Thank you !

Dead

Pretty sure this no longer works.

Scripts cannot be modified

Hey there,
unfortunately I can't modify the scripts because they aren't mounted in /sinusbot/data. Is it possible to add a volume for the scripts?

Container Image is too old!

Please update the container Image :c im saddd
Since Sinusbot had an Update i cant start my Bot respectively i cant reach the website ;D

Chat problems

Hi guys, am i the only one with problems regarding chat commands ?
the bot doesnt respond to any command, Ex: !yt or !ytdl

sinusbot dosent open...

after i use this comand

docker run \
    --name tssinusbot1 \
    -d \
    -v /opt/docker/sinusbot/data:/sinusbot/data \
    -v /opt/docker/sinusbot/scripts:/sinusbot/scripts \
    -v /opt/docker/sinusbot/config:/sinusbot/config \
    -p 8088:8088 \
    quay.io/galexrt/sinusbot:latest

the web interface does not start so i go to docker logs sinusbot1

and this appears:

-> Checking if scripts directory is empty
=> Scripts directory is marked, scripts were already copied. Nothing to do.
-> Found config in /sinusbot/config directory, linking ...
=> Linked /sinusbot/config/config.ini to /sinusbot/config.ini.
=> Starting SinusBot (https://sinusbot.com) by Michael Friese ...
 ___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

Version: 0.13.37-9791176
(C) 2013-2017 Michael Friese. All rights reserved.

2018/03/26 11:41:00 X [MAIN] Starting up fake x-server...
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin advertising.js
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin alonemode.js
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin bookmark.js
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin followme.js
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin norecording.js
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin rememberChannel.js
2018/03/26 11:41:00 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin welcome.js
2018/03/26 11:41:01 3bef5d0a          INFO   Loading instances
2018/03/26 11:41:01 3bef5d0a          INFO   Loading instance://dd04225a-7066-41ef-b712-88d27e0225fd
2018/03/26 11:41:01 3bef5d0a dd04225a INFO   Initialization complete
2018/03/26 11:41:01 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3741798; license: LGPL version 2.1 or later; 81 codecs
2018/03/26 11:41:01 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3742052; license: LGPL version 2.1 or later; 143 formats
2018/03/26 11:41:01 [GENERAL/YTDL   ] INFO   youtube-dl checking...
2018/03/26 11:41:02 [GENERAL/YTDL   ] INFO   youtube-dl version compatible, support enabled
2018/03/26 11:41:02 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
2018/03/26 11:41:02 [GENERAL/RADIO  ] INFO   RadioStation data loaded
2018/03/26 11:41:02 [GENERAL/RADIO  ] INFO   Imported radio stations

can some 1 help me pls?

runtime: out of memory

Task Name:

Docker container sinusbot exited with nonzero status.
Description:

Docker container sinusbot has exited with status 255

[Bug] No connection to ts3 possible: " |libpulse.so.0: cannot open shared object file"

I just have installed sinusbot with your image and the given commands. But I'm not able to connect with any ts3-servers. I have tried to install this setup on different vps machines. I also have tried to connect to different ts3-servers.

I have found the following error in sinusbot-log.
ERROR |SoundBckndIntf| |libpulse.so.0: cannot open shared object file: No such file or directory
There is also no config file in the config folder... Therefore I'm not able to increase the log-level to provide more details.... Where is this config file located?

Full log: https://pastebin.com/raw/sTgXjeH8

Testet on two different VPS
OS Details: Debian 10, Debian 8
VPS Details: 6 vCore, 16 GB RAM, 4 vCore, 8GB RAM

Thanks for helping me out! :)

a manual update is required - exited with code 255

Trying to set this up, I always receive code 255 and the bot restarts... Same happens with docker run

version: "3.4"
services:

  sinusbot:
    image: galexrt/sinusbot:latest
    ports:
      - "127.0.0.1:8087:8087"
    volumes:
      - sinusbot-data-vol1:/sinusbot/data
      - sinusbot-scripts-vol1:/sinusbot/scripts
    restart: always

volumes:
  sinusbot-data-vol1:
  sinusbot-scripts-vol1:
docker-compose up -d && docker-compose logs -f sinusbot
Creating network "sinusbot_default" with the default driver
Creating volume "sinusbot_sinusbot-data-vol1" with default driver
Creating volume "sinusbot_sinusbot-scripts-vol1" with default driver
Creating sinusbot_sinusbot_1 ...
Creating sinusbot_sinusbot_1 ... done
Attaching to sinusbot_sinusbot_1
sinusbot_1  | -> Updating sinusbot user and group id if necessary ...
sinusbot_1  | -> Correcting file and mount point permissions ...
sinusbot_1  | => Corrected mount point permissions.
sinusbot_1  | -> Checking if scripts directory is empty
sinusbot_1  | -> Copying original sinusbot scripts to volume ...
sinusbot_1  | => Sinusbot scripts copied.
sinusbot_1  | -> Checking for old data location ...
sinusbot_1  | => You are good to go! You are already using the new data directory, located at "/sinusbot/data".
sinusbot_1  | => Updating Youtube-dl...
sinusbot_1  | Updating to version 2017.12.02 ...
sinusbot_1  | Updated youtube-dl. Restart youtube-dl to use the new version.
sinusbot_1  | => Updated youtube-dl with exit code 0
sinusbot_1  | => Starting SinusBot (https://sinusbot.com) by Michael Friese ...
sinusbot_1  | 2017/11/24 17:09:19 X [MAIN] Starting up fake x-server...
sinusbot_1  |  ___ ___ _  _ _   _ ___ ___  ___ _____  BETA
sinusbot_1  | / __|_ _| \| | | | / __| _ )/ _ \_   _|
sinusbot_1  | \__ \| || .` | |_| \__ \ _ \ (_) || |
sinusbot_1  | |___/___|_|\_|\___/|___/___/\___/ |_|
sinusbot_1  |
sinusbot_1  | Version: 0.10.8-71ba94b
sinusbot_1  | (C) 2013-2017 Michael Friese. All rights reserved.
sinusbot_1  |
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin advertising.js
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin alonemode.js
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin bookmark.js
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin followme.js
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin norecording.js
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin rememberChannel.js
sinusbot_1  | 2017/11/24 17:09:19 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin welcome.js
sinusbot_1  | a manual update is required
sinusbot_sinusbot_1 exited with code 255

Something wrong with bot and youtube-dl

My bot was working well but after some time, youtube download stopped working and I restarted bot many times but it keeps repeating this :-

=> Starting SinusBot (https://sinusbot.com) by Michael Friese ...
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ | | | | | | / __| _ )/ _ _ |
_
| || .` | |
| _
\ _ \ () || |
|
/||_|_/|//_/ |_|

Version: 0.11.0-8e5f1a2
(C) 2013-2017 Michael Friese. All rights reserved.

2018/05/23 14:00:54 X [MAIN] Starting up fake x-server...
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin Youtube_Search.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin alonemode.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin rememberChannel.js
2018/05/23 14:00:54 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcome.js
could not contact update server
-> Updating sinusbot user and group id if necessary ...
-> Correcting file and mount point permissions ...
=> Corrected mount point permissions.
-> Checking if scripts directory is empty
=> Scripts directory is marked that scripts got copied. Nothing to do.
-> Checking for old data location ...
=> You are good to go! You are already using the new data directory, located at "/sinusbot/data".
=> Updating Youtube-dl...
ERROR: can't find the current version. Please try again later.
=> Updated youtube-dl with exit code 0
=> Starting SinusBot (https://sinusbot.com) by Michael Friese ...
___ ___ _ _ _ _ ___ ___ ___ _____ BETA
/ | | | | | | / __| _ )/ _ _ |
_
| || .` | |
| _
\ _ \ () || |
|
/||_|_/|//_/ |_|

Version: 0.11.0-8e5f1a2
(C) 2013-2017 Michael Friese. All rights reserved.

2018/05/23 14:01:47 X [MAIN] Starting up fake x-server...
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin Youtube_Search.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin alonemode.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin rememberChannel.js
2018/05/23 14:01:47 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcome.js
could not contact update server
-> Updating sinusbot user and group id if necessary ...
-> Correcting file and mount point permissions ...
=> Corrected mount point permissions.
-> Checking if scripts directory is empty
=> Scripts directory is marked that scripts got copied. Nothing to do.
-> Checking for old data location ...
=> You are good to go! You are already using the new data directory, located at "/sinusbot/data".
=> Updating Youtube-dl...
ERROR: can't find the current version. Please try again later.
=> Updated youtube-dl with exit code 0

Error spawning instancefork/exec

Hey,

im trying to install a sinusbot instance via your docker image on my server.

But I get the following error when I lookup the latest logs with docker logs [id]:
2018/09/03 08:02:45 ac917f7c 3c8a7ee0 ERROR Error spawning instancefork/exec /sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64: cannot allocate memory

YouTubeDL also reported:
2018/09/03 08:02:45 fork/exec /usr/local/bin/youtube-dl-speedpatched: cannot allocate memory youtube-dl not found

The whole log can you find here.

I followed your installation instructions.

What do I have to do to fix this error?

New connection status 0; Error 1797 for TS3 bot

2018/07/06 17:23:06 903988b8 f5cc50a5 WARN   Could not create Chat-Tabletable Chat already exists
2018/07/06 17:23:06 903988b8 f5cc50a5 WARN   Could not create WhisperReceive-Tabletable WhisperReceive already exists
2018/07/06 17:23:06 903988b8 f5cc50a5 WARN   Could not create Notifications-Tabletable Notifications already exists
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   Starting instance ts3server://prem.zhts3.us?port=4000&nickname=SinusBot&password=&channel=&channelpassword=
2018/07/06 17:23:06 X [MAIN] New connection
2018/07/06 17:23:06 X [MAIN] New connection
2018/07/06 17:23:06 X [MAIN] New connection
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |TeamSpeak 3 Client 3.1.9 (2018-05-04 13:54:44)
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |SystemInformation: Linux 3.16.0-5-amd64 #1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08) x86_64 Binary: 64bit
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |Using hardware aes
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |ERROR   |SoundBckndIntf|   |libpulse.so.0: cannot open shared object file: No such file or directory
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |   |Unable to create an Open GL context.
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |Addons        |   |Checking for addon updates...
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |Plugins       |   |Loading plugin: libsoundbot_plugin.so
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |Plugins       |   |Loading plugin: libclientquery_plugin_linux_amd64.so
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |Query         |   |listening on 127.0.0.1:25639
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |successfully downloaded revocation list
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |*** Time [MAINWINDOW]: 177
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |*** Time [INIT]: 177
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |DEVELOP |ClientUI      |   |Notifications init: Soundpack path: /sinusbot/TeamSpeak3-Client-linux_amd64/sound/nosounds
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |   |Failed to init text to speech engine
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |   |Qt version: 5.6.1
2018/07/06 17:23:06 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |   |Using configuration location: /sinusbot/data/ts3/903988b8-0cfe-4bf7-9818-a6961ee47d14/f5cc50a5-d179-4add-8cff-e30860b6a6fa/settings.db
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |   |ts3server: prem.zhts3.us?port=4000&nickname=SinusBot&password=&channel=&channelpassword=
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Connect to server: prem.zhts3.us
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Trying to resolve prem.zhts3.us
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |SRV DNS resolve unsuccessful, "_ts3._udp.prem.zhts3.us" Domain name not found
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |A/AAAA DNS resolve successful, "prem.zhts3.us" =(h: 80.211.35.177 p:0)
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |A/AAAA DNS resolve for possible TSDNS successful, "prem.zhts3.us" =(h: 80.211.35.177 p:0)
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |A/AAAA DNS resolve for possible TSDNS successful, "zhts3.us" =(h: 192.64.119.62 p:0)
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |SRV DNS resolve unsuccessful, "_tsdns._tcp.zhts3.us" Domain name not found
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |Bookmarks     |   |Collecting autoconnect bookmarks
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |   |Last update check was: Tue Jan 1 00:00:01 2019
2018/07/06 17:23:07 903988b8 f5cc50a5 INFO   TS |INFO    |              |   |Statistics report: Not yet, next report on Wed Aug 1 17:17:52 2018
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |TSDNS queried unsuccessfully 80.211.35.177:41144
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |No TSDNS found
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |TSDNS queried unsuccessfully 192.64.119.62:41144
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |TSDNS         |   |No TSDNS found
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Lookup finished: ip=80.211.35.177 port=4000 query=prem.zhts3.us error=0
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Resolve successful: 80.211.35.177:4000
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Initiating connection: 80.211.35.177:4000
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |PreProSpeex   |1  |Speex version: 1.2rc1
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connecting
2018/07/06 17:23:09 903988b8 f5cc50a5 INFO   New connection status 1; Error 0
2018/07/06 17:23:14 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Connect status: Disconnected
2018/07/06 17:23:14 903988b8 f5cc50a5 INFO   TS |INFO    |ClientUI      |1  |Failed to connect to server, want autoreconnect = 0
2018/07/06 17:23:14 903988b8 f5cc50a5 INFO   The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation or the password is wrong , the security level of your identity is too low or the server does not allow the version of the client you are using. See our Wiki / Forums for more help.
2018/07/06 17:23:14 903988b8 f5cc50a5 INFO   New connection status 0; Error 1797
2018/07/06 17:23:15 903988b8 f5cc50a5 INFO   TSClient quit.```

TS3 version 3.1.9 (Is a fresh server installation with only 2 instances)

Restart fails

Can not restart the container anymore....

Error:

Could not read configuration file: Near line 23, key 'LogFile': Near line 23: Expected value but found '/' instead.

When I remove the recent added lines (8-9) from entrypoint.sh the container starts normally again.

LOGPATH="${LOGPATH:-/sinusbot/data/sinus.log}"
sed -i 's#^LogFile.*#LogFile = '"$LOGPATH"'#g' "$SINUS_DIR/config.ini"

Youtube-DL is not updating to latest version

Hi,
There was an issue with Youtube-DL couple of days ago where songs couldn't be played back via Youtube-DL. An update was released, but when I run the command to update the image:
docker pull quay.io/galexrt/sinusbot:latest
it says it's already up to date, but I'm pretty sure it is an outdated version, since I still can't play back any songs.. Is there any way to manually update it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.