• 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 File not found !yt

Status
Not open for further replies.

Hamdoulah

Member
Hello.

I have this error : Download failed for https/www.youtube.com/watch?v=20f8kHH4oHA; file not found

ytdl Is well configured, up to date and is executable.

NOTE : !yt work for soundcloud

My config file :

TS3Path = "/home/ts3bot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/home/ts3bot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 3
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "0A+XtEogsdFrGUXrB2h8UJ29cVXB7Ew/BgWLXwjEHCQ="
IsProxied = false
DenyStreamURLs = []
Pragma = 0
[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
CacheStreamed = false
[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0
AllowGIF = false

[StreamRewrites]

[Scripts]
AllowReload = false
EnableTimer = false

[Themes]
Default = ""

[SpeechRecognition]
Enable = false

[FFmpeg]
UserAgent = "SinusBot (0.9.16-10f0fad)"

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false

[XServer]
Delay = 0
Debug = false
 

mxschmitt

Moderator
Staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
try
Code:
apt-get install python-pip && pip install youtube-dl --upgrade
 

Hamdoulah

Member
Solution found! Just create a file in /home/BOTUSER/.config/youtube-dl/config and put in "--force-ipv4", do not forget to change the owner of the file if created in root
 
Last edited:

pa3ck

Active Member
I'm having the same problems as you did, however, I tried your solution but due to my server is only for couple of people, I'm running the bot as root. I created the config file inside ~/.config/youtube-dl and put the "config" named file inside there with the "--force-ipv4". Any idea why am I still having this "file not found" problem?
 

Hamdoulah

Member
I'm having the same problems as you did, however, I tried your solution but due to my server is only for couple of people, I'm running the bot as root. I created the config file inside ~/.config/youtube-dl and put the "config" named file inside there with the "--force-ipv4". Any idea why am I still having this "file not found" problem?
The file is in /root/.config/youtube-dl? You restarted the bot (by killing the task completely)?
 

pa3ck

Active Member
The file is in /root/.config/youtube-dl? You restarted the bot (by killing the task completely)?
Yes, I did all of those yesterday, but it just didn't work so I didn't bother trying anymore. I just tried it today and it started working again... (Ubuntu 16.04 64bit)
 
Status
Not open for further replies.
Top