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) Unraid UserShare disappearing, never come back after multiple tries of rebooting

Featured Replies

Hi, experts

 

All was working fine until I clicked share tab, and noticed the all my user shares are gone. While they were unseen, all the data are still properly stored on the disk (I can still see /mnt/user/ folder and all its sub folders). But the network devices couldn't find any user shares either previously exported from nfs or smb. 

 

This is really bugging all day long. Please help!! Thanks!

 

 

mwei-nas-diagnostics-20210127-0246.zip

Edited by Wei Wei

  • Community Expert

Try booting in safe mode.

  • Author

Thanks for the timely response.

 

I tried. The problem remains. 

 

I attached the report collected from the safe-mode. 

mwei-nas-diagnostics-20210127-0309.zip

  • Author

Do you think this is related to folder permission?

 

image.thumb.png.8b03888ee3166fb5c9140408c0c912f6.png

  • Community Expert

Not spotted anything obvious yet.   It might be worth running File System Checks on the cache pool and each individual array drive?

  • Author

I am seeing some errors like

 

Jan 27 00:32:44 MWEI-NAS emhttpd: import flash device: sda Jan 27 00:32:45 MWEI-NAS emhttpd: Starting services... Jan 27 00:32:45 MWEI-NAS emhttpd: shcmd (10): /etc/rc.d/rc.samba stop Jan 27 00:32:45 MWEI-NAS nmbd[2428]: [2021/01/27 00:32:45.039804, 0] ../../source3/nmbd/nmbd.c:59(terminate) Jan 27 00:32:45 MWEI-NAS nmbd[2428]: Got SIGTERM: going down...

 

Related?

  • Author
23 minutes ago, itimpi said:

Not spotted anything obvious yet.   It might be worth running File System Checks on the cache pool and each individual array drive?

 

Ran the file system check, they all look good. Honestly, they are all new drives.

  • Community Expert

Just a thought - it is it only the Shares tab in the GUI that is mis-behaving?  For instance can you see the shares across the network.  If that is the case make sure that you have the Unraid server white-listed in any ad-blocker (or similar) you might have installed in the browser you are using.  Ad-blockers have been known to interfere with the Unraid GUI with the Shares tab one of the more frequent victims.

  • Author
1 minute ago, itimpi said:

Just a thought - it is it only the Shares tab in the GUI that is mis-behaving?  For instance can you see the shares across the network.  If that is the case make sure that you have the Unraid server white-listed in any ad-blocker (or similar) you might have installed in the browser you are using.  Ad-blockers have been known to interfere with the Unraid GUI with the Shares tab one of the more frequent victims.

 

No, all user shares are gone from the network too. But they do exist in the /mnt/user/ folder. I felt like it is an exporting related issue. 

  • Community Expert

I must admit this does seen to be something unusual :(  Since you say that it also occur when booted into Safe Mode that rules out any plugin being the cause of your issue (which would have been the other obvious potential suspects).

 

Hopefully somebody will spot something in the Diagnostics or come up with another suggestion as to what could cause this.

  • Community Expert
4 hours ago, Wei Wei said:

folder permission

Those look OK but what about a level up from there, /mnt ?

  • Author
4 hours ago, trurl said:

Those look OK but what about a level up from there, /mnt ?

 

image.thumb.png.558d6e32704a57bef655a12d3e049bca.png

  • Community Expert

No that's wrong. Don't know how it got that way. Have you tried rebooting?

  • Author

@trurl

 

Do you know what are the expected setting?

 

Perhaps, I accidentally “chown” them. I tried umount the user and user0, and then “rm -rf” to see whether the system would regenerate them back. It looked like they were recreated, that is the default settings came up after starting the array.

 

Also been rebooted many times both in normal and safe mode, but no difference.

Edited by Wei Wei

  • Community Expert
root@unSERVER:~# ls -lah /mnt
total 16K
drwxr-xr-x 13 root   root  260 Dec 19 08:43 ./
drwxr-xr-x 20 root   root  460 Jan 19 21:27 ../
drwxrwxrwx  5 nobody users 120 Dec 19 08:43 RecycleBin/
drwxrwxrwx  1 nobody users  62 Jan 27 04:40 cache/
drwxrwxrwx  4 nobody users  41 Jan 27 04:40 disk1/
drwxrwxrwx  3 nobody users  27 Jan 27 04:40 disk2/
drwxrwxrwx  6 nobody users  75 Jan 27 04:40 disk3/
drwxrwxrwx  8 nobody users 105 Jan 27 04:40 disk4/
drwxrwxrwt  2 nobody users  40 Jan  2 10:05 disks/
drwxrwxrwx  8 nobody users  91 Jan 27 04:40 fast/
drwxrwxrwt  2 nobody users  40 Dec 19 08:41 remotes/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user0/
root@unSERVER:~#

 

  • Author
31 minutes ago, trurl said:

root@unSERVER:~# ls -lah /mnt
total 16K
drwxr-xr-x 13 root   root  260 Dec 19 08:43 ./
drwxr-xr-x 20 root   root  460 Jan 19 21:27 ../
drwxrwxrwx  5 nobody users 120 Dec 19 08:43 RecycleBin/
drwxrwxrwx  1 nobody users  62 Jan 27 04:40 cache/
drwxrwxrwx  4 nobody users  41 Jan 27 04:40 disk1/
drwxrwxrwx  3 nobody users  27 Jan 27 04:40 disk2/
drwxrwxrwx  6 nobody users  75 Jan 27 04:40 disk3/
drwxrwxrwx  8 nobody users 105 Jan 27 04:40 disk4/
drwxrwxrwt  2 nobody users  40 Jan  2 10:05 disks/
drwxrwxrwx  8 nobody users  91 Jan 27 04:40 fast/
drwxrwxrwt  2 nobody users  40 Dec 19 08:41 remotes/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user/
drwxrwxrwx  1 nobody users  41 Jan 27 04:40 user0/
root@unSERVER:~#

 

 

Appreciate your sharing. It looks like the user and group execute permission are missing from those folders on my server.

 

I don't recall me purposely updating them. I will give it a try to make up the grants like yours anyway. Stay tuned.

 

 

  • Author

Bingo. Hats off to @trurl

 

I granted the gu exec permission.

 

The shares came back on right away. The permission is well preserved too even after I restarted the array.

 

Another two newbie questions:

 

😀 How do I mark this thread as solved? 

 

How do I give you some credits on helping me? 

Edited by Wei Wei

3 hours ago, Wei Wei said:

😀 How do I mark this thread as solved? 

You can just edit your initial post and add (Solved) at the beginning of the title.

 

  • Wei Wei changed the title to (Solved) Unraid UserShare disappearing, never come back after multiple tries of rebooting
  • Author

Excellent! Done marking the topic. 

 

Thanks everyone of the community! @ChatNoir  @trurl

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.