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.

[SOLVED] SMB Shares disappeared

Featured Replies

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 by lorem
Solved issue.

  • Community Expert

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.

  • Author

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. 

 

Screen Shot 2020-10-25 at 5.24.14 PM.png

Screen Shot 2020-10-25 at 5.24.55 PM.png

Edited by lorem
Wrong screenshot attached

  • Community Expert

From the Unraid command line, what do you get with this?

ls -lah /mnt

 

  • Author

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/

 

  • Community Expert

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/

 

  • Author

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?

  • Community Expert

Reboot in SAFE mode.

  • Author

Rebooted into SAFE mode and still don't see shares. 

Also, thank you for all this help troubelshooting

  • Community Expert

Disable docker service (Settings - Docker) and reboot. 

 

 

  • Author

Disabled Docker and tried in both SAFE mode and regular boot. Still no shares. =(

  • Community Expert

Stop the array then post the output of

ls -lah /mnt

 

  • Author

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

 

  • Community Expert

Start the array and post the results of the command again.

  • Author

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/

 

  • Community Expert

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?

  • Author

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. 

  • Community Expert
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?

  • Author

It is not. If it's helpful at all, I can access the Shares via SFTP, it's just SMB that is borked. 

  • Community Expert

Post a screenshot of Settings - SMB - SMB Extras

  • Author

Nothing in that section

Screen Shot 2020-10-25 at 8.55.14 PM.png

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.