lorem Posted October 25, 2020 Share Posted October 25, 2020 (edited) Hi folks! Odd problem that I was hoping someone might have some experience with or be able to point me in the right direction. I've suddenly lost all the Shares from my server except 'flash'. I had multiple smb shares set up for movies, tv shows, Time Machine, etc. and suddenly they are all missing. I did wake up one morning to my server being shut down, despite my UPS, but I don't see any obvious problems with hard drive SMART status. Anyone have any ideas? Things I've tried based on Googling around and reading past forum posts from here. - Tried accessing smb shares from other devices to no avail - Rebooting into safe mode to disable all plugins and docker containers (no shares shown even in safe mode) - Check Filesystem Status for each disk via GUI (nothing shown) - Reviewing syslog.txt (Nothing popped out, but I'm not 100% sure what I'm looking for so I could have easily missed something stupid obvious) - Update to Unraid 6.9.0-beta30 Under none of the above circumstances was I ever able to see my Shares via the GUI or via Finder on my Mac. Any help anyone might be able to provide is hugely appreciated. Diagnostics zip attached. Thanks! ------------[SOLVED]--------------- Fixing the SMB Permissions solved this issue for me. Tested rebooting and shares continue to show up. Unsure exactly how they got so borked, but just glad to have everything working again. gm-server-diagnostics-20201025-1558.zip Edited October 31, 2020 by lorem Solved issue. Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 According to your diagnostics, you do have user shares. All disks mounted as well as user shares. Not seeing shares in the webUI is commonly a symptom of a browser problem, such as an adblocker or something interfering. Whitelist your server. Not sure about not seeing them on the network, could be a separate issue with the client computer or network. Post screenshots showing the problems. Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 (edited) Thanks for taking a look. Logged in via web GUI on Chrome (default), firefox, and Safari. Neither Firefox or Safari have any extensions installed at all. Confirmed on multiple different computers on the network that I can't see the smb shares. Also, weirdly enough, attempted to add a test share via web GUI with no luck. Attempting to add a new Test share just ends up at the "share deleted" confirmation page. Screenshots attached. Edited October 26, 2020 by lorem Wrong screenshot attached Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 From the Unraid command line, what do you get with this? ls -lah /mnt Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Output from unraid terminal Quote ls -lah /mnt drwxr-xr-x 10 root root 200 Oct 25 15:12 ./ drwxr-xr-x 20 root root 440 Oct 25 17:28 ../ drw-r--r-- 1 nobody users 70 Oct 25 15:22 cache/ drw-r--r-- 14 nobody users 274 Oct 25 15:22 disk1/ drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk2/ drw-r--r-- 12 nobody users 240 Oct 25 15:22 disk3/ drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk4/ drwxrwxrwt 2 nobody users 40 Oct 25 15:12 disks/ drw-r--r-- 1 nobody users 274 Oct 25 15:22 user/ drw-r--r-- 1 nobody users 274 Oct 25 15:22 user0/ Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 That is all wrong. Any idea how it got that way? Should be drwxr-xr-x 12 root root 240 Oct 6 14:11 ./ drwxr-xr-x 20 root root 420 Oct 23 06:14 ../ drwxrwxrwx 1 nobody users 62 Oct 25 04:40 cache/ drwxrwxrwx 3 nobody users 16 Oct 25 04:40 disk1/ drwxrwxrwx 3 nobody users 27 Oct 25 04:40 disk2/ drwxrwxrwx 6 nobody users 75 Oct 25 04:40 disk3/ drwxrwxrwx 9 nobody users 119 Oct 25 04:40 disk4/ drwxrwxrwt 3 nobody users 60 Oct 6 14:11 disks/ drwxrwxrwx 1 nobody users 16 Oct 25 04:40 user/ drwxrwxrwx 1 nobody users 16 Oct 25 04:40 user0/ Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Unsure. Maybe an error during an unclean shut down overnight. I was connecting using Mountain Duck on my mac, maybe that got things messed up? Any thoughts on how to fix it? Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 Reboot in SAFE mode. Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Rebooted into SAFE mode and still don't see shares. Also, thank you for all this help troubelshooting Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 Disable docker service (Settings - Docker) and reboot. Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Disabled Docker and tried in both SAFE mode and regular boot. Still no shares. =( Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 Stop the array then post the output of ls -lah /mnt Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Array stopped while in SAFE mode Quote ls -lah /mnt total 0 drwxr-xr-x 2 root root 40 Oct 5 11:43 ./ drwxr-xr-x 19 root root 400 Oct 25 19:57 ../ Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 Start the array and post the results of the command again. Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Output after starting the array again Quote ls -lah /mnt total 16K drwxr-xr-x 9 root root 180 Oct 25 20:02 ./ drwxr-xr-x 20 root root 420 Oct 25 20:02 ../ drw-r--r-- 1 nobody users 70 Oct 25 15:22 cache/ drw-r--r-- 14 nobody users 274 Oct 25 15:22 disk1/ drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk2/ drw-r--r-- 12 nobody users 240 Oct 25 15:22 disk3/ drw-r--r-- 10 nobody users 205 Oct 25 15:22 disk4/ drw-r--r-- 1 nobody users 274 Oct 25 15:22 user/ drw-r--r-- 1 nobody users 274 Oct 25 15:22 user0/ Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 We could try fixing those permissions, but I don't understand how they are getting that way to begin with. None of those folders even exist when the array isn't started, and they get automatically created when you start the array. That is all as it should be, except yours have the wrong permissions. Was any of this working before? Can you tell us what you have done since it was working? Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 This was working for months perfectly stable. I think maybe this may be related to me trying to mount the share to my Mac via Mountain Duck? Since it broke I've tried rebooting, safe mode, turning off docker, uninstalling plugins, updating the OS, and more. Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 5 minutes ago, lorem said: mount the share to my Mac via Mountain Duck? Don't know anything about that. Is that still installed on your Mac? Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 It is not. If it's helpful at all, I can access the Shares via SFTP, it's just SMB that is borked. Quote Link to comment
trurl Posted October 26, 2020 Share Posted October 26, 2020 Post a screenshot of Settings - SMB - SMB Extras Quote Link to comment
lorem Posted October 26, 2020 Author Share Posted October 26, 2020 Nothing in that section Quote Link to comment
Recommended Posts
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.