Hello, this is my first post here.
First, thank you to everybody who contribute to this project, who worked on the programming, who create the tutorials, who answer on this forum, and so on... Thank you.
I'm using a raspberry pi4, with a microSD 32Gb.
I have installed OMV v.5.4.2 and raspian buster, i'm using openmediavault-backup 5.2 plugin., everything is up to date right now (checked).
At start, it worked fine and I have some backups on my "Recover Partition" on a usb harddisk.
But today I tried to do a manual backup from OMV web, and it showed:
Error #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; /usr/sbin/omv-backup 2>&1': Method: borg
Device file: /dev/root
Root drive: /dev/mmcblk0
1+0 records in
1+0 records out
446 bytes copied, 0.000170034 s, 2.6 MB/s
1+0 records in
1+0 records out
512 bytes copied, 0.000345698 s, 1.5 MB/s
Boot drive: /dev/mmcblk0p1
Using borgbackup...
Failed to create/acquire the lock /root/.cache/borg/ee82cf0877ccf7d2234145802d45047e442a590fa3cb28a07d878d120408e1df/lock.exclusive (timeout). in /usr/share/openmediavault/engined/rpc/backup.inc:72
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMVRpcServiceBackup->{closure}('/tmp/bgstatusfr...', '/tmp/bgoutput9R...')
#1 /usr/share/openmediavault/engined/rpc/backup.inc(74): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceBackup->doBackup(NULL, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doBackup', NULL, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Backup', 'doBackup', NULL, Array, 1)
#6 {main}
Alles anzeigen
So I was wondering, maybe the lock was there even when no other process was doing a backup, so I looked up and see a report on his github issue pointing to break-lock
https://borgbackup.readthedocs…lock.html#borg-break-lock
I did on a console by ssh:
borg break-lock /root/
But didnt work, nor with SUDO
So I was searching more and see another command to clean this:
borg delete --cache-only /root
And that really cleaned the directory /root/.cache completely
BUT that doesn't fix this either.
So, i'm still receiving the same error and I have no clue about how it could be fixed.
I also tried to unistall / reinstall the plugin but still the same.
I have read the man omv-backup borg but i don't know if create a new repo and run on a command line will break more the plugin.
Any clue about whats is happening?
Other question is, when I set an schedule, and then SAVE, if I click on schedule again, it' s sets the default again (daily backup) so I was wondering if is still getting my weekly backup set or it doesnt saved at all : /
Thanks.