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.

Shares go missing

Featured Replies

Confirmed a bug by Tom in 6.06 but not fixed yet

 

unRAID OS Version: Beta 6.06 & 6.07

 

Description: Share go missing

 

How to reproduce: Every know and again my User shares would become inaccessible.  I need to stop and start the array to get them back again.

 

I spent sometime today trying to replicate it and i have.

 

The first attachment, sharesgood.png, shows my current shares.  All if good.

 

On the webgui I click on settings, Share Settings.  The settings are fairly basic.  see attachment sharesettings.png

 

Without changing anything, I click "Apply" in the Share Settings section. The page updates and returns fine.

 

Here's the syslog of what happens when I do that:

 

Aug 10 20:34:42 tdm emhttp: shcmd (491): /usr/local/sbin/emhttp_event stopping_svcs
Aug 10 20:34:42 tdm emhttp_event: stopping_svcs
Aug 10 20:34:42 tdm emhttp: Stop AVAHI...
Aug 10 20:34:42 tdm emhttp: shcmd (492): /etc/rc.d/rc.avahidaemon stop |& logger
Aug 10 20:34:42 tdm logger: Stopping Avahi mDNS/DNS-SD Daemon: stopped
Aug 10 20:34:42 tdm avahi-daemon[32329]: Got SIGTERM, quitting.
Aug 10 20:34:42 tdm avahi-dnsconfd[32337]: read(): EOF
Aug 10 20:34:42 tdm avahi-daemon[32329]: Leaving mDNS multicast group on interface docker0.IPv4 with address 172.17.42.1.
Aug 10 20:34:42 tdm avahi-daemon[32329]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.10.
Aug 10 20:34:42 tdm avahi-daemon[32329]: avahi-daemon 0.6.31 exiting.
Aug 10 20:34:42 tdm emhttp: shcmd (493): /etc/rc.d/rc.avahidnsconfd stop |& logger
Aug 10 20:34:42 tdm logger: Stopping Avahi mDNS/DNS-SD DNS Server Configuration Daemon: stopped
Aug 10 20:34:42 tdm emhttp: shcmd (494): ps axc | grep -q rpc.mountd
Aug 10 20:34:42 tdm emhttp: Stop NFS...
Aug 10 20:34:42 tdm emhttp: shcmd (495): /etc/rc.d/rc.nfsd stop |& logger
Aug 10 20:34:42 tdm rpc.mountd[904]: Caught signal 15, un-registering and exiting.
Aug 10 20:34:43 tdm emhttp: Stop SMB...
Aug 10 20:34:43 tdm emhttp: shcmd (496): /etc/rc.d/rc.samba stop |& logger
Aug 10 20:34:43 tdm emhttp: shcmd (497): rm /etc/avahi/services/smb.service &> /dev/null
Aug 10 20:34:43 tdm kernel: nfsd: last server has exited, flushing export cache
Aug 10 20:34:43 tdm emhttp: shcmd (498): set -o pipefail ; umount /mnt/user |& logger
Aug 10 20:34:43 tdm emhttp: shcmd (499): rmdir /mnt/user |& logger
Aug 10 20:34:43 tdm logger: rmdir: failed to remove '/mnt/user': Device or resource busy
Aug 10 20:34:43 tdm emhttp: shcmd (500): crontab -c /etc/cron.d -d &> /dev/null
Aug 10 20:34:43 tdm emhttp: shcmd (501): crontab -c /etc/cron.d -d &> /dev/null
Aug 10 20:34:43 tdm emhttp: shcmd (502): :>/etc/samba/smb-shares.conf
Aug 10 20:34:43 tdm emhttp: shcmd (503): cp /etc/exports- /etc/exports
Aug 10 20:34:43 tdm emhttp: shcmd (504): echo '"/mnt/cache" -async,no_subtree_check,fsid=10 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash)' >>/etc/exports
Aug 10 20:34:43 tdm emhttp: Start SMB...
Aug 10 20:34:43 tdm emhttp: shcmd (505): /etc/rc.d/rc.samba start |& logger
Aug 10 20:34:43 tdm logger: Starting Samba:  /usr/sbin/nmbd -D
Aug 10 20:34:43 tdm logger:                  /usr/sbin/smbd -D
Aug 10 20:34:43 tdm emhttp: shcmd (506): cp /etc/avahi/services/smb.service- /etc/avahi/services/smb.service
Aug 10 20:34:43 tdm emhttp: shcmd (507): ps axc | grep -q rpc.mountd
Aug 10 20:34:43 tdm emhttp: _shcmd: shcmd (507): exit status: 1
Aug 10 20:34:43 tdm emhttp: Start NFS...
Aug 10 20:34:43 tdm emhttp: shcmd (508): /etc/rc.d/rc.nfsd start |& logger
Aug 10 20:34:43 tdm logger: Starting NFS server daemons:
Aug 10 20:34:43 tdm logger:   /usr/sbin/exportfs -r
Aug 10 20:34:43 tdm logger:   /usr/sbin/rpc.nfsd 8
Aug 10 20:34:43 tdm logger:   /usr/sbin/rpc.mountd
Aug 10 20:34:43 tdm rpc.mountd[4190]: Version 1.2.8 starting
Aug 10 20:34:43 tdm emhttp: Start AVAHI...
Aug 10 20:34:43 tdm emhttp: shcmd (509): /etc/rc.d/rc.avahidaemon start |& logger
Aug 10 20:34:43 tdm logger: Starting Avahi mDNS/DNS-SD Daemon:  /usr/sbin/avahi-daemon -D
Aug 10 20:34:43 tdm avahi-daemon[4198]: Found user 'avahi' (UID 61) and group 'avahi' (GID 214).
Aug 10 20:34:43 tdm avahi-daemon[4198]: Successfully dropped root privileges.
Aug 10 20:34:43 tdm avahi-daemon[4198]: avahi-daemon 0.6.31 starting up.
Aug 10 20:34:43 tdm avahi-daemon[4198]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Aug 10 20:34:43 tdm avahi-daemon[4198]: Loading service file /etc/avahi/services/sftp-ssh.service.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Loading service file /etc/avahi/services/smb.service.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Loading service file /etc/avahi/services/ssh.service.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.42.1.
Aug 10 20:34:43 tdm avahi-daemon[4198]: New relevant interface docker0.IPv4 for mDNS.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.10.
Aug 10 20:34:43 tdm avahi-daemon[4198]: New relevant interface eth0.IPv4 for mDNS.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Network interface enumeration completed.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Registering new address record for 172.17.42.1 on docker0.IPv4.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Registering new address record for 192.168.1.10 on eth0.IPv4.
Aug 10 20:34:43 tdm avahi-daemon[4198]: Registering HINFO record with values 'X86_64'/'LINUX'.
Aug 10 20:34:43 tdm emhttp: shcmd (510): /etc/rc.d/rc.avahidnsconfd start |& logger
Aug 10 20:34:43 tdm logger: Starting Avahi mDNS/DNS-SD DNS Server Configuration Daemon:  /usr/sbin/avahi-dnsconfd -D
Aug 10 20:34:43 tdm avahi-dnsconfd[4206]: Successfully connected to Avahi daemon.
Aug 10 20:34:43 tdm emhttp: shcmd (511): /usr/local/sbin/emhttp_event svcs_restarted
Aug 10 20:34:43 tdm emhttp_event: svcs_restarted
Aug 10 20:34:44 tdm avahi-daemon[4198]: Server startup complete. Host name is tdm.local. Local service cookie is 2242044864.
Aug 10 20:34:45 tdm avahi-daemon[4198]: Service "tdm" (/etc/avahi/services/ssh.service) successfully established.
Aug 10 20:34:45 tdm avahi-daemon[4198]: Service "tdm" (/etc/avahi/services/smb.service) successfully established.
Aug 10 20:34:45 tdm avahi-daemon[4198]: Service "tdm" (/etc/avahi/services/sftp-ssh.service) successfully established.

 

I click on the Webgui Shares page and here is what I see, to my initial horror. sharesgone.png attached.

 

The shares can't be reached.  I need to stop and restart the array to get the shares back.

 

Expected results: Share dont go missing

 

Actual results: Share fo missing

 

Other information: See attachments

 

sharesgone.png.84fb8484a02a123d890e9d785786465d.png

sharesettings.png.d4e01fdc0c6a665f7112f60677608031.png

sharesgood.png.7f2bcc852145bb11968cfdec18d04e18.png

Note to self: this happens because something is preventing user share remount upon share settings change.

Work around is to not modify those settings unless array is stopped.

Stopping and starting array also worked for me whilst maintaining the config change I made.

I'll put up my hand too as this was something I experienced a day or so ago when I was ready to reformat my drives (in beta 7), but I soon realised it was my mistake of making a few disk share setting changes while the array was still active.

I wanted to remove a disk from those allocated to the user shares before I proceeded to transfer data and reformat the drive etc. This was to prevent any potential conflict to the disks I was working with at the time.

As others have said, all was fine again after a restart of the array, but I am now more mindful whether anything (eg docker) is accessing/locked any of the files in the array or I need to change disk/share settings etc. Live and learn...

 

One additional thing I honestly forgot about too was the VM I had running in the background which was preventing the unmounting of disks. [it's a set and forget VM used for plexconnect.] Once 'virshed' out (instead of killing the process), tower immediately went back to the normal steps of an expected array stop.

 

I guess as a precautionary measure, there may be a couple of stupidity user checks that could be run as part of the webgui to inform the user of the expected outcome if they were to proceed after hitting apply/done.

 

cheers,

gwl

  • 2 weeks later...

Marking this fixed in -beta9.  If you still find a problem, please post here and I'll re-open.

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.