On Sun, Oct 15, 2023 at 06:49:35AM -0700, Sunil Mohan Adapa wrote: > ... > > The relevant part of the error is "Cache is newer than repository - do you > have multiple, independently updated repos with same ID?"
No, I backup the production FreedomBox to just one internal machine. > 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? It is possible that sshfs got disconnected, but I don't remember a specific instance of power loss (both computers are on a UPS), freeze requiring a power-off or any other circumstance that might have disconnected it. What I do remember is that there was a FreedomBox upgrade and the reboot the next day at 2 am seems to have started the problem. > https://github.com/borgbackup/borg/issues/4631 Lots of possible solutions that people tried that ended up not working in this report. > This issue describes some solutions by removing the local cache of the > repository. That should fix the issue. I ended up doing the following: $ sudo ls -l /root/.cache/borg total 4 drwx------ 1 root root 98 Oct 14 23:44 4390f79ac50d9366764cdfa98f3d0e03f9894049268e1ed1372b43d533d884f6 drwx------ 1 root root 98 Oct 15 13:23 4cd6fbbd74673977f062290b30109bead97deab4b0d08eca013b629f201c36b1 -rw------- 1 root root 198 Nov 16 2021 CACHEDIR.TAG $ sudo rm -rf /root/.cache/borg/4390f79ac50d9366764cdfa98f3d0e03f9894049268e1ed1372b43d533d884f6 $ sudo rm -rf /root/.cache/borg/4cd6fbbd74673977f062290b30109bead97deab4b0d08eca013b629f201c36b1 $ sudo rm /root/.cache/borg/CACHEDIR.TAG And then did a manual backup. Still had the same problem. Then, went after the .config files, as suggested in the above link: $ sudo rm -rf /root/.config/borg/security/4390f79ac50d9366764cdfa98f3d0e03f9894049268e1ed1372b43d533d884f $ sudo rm -rf /root/.config/borg/security/4cd6fbbd74673977f062290b30109bead97deab4b0d08eca013b629f201c36b1 But that also didn't fix the issue. A manual backup again caused the same error 2 returned. There is a yellow triangle and this in the backups page: Command '['borg', 'list', '--json', '--format="{comment}"', '/media/054e54ca-da9c-11ec-abca-000db93f92a8']' returned non-zero exit status 2. The latest error notification now goes to 158 attempts: Error During Backup A scheduled backup failed. Past 158 attempts for backup did not succeed. The latest error is: Command '['borg', 'list', '--json', '--format="{comment}"', '/media/054e54ca-da9c-11ec-abca-000db93f92a8']' returned non-zero exit status 2. Any other ideas, anyone? Thanks. Augustine Status log: Oct 15 13:50:21 fbx /usr/bin/plinth[522]: Running backup_pre hooks Oct 15 13:50:21 fbx /usr/bin/plinth[522]: # backups..dump_settings(…) Oct 15 13:50:21 fbx sudo[53165]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions backups dump_settings --write-fd 16 Oct 15 13:50:21 fbx sudo[53165]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=115) Oct 15 13:50:24 fbx sudo[53165]: pam_unix(sudo:session): session closed for user root Oct 15 13:50:24 fbx /usr/bin/plinth[522]: # zoph..dump_database(…) Oct 15 13:50:24 fbx sudo[53169]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions zoph dump_database --write-fd 16 Oct 15 13:50:24 fbx sudo[53169]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=115) Oct 15 13:50:27 fbx sudo[53169]: pam_unix(sudo:session): session closed for user root Oct 15 13:50:27 fbx /usr/bin/plinth[522]: # backups..create_archive(…) Oct 15 13:50:27 fbx sudo[53175]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions backups create_archive --write-fd 16 Oct 15 13:50:27 fbx sudo[53175]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=115) Oct 15 13:50:32 fbx /usr/share/plinth/actions/actions[53177]: Error executing action: Command '['borg', 'create', '--json', '/var/lib/freedombox/borgbackup::after deleting cache and config', '/etc/ez-ipupdate/', '/etc/letsencrypt/', '/etc/coturn', '/var/lib/ejabberd/', '/etc/ejabberd/letsencrypt/', '/var/lib/ikiwiki/', '/var/www/ikiwiki/', '/var/lib/infinoted/', '/etc/matrix-synapse/conf.d/', '/var/lib/matrix-synapse/media/', '/var/lib/mumble-server', '/etc/radicale/', '/var/lib/radicale/', '/var/lib/shaarli/data', '/var/lib/syncthing/.config', '/var/lib/zoph/', '/etc/localtime', '/var/lib/plinth/backups-data/dynamicdns-settings.json', '/etc/popularity-contest.d/freedombox.conf', '/etc/snapper/configs/root', '/etc/default/snapper', '/etc/ssh/sshd_config.d/freedombox.conf', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ecdsa_key.pub', '/etc/ssh/ssh_host_ed25519_key', '/etc/ssh/ssh_host_ed25519_key.pub', '/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_rsa_key.pub', '/etc/apt/apt.conf.d/20auto-upgrades', '/etc/ejabberd/ejabberd.yml', '/etc/ejabberd/ejabberd.pem', '/etc/infinoted/infinoted-cert.pem', '/etc/infinoted/infinoted-key.pem', '/etc/matrix-synapse/homeserver.yaml', '/etc/matrix-synapse/log.yaml', '/var/lib/matrix-synapse/homeserver.db', '/etc/matrix-synapse/homeserver.signing.key', '/etc/matrix-synapse/homeserver.tls.crt', '/etc/matrix-synapse/homeserver.tls.key', '/etc/mumble-server.ini', '/etc/roundcube/freedombox-config.php', '/var/lib/dbconfig-common/sqlite3/roundcube/roundcube', '/etc/apache2/conf-available/sharing-freedombox.conf', '/var/lib/plinth/backups-data/zoph-database.sql', '/etc/zoph.ini', '/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json']' returned non-zero exit status 2. Traceback (most recent call last): File "/usr/share/plinth/actions/actions", line 93, in _call return_values = func(*arguments['args'], **arguments['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py", line 166, in create_archive _run(command, encryption_passphrase) File "/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py", line 352, in _run return subprocess.run(cmd, check=check, env=env, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['borg', 'create', '--json', '/var/lib/freedombox/borgbackup::after deleting cache and config', '/etc/ez-ipupdate/', '/etc/letsencrypt/', '/etc/coturn', '/var/lib/ejabberd/', '/etc/ejabberd/letsencrypt/', '/var/lib/ikiwiki/', '/var/www/ikiwiki/', '/var/lib/infinoted/', '/etc/matrix-synapse/conf.d/', '/var/lib/matrix-synapse/media/', '/var/lib/mumble-server', '/etc/radicale/', '/var/lib/radicale/', '/var/lib/shaarli/data', '/var/lib/syncthing/.config', '/var/lib/zoph/', '/etc/localtime', '/var/lib/plinth/backups-data/dynamicdns-settings.json', '/etc/popularity-contest.d/freedombox.conf', '/etc/snapper/configs/root', '/etc/default/snapper', '/etc/ssh/sshd_config.d/freedombox.conf', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ecdsa_key.pub', '/etc/ssh/ssh_host_ed25519_key', '/etc/ssh/ssh_host_ed25519_key.pub', '/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_rsa_key.pub', '/etc/apt/apt.conf.d/20auto-upgrades', '/etc/ejabberd/ejabberd.yml', '/etc/ejabberd/ejabberd.pem', '/etc/infinoted/infinoted-cert.pem', '/etc/infinoted/infinoted-key.pem', '/etc/matrix-synapse/homeserver.yaml', '/etc/matrix-synapse/log.yaml', '/var/lib/matrix-synapse/homeserver.db', '/etc/matrix-synapse/homeserver.signing.key', '/etc/matrix-synapse/homeserver.tls.crt', '/etc/matrix-synapse/homeserver.tls.key', '/etc/mumble-server.ini', '/etc/roundcube/freedombox-config.php', '/var/lib/dbconfig-common/sqlite3/roundcube/roundcube', '/etc/apache2/conf-available/sharing-freedombox.conf', '/var/lib/plinth/backups-data/zoph-database.sql', '/etc/zoph.ini', '/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json']' returned non-zero exit status 2. Oct 15 13:50:32 fbx sudo[53175]: pam_unix(sudo:session): session closed for user root Oct 15 13:50:32 fbx /usr/bin/plinth[522]: Error running action backups..create_archive(*('/var/lib/freedombox/borgbackup::after deleting cache and config', ['/etc/ez-ipupdate/', '/etc/letsencrypt/', '/etc/coturn', '/var/lib/ejabberd/', '/etc/ejabberd/letsencrypt/', '/var/lib/ikiwiki/', '/var/www/ikiwiki/', '/var/lib/infinoted/', '/etc/matrix-synapse/conf.d/', '/var/lib/matrix-synapse/media/', '/var/lib/matrix-synapse/uploads/', '/var/lib/mumble-server', '/etc/radicale/', '/var/lib/radicale/', '/var/lib/shaarli/data', '/var/lib/syncthing/.config', '/var/lib/zoph/', '/etc/localtime', '/var/lib/plinth/backups-data/dynamicdns-settings.json', '/etc/popularity-contest.d/freedombox.conf', '/etc/security/access.d/50freedombox.conf', '/etc/snapper/configs/root', '/etc/default/snapper', '/etc/ssh/sshd_config.d/freedombox.conf', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ecdsa_key.pub', '/etc/ssh/ssh_host_ed25519_key', '/etc/ssh/ssh_host_ed25519_key.pub', '/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_rsa_key.pub', '/etc/apt/apt.conf.d/20auto-upgrades', '/etc/ejabberd/ejabberd.yml', '/etc/ejabberd/ejabberd.pem', '/etc/infinoted/infinoted-cert.pem', '/etc/infinoted/infinoted-key.pem', '/etc/matrix-synapse/homeserver.yaml', '/etc/matrix-synapse/log.yaml', '/var/lib/matrix-synapse/homeserver.db', '/etc/matrix-synapse/homeserver.signing.key', '/etc/matrix-synapse/homeserver.tls.crt', '/etc/matrix-synapse/homeserver.tls.dh', '/etc/matrix-synapse/homeserver.tls.key', '/etc/mumble-server.ini', '/etc/roundcube/freedombox-config.php', '/var/lib/dbconfig-common/sqlite3/roundcube/roundcube', '/etc/searx/allow_public_access', '/etc/apache2/conf-available/sharing-freedombox.conf', '/var/lib/plinth/backups-data/zoph-database.sql', '/etc/zoph.ini', '/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json']), **{'comment': None, 'encryption_passphrase': None}): Command '['borg', 'create', '--json', '/var/lib/freedombox/borgbackup::after deleting cache and config', '/etc/ez-ipupdate/', '/etc/letsencrypt/', '/etc/coturn', '/var/lib/ejabberd/', '/etc/ejabberd/letsencrypt/', '/var/lib/ikiwiki/', '/var/www/ikiwiki/', '/var/lib/infinoted/', '/etc/matrix-synapse/conf.d/', '/var/lib/matrix-synapse/media/', '/var/lib/mumble-server', '/etc/radicale/', '/var/lib/radicale/', '/var/lib/shaarli/data', '/var/lib/syncthing/.config', '/var/lib/zoph/', '/etc/localtime', '/var/lib/plinth/backups-data/dynamicdns-settings.json', '/etc/popularity-contest.d/freedombox.conf', '/etc/snapper/configs/root', '/etc/default/snapper', '/etc/ssh/sshd_config.d/freedombox.conf', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ecdsa_key.pub', '/etc/ssh/ssh_host_ed25519_key', '/etc/ssh/ssh_host_ed25519_key.pub', '/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_rsa_key.pub', '/etc/apt/apt.conf.d/20auto-upgrades', '/etc/ejabberd/ejabberd.yml', '/etc/ejabberd/ejabberd.pem', '/etc/infinoted/infinoted-cert.pem', '/etc/infinoted/infinoted-key.pem', '/etc/matrix-synapse/homeserver.yaml', '/etc/matrix-synapse/log.yaml', '/var/lib/matrix-synapse/homeserver.db', '/etc/matrix-synapse/homeserver.signing.key', '/etc/matrix-synapse/homeserver.tls.crt', '/etc/matrix-synapse/homeserver.tls.key', '/etc/mumble-server.ini', '/etc/roundcube/freedombox-config.php', '/var/lib/dbconfig-common/sqlite3/roundcube/roundcube', '/etc/apache2/conf-available/sharing-freedombox.conf', '/var/lib/plinth/backups-data/zoph-database.sql', '/etc/zoph.ini', '/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json']' returned non-zero exit status 2. (2, ['borg', 'create', '--json', '/var/lib/freedombox/borgbackup::after deleting cache and config', '/etc/ez-ipupdate/', '/etc/letsencrypt/', '/etc/coturn', '/var/lib/ejabberd/', '/etc/ejabberd/letsencrypt/', '/var/lib/ikiwiki/', '/var/www/ikiwiki/', '/var/lib/infinoted/', '/etc/matrix-synapse/conf.d/', '/var/lib/matrix-synapse/media/', '/var/lib/mumble-server', '/etc/radicale/', '/var/lib/radicale/', '/var/lib/shaarli/data', '/var/lib/syncthing/.config', '/var/lib/zoph/', '/etc/localtime', '/var/lib/plinth/backups-data/dynamicdns-settings.json', '/etc/popularity-contest.d/freedombox.conf', '/etc/snapper/configs/root', '/etc/default/snapper', '/etc/ssh/sshd_config.d/freedombox.conf', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ecdsa_key.pub', '/etc/ssh/ssh_host_ed25519_key', '/etc/ssh/ssh_host_ed25519_key.pub', '/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_rsa_key.pub', '/etc/apt/apt.conf.d/20auto-upgrades', '/etc/ejabberd/ejabberd.yml', '/etc/ejabberd/ejabberd.pem', '/etc/infinoted/infinoted-cert.pem', '/etc/infinoted/infinoted-key.pem', '/etc/matrix-synapse/homeserver.yaml', '/etc/matrix-synapse/log.yaml', '/var/lib/matrix-synapse/homeserver.db', '/etc/matrix-synapse/homeserver.signing.key', '/etc/matrix-synapse/homeserver.tls.crt', '/etc/matrix-synapse/homeserver.tls.key', '/etc/mumble-server.ini', '/etc/roundcube/freedombox-config.php', '/var/lib/dbconfig-common/sqlite3/roundcube/roundcube', '/etc/apache2/conf-available/sharing-freedombox.conf', '/var/lib/plinth/backups-data/zoph-database.sql', '/etc/zoph.ini', '/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json'], b'', b'Warning: Attempting to access a previously unknown unencrypted repository!\nDo you want to continue? [yN] Aborting.\nCache initialization aborted\n\x1b[31m ERROR\x1b[0m \x1b[94m__main__ \x1b[0m Error executing action: Command \'[\'borg\', \'create\', \'--json\', \'/var/lib/freedombox/borgbackup::after deleting cache and config\', \'/etc/ez-ipupdate/\', \'/etc/letsencrypt/\', \'/etc/coturn\', \'/var/lib/ejabberd/\', \'/etc/ejabberd/letsencrypt/\', \'/var/lib/ikiwiki/\', \'/var/www/ikiwiki/\', \'/var/lib/infinoted/\', \'/etc/matrix-synapse/conf.d/\', \'/var/lib/matrix-synapse/media/\', \'/var/lib/mumble-server\', \'/etc/radicale/\', \'/var/lib/radicale/\', \'/var/lib/shaarli/data\', \'/var/lib/syncthing/.config\', \'/var/lib/zoph/\', \'/etc/localtime\', \'/var/lib/plinth/backups-data/dynamicdns-settings.json\', \'/etc/popularity-contest.d/freedombox.conf\', \'/etc/snapper/configs/root\', \'/etc/default/snapper\', \'/etc/ssh/sshd_config.d/freedombox.conf\', \'/etc/ssh/ssh_host_ecdsa_key\', \'/etc/ssh/ssh_host_ecdsa_key.pub\', \'/etc/ssh/ssh_host_ed25519_key\', \'/etc/ssh/ssh_host_ed25519_key.pub\', \'/etc/ssh/ssh_host_rsa_key\', \'/etc/ssh/ssh_host_rsa_key.pub\', \'/etc/apt/apt.conf.d/20auto-upgrades\', \'/etc/ejabberd/ejabberd.yml\', \'/etc/ejabberd/ejabberd.pem\', \'/etc/infinoted/infinoted-cert.pem\', \'/etc/infinoted/infinoted-key.pem\', \'/etc/matrix-synapse/homeserver.yaml\', \'/etc/matrix-synapse/log.yaml\', \'/var/lib/matrix-synapse/homeserver.db\', \'/etc/matrix-synapse/homeserver.signing.key\', \'/etc/matrix-synapse/homeserver.tls.crt\', \'/etc/matrix-synapse/homeserver.tls.key\', \'/etc/mumble-server.ini\', \'/etc/roundcube/freedombox-config.php\', \'/var/lib/dbconfig-common/sqlite3/roundcube/roundcube\', \'/etc/apache2/conf-available/sharing-freedombox.conf\', \'/var/lib/plinth/backups-data/zoph-database.sql\', \'/etc/zoph.ini\', \'/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json\']\' 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 166, in create_archive\n _run(command, encryption_passphrase)\n File "/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py", line 352, in _run\n return subprocess.run(cmd, check=check, env=env, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File "/usr/lib/python3.11/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\nsubprocess.CalledProcessError: Command \'[\'borg\', \'create\', \'--json\', \'/var/lib/freedombox/borgbackup::after deleting cache and config\', \'/etc/ez-ipupdate/\', \'/etc/letsencrypt/\', \'/etc/coturn\', \'/var/lib/ejabberd/\', \'/etc/ejabberd/letsencrypt/\', \'/var/lib/ikiwiki/\', \'/var/www/ikiwiki/\', \'/var/lib/infinoted/\', \'/etc/matrix-synapse/conf.d/\', \'/var/lib/matrix-synapse/media/\', \'/var/lib/mumble-server\', \'/etc/radicale/\', \'/var/lib/radicale/\', \'/var/lib/shaarli/data\', \'/var/lib/syncthing/.config\', \'/var/lib/zoph/\', \'/etc/localtime\', \'/var/lib/plinth/backups-data/dynamicdns-settings.json\', \'/etc/popularity-contest.d/freedombox.conf\', \'/etc/snapper/configs/root\', \'/etc/default/snapper\', \'/etc/ssh/sshd_config.d/freedombox.conf\', \'/etc/ssh/ssh_host_ecdsa_key\', \'/etc/ssh/ssh_host_ecdsa_key.pub\', \'/etc/ssh/ssh_host_ed25519_key\', \'/etc/ssh/ssh_host_ed25519_key.pub\', \'/etc/ssh/ssh_host_rsa_key\', \'/etc/ssh/ssh_host_rsa_key.pub\', \'/etc/apt/apt.conf.d/20auto-upgrades\', \'/etc/ejabberd/ejabberd.yml\', \'/etc/ejabberd/ejabberd.pem\', \'/etc/infinoted/infinoted-cert.pem\', \'/etc/infinoted/infinoted-key.pem\', \'/etc/matrix-synapse/homeserver.yaml\', \'/etc/matrix-synapse/log.yaml\', \'/var/lib/matrix-synapse/homeserver.db\', \'/etc/matrix-synapse/homeserver.signing.key\', \'/etc/matrix-synapse/homeserver.tls.crt\', \'/etc/matrix-synapse/homeserver.tls.key\', \'/etc/mumble-server.ini\', \'/etc/roundcube/freedombox-config.php\', \'/var/lib/dbconfig-common/sqlite3/roundcube/roundcube\', \'/etc/apache2/conf-available/sharing-freedombox.conf\', \'/var/lib/plinth/backups-data/zoph-database.sql\', \'/etc/zoph.ini\', \'/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json\']\' returned non-zero exit status 2.\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 166, in create_archive\n _run(command, encryption_passphrase)\n', ' File "/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py", line 352, in _run\n return subprocess.run(cmd, check=check, env=env, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n', ' File "/usr/lib/python3.11/subprocess.py", line 571, in run\n raise CalledProcessError(retcode, process.args,\n'] Oct 15 13:50:32 fbx /usr/bin/plinth[522]: Internal Server Error: /plinth/sys/backups/create/ Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 181, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 70, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 98, in dispatch return handler(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/django/views/generic/edit.py", line 142, in post return self.form_valid(form) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/plinth/modules/backups/views.py", line 136, in form_valid repository.create_archive(name, selected_apps) File "/usr/lib/python3/dist-packages/plinth/modules/backups/repository.py", line 183, in create_archive api.backup_apps(_backup_handler, path=archive_path, app_ids=app_ids, File "/usr/lib/python3/dist-packages/plinth/modules/backups/api.py", line 131, in backup_apps _run_operation(backup_handler, packet, File "/usr/lib/python3/dist-packages/plinth/modules/backups/api.py", line 423, in _run_operation handler(packet, encryption_passphrase=encryption_passphrase) File "/usr/lib/python3/dist-packages/plinth/modules/backups/__init__.py", line 96, in _backup_handler privileged.create_archive(packet.path, paths, File "/usr/lib/python3/dist-packages/plinth/actions.py", line 57, in wrapper return _run_privileged_method_as_process(module_name, action_name, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/plinth/actions.py", line 116, in _run_privileged_method_as_process return _wait_for_return(*wait_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/plinth/actions.py", line 154, in _wait_for_return raise exception subprocess.CalledProcessError: Command '['borg', 'create', '--json', '/var/lib/freedombox/borgbackup::after deleting cache and config', '/etc/ez-ipupdate/', '/etc/letsencrypt/', '/etc/coturn', '/var/lib/ejabberd/', '/etc/ejabberd/letsencrypt/', '/var/lib/ikiwiki/', '/var/www/ikiwiki/', '/var/lib/infinoted/', '/etc/matrix-synapse/conf.d/', '/var/lib/matrix-synapse/media/', '/var/lib/mumble-server', '/etc/radicale/', '/var/lib/radicale/', '/var/lib/shaarli/data', '/var/lib/syncthing/.config', '/var/lib/zoph/', '/etc/localtime', '/var/lib/plinth/backups-data/dynamicdns-settings.json', '/etc/popularity-contest.d/freedombox.conf', '/etc/snapper/configs/root', '/etc/default/snapper', '/etc/ssh/sshd_config.d/freedombox.conf', '/etc/ssh/ssh_host_ecdsa_key', '/etc/ssh/ssh_host_ecdsa_key.pub', '/etc/ssh/ssh_host_ed25519_key', '/etc/ssh/ssh_host_ed25519_key.pub', '/etc/ssh/ssh_host_rsa_key', '/etc/ssh/ssh_host_rsa_key.pub', '/etc/apt/apt.conf.d/20auto-upgrades', '/etc/ejabberd/ejabberd.yml', '/etc/ejabberd/ejabberd.pem', '/etc/infinoted/infinoted-cert.pem', '/etc/infinoted/infinoted-key.pem', '/etc/matrix-synapse/homeserver.yaml', '/etc/matrix-synapse/log.yaml', '/var/lib/matrix-synapse/homeserver.db', '/etc/matrix-synapse/homeserver.signing.key', '/etc/matrix-synapse/homeserver.tls.crt', '/etc/matrix-synapse/homeserver.tls.key', '/etc/mumble-server.ini', '/etc/roundcube/freedombox-config.php', '/var/lib/dbconfig-common/sqlite3/roundcube/roundcube', '/etc/apache2/conf-available/sharing-freedombox.conf', '/var/lib/plinth/backups-data/zoph-database.sql', '/etc/zoph.ini', '/var/lib/plinth/backups-manifests/varlibfreedomboxborgbackupafter_deleting_cache_and_config.json']' returned non-zero exit status 2. Oct 15 13:50:36 fbx /usr/bin/plinth[522]: # help..get_logs(…) Oct 15 13:50:37 fbx sudo[53182]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions help get_logs --write-fd 16 Oct 15 13:50:37 fbx sudo[53182]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=115) _______________________________________________ Freedombox-discuss mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss
