marcopeocchi / yt-dlp-web-ui

A terrible web ui and RPC server for yt-dlp. Designed to be self-hosted.
GNU General Public License v3.0
820 stars 85 forks source link

Cant run on synology nas #4

Closed KimPig closed 2 years ago

KimPig commented 2 years ago

Hello, before I go in, this could be my problem.

I am using Docker on Synology NAS.

However, when I run it, an X is displayed at the bottom and there is no response even when I press the start button. Is there anything I set wrong?

image image image

marcopeocchi commented 2 years ago

Hello! This could be due to the fact that the local storage is empty, as you can see there's no server address specified (it says not specified). I will release a fix for this.

In the meantime you can set the local IP address of your NAS In the settings (instead of localhost). E.g. my NAS is located by 192 168.1.200 so on the first run I had to changed it in the settings.

KimPig commented 2 years ago

I found that it was a problem with the synology reverse proxy, So I accessed with an IP address, not a domain, and confirmed that it was connected to the websocket. However, even if I press download, it doesn't download without a reaction. This is my log

image

marcopeocchi commented 2 years ago

Ok, if the process spawns (with no errors) and nothing happens on page it need further investigations.

I will suggest you to wait a little more to see any progess to show on page. yt-dlp takes a lot of time to fire-up especially on low-power hardware or on rather slow mechanical storage.

In my case i have a nas with a quad-core intel atom and from the time i press start to the time i see the progress on page it takes 10-15 seconds; on a Xeon E5 but with an HDD takes from 5 to 8 seconds (even if it has a way powerful cpu); on my laptop with a ryzen 5 and nvme storage it's pratically istantaneous.

TLDR: fast storage plays a key role.

deluxghost commented 2 years ago

we need to check the exit code and print output of ytdlp, otherwise its hard to debug ytdlp side problems

archtaurus commented 2 years ago

My synology is 918+, and this image works fine on it.