alexta69 / metube

Self-hosted YouTube downloader (web UI for youtube-dl / yt-dlp)
GNU Affero General Public License v3.0
4k stars 263 forks source link

MeTube Docker has to be restarted daily. #274

Open wabragg opened 1 year ago

wabragg commented 1 year ago

Once the container is running for more than about a day, I get the following error when I try to add a link for DL.

For example, the link "https://dai.ly/x8lh1zo" gives ...

... Error adding URL: ERROR: [dailymotion] x8lh1zo: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U ...

If I re-start the container, the link adds and DL's just fine. This leads me to believe it's a container issue and not a Youtube-DL issue.

PikuZheng commented 1 year ago

try to set "cachedir":false in ytdl options?

wabragg commented 1 year ago

I have set YTDL_OPTIONS = { "cachedir" : false } in docker and have restarted the container. I'll have to wait 24 hours to test and see if this resolves the issue.

Thanks for the suggestion.

wabragg commented 1 year ago

This option did not solve the issue.

PikuZheng commented 1 year ago

Are you using cookies for this website?