I would like to run rsync on OMV (4.1.12 Arrakis) to pull content from a remote system for backup.
I try to setup the rsync job within the web gui of OMV like this:
I can save this setting, but when I try to apply the changes, I receive this error message:
Code
Die Konfiguration wurde geändert. Sie müssen die Änderungen bestätigen damit sie wirksam werden.
Seite
von 1
1 - 1 von 1 angezeigt
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-Backup.mount' 2>&1' with exit code '1': Job for sharedfolders-Backup.mount failed. See "systemctl status sharedfolders-Backup.mount" and "journalctl -xe" for details.
Fehler #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-Backup.mount' 2>&1' with exit code '1': Job for sharedfolders-Backup.mount failed.
See "systemctl status sharedfolders-Backup.mount" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
#1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
#2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusRg...', '/tmp/bgoutputs0...')
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#14 {main}
Alles anzeigen
Code
root@ser03:~# systemctl status sharedfolders-Backup.mount
● sharedfolders-Backup.mount - Mount shared folder Backup to /sharedfolders/Backup
Loaded: loaded (/etc/systemd/system/sharedfolders-Backup.mount; enabled; vendor preset: enabled)
Active: active (mounted) (Result: exit-code) since Wed 2019-05-08 23:25:32 CEST; 29s ago
Where: /sharedfolders/Backup
What: /dev/md0
Process: 21920 ExecUnmount=/bin/umount /sharedfolders/Backup (code=exited, status=32)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/sharedfolders-Backup.mount
Mai 08 23:20:35 ser03 systemd[1]: Failed unmounting Mount shared folder Backup to /sharedfolders/Backup.
Mai 08 23:21:16 ser03 systemd[1]: Unmounting Mount shared folder Backup to /sharedfolders/Backup...
Mai 08 23:21:16 ser03 systemd[1]: sharedfolders-Backup.mount: Mount process exited, code=exited status=32
Mai 08 23:21:16 ser03 systemd[1]: Failed unmounting Mount shared folder Backup to /sharedfolders/Backup.
Mai 08 23:23:23 ser03 systemd[1]: Unmounting Mount shared folder Backup to /sharedfolders/Backup...
Mai 08 23:23:23 ser03 systemd[1]: sharedfolders-Backup.mount: Mount process exited, code=exited status=32
Mai 08 23:23:23 ser03 systemd[1]: Failed unmounting Mount shared folder Backup to /sharedfolders/Backup.
Mai 08 23:25:32 ser03 systemd[1]: Unmounting Mount shared folder Backup to /sharedfolders/Backup...
Mai 08 23:25:32 ser03 systemd[1]: sharedfolders-Backup.mount: Mount process exited, code=exited status=32
Mai 08 23:25:32 ser03 systemd[1]: Failed unmounting Mount shared folder Backup to /sharedfolders/Backup.
Alles anzeigen
Code
root@ser03:~# journalctl -xe
--
-- Unit sharedfolders-Backup.mount has finished shutting down.
Mai 08 23:24:01 ser03 cron[1018]: (*system*openmediavault-rsync) RELOAD (/etc/cron.d/openmediavault-rsync)
Mai 08 23:25:32 ser03 systemd[1]: Reloading.
Mai 08 23:25:32 ser03 systemd[1]: apt-daily.timer: Adding 1h 5min 80.664ms random time.
Mai 08 23:25:32 ser03 systemd[1]: anacron.timer: Adding 54.362548s random time.
Mai 08 23:25:32 ser03 systemd[1]: apt-daily-upgrade.timer: Adding 6min 56.118369s random time.
Mai 08 23:25:32 ser03 systemd[1]: Unmounting Mount shared folder public to /sharedfolders/public...
-- Subject: Unit sharedfolders-public.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-public.mount has begun shutting down.
Mai 08 23:25:32 ser03 systemd[1]: Unmounted Mount shared folder public to /sharedfolders/public.
-- Subject: Unit sharedfolders-public.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-public.mount has finished shutting down.
Mai 08 23:25:32 ser03 systemd[1]: Mounting Mount shared folder public to /sharedfolders/public...
-- Subject: Unit sharedfolders-public.mount has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-public.mount has begun starting up.
Mai 08 23:25:32 ser03 systemd[1]: Mounted Mount shared folder public to /sharedfolders/public.
-- Subject: Unit sharedfolders-public.mount has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-public.mount has finished starting up.
--
-- The start-up result is done.
Mai 08 23:25:32 ser03 systemd[1]: Unmounting Mount shared folder Backup to /sharedfolders/Backup...
-- Subject: Unit sharedfolders-Backup.mount has begun shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Backup.mount has begun shutting down.
Mai 08 23:25:32 ser03 systemd[1]: sharedfolders-Backup.mount: Mount process exited, code=exited status=32
Mai 08 23:25:32 ser03 systemd[1]: Failed unmounting Mount shared folder Backup to /sharedfolders/Backup.
-- Subject: Unit sharedfolders-Backup.mount has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-Backup.mount has finished shutting down.
Mai 08 23:26:01 ser03 cron[1018]: (*system*openmediavault-rsync) RELOAD (/etc/cron.d/openmediavault-rsync)
lines 1811-1857/1857 (END)
Alles anzeigen
This occurs regardless, if I create a new folder or if I use an existing one within the existing Backup folder.
What am I doing wrong here?
Thanks for your kind support
Newtren