I want to sync 2 folders containing movies with Rsync, but I encounter the following message when running the job:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export SHELL=/bin/sh; sudo --shell --non-interactive -- /var/lib/openmediavault/cron.d/rsync-42d2c383-8a39-418d-84f0-df25d70e6d1f 2>&1' with exit code '1':
Looking at the logs, here is what I can see around the time of the error:
Feb 21 13:17:01 openmediavault CRON[6921]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 21 13:17:01 openmediavault CRON[6920]: (root) CMD (/var/lib/openmediavault/cron.d/rsync-42d2c383-8a39-418d-84f0-df25d70e6d1f >/dev/null 2>&1)
Feb 21 13:17:01 openmediavault rsync-42d2c383-8a39-418d-84f0-df25d70e6d1f: Please wait, syncing </srv/2be572a5-1ead-4ea8-a94f-ec017a71163b/Media/Movies/> to </srv/20c912db-7dc6-418f-b91d-fd51a7a3f5b9/Movies> ...\n
Feb 21 13:18:01 openmediavault CRON[7004]: (root) CMD (/var/lib/openmediavault/cron.d/rsync-42d2c383-8a39-418d-84f0-df25d70e6d1f >/dev/null 2>&1)
Feb 21 13:18:47 openmediavault omv-engined[7344]: Failed to write to socket: Broken pipe
Feb 21 13:19:01 openmediavault CRON[7352]: (root) CMD (/var/lib/openmediavault/cron.d/rsync-42d2c383-8a39-418d-84f0-df25d70e6d1f >/dev/null 2>&1)
Feb 21 13:20:01 openmediavault CRON[7421]: (root) CMD (/var/lib/openmediavault/cron.d/rsync-42d2c383-8a39-418d-84f0-df25d70e6d1f >/dev/null 2>&1)
Is anyone spotting anything odd already maybe?
- As mentioned in the title of this thread I was able to run a trial. It all looked fine. Once I unselect trial within the job settings, then it doesn't work and I get the message above.
- I am using OMV 4.0.19
- the Rsync job is a local type, the source drives are directly attached to the OMV machine MoBo, the destination drives are attached to a Mac via Thunderbolt and USB. This job setting used to work. I deleted this job and recreated multiple times yesterday and today to try to make it work again
- I created another job a couple of days ago and all went fine. The job syncs different folders (documentaries this time) which are located on the same source and destination drives. I ran the job again now and...it works
I am a bit puzzled... Thanks for any direction or help you may give!