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

Solved Can't run the bot with Youtube-DL

Status
Not open for further replies.
Hello. Whenever I try to run the bot with Youtube-DL path specified in the confi.ini, it doesn't load. It works fine if I take out the YouTubeDLPath from the config. I have tried running YoutubeDL alone and it is executable and running, but SinusBot doesn't load up with it. I load up the bot using this command:

Code:
xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

I'm running Ubuntu 14.04 64bit version. Any help will be greatly appreciated.

config.ini:

Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [179, 187, 176, 96, 105, 224, 121, 89, 132, 56, 114, 199, 155, 69, 184, 60, 40, 64, 29, 112, 99, $
EnableLocalFS = false
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 100
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"


[StreamRewrites]

Error that I get:

Code:
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
2015/12/01 12:17:26 !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!!
Could not read configuration.
xinit: connection to X server lost

waiting for X server to shut down
 
Never mind, I'm dumb. There's already a YoutubeDL option in the config.ini, and I overlooked it and typed it one more time in the config, making it overlap. It works now, sorry for the inconvenience.
 

CrAazZyMaN21

Donor
is awesome!
Hello. Whenever I try to run the bot with Youtube-DL path specified in the confi.ini, it doesn't load. It works fine if I take out the YouTubeDLPath from the config. I have tried running YoutubeDL alone and it is executable and running, but SinusBot doesn't load up with it. I load up the bot using this command:

Code:
xinit /opt/ts3soundboard/ts3bot -RunningAsRootIsEvilAndIKnowThat -- /usr/bin/Xvfb :1 -screen 0 800x600x16 -ac

I'm running Ubuntu 14.04 64bit version. Any help will be greatly appreciated.

config.ini:

Code:
TS3Path = "/opt/ts3soundboard/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = ""
ListenPort = 8087
LocalPlayback = false
SecretKey = [179, 187, 176, 96, 105, 224, 121, 89, 132, 56, 114, 199, 155, 69, 184, 60, 40, 64, 29, 112, 99, $
EnableLocalFS = false
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = ""
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
MTU = 1500
SampleInterval = 100
StartVNC = false
EnableMulticastMetadata = false
EnableWebStream = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"


[StreamRewrites]

Error that I get:

Code:
xinit: XFree86_VT property unexpectedly has 0 items instead of 1
2015/12/01 12:17:26 !!!!!!! YOU ARE RUNNING THE BOT AS UID 0 (ROOT) WITHOUT HAVING SET ANOTHER UID. THIS IS A SERIOUS SECURITY VIOLATION !!!!!!!!
Could not read configuration.
xinit: connection to X server lost

waiting for X server to shut down
I hope you KNOW WHAT YOU ARE WRITING (RunningAsRootIsEvilAndIKnowThat)
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
It doesn't work for me without running it as a sudo user.

If you not run the bot as root / not want to run it as root you do not need "- RunningAsRootIsEvilAndIKnowThat".
If you have Trouble post your logs and give us more info's look at the forums for "Read me before you post"
 
Status
Not open for further replies.
Top