UPDATE:
My system crashed again this night at 4:40 AM. Same error - USB Stick got reset and is not available after that. As mentioned I switched USB Stick to USB 2.0 header, but this does not seem to work out.
That is a great hint. I have two user scripts that run on the "daily" dropdown... Those scripts are backing up the USB drive like mentioned here:
I have those scripts active at least one year but I've deactivated them on the schedule to test if the scripts are responsible for the freezes.
I'm attaching the custom script, maybe someone has an idea what could cause the USB reset when running it? I'm confused about it because it ran all time without any issues, so maybe this is an issue that came up with the new unraid version?
#!/bin/bash
#### SECTION 1 ####------------------------------------------------------------------------------------------------------
#dir = WHATEVER FOLDER PATH YOU WANT TO SAVE TO
dir="/mnt/user/Backup/Unraid/flash_backup"
echo 'Executing native unraid backup script'
/usr/local/emhttp/webGui/scripts/flash_backup
#### SECTION 2 ####------------------------------------------------------------------------------------------------------
echo ' Remove symlink from emhttp'
find /usr/local/emhttp/ -maxdepth 1 -name '*flash-backup-*.zip' -delete
sleep 5
#### SECTION 3 ####------------------------------------------------------------------------------------------------------
if [ ! -d "$dir" ] ; then
echo "making directory as it does not yet exist"
# make the directory as it doesnt exist
mkdir -vp "$dir"
else
echo "As $dir exists continuing."
fi
#### SECTION 4 ####------------------------------------------------------------------------------------------------------
echo 'Move Flash Zip Backup from Root to Backup Destination'
mv /*-flash-backup-*.zip "$dir"
sleep 5
#### SECTION 5 ####------------------------------------------------------------------------------------------------------
echo 'Deleting Old Backups'
#ENTER NUMERIC VALUE OF DAYS AFTER "-MTIME +"
find "$dir"* -mtime +30 -exec rm -rfv {} \;
echo 'All Done'
#### SECTION 6 ####------------------------------------------------------------------------------------------------------
#UNCOMMENT THE NEXT LINE TO ENABLE GUI NOTIFICATION UPON COMPLETION
/usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "Flash Zip Backup" -d "A copy of the Unraid flash disk has been backed up" -i "normal"
exit