Nextcloud version: 25.0.2
Operating system and version: Ubunutu 20.04
PHP version : 8.0.26
The issue you are facing:
Trying to create a backup, I would get a " Failed to create/acquire the lock" and point to a lock.exclusive file in my backup folder. I renamed it for testing and then I get the same failed error and same failed file, but located in my /root/.cache/borg/ folder.
Is this the first time you’ve seen this error? (Y/N): No, I see it every day after it attempts a daily backup.
Steps to replicate it:
- Manually start a backup or let a scheduled backup take place
Additional Info:
This started the day after I had a system crash (unrelated to nextcloud). So guessing it had a lock on files when it happened.
I use the master container interface to to a scan of the backups and it completes successfully. But the drop down list of my backups does not show anything to restore. Research online shows the command to break the lock, but not sure how to keep the borg backup container running long enough to get a cli and run the command.