tulathirac Posted November 13, 2018 Share Posted November 13, 2018 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? Link to comment
trurl Posted November 13, 2018 Share Posted November 13, 2018 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. Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 Thank you for taking a look at this, Much appreciated tower-diagnostics-20181113-0721.zip Link to comment
Squid Posted November 13, 2018 Share Posted November 13, 2018 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 Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 From the Server itself? Link to comment
Squid Posted November 13, 2018 Share Posted November 13, 2018 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. Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 I ran that line in the Command prompt on the server. I am showing 2 media directories "media" and "Media" Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 New Diag with deselected "Anonymize" tower-diagnostics-20181113-0820.zip Link to comment
Squid Posted November 13, 2018 Share Posted November 13, 2018 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 Link to comment
Squid Posted November 13, 2018 Share Posted November 13, 2018 (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) Link to comment
trurl Posted November 13, 2018 Share Posted November 13, 2018 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. Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 So it renamed the directory to "media-other" however I have lost permissions to the "Media" folder Link to comment
trurl Posted November 13, 2018 Share Posted November 13, 2018 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. Link to comment
Squid Posted November 13, 2018 Share Posted November 13, 2018 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 Link to comment
Squid Posted November 13, 2018 Share Posted November 13, 2018 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. Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 That worked!! The Media directory is back with all the proper content. Thanks everyone for your help with this one!! Link to comment
tulathirac Posted November 13, 2018 Author Share Posted November 13, 2018 I will work on getting this upgraded to 6.6 ASAP. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.