whatdaybob / sonarr_youtubedl

A Sonarr companion script to allow the automatic downloading of web series normally not available for Sonarr to search for. Using Youtube-DL it allows you to download your webseries from the list of supported sites.
109 stars 36 forks source link

No files being created? #2

Open danesanford opened 3 years ago

danesanford commented 3 years ago

Firstly, let me say that this docker has the beginnings of being incredible! I use sonarr with plex and recognize the failings in sonarr (even with jackett) to download specials and youtube content.

Having said that, I do have 1 problem that I cannot figure out (even with scouring the net and trying to guess at youtubedl settings.

I recognize in the log file that everything looks like it is working well and downloading files from youtube, but there is NO file creation happening!?

I'm running the docker in unraid.

I'm assuming it has something to do with the puid and pgid? I think your docker doesn't set the privileges to root?

Please advise! And let me know how to upload you any files or debug info you may want to troubleshoot this.

Thanks!

whatdaybob commented 3 years ago

Hi @danesanford. I have personally never ran the docker daemon as root and always created a docker user to run it as. In short inside my docker I create an abc user so that the program is not ran as root. The file permission should be set to the same user that runs docker so in your case root.

Can you share both your compose or run line for sonarr and this docker please. Just want to make sure that the directory matches up first before we diagnose further.

whatdaybob commented 3 years ago

Just in regard to the non root docker user https://docs.docker.com/engine/security/rootless/ if you were interested why I have mine setup the way I do and also why I enforce a none root user inside my dockerfile.