Jeeaaasus / youtube-dl

Automated yt-dlp Docker image
https://hub.docker.com/r/jeeaaasustest/youtube-dl/
MIT License
266 stars 34 forks source link

Questions about webui mode #31

Closed PDSCi996 closed 2 years ago

PDSCi996 commented 3 years ago

Thank you very much for your hard work. I see that there is already a webui container on dockerhub. I downloaded and started it, but there is no setting in the port setting. I don’t know how to start the graphical interface of this container. I hope there are specific instructions. Thanks a lot.

Jeeaaasus commented 3 years ago

Yeah you could try it out, it's not finished, not stable, not documented, might not work and definitely not beautiful. You need to expose port 8080 from the container to access the webpage.

You do this by adding -p <PORT>:8080 to your docker run command. with <PORT> being the port you want to access it on, this port cannot be used by another service.

Example:

docker run -d \
    --name youtube-dl-beta \
    -v youtube-dl-beta_data:/config \
    -v <PATH>:/downloads \
    -p 80:8080 \
    jeeaaasustest/youtube-dl:webui-beta

And you would access it on http://<IP>:80. If the container is running on your local machine that would be http://localhost:80.

PDSCi996 commented 3 years ago

Thank you for your prompt reply. The container does have bugs, and errors continue to appear. The error code is as follows. bug

Jeeaaasus commented 3 years ago

I'm changing the inside port to 8080. -p <PORT>:8080 Adjust your run command and try again with the updated image.

PDSCi996 commented 3 years ago

Thank you very much for your effort. The container has been successfully started, and it can also operate as if there is no graphical interface, but after I fill in a certain YouTube address in the address bar and click the downlaod button, an error appears. The code is as follows. I tried more than one. The video addresses all have the same error. 错误代码

PDSCi996 commented 3 years ago

Hello, today I updated weiui's latest container, but found that it can’t be used anymore. All of the “Args”, “Archile” and “Channels” in the “EDIT” option can’t be opened, and it prompts “Internal Server Error”. Fill in the YouTube connection in the address bar Clicking "Download" also prompts the same error. I checked the logs again and took screenshots of a few logs indicating errors for reference. There is also a small suggestion, whether it is possible to temporarily keep the previous version for a period of time when updating the container to prevent the embarrassing situation that the new container cannot be used with new defects. Thank you again for your hard work. 错误1 错误2 错误3 错误4

Jeeaaasus commented 3 years ago

I don't know why you would be having file permission issues, the change was not anything remotely related to that. All permissions should be fixed on startup.

You don't have to delete the old image. You could save the old image when you update and then later go back.