Ts3soundboardbot /Sinusbot - more instances [for Ubuntu]

Bluscream

Retired Staff
Contributor
Joined
May 8, 2015
Messages
967
Reaction score
934
Points
211
Thanks to r4p3.net @Qraktzyl and Thanks to VeltroGaming!

Debian 7/8 Install :

First the Docker-Engine (For More https://docs.docker.com/engine/installation/linux/debian/ )

apt-get update
apt-get install apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D

Open the /// nano /etc/apt/sources.list.d/docker.list /// file in your favorite editor. (I use nano)
Remove any existing entries.

Add an entry for your Debian operating system.

The possible entries are:

On Debian Wheezy (7)

deb https://apt.dockerproject.org/repo debian-wheezy main
On Debian Jessie (8)

deb https://apt.dockerproject.org/repo debian-jessie main
On Debian Stretch/Sid

deb https://apt.dockerproject.org/repo debian-stretch main


apt-get update

sudo apt-get install docker-engine (If you have an Error with init-system-helpers make following)

For the error ONLY Leave it when you have no ERRORS!:

init-system-helpers (missing dependency) can be installed from backports repo.

Just add deb http://http.debian.net/debian wheezy-backports main

at the end of /etc/apt/sources.list and

apt-get update && apt-get install init-system-helpers && apt-get install docker-engine

sudo service docker start
sudo docker run hello-world

adduser tsbot
sudo usermod -aG docker tsbot
cd /home/tsbot/
mkdir mydockerscript
wget https://github.com/VeltroGaming/sinusbot/archive/master.zip
apt-get install unzip
unzip master.zip
chmod +x entrypoint.sh
docker build -t ts3soundboard098 /home/tsbot/mydockerscript/sinusbot-master/
su tsbot
cd /home/tsbot//mydockerscript/sinusbot-master/
START DOCKERS/SINUSBOT INSTANCES!

docker run --restart=always -d --name bot1 -p 8087:8087 ts3soundboard098

docker run --restart=always -d --name bot2 -p 8088:8087 ts3soundboard098

docker run --restart=always -d --name bot3 -p 8089:8087 ts3soundboard098

docker run --restart=always -d --name bot4 -p 8090:8087 ts3soundboard098

docker run --restart=always -d --name bot5 -p 8091:8087 ts3soundboard098

Change 8091 to 8092 if you want a 6 container running... Also change the name of the container to bot6. And so on...
 

Joxiii

Discord hater!
Joined
Feb 2, 2016
Messages
271
Reaction score
183
Points
92
You are right but is it only for 2 Bots at 1 Port :D
 

Kaptan647

Retired Staff
Contributor
Joined
Apr 25, 2015
Messages
314
Reaction score
395
Points
112
help pls install
There is a quide for installation in thread. You should read it carefully before asking any help. If you have a problem then specify it correctly. Nobody will help you if you just write "help pls install"
 

Joxiii

Discord hater!
Joined
Feb 2, 2016
Messages
271
Reaction score
183
Points
92
There is a quide for installation in thread. You should read it carefully before asking any help. If you have a problem then specify it correctly. Nobody will help you if you just write "help pls install"
I installed it ^^
 

iNulleD

Member
Joined
Mar 13, 2016
Messages
19
Reaction score
2
Points
38
As lap youtube -dl already made the instalção more youtube -dl does not work?
 

FlO0

Restricted
Joined
Jan 28, 2016
Messages
42
Reaction score
7
Points
43
Is there scrpit ready to create pages with YouTube -DL ?
 

Qraktzyl

Retired Staff
Contributor
Joined
Nov 2, 2015
Messages
997
Reaction score
723
Points
161
Depends which script you are talking about, for 0.9.8 I don't know but for 0.9.5 youtube-dl is installed. You just need to add the path to your config.ini file:

/usr/local/bin/youtube-dl
 

Tavinlol

Member
Joined
Apr 21, 2016
Messages
7
Reaction score
0
Points
33
t7vdPNN.png

Had installed before installing however is not now but.
 

Tavinlol

Member
Joined
Apr 21, 2016
Messages
7
Reaction score
0
Points
33
I reinstalled the lbzip2 and bzip2 and the error persists , I reinstalled the operating system several times and the error persists
=/
 

Darkie

Member
Joined
Aug 21, 2015
Messages
4
Reaction score
5
Points
35
You dont really need lbzip2, just unpack the sinusbot and tar it again(name should be .tar),upload it somewhere, replace the url and set the untar command to
Code:
tar -xvf- -C "$SINUS_DIR"
 

Tavinlol

Member
Joined
Apr 21, 2016
Messages
7
Reaction score
0
Points
33
I tried to extract using a file on the server (local file) and try using another link to download in tar and an error occurs.

Code:
tar: /opt/ts3soundboardbot-0.9.5.tar.bz2: Can not open: No such file or directory
tar: Error is not recoverable: exiting now

Since I can extract the file normally without script dockerfile
 

Tavinlol

Member
Joined
Apr 21, 2016
Messages
7
Reaction score
0
Points
33
I tried to copy a folder already extracted without success ...
Can you help me?
apt-get install lbzip2
OR
apt-get install bzip2

You dont really need lbzip2, just unpack the sinusbot and tar it again(name should be .tar),upload it somewhere, replace the url and set the untar command to
Code:
tar -xvf- -C "$SINUS_DIR"
 

Darkie

Member
Joined
Aug 21, 2015
Messages
4
Reaction score
5
Points
35
You need to repack it as .tar and put it on a http server
 

Tavinlol

Member
Joined
Apr 21, 2016
Messages
7
Reaction score
0
Points
33
You need to repack it as .tar and put it on a http server

thanks for the help so far managed to install however when I try to connect the bot the error occurs:

Code:
2016/04/29 04:48:54 fe85a448 eb94c204 INFO   Starting instance ts3server://MYIP?port=10004&nickname=TS3SB-Demobot&password=&channel=&channelpassword=
2016/04/29 04:48:54 fe85a448 eb94c204 INFO   TSClient quit.

Note: Without docker works normally what can be?
 
Last edited:
Top