• 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.
Sinusbot Installer Script

EN Sinusbot Installer Script 1.5

No permission to download

ByAsker

Member
Failed to set ntp: NTP not supported
Command which failed was: " timedatectl set-ntp yes". Please try to execute it manually and attach the output to the bug report in the forum thread.
Hala çalışmıyorsa, bunu yalnızca https://forum.sinusbot.com/threads/sinusbot-installer-script.1200/ adresinden yazara bildirin. Bir PN veya kötü bir inceleme değil, çünkü bu, yükleyici komut dosyasından değil, sisteminizden kaynaklanan bir hatadır. Hat 686. hatayı veriyor
 

zumi

Active Member
I ran into issues while installing using Ubuntu Server 24.04.
Heres a fix if anyone else has errors during installation. After running the installer, you get a error that the package installation was not successful. Download the installer locally and modify the package installation line to:

apt-get install -y --no-install-recommends libfontconfig libxtst6 screen xvfb libxcursor1 ca-certificates bzip2 psmisc libglib2.0-0 less python3 iproute2 dbus libnss3 libegl1-mesa-dev x11-xkb-utils libasound2t64 libxcomposite-dev libxi6 libpci3 libxslt1.1 libxkbcommon0 libxss1

Teamspeak bot client wont start without installing:

apt install libxdamage1
 

attax420

New Member
I normally would recommend to use the official sinusbot docker image, but unfortunately it is outdated and requires you to compile a newer python version inside the container to get it running and a lot of the packages are very outdated.
But because you are very lucky today, I went through the hassle to recompile python on the container and replace the existing python 3.7 with a much newer python 3.11.10 so it should be futureproof for a while. I also updated yt-dlp and all packages inside the container. The default admin password is generated on first start of the container, just check your logs or attach to the container so you can see it. Otherwise you always can run the container with the "OVERRIDE_PASSWORD" env set to the desired admin password.

You can pull the image and start the container by entering:
Bash:
"docker run -v scripts:/opt/sinusbot/scripts \
-v data:/opt/sinusbot/data attax/sinusbot:2024_09"
in your webserver terminal.

The bot listens on port 8087 for http traffic so i would strongly advise to put the container behind a reverse proxy (apache2, nginx, traefik, etc.) and enforce HSTS. You obviously need a SSL certificate, which you can either generate yourself or get from LetsEncrypt.

I would recommend to use the "nginx-proxy" and "nginx-proxy-acme" docker containers to automate the process.
In this case just add the following variables for the sinusbot container:
Bash:
VIRTUAL_HOST="bot.yourdomain.com"
LETSENCRYPTHOST="bot.yourdomain.com"
VIRTUAL_PORT="8087"

Here is a short example on how to run the container so it is accessible via bot.mydomain.com, the admin password set to "1234" and automatically deployed HTTPS with enforced HSTS via a free LetsEncrypt cert. After installing docker and all dependencies just run the following commands in the terminal. Make sure nothing else is running on port 80 or 443, otherwise you have just have to replace the ports in the first command with the disired ones (only change the first number, so if you want to use port 8080 instead of 80 it is "8080:80". Also dont forget to replace mydomain.com with you own domain.

IMPORTANT: I would strongly recommend to add an A record to your dns server with the host "*" poitnting to the ip of your server, otherwise it might come to issues.

Bash:
 docker run --detach \
--name nginx-proxy \
--publish 80:80 \
--publish 443:443 \
--volume certs:/etc/nginx/certs \
--volume html:/usr/share/nginx/html \
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
    nginxproxy/nginx-proxy

Bash:
docker run --detach \
--name nginx-proxy-acme \
--volumes-from nginx-proxy \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
--volume acme:/etc/acme.sh \
--env "DEFAULT_EMAIL=[EMAIL][email protected][/EMAIL]" \
    nginxproxy/acme-companion

Bash:
docker run -e VIRTUAL_HOST="bot.mydomain.com" \
-e LETSENCRYPT_HOST="bot.mydomain.com" \
-e VIRTUAL_PORT="8087" \
-e OVERRIDE_PASSWORD="1234" \
-v scripts:/opt/sinusbot/scripts \
-v data:/opt/sinusbot/data \
attax/sinusbot:2024_09

Feel free to ask any questions you might have.

Kind regards,

aTTaX420
 
Last edited:

fastboot

New Member
Linux Public 6.8.12-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-4 (2024-11-06T15:04Z) x86_64 x86_64 x86_64 GNU/Linux

Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

E: Unable to locate package libegl1-mesa
E: Package 'libasound2' has no installation candidate
Command which failed was: " apt-get install -y --no-install-recommends libfontconfig libxtst6 screen xvfb libxcursor1 ca-certificates bzip2 psmisc libglib2.0-0 less python3 iproute2 dbus libnss3 libegl1-mesa x11-xkb-utils libasound2 libxcomposite-dev libxi6 libpci3 libxslt1.1 libxkbcommon0 libxss1". Please try to execute it manually and attach the output to the bug report in the forum thread.
If it still doesn't work report this to the author at https://forum.sinusbot.com/threads/sinusbot-installer-script.1200/ only. Not a PN or a bad review, cause this is an error of your system not of the installer script. Line 635.
 

fastboot

New Member
Linux Public 6.8.12-4-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-4 (2024-11-06T15:04Z) x86_64 x86_64 x86_64 GNU/Linux


Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble



E: Unable to locate package libegl1-mesa
E: Package 'libasound2' has no installation candidate

Command which failed was: " apt-get install -y --no-install-recommends libfontconfig libxtst6 screen xvfb libxcursor1 ca-certificates bzip2 psmisc libglib2.0-0 less python3 iproute2 dbus libnss3 libegl1-mesa x11-xkb-utils libasound2 libxcomposite-dev libxi6 libpci3 libxslt1.1 libxkbcommon0 libxss1". Please try to execute it manually and attach the output to the bug report in the forum thread.

If it still doesn't work report this to the author at https://forum.sinusbot.com/threads/sinusbot-installer-script.1200/ only. Not a PN or a bad review, cause this is an error of your system not of the installer script. Line 635.
 

fastboot

New Member
E: Package 'libasound2' has no installation candidate
E: Package 'libasound2' has no installation candidate
root@Public:~/sinusbot# sudo apt-get install libasound2t64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libasound2t64 is already the newest version (1.2.11-1build2).
libasound2t64 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
 

fastboot

New Member
Hello everyone,

I'm currently trying to set up an online radio for my TeamSpeak 3 server and I believe an older version of SinusBot would be more compatible with my setup. Could anyone guide me on how to download an older version of SinusBot for TeamSpeak 3?

Any help or pointers would be greatly appreciated!

Thank you in advance!
 
Top