Rsync Scheduled jobs not running - Manual execution gets weird error

  • The scheduled rsync job has stopped running. Confirmed while monitoring the rsync.log

    I've deleted and recreated the job multiple times to no avail. I've restarted the server etc.


    Running the job manually gives me this message


    Code
    REQUEST ACCESS TO MASTER CONTROL PROGRAM.
    USER CODE 00-ADMIN.
    PASSWORD:MASTER. 

    The job runs after I hit the Start button.

  • Can you post the command line you are executing or post the cron job generated by omv.


    Is this the exact message from rsync? Never seen it.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • 59 11 * * * root /var/lib/openmediavault/cron.d/rsync-ec316535-d830-44f6-a531-d581e02f8b4e >/dev/null 2>&1


    rsync --verbose --log-file="/var/log/rsync.log" --archive "/srv/dev-disk-by-uuid-f8015fab-9717-416e-a779-efeeebe31298/SG5TB/" "/srv/dev-disk-by-uuid-9484d431-a9cb-4824-bbfd-62f4534fa596/SG5TB2/"



    I believe that's it.


    Here's a screenshot of the message when I manually run the job

    Screenshot

    VQPRFMK

  • cat /var/lib/openmediavault/cron.d/rsync-ec316535-d830-44f6-a531-d581e02f8b4e


    and try to run the rsync command line from the cli:

    sudo rsync --verbose --log-file="/var/log/rsync.log" --archive "/srv/dev-disk-by-uuid-f8015fab-9717-416e-a779-efeeebe31298/SG5TB/" "/srv/dev-disk-by-uuid-9484d431-a9cb-4824-bbfd-62f4534fa596/SG5TB2/"

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • I am facing the same problem.


    I have recently installed 2 OMV6 systems and was trying to setup some basic Rsync jobs for data replication. However, I keep getting the following error message when I try to run it manually -


    REQUEST ACCESS TO MASTER CONTROL PROGRAM

    USER CODE 00-ADMIN

    PASSWORD:MASTER.


    The setup is like this:

    Remote Server: Rsync Server

    Local Server: Rsync Task (Pull remote)


    It will execute after I press the "Start" button. But if I schedule it to run at a specific time, it won't execute and nothing is shown in the Rsync-Jobs log.


    I have tried to copy the command from cron.d and it works.


    With OMV4, the same setup runs perfectly without any error.


    Do you guys have any idea to fix this?


    Thanks and regards,

  • I have the same problem when i want to start script via cron.

    REQUEST ACCESS TO MASTER CONTROL PROGRAM.

    USER CODE 00-ADMIN.

    PASSWORD:MASTER.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!