Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[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"

Featured Replies

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!

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.

  • Author
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

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.