Hello,
I'm running OMV 4 and 5 since 2 years (without any problems) and have an rsync job which fails with an error in the GUI - see pic
Another rsync job runs without problems. When I look at the job (in this example) I see this:
Code
root@omv:/export/NAS/Filme/UHD# cat /var/lib/openmediavault/cron.d/rsync-6348f2e3-d113-47ef-bdb9-3ed04f0b9e99
#!/bin/sh
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
. /usr/share/openmediavault/scripts/helper-functions
cleanup() {
omv_kill_children $$
rm -f "/run/rsync-6348f2e3-d113-47ef-bdb9-3ed04f0b9e99"
exit
}
[ -e "/run/rsync-6348f2e3-d113-47ef-bdb9-3ed04f0b9e99" ] && exit 1
if ! omv_is_mounted "/srv/dev-disk-by-id-md-name-omv-NAS/" ; then
omv_error "Source storage device not mounted at </srv/dev-disk-by-id-md-name-omv-NAS/>!"
exit 1
fi
if ! omv_is_mounted "/srv/dev-disk-by-label-Backup2/" ; then
omv_error "Destination storage device not mounted at </srv/dev-disk-by-label-Backup2/>!"
exit 1
fi
trap cleanup 0 1 2 5 15
touch "/run/rsync-6348f2e3-d113-47ef-bdb9-3ed04f0b9e99"
omv_log "Please wait, syncing </srv/dev-disk-by-id-md-name-omv-NAS/NAS/> to </srv/dev-disk-by-label-Backup2/NAS/> ...\n"
export RSYNC_PASSWORD="Yhv8w1CsygYxYbMo9rVl"
rsync --verbose --log-file="/var/log/rsync.log" --recursive --delete --exclude 'Filme' --exclude 'Playlists' --exclude 'Temp' "/srv/dev-disk-by-id-md-name-omv-NAS/NAS/" "/srv/dev-disk-by-label-Backup2/NAS/" & wait $!
if [ $? -eq 0 ]; then
omv_log "The synchronisation has completed successfully."
else
omv_error "The synchronisation failed."
fi
exit 0
Alles anzeigen
When I run this command manually it's working:
Code
rsync --verbose --log-file="/var/log/rsync.log" --recursive --delete --exclude 'Filme' --exclude 'Playlists' --exclude 'Temp' "/srv/dev-disk-by-id-md-name-omv-NAS/NAS/" "/srv/dev-disk-by-label-Backup2/NAS/"
What does the GUI error mean?
Thanks in advance
Joerg
PS: OS is Debian Buster