[Freedombox-discuss] Backups stopped working. Where are the logs? How do I debug this?
Sunil Mohan Adapa
sunil at medhas.org
Sun Oct 15 14:49:35 BST 2023
On 10/14/23 12:03, A. F. Cano wrote:
>
> Ok, did the umount and then /media/054e54ca-da9c-11ec-abca-000db93f92a8
> looks reasonable. But I still get an error, a different one this time:
>
[...]
> Oct 14 07:55:32 fbx /usr/bin/plinth[521]: Error running action
backups..list_repo(*('/media/054e54ca-da9c-11ec-abca-000db93f92a8',
None), **{}): Command '['borg', 'list', '--json',
'--format="{comment}"', '/media/054e54ca-da9c-11ec-abca-000db93f92a8']'
returned non-zero exit status 2. (2, ['borg', 'list', '--json',
'--format="{comment}"', '/media/054e54ca-da9c-11ec-abca-000db93f92a8'],
b'', b'Cache is newer than repository - do you have multiple,
independently updated repos with same ID?\n\x1b[31m ERROR\x1b[0m
\x1b[94m__main__ \x1b[0m Error executing action: Command
\'[\'borg\', \'list\', \'--json\', \'--format="{comment}"\',
\'/media/054e54ca-da9c-11ec-abca-000db93f92a8\']\' returned non-zero
exit status 2.\nTraceback (most recent call last):\n File
"/usr/share/plinth/actions/actions", line 93, in _call\n
return_values = func(*arguments[\'args\'], **arguments[\'kwargs\'])\n
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File
"/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py",
line 139, in list_repo\n process = _run([\'borg\', \'list\',
\'--json\', \'--format="{comment}"\', path],\n
The relevant part of the error is "Cache is newer than repository - do
you have multiple, independently updated repos with same ID?"
I wonder how this situation came up? Did you restore the contents of
remote repository from a backup to an older version? Or was this due to
sshfs getting disconnected?
https://github.com/borgbackup/borg/issues/4631
This issue describes some solutions by removing the local cache of the
repository. That should fix the issue.
--
Sunil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x36C361440C9BC971.asc
Type: application/pgp-keys
Size: 41606 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20231015/a805cdf2/attachment-0001.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/freedombox-discuss/attachments/20231015/a805cdf2/attachment-0001.sig>
More information about the Freedombox-discuss
mailing list