Starting from October 22nd, my freedombox failed to run the daily backups that were successful before. These backups are done to another machine on the local network, I checked that I still can connect to that machine by sftp with the credentials that were used before.
After the failure postfix/dovecot does not work any more, some services still work, others don’t. I have deactivated backups because not having the emails work would be a problem.
I just tried the backup manually, it also fails, same like the periodic backups. Freedombox version is currently 22.23.
Here are the logs (1st part - too long to paste in one message): I can get from plinth:
– Boot 7de2c32e577743089cb1b8139cb0b89c –
Nov 06 18:04:09 fbox /usr/bin/plinth[13440]: # storage…usage_info(…)
Nov 06 18:04:09 fbox sudo[17775]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions storage usage_info --write-fd 21
Nov 06 18:04:09 fbox sudo[17775]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:04:15 fbox sudo[17775]: pam_unix(sudo:session): session closed for user root
Nov 06 18:06:42 fbox /usr/bin/plinth[13440]: # backups…is_mounted(…)
Nov 06 18:06:42 fbox sudo[17790]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions backups is_mounted --write-fd 17
Nov 06 18:06:42 fbox sudo[17790]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:06:47 fbox sudo[17790]: pam_unix(sudo:session): session closed for user root
Nov 06 18:06:48 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:06:48 fbox sudo[17797]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 17
Nov 06 18:06:48 fbox sudo[17797]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:06:58 fbox /usr/share/plinth/actions/actions[17799]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:07:01 fbox sudo[17797]: pam_unix(sudo:session): session closed for user root
Nov 06 18:07:01 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:07:01 fbox sudo[17805]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 17
Nov 06 18:07:01 fbox sudo[17805]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:07:09 fbox /usr/share/plinth/actions/actions[17807]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:07:17 fbox sudo[17805]: pam_unix(sudo:session): session closed for user root
Nov 06 18:07:18 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:07:18 fbox sudo[17819]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 18
Nov 06 18:07:18 fbox sudo[17819]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:07:28 fbox /usr/share/plinth/actions/actions[17821]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:07:29 fbox sudo[17819]: pam_unix(sudo:session): session closed for user root
Nov 06 18:07:30 fbox /usr/bin/plinth[13440]: # apache…disable(…)
Nov 06 18:07:30 fbox sudo[17871]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions apache disable --write-fd 18
Nov 06 18:07:30 fbox sudo[17871]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:07:37 fbox sudo[17871]: pam_unix(sudo:session): session closed for user root
Nov 06 18:07:38 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:07:38 fbox sudo[18006]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 18
Nov 06 18:07:38 fbox sudo[18006]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:07:46 fbox /usr/share/plinth/actions/actions[18008]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:07:48 fbox sudo[18006]: pam_unix(sudo:session): session closed for user root
Nov 06 18:07:48 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:07:48 fbox sudo[18015]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 18
Nov 06 18:07:48 fbox sudo[18015]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:07:57 fbox /usr/share/plinth/actions/actions[18017]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:08:04 fbox sudo[18015]: pam_unix(sudo:session): session closed for user root
Nov 06 18:08:05 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:08:05 fbox sudo[18060]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 18
Nov 06 18:08:05 fbox sudo[18060]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:08:13 fbox /usr/share/plinth/actions/actions[18062]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:08:16 fbox sudo[18060]: pam_unix(sudo:session): session closed for user root
Nov 06 18:08:17 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:08:17 fbox sudo[18071]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 18
Nov 06 18:08:17 fbox sudo[18071]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:08:25 fbox /usr/share/plinth/actions/actions[18073]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:08:44 fbox sudo[18071]: pam_unix(sudo:session): session closed for user root
Nov 06 18:08:45 fbox /usr/bin/plinth[13440]: # plinth…stop(…)
Nov 06 18:08:52 fbox sudo[18173]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions plinth stop --write-fd 18
Nov 06 18:08:52 fbox sudo[18173]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:09:02 fbox /usr/share/plinth/actions/actions[18175]: Initialized apps - apache, api, names, avahi, storage, backups, cockpit, firewall, config, datetime, diagnostics, dynamicdns, first_boot, help, letsencrypt, networks, power, security, snapshot, ssh, sso, upgrades, users, privacy, bind, deluge, coturn, ejabberd, ikiwiki, infinoted, jsxc, matrixsynapse, mediawiki, minetest, mumble, openvpn, pagekite, privoxy, quassel, radicale, roundcube, searx, shadowsocks, syncthing, tor, transmission, ttrss, bepasty, calibre, gitweb, i2p, minidlna, performance, samba, sharing, wireguard, zoph, wordpress, shaarli, email, janus, rssbridge
Nov 06 18:09:03 fbox sudo[18173]: pam_unix(sudo:session): session closed for user root
Nov 06 18:09:03 fbox /usr/bin/plinth[13440]: Running backup_pre hooks
Nov 06 18:09:03 fbox /usr/bin/plinth[13440]: # backups…dump_settings(…)
Nov 06 18:09:03 fbox sudo[18210]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions backups dump_settings --write-fd 18
Nov 06 18:09:03 fbox sudo[18210]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:09:08 fbox sudo[18210]: pam_unix(sudo:session): session closed for user root
Nov 06 18:09:08 fbox /usr/bin/plinth[13440]: # samba…dump_shares(…)
Nov 06 18:09:08 fbox sudo[18251]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions samba dump_shares --write-fd 18
Nov 06 18:09:08 fbox sudo[18251]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:09:16 fbox sudo[18251]: pam_unix(sudo:session): session closed for user root
Nov 06 18:09:16 fbox /usr/bin/plinth[13440]: # backups…create_archive(…)
Nov 06 18:09:16 fbox sudo[18257]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions backups create_archive --write-fd 18
Nov 06 18:09:16 fbox sudo[18257]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Nov 06 18:09:25 fbox /usr/share/plinth/actions/actions[18259]: Error executing action: Command ‘[‘borg’, ‘create’, ‘–json’, ‘/media/bda056a4-4a23-11ec-a475-020a0480e0fc::2022-06-11-Essai-apres-echecs’, ‘/etc/letsencrypt/’, ‘/etc/coturn’, ‘/var/lib/ejabberd/’, ‘/etc/ejabberd/letsencrypt/’, ‘/etc/matrix-synapse/conf.d/’, ‘/var/lib/matrix-synapse/media/’, ‘/var/lib/mumble-server’, ‘/etc/openvpn/’, ‘/var/lib/quassel/’, ‘/etc/radicale/’, ‘/var/lib/radicale/’, ‘/var/lib/syncthing/.config’, ‘/etc/tor/’, ‘/var/lib/tor/’, ‘/var/lib/tor-instances/’, ‘/var/lib/shaarli/data’, ‘/etc/postfix/’, ‘/etc/dovecot/conf.d/’, ‘/etc/rspamd/’, ‘/var/lib/postfix/freedombox-aliases/’, ‘/var/lib/rspamd/’, ‘/var/mail/’, ‘/etc/timezone’, ‘/var/lib/plinth/backups-data/dynamicdns-settings.json’, ‘/etc/snapper/configs/root’, ‘/etc/default/snapper’, ‘/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/popularity-contest.d/freedombox.conf’, ‘/etc/bind/named.conf.options’, ‘/etc/ejabberd/ejabberd.yml’, ‘/etc/ejabberd/ejabberd.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’, ‘/var/lib/plinth/backups-data/samba-shares-dump.conf’, ‘/etc/apache2/conf-available/sharing-freedombox.conf’, ‘/etc/aliases’, ‘/var/lib/plinth/backups-manifests/mediabda056a4-4a23-11ec-a475-020a0480e0fc2022-06-11-Essai-apres-echecs.json’]’ returned non-zero exit status 2.
Traceback (most recent call last):
File “/usr/share/plinth/actions/actions”, line 92, in _call
return_values = func(*arguments[‘args’], **arguments[‘kwargs’])
File “/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py”, line 168, in create_archive
_run(command, encryption_passphrase)
File “/usr/lib/python3/dist-packages/plinth/modules/backups/privileged.py”, line 350, in _run
return subprocess.run(cmd, check=check, env=env, **kwargs)
File “/usr/lib/python3.9/subprocess.py”, line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘borg’, ‘create’, ‘–json’, ‘/media/bda056a4-4a23-11ec-a475-020a0480e0fc::2022-06-11-Essai-apres-echecs’, ‘/etc/letsencrypt/’, ‘/etc/coturn’, ‘/var/lib/ejabberd/’, ‘/etc/ejabberd/letsencrypt/’, ‘/etc/matrix-synapse/conf.d/’, ‘/var/lib/matrix-synapse/media/’, ‘/var/lib/mumble-server’, ‘/etc/openvpn/’, ‘/var/lib/quassel/’, ‘/etc/radicale/’, ‘/var/lib/radicale/’, ‘/var/lib/syncthing/.config’, ‘/etc/tor/’, ‘/var/lib/tor/’, ‘/var/lib/tor-instances/’, ‘/var/lib/shaarli/data’, ‘/etc/postfix/’, ‘/etc/dovecot/conf.d/’, ‘/etc/rspamd/’, ‘/var/lib/postfix/freedombox-aliases/’, ‘/var/lib/rspamd/’, ‘/var/mail/’, ‘/etc/timezone’, ‘/var/lib/plinth/backups-data/dynamicdns-settings.json’, ‘/etc/snapper/configs/root’, ‘/etc/default/snapper’, ‘/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/popularity-contest.d/freedombox.conf’, ‘/etc/bind/named.conf.options’, ‘/etc/ejabberd/ejabberd.yml’, ‘/etc/ejabberd/ejabberd.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’, ‘/var/lib/plinth/backups-data/samba-shares-dump.conf’, ‘/etc/apache2/conf-available/sharing-freedombox.conf’, ‘/etc/aliases’, ‘/var/lib/plinth/backups-manifests/mediabda056a4-4a23-11ec-a475-020a0480e0fc2022-06-11-Essai-apres-echecs.json’]’ returned non-zero exit status 2.
Nov 06 18:09:26 fbox sudo[18257]: pam_unix(sudo:session): session closed for user root