[Unraid 6.11] Sonarr/Radarr: "Failed to get runtime from the file, make sure mediainfo is available" and "Unable to open media info from file"


ksp

Recommended Posts

OS: Unraid 6.11 (everything was working fine on 6.10.x)

 

Steps to reproduce: Download from sonarr or radarr.

 

Expected result: File should be imported automatically after download.

 

Actual result: Sonarr reports two errors (related to each other). 

11:33am	DetectSample			Failed to get runtime from the file, make sure mediainfo is available
11:33am	VideoFileInfoReader		Unable to open media info from file: /home/(removed)/files/completed/<file>.mkv

 

Additional info: My setup is a bit more complicated than the normal (but everything prior to updating has been working just fine). Sonarr/radarr (unraid) are connected to a seedbox (remote) that downloads the media, my script syncs the completed downloads back to unraid server and then sonarr/radarr pick it up from there and auto-import.

 

In unraid 6.10.x, my script was changing the permissions (after syncing) to 777 so that sonarr could pick it up. It seems like that behavior doesn't work in 6.11 or something else is broken? I can't get to the bottom of it, but the main issue is sonarr/radarr do not seem to have sufficient permissions to the download folder even though I have pretty much confirmed that the download folder is as open as it can be. No permissions are even touched on the appdata side, only on the download share.

 

I'd really appreciate if anyone could shed light on the direction I should take to try and troubleshoot this again. I learned about permission changing the download share when I first set up the server through trial and error but don't know where to go from here.

 

Thanks!

Link to comment
15 minutes ago, jmztaylor said:

Try running the command manually.  Open console for sonarr or radarr and run

 

mediainfo /home/(removed)/files/completed/<file>.mkv

 

Obviously with a proper file.  This might give you more info.

Just tried this and it works just fine when I'm in the console for sonarr/radarr. That's confusing...

 

Something is definitely wonky with permissions because even manual import doesn't work within the sonarr UI. The completed files folder gets 777 once the files are finished syncing so permissions should be wide open right? This was working before so why is it not anymore 😧

Edited by ksp
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.