Closed espensgr closed 8 months ago
zurg will first attempt to repair it
on that duration, zurg will return a File locked status on requests to fetch the file (this is only visible to the client, not present on the logs)
once it is repaired, it will be playable again
Thanks for the reply, some questions regarding that. But what if the file never is playable, then it cannot be repaired, and then you are left with an unplayable file that is "fixed"? What does the repair try to do? Does Plex skip files with this file locked status, or will it still try to analyze it?
Expected Behavior All mounted files should be able to play/stream.
Actual Behavior Mount get
WARN router Received a 503 Service Unavailable status code for file
orWARN router Received a 404 Not Found status code for file
When i try to stream it from Real-debrid it never plays their either, and when i try to download the link from Real debrid i gethttps://real-debrid.com/d/5ZPMTXZBET6B4ZBM4WTT5HQ2FE: hoster_unavailable
. So i guess the file dont exist any more or cant be served. So the mount should skip this file i guess, and not try to repair it indefinitely? Trying to redownload the torrent doesn't do anything in these cases. I guess it should only mount streamable files? Maybe with help from the/streaming/mediaInfos/{id}
endpoint in the api. Just a curl HEAD with 200 response should do it maybe. Or the/unrestrict/link
endpoint to see if it is streamable.The result of all this is that Plex tries to scan that file to get info from it, but it doesn't get that. Eventually it will go to another file, but it takes a long time. This is mostly regarding tv shows, that has so many files to index.
Detailed Steps Plex is mounted directly to the Zurg mount folders.
Operating System Linux
Environment Setup Have it setup on Elfhosted, with the Zurg and Rclone WebDAV Mount (Real Debrid via Zurg) that is mounted to a Plex pod there. So it's a kubernetes setup. zurg version: v0.9.3-hotfix.11
Logs Here is a log with items that have non streamable items that Zurg tries to repair by redownloading over and over. zurg-2024-02-19.log
Zurg Configuration This is the config elfhosted comes with, haven't changed anything, it may be improved on.
Have tried to collect enough info for this issue, but if something is missing just let me know and i will try to provide it.
This may also be a problem on the Real debrid end that there is no integrity check off the files that they sever from the api.