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.

Media Directory Gone

Featured Replies

I came down to my unraid this morning and my media directory is empty. When I check the data on the 4 disks I have I can see the proper media directory with all the media.

 

All other directories are fine.

 

Is there any way to restore this? or do I have to pull the media from the disks?

Tools - Diagnostics, attach complete zip to your next post.

15 minutes ago, tulathirac said:

do I have to pull the media from the disks?

No this won't work because that isn't how Unraid works. Don't do anything without further advice

 

Likely you have filesystem corruption on cache or some other disk included in the share and it's breaking the user shares.

Can you do from the command prompt

ls -ail /mnt/user


 

It appears from the diagnostics that you have a Media share and a media share which will play havoc with Network access

  • Author

From the Server itself?

yes  either on the local attached monitor or via ssh.

 

Alternatively, you can also repost the diagnostics but deselect the "Anonymize" button  Probably best to do the former, as I don't know what else may be in the syslog that you don't want seen.

  • Author

I ran that line in the Command prompt on the server. I am showing 2 media directories
"media"

and

"Media"

I think the one that has all the files is Media.

 

If you 

mv /mnt/user/media /mnt/user/media-other


 

Everything should start working perfectly for you.

 

But, you've probably got (or had) a docker application that you inadvertently mapped a path mapping of /mnt/user/media which wound up creating it

(and check your path mappings on the containers.  If that mapping is still there, then next stop / start of the array, the problem will just happen again)

To further explain why this happened, linux is case-sensitive. If you specify "Media" and also specify "media", you are specifying different things. But, SMB (Windows, for example) isn't case sensitive. So it will only show you one of those.

 

Make sure you go through all of your container settings and make them consistent, and also go through all of the applications in your dockers and make them consistent. You must do this or you will continue to create these problems for yourself.

  • Author

So it renamed the directory to "media-other" however I have lost permissions to the "Media" folder

 

Just now, tulathirac said:

So it renamed the directory to "media-other" however I have lost permissions to the "Media" folder

 

Tools - Docker Safe New Permissions.

Windows may still be confused a stop and start of the array should fix you (but check the mappings like@trurl suggests otherwise it may happen again)

Sent from my SM-A530W using Tapatalk

8 minutes ago, trurl said:

Tools - Docker Safe New Permissions.

unRaid 6.3.5 so no CA, so no FCP.

 

@tulathirac, after everything gets sorted out, would be wise to update to unRaid 6.6 and then install Community Applications followed by installing Fix Common Problems (install via the Apps tab).  It would have caught this problem and alerted you to it.

  • Author

That worked!! The Media directory is back with all the proper content. 

 

Thanks everyone for your help with this one!!

  • Author

I will work on getting this upgraded to 6.6 ASAP.

Archived

This topic is now archived and is closed to further replies.

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.