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.

Killar34

Members
  • Joined

  • Last visited

  1. Just ran the script again after adding the sync -f to it and that seems to have fixed it but only time will tell. Thank you.
  2. OK thank you. I will give that a try and let you know.
  3. I'm having issues with unmounting the drive from a user script. I haven't had any issues out of UD until after I upgraded to Unraid 6.8.1. The issue I'm having is after my backup script(rclone) finishes the drive fails to unmount with error "Error: shell_exec(/sbin/umount '/dev/sda1' 2>&1) took longer than 90s!" in the syslog. I will put a full timeline from the syslog down below. However the drive in UD shows it is still mounted but it doesn't show the correct usage... and when I try to unmount it I get even more errors in the logs. Any help would be appreciated... Side note I can remount it via command line and the drive is accessible again... Jan 13 07:00:01 Peter unassigned.devices: Adding disk '/dev/sda1'... Jan 13 07:00:01 Peter unassigned.devices: Mount drive command: /sbin/mount -t xfs -o rw,noatime,nodiratime '/dev/sda1' '/mnt/disks/Unraid-Array-Backup' Jan 13 07:00:02 Peter kernel: XFS (sda1): Mounting V5 Filesystem Jan 13 07:00:02 Peter kernel: XFS (sda1): Ending clean mount Jan 13 07:00:03 Peter unassigned.devices: Successfully mounted '/dev/sda1' on '/mnt/disks/Unraid-Array-Backup'. Jan 13 07:00:08 Peter sSMTP[25148]: Creating SSL connection to host Jan 13 07:00:08 Peter sSMTP[25148]: SSL connection using TLS_AES_256_GCM_SHA384 Jan 13 07:00:10 Peter sSMTP[25148]: Sent mail for STRIPPED (221 2.0.0 Bye) uid=0 username=root outbytes=753 Jan 13 07:32:01 Peter kernel: md: sync done. time=27120sec Jan 13 07:32:04 Peter kernel: md: recovery thread: exit status: 0 Jan 13 07:33:02 Peter sSMTP[26155]: Creating SSL connection to host Jan 13 07:33:02 Peter sSMTP[26155]: SSL connection using TLS_AES_256_GCM_SHA384 Jan 13 07:33:04 Peter sSMTP[26155]: Sent mail for STRIPPED (221 2.0.0 Bye) uid=0 username=root outbytes=791 Jan 13 07:37:51 Peter sSMTP[30935]: Creating SSL connection to host Jan 13 07:37:51 Peter sSMTP[30935]: SSL connection using TLS_AES_256_GCM_SHA384 Jan 13 07:37:53 Peter sSMTP[30935]: Sent mail for STRIPPED (221 2.0.0 Bye) uid=0 username=root outbytes=1145 Jan 13 07:37:53 Peter unassigned.devices: Unmounting disk 'WD easystore_25FB'... Jan 13 07:37:53 Peter unassigned.devices: Unmounting '/dev/sda1'... Jan 13 07:37:53 Peter unassigned.devices: Unmount cmd: /sbin/umount '/dev/sda1' 2>&1 Jan 13 07:39:50 Peter kernel: XFS (sda1): Unmounting Filesystem Jan 13 07:39:50 Peter unassigned.devices: Error: shell_exec(/sbin/umount '/dev/sda1' 2>&1) took longer than 90s! Jan 13 07:39:50 Peter unassigned.devices: Unmount of '/dev/sda1' failed. Error message: command timed out Jan 13 07:39:51 Peter unassigned.devices: Since there aren't any open files, will force unmount. Jan 13 07:39:51 Peter unassigned.devices: Unmounting '/dev/sda1'... Jan 13 07:39:51 Peter unassigned.devices: Unmount cmd: /sbin/umount -fl '/dev/sda1' 2>&1 Jan 13 07:39:51 Peter unassigned.devices: Unmount of '/dev/sda1' failed. Error message: umount: /mnt/disks/Unraid-Array-Backup: not mounted. Jan 13 07:39:52 Peter unassigned.devices: Disk 'WD easystore_25FB' could not be unmounted. User script backup script #!/bin/bash #backgroundOnly=true #arrayStarted=true /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned mount /dev/sda sleep 5 #check if drive mounted if [ -d "/mnt/disks/Unraid-Array-Backup/" ] then /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to Local Easy Store Backup started" -i "normal" -d "Sync started. `date`" /usr/bin/rsync -avrtHh --delete /mnt/user/ /mnt/disks/Unraid-Array-Backup/ >> /mnt/user/Backups/Unraid/logs/Unraid-Array-Backup/backup.log /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to Local Easy Store Backup completed" -i "normal" -d "Sync completed. `date`" -m "`tail /mnt/user/Backups/Unraid/logs/Unraid-Array-Backup/backup.log`" #unmount drive /usr/local/emhttp/plugins/unassigned.devices/scripts/rc.unassigned umount /dev/sda else echo "Backup failed!" /usr/local/emhttp/webGui/scripts/notify -s "`hostname` to Local Easy Store Backup FAILED" -i "alert" -d "Sync FAILED `date`" -m "`tail /mnt/user/Backups/Unraid/logs/Unraid-Array-Backup/backup.log`" fi

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.