sinusbot / docker Goto Github PK
View Code? Open in Web Editor NEW🐳 Official Docker image of the SinusBot for TeamSpeak 3 and Discord.
Home Page: https://sinusbot.github.io/docker
License: MIT License
🐳 Official Docker image of the SinusBot for TeamSpeak 3 and Discord.
Home Page: https://sinusbot.github.io/docker
License: MIT License
When i try to run the container as a non-root user like stated in the README i ran into the problem that the entry script can't create the symlink for the config (permission denied) and sinusbot cant start.
Hello, I can launch my sinusbot instance but my bot can't connect to my Teamspeak. I have the following error message: https://pastebin.com/0wskqwea and my container logs :
Thanks for your help.
Maybe add environment variable with the new password and check in the entrypoint.sh if this variable is set. If => then use the override-password flag.
Discord only image, for that just set the TS3PATH to "".
Hi @mxschmitt,
is it posssible to release the new free version 1.0.1 as docker image?
Thanks!
Best,
baba
What is the reason for running the Sinusbot as root? This is the official docker image of it, isn't it? Aren't you discouraging people to run it as root? Please fix this.
Hello,
I've installed the docker version of sinusbot on my Qnap TS- 453 in caontainer station.
but i can't find the config.ini file on the whole nas...
do you have any clue for me?
I updated Sinusbot recently (2018-12-21). The "latest" image doesn't contain a TeamSpeak client!
Was this an intentional change or is this a build issue?
It would be great, if the docker images could get tagged with a version, something like sinusbot/docker:1.0.0
. This has several benefits.
Consistent version of the bot between different servers
Maybe a bug gets introduced in a newer version, then an older version can be choosen
Docker best practice
When building images, always tag them with useful tags which codify version information, intended destination (prod or test, for instance), stability, or other information that is useful when deploying the application in different environments. Do not rely on the automatically-created latest tag.
Hi. I'm using the latest version of teamspeak server and the latest version of sinusbot. Both teamspeak server and sinusbot are running in docker. The sinusbot cannot connect to the teamspeak server. This is weird because a while ago I set the sinusbot up just the way I did now and it worked fine. Now the bot can't connect anymore. I did some research and found that the only possible reason is that the teamspeak client used in ur docker image is to old? Would it be possible to update your docker image to use the latest teamspeak client?
Hi,
after upgrading to the latest build !yt and !qyt do not work any more.
Stored youtube playlists won't play either.
Maybe you could have a look.
Thanks,Stay Safe !
add into the README.md
that for using a teamspeak server and the bots in a same docker-compose network it's required to use network aliases.
More info: https://forum.sinusbot.com/threads/ts3-and-sinusbot-with-docker-compose.6026/#post-35044
i've a docker version installed on my qnap ts453, it worked okay until few day ago
i got this message i try to re-install the whole app and does the same :/
this i what i get into the console
youtube-dl is up-to-date (2019.04.01)
youtube-dl updated
Starting SinusBot...
This version has expired. Please download a newer version from the official SinusBot website and upgrade.
... i.e. by marking it via touch $scriptname.keep
Hello, I have the problem or concern that I cannot run the docker container on my DSM because it is delivered with an incorrect version.
2024/03/18 11:25:00 stdout You may stop receiving updates on this version at any time! Please update to Python 3.8 or above
2024/03/18 11:25:00 stdout �[0;31mDeprecated Feature:�[0m Support for Python version 3.7 has been deprecated. See https://github.com/yt-dlp/yt-dlp/issues/7803 for details.
I get this message even though the following versions are installed.
Python 3.9 ( 3.9.14-0010) and 2 (2.7.18-1004 )
but it still tells me that I have the wrong version because I have installed a higher version, it should actually work for you but it just doesn't work but nothing happens to this message anymore.
I have DSM 7.2.1 installed on my system with the following applications
web station
Container Manager
and the two above
but the Docker container still cannot be started under DSM. After a certain time there is a warning in the status but no error message in the logs
Hello, I'm trying to play a youtube video and I get this in the console err from ytdl: exit status 1
2019/03/08 15:34:34 cc7fbda3 7868d07b INFO PRIVATE-CHAT [RealRunSpace]] yt [URL]https://www.youtube.com/watch?v=E8VwtjhMFJ8[/URL] 2019/03/08 15:34:34 cc7fbda3 7868d07b INFO CHAT 1 [rrs @ RealRunSpace] < yt [URL]https://www.youtube.com/watch?v=E8VwtjhMFJ8[/URL] > / OK 2019/03/08 15:34:37 err from ytdl: exit status 1
I have a firewall installed, but I don't know where to see logs of ytdl, so I cannot debug it. I'm using centos7 with CWP
Hi,
this Docker image in Dockerhub with the "latest" tag is now over 3 months old.
Please run your build process/pipeline regularly even without new commits in this repo to get regular security updates of the base images.
Thanks!
Use e.g. a curl to /api/v1/botId
.
Automate version deployment with github-actions.
See https://github.com/SinusBot/docker#deploy-version for manual process.
For me it looks like it always pulls 1.0.2, this isn't the latest one is it?
Currently the Bot won't detect, if the container will be shut down by e.g.:
docker stop sinusbot
it will wait 10 seconds for the timeout and then the bot will be killed.
Not sure if this is a SinusBot or Dockerfile issue.
Currently: The Teamspeak 3 clients timeout
Expected: The leave the teamspeak server and stop gracefully
Hello everyone,
The docker container Sinusbot/docker:lastes does not start. It is only shown in the log "setpriv: libcap-ng is too old for "all" caps".
Extract from the log:
Updating youtube-dl...
youtube-dl is up-to-date (2020.09.20)
User ID: 0
Change file owner...
Drop privileges...
Starting SinusBot...
PID: 11
setpriv: libcap-ng is too old for "all" caps
To my system:
Opensuse Thumbleweed (up to date)
What can I do to get it running again?
Hello, I am unable to use YTDL/YTDLP because of the following error:
"fork/exec /usr/local/bin/youtube-dl: no such file or directory youtube-dl not found"
Linux 5.4.114-1-pve x86_64 GNU/Linux
Wed 14 Jun 2023 01:36:01 PM UTC
Updating yt-dlp...
Available version: [email protected], Current version: [email protected]
Current Build Hash: 91cad9f121c1f6f0a81b747415c46ecba0ff331ed38cc6433040b4ac7b6e15ca
yt-dlp is up to date ([email protected])
2023.03.04
User ID: 1000
Change file owner...
Group ID: 1000
Change file group...
Drop privileges...
Clearing yt-dlp cache...
Removing cache dir /root/.cache/yt-dlp ..
Starting SinusBot...
PID: 16
___ ___ _ _ _ _ ___ ___ ___ _____
/ __|_ _| \| | | | / __| _ )/ _ \_ _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|
Version: 1.0.2
(C) 2013-2022 Michael Friese. All rights reserved.
2023/06/14 13:36:03 94e408f1 INFO Loading instances
2023/06/14 13:36:03 94e408f1 INFO Loading instance://b6b766aa-d1b5-4bc9-a281-6a94d6eaaa00
2023/06/14 13:36:03 94e408f1 b6b766aa INFO script command loaded
2023/06/14 13:36:03 94e408f1 b6b766aa INFO Initialization complete
2023/06/14 13:36:03 [GENERAL/FFMPEG ] INFO FFmpeg/avcodec v3876196; license: LGPL version 2.1 or later; 634 codecs
2023/06/14 13:36:03 [GENERAL/FFMPEG ] INFO FFmpeg/avformat v3873636; license: LGPL version 2.1 or later; 334 formats
2023/06/14 13:36:03 [GENERAL/YTDL ] INFO youtube-dl checking...
2023/06/14 13:36:03 fork/exec /usr/local/bin/youtube-dl: no such file or directory youtube-dl not found
2023/06/14 13:36:03 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
2023/06/14 13:36:03 94e408f1 b6b766aa PLUGIN [ :113:12] Loaded SinusBot Commands v1.1.2 by Jonas Bögle (@irgendwr).
2023/06/14 13:36:03 94e408f1 b6b766aa PLUGIN [ :114:12] SinusBot v1.0.2 on linux
2023/06/14 13:36:03 94e408f1 b6b766aa INFO script sinusbot-commands loaded
2023/06/14 13:36:03 [GENERAL/RADIO ] INFO RadioStation data loaded
2023/06/14 13:36:03 [GENERAL/RADIO ] INFO Imported radio stations
I have deleted the image and docker volume and then reinstalled it again but to no avail.
It seems to me, that the download speed of audio from youtube is very slow.
I'm not sure if there's a fix for that, but I thought it was not that slow in the beginning.
Greetings,
when i press sinubot logo top left it forward to my public ip instead of .ddns.net adress.
anyway to change this?
@mxschmitt
It is faster when using the yt-dlp command in a container.
However, when I download the same video from sinusbot (web ui, etc.), it is about 30 kb/s. so it's slow.
It is set up in such a way that it is not restricted.
[YoutubeDL]
BufferSize = 52428800000000
MaxDownloadSize = 41943040000
MaxDownloadRate = 104857600000
MaxSimultaneousChunkDownloads = 10
CacheStreamed = true
TimeoutSingleDownloader = 0
TimeoutMultiDownloader = 0
ChunkSize = 314572800
Greetings,
First of all thanks for all the hard work,
I was wondering why my personal theme changes back to default.
How do i save it so it will boot with the selected theme,
when i logout now and refresh the befault theme boots up and not the theme i set.
Currently the image size is 467mb, @Xuxe do you have any ideas how we can reduce it?
Other unofficial docker images for the SinusBot are only an half of that size: 260mb.
Thanks :)
Hello, I'm wondering how can I set my license (private.dat) to my sinusbot container ?
Thanks
Adrien
Hello, I have been trying to update from my beta16 to the latest 1.0.2 docker image. However it keeps staying on starting and then it does not work and goes to unhealthy, also tried on other machines but no luck. Any ideas?
Hey guys!
Firstly I must thank you for this realy nice music bot with a realy nice web gui!
So let's get back to my question: Is Ldap support planed? or/and can it be implementet in near future?
I have a global ldap server for my staff to login to our systems.
This makes the administration effort extremely easy for me and my admins.
Some draft for the implementation of the Speech Synthesis would be:
New docker registry tags:
These should contain the correct config.ini
handling and the ChromiumOS tts files.
I already wrote everything about it here: SinusBot Forum
Hi there,
since you dont have an official project for the SinusBot and I'm using the docker-version I thought I'd open it here.
So I was already running a TS3 instance on the bot, and everything is going fine (with control via TS3 etc). Now I added a Discord one to try some things out. Set everything up, added the bot to a server etc.
It even reacts to commands written in any chat. BUT even though it reacts (performs e.g. !stop) it wont respond. E.g. when using !playing, nothing is written in that channel by the bot, but when PM'ing the bot, it will respond.
I've checked the permissions and the bot should be able to send messages.
Reconnecting and restarting didnt fix it.
Im glad to provide more info if needed :) Thanks in advance
When you install the Bot for the first time, the default scripts are not in the volume.
ADD
also allowed an URL afaik)I started the sinusbot container using the following docker compose file:
version: "3.7"
services:
sinusbot:
image: sinusbot/docker
restart: unless-stopped
ports:
- 8087:8087
volumes:
- ./scripts:/opt/sinusbot/scripts
- ./data:/opt/sinusbot/data
and the standard docker-compose up
command
all I get in the logs is the following:
sinusbot_1 | Updating youtube-dl...
sinusbot_1 | youtube-dl is up-to-date (2020.09.14)
sinusbot_1 | User ID: 0
sinusbot_1 | Change file owner...
sinusbot_1 | Drop privileges...
sinusbot_1 | Starting SinusBot...
sinusbot_1 | PID: 11
sinusbot_1 | setpriv: libcap-ng is too old for "all" caps
it stops there
the instance is located behind an nginx reverse proxy using the config file from the documentation
if I try to connect to it, I only get an application/octet-stream
answer, instead of the bot page
I even tried the tag 1.0.0-beta.10-202ee4d
, same issue there
Hello,
if I am running:
docker run -d --name sinusbot --restart=always -p 8087:8087 -v scripts:/opt/sinusbot/scripts -v data:/opt/sinusbot/data sinusbot/docker
I don't get this info:
[...]
-------------------------------------------------------------------------------
Generating new bot instance with account 'admin' and password 'YOUR_PASSWORD_HERE'
PLEASE MAKE SURE TO CHANGE THE PASSWORD DIRECTLY AFTER YOUR FIRST LOGIN!!!
-------------------------------------------------------------------------------
[...]
and if I do it with the override env I can't login in either with admin and my env password.
Here is the log from a new generated container:
6/29/2018 4:55:57 PM Copied original scripts to the volume
6/29/2018 4:55:57 PM Updating youtube-dl...
6/29/2018 4:55:59 PM Updating to version 2018.06.25 ...
6/29/2018 4:56:03 PM Updated youtube-dl. Restart youtube-dl to use the new version.
6/29/2018 4:56:03 PM youtube-dl updated
6/29/2018 4:56:03 PM Starting SinusBot...
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/!!!!!!!] WARN !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!!
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 X [MAIN] Starting up fake x-server...
6/29/2018 4:56:03 PM ___ ___ _ _ _ _ ___ ___ ___ _____ BETA
6/29/2018 4:56:03 PM / __|_ _| \| | | | / __| _ )/ _ \_ _|
6/29/2018 4:56:03 PM \__ \| || .` | |_| \__ \ _ \ (_) || |
6/29/2018 4:56:03 PM |___/___|_|\_|\___/|___/___/\___/ |_|
6/29/2018 4:56:03 PM
6/29/2018 4:56:03 PM Version: 0.13.37-f7e9ece
6/29/2018 4:56:03 PM (C) 2013-2017 Michael Friese. All rights reserved.
6/29/2018 4:56:03 PM
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin advertising.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin alonemode.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin bookmark.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin followme.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin norecording.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin rememberChannel.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/SCRIPTS] INFO Loading ScriptPlugin welcome.js
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 2892373d INFO Loading instances
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 2892373d INFO Loading instance://14c9410e-1e44-400d-a32f-c7849eb4a04e
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 2892373d 14c9410e INFO Initialization complete
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/FFMPEG ] INFO FFmpeg/avcodec v3741798; license: LGPL version 2.1 or later; 81 codecs
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/FFMPEG ] INFO FFmpeg/avformat v3742052; license: LGPL version 2.1 or later; 143 formats
6/29/2018 4:56:03 PM 2018/06/29 14:56:03 [GENERAL/YTDL ] INFO youtube-dl checking...
6/29/2018 4:56:04 PM 2018/06/29 14:56:04 [GENERAL/YTDL ] INFO youtube-dl version compatible, support enabled
6/29/2018 4:56:04 PM 2018/06/29 14:56:04 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
6/29/2018 4:56:05 PM 2018/06/29 14:56:05 [GENERAL/RADIO ] INFO RadioStation data loaded
6/29/2018 4:56:05 PM 2018/06/29 14:56:05 [GENERAL/RADIO ] INFO Imported radio stations
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.