There was a typo in the code. 5.0.5 in the repo now.
Thanks, it worked with my test folder and the backup of all files is running now
There was a typo in the code. 5.0.5 in the repo now.
Thanks, it worked with my test folder and the backup of all files is running now
I tried, installed the borgbackup again and it failed again. Invalid RPC response.
Do I have to mount the backup before I extract it? Mounting did work, but it gives me the chunks of files, not the backed up originals.
Here's the error:
Error #0:OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:187Stack trace:#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('BorgBackup', 'extractArchive', Array, Array, 3)#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#2 {main}
Feb 25 15:00:16 vault monit[1135]: 'mountpoint_srv_dev-disk-by-label-vault' status succeeded (0) -- /srv/dev-disk-by-label-vault is a mountpoint
Feb 25 15:05:01 vault CRON[4681]: (root) CMD ( run-parts /var/lib/openmediavault/borgbackup/hourly.d/)
Feb 25 15:05:28 vault omv-engined[4845]: PHP Fatal error: Uncaught Error: Call to undefined function sprint() in /usr/share/openmediavault/engined/rpc/borgbackup.inc:576
Feb 25 15:05:28 vault omv-engined[4845]: Stack trace:
Feb 25 15:05:28 vault omv-engined[4845]: #0 [internal function]: OMVRpcServiceBorgBackup->extractArchive(Array, Array)
Feb 25 15:05:28 vault omv-engined[4845]: #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
Feb 25 15:05:28 vault omv-engined[4845]: #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('extractArchive', Array, Array)
Feb 25 15:05:28 vault omv-engined[4845]: #3 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('BorgBackup', 'extractArchive', Array, Array, 1)
Feb 25 15:05:28 vault omv-engined[4845]: #4 {main}
Feb 25 15:05:28 vault omv-engined[4845]: thrown in /usr/share/openmediavault/engined/rpc/borgbackup.inc on line 576
Feb 25 15:08:00 vault systemd[1]: Reloading.
Feb 25 15:08:00 vault systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
Feb 25 15:08:00 vault systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
Feb 25 15:08:00 vault systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
Feb 25 15:08:01 vault systemd[1]: Started /bin/systemctl restart sharedfolders-things.mount.
Feb 25 15:08:01 vault systemd[1]: Unmounting Mount shared folder things to /sharedfolders/things...
Feb 25 15:08:01 vault systemd[1]: sharedfolders-things.mount: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Unmounted Mount shared folder things to /sharedfolders/things.
Feb 25 15:08:01 vault systemd[1]: Mounting Mount shared folder things to /sharedfolders/things...
Feb 25 15:08:01 vault systemd[1]: Mounted Mount shared folder things to /sharedfolders/things.
Feb 25 15:08:01 vault systemd[1]: run-r90ac6176a8524fc48038516f72851d10.scope: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Started /bin/systemctl restart sharedfolders-Music.mount.
Feb 25 15:08:01 vault systemd[1]: Unmounting Mount shared folder Music to /sharedfolders/Music...
Feb 25 15:08:01 vault systemd[1]: sharedfolders-Music.mount: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Unmounted Mount shared folder Music to /sharedfolders/Music.
Feb 25 15:08:01 vault systemd[1]: Mounting Mount shared folder Music to /sharedfolders/Music...
Feb 25 15:08:01 vault systemd[1]: Mounted Mount shared folder Music to /sharedfolders/Music.
Feb 25 15:08:01 vault systemd[1]: run-r86e0154719e946589a085cfc0c4810ff.scope: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Started /bin/systemctl restart sharedfolders-Videos.mount.
Feb 25 15:08:01 vault systemd[1]: Unmounting Mount shared folder Videos to /sharedfolders/Videos...
Feb 25 15:08:01 vault systemd[1]: sharedfolders-Videos.mount: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Unmounted Mount shared folder Videos to /sharedfolders/Videos.
Feb 25 15:08:01 vault systemd[1]: Mounting Mount shared folder Videos to /sharedfolders/Videos...
Feb 25 15:08:01 vault systemd[1]: Mounted Mount shared folder Videos to /sharedfolders/Videos.
Feb 25 15:08:01 vault systemd[1]: run-ra01e7bc20d9843328ddc0afc1c9a68a8.scope: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Started /bin/systemctl restart sharedfolders-Pictures.mount.
Feb 25 15:08:01 vault systemd[1]: Unmounting Mount shared folder Pictures to /sharedfolders/Pictures...
Feb 25 15:08:01 vault systemd[1]: sharedfolders-Pictures.mount: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Unmounted Mount shared folder Pictures to /sharedfolders/Pictures.
Feb 25 15:08:01 vault systemd[1]: Mounting Mount shared folder Pictures to /sharedfolders/Pictures...
Feb 25 15:08:01 vault systemd[1]: Mounted Mount shared folder Pictures to /sharedfolders/Pictures.
Feb 25 15:08:01 vault systemd[1]: run-rdefc239e82d74fd381379c3db103b727.scope: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Started /bin/systemctl restart sharedfolders-BackupHDD.mount.
Feb 25 15:08:01 vault systemd[1]: Unmounting Mount shared folder BackupHDD to /sharedfolders/BackupHDD...
Feb 25 15:08:01 vault systemd[1]: sharedfolders-BackupHDD.mount: Succeeded.
Feb 25 15:08:01 vault systemd[1]: Unmounted Mount shared folder BackupHDD to /sharedfolders/BackupHDD.
Feb 25 15:08:01 vault systemd[1]: Mounting Mount shared folder BackupHDD to /sharedfolders/BackupHDD...
Feb 25 15:08:01 vault systemd[1]: Mounted Mount shared folder BackupHDD to /sharedfolders/BackupHDD.
Feb 25 15:08:01 vault systemd[1]: run-r61679b0d04b74533b18ba5a60bff491d.scope: Succeeded.
Feb 25 15:08:02 vault systemd[1]: Started /bin/systemctl enable sharedfolders-backuptest.mount.
Feb 25 15:08:02 vault systemd[1]: Reloading.
Feb 25 15:08:02 vault systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
Feb 25 15:08:02 vault systemd[1]: /lib/systemd/system/smbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/smbd.pid → /run/samba/smbd.pid; please update the unit file accordingly.
Feb 25 15:08:02 vault systemd[1]: /lib/systemd/system/nmbd.service:9: PIDFile= references path below legacy directory /var/run/, updating /var/run/samba/nmbd.pid → /run/samba/nmbd.pid; please update the unit file accordingly.
Feb 25 15:08:02 vault systemd[1]: run-r285ecfad1a9a46e3889dd4e6a395da4c.scope: Succeeded.
Feb 25 15:08:02 vault systemd[1]: Started /bin/systemctl restart sharedfolders-backuptest.mount.
Feb 25 15:08:02 vault systemd[1]: Mounting Mount shared folder backuptest to /sharedfolders/backuptest...
Feb 25 15:08:02 vault systemd[1]: Mounted Mount shared folder backuptest to /sharedfolders/backuptest.
Feb 25 15:08:02 vault systemd[1]: run-r128e8db1786e4cc4b6deb141f22ddc4b.scope: Succeeded.
Alles anzeigen
Even the forum software throws an error when I post. Must be bad karma or something:
Exception ID: 9d5f61bdc10eb3e5f06d4c63d01f8f6a9f46089a
As it may relate to the problem, I got the same error when I removed the external mount plugin.
Error #0:OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:187Stack trace:#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Exec', 'getOutput', Array, Array, 3)#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#2 {main}
Here is the most recent syslog
Feb 23 18:30:01 vault CRON[26883]: (root) CMD ([ -x /etc/init.d/anacron ] && if [ ! -d /run/systemd/system ]; then /usr/sbin/invoke-rc.d anacron start >/dev/null; fi)
Feb 23 18:31:47 vault systemd[1]: Started Run anacron jobs.
Feb 23 18:31:47 vault anacron[26943]: Anacron 2.3 started on 2020-02-23
Feb 23 18:31:47 vault anacron[26943]: Normal exit (0 jobs run)
Feb 23 18:31:47 vault systemd[1]: anacron.service: Succeeded.
Feb 23 18:39:01 vault CRON[27345]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Feb 23 18:39:02 vault systemd[1]: Starting Clean php session files...
Feb 23 18:39:02 vault systemd[1]: phpsessionclean.service: Succeeded.
Feb 23 18:39:02 vault systemd[1]: Started Clean php session files.
Feb 23 18:40:43 vault monit[1125]: 'omv-engined' restart on user request
Feb 23 18:40:43 vault monit[1125]: Monit daemon with PID 1125 awakened
Feb 23 18:40:43 vault monit[1125]: Awakened by User defined signal 1
Feb 23 18:40:43 vault monit[1125]: 'omv-engined' trying to restart
Feb 23 18:40:43 vault monit[1125]: 'omv-engined' stop: '/bin/systemctl stop openmediavault-engined'
Feb 23 18:40:43 vault systemd[1]: Stopping The OpenMediaVault engine daemon that processes the RPC request...
Feb 23 18:40:43 vault systemd[1]: openmediavault-engined.service: Succeeded.
Feb 23 18:40:43 vault systemd[1]: Stopped The OpenMediaVault engine daemon that processes the RPC request.
Feb 23 18:40:43 vault monit[1125]: 'omv-engined' start: '/bin/systemctl start openmediavault-engined'
Feb 23 18:40:43 vault systemd[1]: openmediavault-engined.service: Found left-over process 27740 (omv-engined) in control group while starting unit. Ignoring.
Feb 23 18:40:43 vault systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 23 18:40:43 vault systemd[1]: openmediavault-engined.service: Found left-over process 27742 (sh) in control group while starting unit. Ignoring.
Feb 23 18:40:43 vault systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 23 18:40:43 vault systemd[1]: openmediavault-engined.service: Found left-over process 27743 (apt-get) in control group while starting unit. Ignoring.
Feb 23 18:40:43 vault systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 23 18:40:43 vault systemd[1]: openmediavault-engined.service: Found left-over process 27779 (dpkg) in control group while starting unit. Ignoring.
Feb 23 18:40:43 vault systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Feb 23 18:40:43 vault systemd[1]: Starting The OpenMediaVault engine daemon that processes the RPC request...
Feb 23 18:40:43 vault systemd[1]: openmediavault-engined.service: Supervising process 27804 which is not our child. We'll most likely not notice when it exits.
Feb 23 18:40:43 vault systemd[1]: Started The OpenMediaVault engine daemon that processes the RPC request.
Feb 23 18:40:57 vault kernel: [32055.896205] EXT4-fs (dm-0): re-mounted. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
Feb 23 18:40:57 vault kernel: [32055.951920] EXT4-fs (dm-0): re-mounted. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
Feb 23 18:40:57 vault kernel: [32056.045669] EXT4-fs (sdb1): re-mounted. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
Feb 23 18:40:58 vault kernel: [32056.099108] EXT4-fs (sdb1): re-mounted. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
Alles anzeigen
Funny enough, there are more errors like this popping up. When I delete the Borg Archive, it says:
Failed to execute XPath query '//services/borgbackup/repos/repo[uuid='34ac08da-5672-4b53-aeb9-bb8d8031b904']'.
OMV\Config\DatabaseException: Failed to execute XPath query '//services/borgbackup/repos/repo[uuid='34ac08da-5672-4b53-aeb9-bb8d8031b904']'. in /usr/share/php/openmediavault/config/database.inc:78
Stack trace:
#0 /usr/share/openmediavault/engined/rpc/borgbackup.inc(315): OMV\Config\Database->get('conf.service.bo...', '34ac08da-5672-4...')
#1 [internal function]: OMVRpcServiceBorgBackup->getArchiveList(Array, Array)
#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getArchiveList', Array, Array)
#4 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('BorgBackup', 'getArchiveList', Array, Array, 1)
#5 {main}
Even switching to the BorgBackup settings gives that error above.
As for the borg problem, I can't tell from the output what is happening other than it seems the data drive is not mounted.
Thanks for the info on the RPi 4 thing, I thought I might have accidentaly gotten a buggy beta
The drives are all mounted. Could it be that the drive is mounted in the sharedfolders dir instead of the expected disk-by-label folder?
Hi,
I have a Raspberry 4, OMV (5.321 beta - btw, why does the beta get pushed onto the user when I do the wget install via that raspberry-install-script thing?) and two 8 TB external drives. One drive, the day-to-day NAS one, is encrypted and I want to mirror/backup it regularly to the other one. So I setup the borg backup which happily backed up some test files. But when I want to extract the backup, as would be the case after a disk failure, the gui throws an error:
Invalid RPC response. Please check the syslog for more information.
Error #0:OMV\Rpc\Exception: Invalid RPC response. Please check the syslog for more information. in /usr/share/php/openmediavault/rpc/rpc.inc:187Stack trace:#0 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('BorgBackup', 'extractArchive', Array, Array, 3)#1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()#2 {main}
The syslog says:
23 10:13:31 vault monit[1125]: Filesystem '/srv/dev-disk-by-label-vault' not mounted
Feb 23 10:13:31 vault monit[1125]: 'filesystem_srv_dev-disk-by-label-vault' unable to read filesystem '/srv/dev-disk-by-label-vault' state
Feb 23 10:13:31 vault monit[1125]: 'filesystem_srv_dev-disk-by-label-vault' trying to restart
Feb 23 10:13:31 vault monit[1125]: 'mountpoint_srv_dev-disk-by-label-vault' status failed (1) -- /srv/dev-disk-by-label-vault is not a mountpoint
What did I do wrong? Please help!