What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.7
What app is this about: Borg
Describe your issue
Bonjour,
J’ai installé Borg et j’ai essayé de faire un backup en local (sur le hdd de ma freebox). Cependant cela ne fonctionne pas (le backup ne se fait pas).
En cherchant sur ce forum (Le service borg est en défault depuis la migration de Yunohost 12), j’ai fait une MAJ de Borg: sudo yunohost app upgrade borg --force.
Le problème est toujours présent.
Share relevant logs or error messages
args:
apps: null
description: null
dry_run: false
methods:
- borg_app
name: auto_conf
output_directory: null
system: - conf_ldap
- conf_ynh_settings
- conf_ynh_certs
- conf_manually_modified_files
ended_at: 2024-11-19 16:58:29.365192
error: “\xC9chec de la m\xE9thode de sauvegarde personnalis\xE9e \xE0 l’\xE9tape ‘backup’”
interface: cli
operation: backup_create
parent: null
related_to:
started_at: 2024-11-19 16:58:25.441444
success: false
yunohost_version: 12.0.7
============
2024-11-19 17:58:25,448: DEBUG - Exécution des scripts de sauvegarde…
2024-11-19 17:58:25,450: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "/usr/share/yunohost/hooks/backup/05-conf_ldap" /home/yunohost.backup/tmp/auto_conf 7>&1']'
2024-11-19 17:58:25,453: DEBUG - + set -eu
2024-11-19 17:58:25,453: DEBUG - + source /usr/share/yunohost/helpers
2024-11-19 17:58:25,454: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-11-19 17:58:25,454: DEBUG - +++ cd -- /usr/share/yunohost
2024-11-19 17:58:25,455: DEBUG - +++ pwd
2024-11-19 17:58:25,455: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-11-19 17:58:25,455: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-11-19 17:58:25,457: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-11-19 17:58:25,457: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-11-19 17:58:25,476: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ldap
2024-11-19 17:58:25,476: DEBUG - + ynh_backup /etc/ldap/ldap.conf /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf
2024-11-19 17:58:25,514: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf
2024-11-19 17:58:25,514: DEBUG - + is_big=0
2024-11-19 17:58:25,514: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,514: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,514: DEBUG - + test -n ''
2024-11-19 17:58:25,515: DEBUG - + '[' '!' -e /etc/ldap/ldap.conf ']'
2024-11-19 17:58:25,515: DEBUG - ++ realpath /etc/ldap/ldap.conf
2024-11-19 17:58:25,516: DEBUG - + src_path=/etc/ldap/ldap.conf
2024-11-19 17:58:25,516: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf ]]
2024-11-19 17:58:25,516: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,516: DEBUG - + dest_path=conf/ldap/ldap.conf
2024-11-19 17:58:25,516: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,516: DEBUG - + [[ f == \/ ]]
2024-11-19 17:58:25,516: DEBUG - + [[ -e conf/ldap/ldap.conf ]]
2024-11-19 17:58:25,516: DEBUG - + local rel_dir=
2024-11-19 17:58:25,516: DEBUG - + rel_dir=/
2024-11-19 17:58:25,516: DEBUG - + dest_path=/conf/ldap/ldap.conf
2024-11-19 17:58:25,516: DEBUG - + dest_path=conf/ldap/ldap.conf
2024-11-19 17:58:25,516: DEBUG - ++ echo /etc/ldap/ldap.conf
2024-11-19 17:58:25,516: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,518: DEBUG - + local src=/etc/ldap/ldap.conf
2024-11-19 17:58:25,519: DEBUG - ++ echo conf/ldap/ldap.conf
2024-11-19 17:58:25,519: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,520: DEBUG - + local dest=conf/ldap/ldap.conf
2024-11-19 17:58:25,521: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf
2024-11-19 17:58:25,521: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ldap
2024-11-19 17:58:25,523: DEBUG - + slapcat -b cn=config -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/cn=config.master.ldif
2024-11-19 17:58:25,537: DEBUG - + slapcat -b dc=yunohost,dc=org -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/dc=yunohost-dc=org.ldif
2024-11-19 17:58:25,639: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "/usr/share/yunohost/hooks/backup/20-conf_ynh_settings" /home/yunohost.backup/tmp/auto_conf 7>&1']'
2024-11-19 17:58:25,647: DEBUG - + set -eu
2024-11-19 17:58:25,647: DEBUG - + source /usr/share/yunohost/helpers
2024-11-19 17:58:25,649: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-11-19 17:58:25,651: DEBUG - +++ cd -- /usr/share/yunohost
2024-11-19 17:58:25,652: DEBUG - +++ pwd
2024-11-19 17:58:25,652: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-11-19 17:58:25,652: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-11-19 17:58:25,658: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-11-19 17:58:25,659: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-11-19 17:58:25,710: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,710: DEBUG - + ynh_backup /etc/yunohost/firewall.yml /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml
2024-11-19 17:58:25,749: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml
2024-11-19 17:58:25,749: DEBUG - + is_big=0
2024-11-19 17:58:25,749: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,749: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,749: DEBUG - + test -n ''
2024-11-19 17:58:25,749: DEBUG - + '[' '!' -e /etc/yunohost/firewall.yml ']'
2024-11-19 17:58:25,750: DEBUG - ++ realpath /etc/yunohost/firewall.yml
2024-11-19 17:58:25,750: DEBUG - + src_path=/etc/yunohost/firewall.yml
2024-11-19 17:58:25,751: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml ]]
2024-11-19 17:58:25,751: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,751: DEBUG - + dest_path=conf/ynh/firewall.yml
2024-11-19 17:58:25,751: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,751: DEBUG - + [[ l == \/ ]]
2024-11-19 17:58:25,751: DEBUG - + [[ -e conf/ynh/firewall.yml ]]
2024-11-19 17:58:25,751: DEBUG - + local rel_dir=
2024-11-19 17:58:25,751: DEBUG - + rel_dir=/
2024-11-19 17:58:25,751: DEBUG - + dest_path=/conf/ynh/firewall.yml
2024-11-19 17:58:25,751: DEBUG - + dest_path=conf/ynh/firewall.yml
2024-11-19 17:58:25,751: DEBUG - ++ echo /etc/yunohost/firewall.yml
2024-11-19 17:58:25,751: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,753: DEBUG - + local src=/etc/yunohost/firewall.yml
2024-11-19 17:58:25,753: DEBUG - ++ echo conf/ynh/firewall.yml
2024-11-19 17:58:25,754: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,755: DEBUG - + local dest=conf/ynh/firewall.yml
2024-11-19 17:58:25,755: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml
2024-11-19 17:58:25,756: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,758: DEBUG - + ynh_backup /etc/yunohost/current_host /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host
2024-11-19 17:58:25,797: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host
2024-11-19 17:58:25,797: DEBUG - + is_big=0
2024-11-19 17:58:25,797: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,797: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,797: DEBUG - + test -n ''
2024-11-19 17:58:25,797: DEBUG - + '[' '!' -e /etc/yunohost/current_host ']'
2024-11-19 17:58:25,797: DEBUG - ++ realpath /etc/yunohost/current_host
2024-11-19 17:58:25,798: DEBUG - + src_path=/etc/yunohost/current_host
2024-11-19 17:58:25,798: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host ]]
2024-11-19 17:58:25,799: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,799: DEBUG - + dest_path=conf/ynh/current_host
2024-11-19 17:58:25,799: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,799: DEBUG - + [[ t == \/ ]]
2024-11-19 17:58:25,799: DEBUG - + [[ -e conf/ynh/current_host ]]
2024-11-19 17:58:25,799: DEBUG - + local rel_dir=
2024-11-19 17:58:25,799: DEBUG - + rel_dir=/
2024-11-19 17:58:25,799: DEBUG - + dest_path=/conf/ynh/current_host
2024-11-19 17:58:25,799: DEBUG - + dest_path=conf/ynh/current_host
2024-11-19 17:58:25,799: DEBUG - ++ echo /etc/yunohost/current_host
2024-11-19 17:58:25,799: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,801: DEBUG - + local src=/etc/yunohost/current_host
2024-11-19 17:58:25,801: DEBUG - ++ echo conf/ynh/current_host
2024-11-19 17:58:25,801: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,803: DEBUG - + local dest=conf/ynh/current_host
2024-11-19 17:58:25,803: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host
2024-11-19 17:58:25,804: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,806: DEBUG - + '[' '!' -d /etc/yunohost/portal ']'
2024-11-19 17:58:25,806: DEBUG - + ynh_backup /etc/yunohost/portal /home/yunohost.backup/tmp/auto_conf/conf/ynh/portal
2024-11-19 17:58:25,845: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/portal
2024-11-19 17:58:25,845: DEBUG - + is_big=0
2024-11-19 17:58:25,845: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,845: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,845: DEBUG - + test -n ''
2024-11-19 17:58:25,845: DEBUG - + '[' '!' -e /etc/yunohost/portal ']'
2024-11-19 17:58:25,845: DEBUG - ++ realpath /etc/yunohost/portal
2024-11-19 17:58:25,846: DEBUG - + src_path=/etc/yunohost/portal
2024-11-19 17:58:25,846: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/portal ]]
2024-11-19 17:58:25,846: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,846: DEBUG - + dest_path=conf/ynh/portal
2024-11-19 17:58:25,846: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,846: DEBUG - + [[ l == \/ ]]
2024-11-19 17:58:25,846: DEBUG - + [[ -e conf/ynh/portal ]]
2024-11-19 17:58:25,847: DEBUG - + local rel_dir=
2024-11-19 17:58:25,847: DEBUG - + rel_dir=/
2024-11-19 17:58:25,847: DEBUG - + dest_path=/conf/ynh/portal
2024-11-19 17:58:25,847: DEBUG - + dest_path=conf/ynh/portal
2024-11-19 17:58:25,847: DEBUG - ++ echo /etc/yunohost/portal
2024-11-19 17:58:25,847: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,848: DEBUG - + local src=/etc/yunohost/portal
2024-11-19 17:58:25,849: DEBUG - ++ echo conf/ynh/portal
2024-11-19 17:58:25,849: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,851: DEBUG - + local dest=conf/ynh/portal
2024-11-19 17:58:25,851: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/portal
2024-11-19 17:58:25,852: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,853: DEBUG - + '[' '!' -d /etc/yunohost/domains ']'
2024-11-19 17:58:25,853: DEBUG - + ynh_backup /etc/yunohost/domains /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains
2024-11-19 17:58:25,893: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/domains
2024-11-19 17:58:25,893: DEBUG - + is_big=0
2024-11-19 17:58:25,893: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,893: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,893: DEBUG - + test -n ''
2024-11-19 17:58:25,893: DEBUG - + '[' '!' -e /etc/yunohost/domains ']'
2024-11-19 17:58:25,893: DEBUG - ++ realpath /etc/yunohost/domains
2024-11-19 17:58:25,894: DEBUG - + src_path=/etc/yunohost/domains
2024-11-19 17:58:25,894: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains ]]
2024-11-19 17:58:25,894: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,894: DEBUG - + dest_path=conf/ynh/domains
2024-11-19 17:58:25,894: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,894: DEBUG - + [[ s == \/ ]]
2024-11-19 17:58:25,894: DEBUG - + [[ -e conf/ynh/domains ]]
2024-11-19 17:58:25,894: DEBUG - + local rel_dir=
2024-11-19 17:58:25,894: DEBUG - + rel_dir=/
2024-11-19 17:58:25,895: DEBUG - + dest_path=/conf/ynh/domains
2024-11-19 17:58:25,895: DEBUG - + dest_path=conf/ynh/domains
2024-11-19 17:58:25,895: DEBUG - ++ echo /etc/yunohost/domains
2024-11-19 17:58:25,895: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,896: DEBUG - + local src=/etc/yunohost/domains
2024-11-19 17:58:25,897: DEBUG - ++ echo conf/ynh/domains
2024-11-19 17:58:25,897: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,898: DEBUG - + local dest=conf/ynh/domains
2024-11-19 17:58:25,899: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains
2024-11-19 17:58:25,900: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,901: DEBUG - + '[' '!' -e /etc/yunohost/settings.yml ']'
2024-11-19 17:58:25,901: DEBUG - + ynh_backup /etc/yunohost/settings.yml /home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml
2024-11-19 17:58:25,941: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml
2024-11-19 17:58:25,941: DEBUG - + is_big=0
2024-11-19 17:58:25,941: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,941: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,941: DEBUG - + test -n ''
2024-11-19 17:58:25,941: DEBUG - + '[' '!' -e /etc/yunohost/settings.yml ']'
2024-11-19 17:58:25,941: DEBUG - ++ realpath /etc/yunohost/settings.yml
2024-11-19 17:58:25,942: DEBUG - + src_path=/etc/yunohost/settings.yml
2024-11-19 17:58:25,942: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml ]]
2024-11-19 17:58:25,942: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,942: DEBUG - + dest_path=conf/ynh/settings.yml
2024-11-19 17:58:25,942: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,942: DEBUG - + [[ l == \/ ]]
2024-11-19 17:58:25,942: DEBUG - + [[ -e conf/ynh/settings.yml ]]
2024-11-19 17:58:25,942: DEBUG - + local rel_dir=
2024-11-19 17:58:25,942: DEBUG - + rel_dir=/
2024-11-19 17:58:25,942: DEBUG - + dest_path=/conf/ynh/settings.yml
2024-11-19 17:58:25,943: DEBUG - + dest_path=conf/ynh/settings.yml
2024-11-19 17:58:25,943: DEBUG - ++ echo /etc/yunohost/settings.yml
2024-11-19 17:58:25,943: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,944: DEBUG - + local src=/etc/yunohost/settings.yml
2024-11-19 17:58:25,945: DEBUG - ++ echo conf/ynh/settings.yml
2024-11-19 17:58:25,945: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,946: DEBUG - + local dest=conf/ynh/settings.yml
2024-11-19 17:58:25,947: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml
2024-11-19 17:58:25,948: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,949: DEBUG - + '[' '!' -d /etc/yunohost/dyndns ']'
2024-11-19 17:58:25,949: DEBUG - + ynh_backup /etc/yunohost/dyndns /home/yunohost.backup/tmp/auto_conf/conf/ynh/dyndns
2024-11-19 17:58:25,989: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/dyndns
2024-11-19 17:58:25,989: DEBUG - + is_big=0
2024-11-19 17:58:25,989: DEBUG - + not_mandatory=0
2024-11-19 17:58:25,989: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:25,989: DEBUG - + test -n ''
2024-11-19 17:58:25,989: DEBUG - + '[' '!' -e /etc/yunohost/dyndns ']'
2024-11-19 17:58:25,989: DEBUG - ++ realpath /etc/yunohost/dyndns
2024-11-19 17:58:25,990: DEBUG - + src_path=/etc/yunohost/dyndns
2024-11-19 17:58:25,990: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/dyndns ]]
2024-11-19 17:58:25,990: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:25,990: DEBUG - + dest_path=conf/ynh/dyndns
2024-11-19 17:58:25,990: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:25,990: DEBUG - + [[ s == \/ ]]
2024-11-19 17:58:25,990: DEBUG - + [[ -e conf/ynh/dyndns ]]
2024-11-19 17:58:25,990: DEBUG - + local rel_dir=
2024-11-19 17:58:25,990: DEBUG - + rel_dir=/
2024-11-19 17:58:25,991: DEBUG - + dest_path=/conf/ynh/dyndns
2024-11-19 17:58:25,991: DEBUG - + dest_path=conf/ynh/dyndns
2024-11-19 17:58:25,991: DEBUG - ++ echo /etc/yunohost/dyndns
2024-11-19 17:58:25,991: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,992: DEBUG - + local src=/etc/yunohost/dyndns
2024-11-19 17:58:25,993: DEBUG - ++ echo conf/ynh/dyndns
2024-11-19 17:58:25,993: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:25,994: DEBUG - + local dest=conf/ynh/dyndns
2024-11-19 17:58:25,995: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/dyndns
2024-11-19 17:58:25,996: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:25,997: DEBUG - + '[' '!' -d /etc/dkim ']'
2024-11-19 17:58:25,997: DEBUG - + ynh_backup /etc/dkim /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim
2024-11-19 17:58:26,037: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim
2024-11-19 17:58:26,037: DEBUG - + is_big=0
2024-11-19 17:58:26,037: DEBUG - + not_mandatory=0
2024-11-19 17:58:26,037: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:26,037: DEBUG - + test -n ''
2024-11-19 17:58:26,037: DEBUG - + '[' '!' -e /etc/dkim ']'
2024-11-19 17:58:26,037: DEBUG - ++ realpath /etc/dkim
2024-11-19 17:58:26,038: DEBUG - + src_path=/etc/dkim
2024-11-19 17:58:26,038: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim ]]
2024-11-19 17:58:26,038: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:26,038: DEBUG - + dest_path=conf/ynh/dkim
2024-11-19 17:58:26,038: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:26,038: DEBUG - + [[ m == \/ ]]
2024-11-19 17:58:26,038: DEBUG - + [[ -e conf/ynh/dkim ]]
2024-11-19 17:58:26,039: DEBUG - + local rel_dir=
2024-11-19 17:58:26,039: DEBUG - + rel_dir=/
2024-11-19 17:58:26,039: DEBUG - + dest_path=/conf/ynh/dkim
2024-11-19 17:58:26,039: DEBUG - + dest_path=conf/ynh/dkim
2024-11-19 17:58:26,039: DEBUG - ++ echo /etc/dkim
2024-11-19 17:58:26,039: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,040: DEBUG - + local src=/etc/dkim
2024-11-19 17:58:26,041: DEBUG - ++ echo conf/ynh/dkim
2024-11-19 17:58:26,041: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,043: DEBUG - + local dest=conf/ynh/dkim
2024-11-19 17:58:26,043: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim
2024-11-19 17:58:26,044: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:26,146: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "/usr/share/yunohost/hooks/backup/21-conf_ynh_certs" /home/yunohost.backup/tmp/auto_conf 7>&1']'
2024-11-19 17:58:26,154: DEBUG - + set -eu
2024-11-19 17:58:26,155: DEBUG - + source /usr/share/yunohost/helpers
2024-11-19 17:58:26,156: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-11-19 17:58:26,159: DEBUG - +++ cd -- /usr/share/yunohost
2024-11-19 17:58:26,159: DEBUG - +++ pwd
2024-11-19 17:58:26,160: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-11-19 17:58:26,160: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-11-19 17:58:26,166: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-11-19 17:58:26,166: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-11-19 17:58:26,219: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-11-19 17:58:26,219: DEBUG - + ynh_backup /etc/yunohost/certs /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-11-19 17:58:26,259: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-11-19 17:58:26,259: DEBUG - + is_big=0
2024-11-19 17:58:26,259: DEBUG - + not_mandatory=0
2024-11-19 17:58:26,259: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:26,259: DEBUG - + test -n ''
2024-11-19 17:58:26,259: DEBUG - + '[' '!' -e /etc/yunohost/certs ']'
2024-11-19 17:58:26,259: DEBUG - ++ realpath /etc/yunohost/certs
2024-11-19 17:58:26,260: DEBUG - + src_path=/etc/yunohost/certs
2024-11-19 17:58:26,260: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs ]]
2024-11-19 17:58:26,260: DEBUG - + [[ / == \/ ]]
2024-11-19 17:58:26,260: DEBUG - + dest_path=conf/ynh/certs
2024-11-19 17:58:26,260: DEBUG - + [[ c == \/ ]]
2024-11-19 17:58:26,260: DEBUG - + [[ s == \/ ]]
2024-11-19 17:58:26,260: DEBUG - + [[ -e conf/ynh/certs ]]
2024-11-19 17:58:26,260: DEBUG - + local rel_dir=
2024-11-19 17:58:26,260: DEBUG - + rel_dir=/
2024-11-19 17:58:26,260: DEBUG - + dest_path=/conf/ynh/certs
2024-11-19 17:58:26,261: DEBUG - + dest_path=conf/ynh/certs
2024-11-19 17:58:26,261: DEBUG - ++ echo /etc/yunohost/certs
2024-11-19 17:58:26,261: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,262: DEBUG - + local src=/etc/yunohost/certs
2024-11-19 17:58:26,263: DEBUG - ++ echo conf/ynh/certs
2024-11-19 17:58:26,263: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,264: DEBUG - + local dest=conf/ynh/certs
2024-11-19 17:58:26,265: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-11-19 17:58:26,266: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-11-19 17:58:26,368: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "/usr/share/yunohost/hooks/backup/50-conf_manually_modified_files" /home/yunohost.backup/tmp/auto_conf 7>&1']'
2024-11-19 17:58:26,376: DEBUG - + source /usr/share/yunohost/helpers
2024-11-19 17:58:26,378: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-11-19 17:58:26,380: DEBUG - +++ cd -- /usr/share/yunohost
2024-11-19 17:58:26,381: DEBUG - +++ pwd
2024-11-19 17:58:26,381: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-11-19 17:58:26,382: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-11-19 17:58:26,387: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-11-19 17:58:26,387: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-11-19 17:58:26,443: DEBUG - + ynh_abort_if_errors
2024-11-19 17:58:26,443: DEBUG - + trap ynh_exit_properly EXIT
2024-11-19 17:58:26,443: DEBUG - + YNH_CWD=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-11-19 17:58:26,443: DEBUG - + mkdir -p /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-11-19 17:58:26,444: DEBUG - + cd /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-11-19 17:58:26,444: DEBUG - + yunohost tools shell -c 'from yunohost.regenconf import manually_modified_files; print('\''\n'\''.join(manually_modified_files()))'
2024-11-19 17:58:26,648: DEBUG - + ynh_backup --src_path=./manually_modified_files_list
2024-11-19 17:58:26,675: DEBUG - + dest_path=
2024-11-19 17:58:26,675: DEBUG - + is_big=0
2024-11-19 17:58:26,675: DEBUG - + not_mandatory=0
2024-11-19 17:58:26,675: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:26,675: DEBUG - + test -n ''
2024-11-19 17:58:26,675: DEBUG - + '[' '!' -e ./manually_modified_files_list ']'
2024-11-19 17:58:26,676: DEBUG - ++ realpath ./manually_modified_files_list
2024-11-19 17:58:26,676: DEBUG - + src_path=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,677: DEBUG - + [[ -z '' ]]
2024-11-19 17:58:26,677: DEBUG - + dest_path=home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,677: DEBUG - + [[ -e home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list ]]
2024-11-19 17:58:26,677: DEBUG - + local rel_dir=/conf/manually_modified_files
2024-11-19 17:58:26,677: DEBUG - + rel_dir=/conf/manually_modified_files/
2024-11-19 17:58:26,677: DEBUG - + dest_path=/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,677: DEBUG - + dest_path=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,677: DEBUG - ++ echo /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,677: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,679: DEBUG - + local src=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,680: DEBUG - ++ echo conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,680: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,681: DEBUG - + local dest=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,682: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-11-19 17:58:26,683: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-11-19 17:58:26,685: DEBUG - ++ cat ./manually_modified_files_list
2024-11-19 17:58:26,686: DEBUG - + ynh_backup --src_path=/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,713: DEBUG - + dest_path=
2024-11-19 17:58:26,713: DEBUG - + is_big=0
2024-11-19 17:58:26,713: DEBUG - + not_mandatory=0
2024-11-19 17:58:26,713: DEBUG - + BACKUP_CORE_ONLY=0
2024-11-19 17:58:26,713: DEBUG - + test -n ''
2024-11-19 17:58:26,713: DEBUG - + '[' '!' -e /etc/ssowat/conf.json.persistent ']'
2024-11-19 17:58:26,713: DEBUG - ++ realpath /etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,714: DEBUG - + src_path=/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,714: DEBUG - + [[ -z '' ]]
2024-11-19 17:58:26,715: DEBUG - + dest_path=etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,715: DEBUG - + [[ -e etc/ssowat/conf.json.persistent ]]
2024-11-19 17:58:26,715: DEBUG - + local rel_dir=/conf/manually_modified_files
2024-11-19 17:58:26,715: DEBUG - + rel_dir=/conf/manually_modified_files/
2024-11-19 17:58:26,715: DEBUG - + dest_path=/conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,715: DEBUG - + dest_path=conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,715: DEBUG - ++ echo /etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,715: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,717: DEBUG - + local src=/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,718: DEBUG - ++ echo conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,718: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-11-19 17:58:26,719: DEBUG - + local dest=conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,720: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-11-19 17:58:26,721: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat
2024-11-19 17:58:26,723: DEBUG - + ynh_exit_properly
2024-11-19 17:58:26,723: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]]
2024-11-19 17:58:26,888: INFO - Création d'une archive de sauvegarde à partir des fichiers collectés…
2024-11-19 17:58:26,888: INFO - L'archive contiendra environ 440.8KB de données.
2024-11-19 17:58:26,889: DEBUG - Appel de la méthode de sauvegarde personnalisée 'borg_app'…
2024-11-19 17:58:26,890: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./05-borg_app" need_mount /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 451330 \'\' 7>&1']'
2024-11-19 17:58:26,897: DEBUG - + set -Eeuo pipefail
2024-11-19 17:58:26,897: DEBUG - + borg=/var/www/borg/venv/bin/borg
2024-11-19 17:58:26,898: DEBUG - ++ yunohost app setting borg passphrase
2024-11-19 17:58:27,080: DEBUG - + BORG_PASSPHRASE=**********
2024-11-19 17:58:27,080: DEBUG - ++ yunohost app setting borg repository
2024-11-19 17:58:27,239: DEBUG - + BORG_REPO=/media/freebox/home/backup
2024-11-19 17:58:27,239: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf
2024-11-19 17:58:27,240: DEBUG - + ssh-keygen -F ''
2024-11-19 17:58:27,246: WARNING - Cannot stat /root/.ssh/known_hosts: No such file or directory
2024-11-19 17:58:27,247: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no '
2024-11-19 17:58:27,247: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf
2024-11-19 17:58:27,247: DEBUG - + name=auto_conf
2024-11-19 17:58:27,247: DEBUG - + size=451330
2024-11-19 17:58:27,247: DEBUG - + description=
2024-11-19 17:58:27,247: DEBUG - + case "$1" in
2024-11-19 17:58:27,247: DEBUG - + do_need_mount /home/yunohost.backup/tmp/auto_conf auto_conf 451330 ''
2024-11-19 17:58:27,247: DEBUG - + true
2024-11-19 17:58:27,382: DEBUG - Copie de 0.0030841827392578125 Mo pour organiser l'archive
2024-11-19 17:58:27,383: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./05-borg_app" backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 451330 \'\' 7>&1']'
2024-11-19 17:58:27,386: DEBUG - + set -Eeuo pipefail
2024-11-19 17:58:27,386: DEBUG - + borg=/var/www/borg/venv/bin/borg
2024-11-19 17:58:27,386: DEBUG - ++ yunohost app setting borg passphrase
2024-11-19 17:58:27,548: DEBUG - + BORG_PASSPHRASE=**********
2024-11-19 17:58:27,548: DEBUG - ++ yunohost app setting borg repository
2024-11-19 17:58:27,708: DEBUG - + BORG_REPO=/media/freebox/home/backup
2024-11-19 17:58:27,708: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf
2024-11-19 17:58:27,708: DEBUG - + ssh-keygen -F ''
2024-11-19 17:58:27,713: WARNING - Cannot stat /root/.ssh/known_hosts: No such file or directory
2024-11-19 17:58:27,713: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no '
2024-11-19 17:58:27,713: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf
2024-11-19 17:58:27,713: DEBUG - + name=auto_conf
2024-11-19 17:58:27,713: DEBUG - + size=451330
2024-11-19 17:58:27,713: DEBUG - + description=
2024-11-19 17:58:27,713: DEBUG - + case "$1" in
2024-11-19 17:58:27,713: DEBUG - + do_backup /home/yunohost.backup/tmp/auto_conf auto_conf 451330 ''
2024-11-19 17:58:27,714: DEBUG - + export BORG_PASSPHRASE
2024-11-19 17:58:27,714: DEBUG - + export BORG_REPO
2024-11-19 17:58:27,714: DEBUG - + export BORG_RSH
2024-11-19 17:58:27,714: DEBUG - + export BORG_LOGGING_CONF
2024-11-19 17:58:27,714: DEBUG - + export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
2024-11-19 17:58:27,714: DEBUG - + BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
2024-11-19 17:58:27,714: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf
2024-11-19 17:58:27,714: DEBUG - + name=auto_conf
2024-11-19 17:58:27,714: DEBUG - + size=451330
2024-11-19 17:58:27,714: DEBUG - + description=
2024-11-19 17:58:27,714: DEBUG - + set +e
2024-11-19 17:58:27,714: DEBUG - + /var/www/borg/venv/bin/borg list
2024-11-19 17:58:28,394: DEBUG - + /var/www/borg/venv/bin/borg init -e repokey
2024-11-19 17:58:28,704: DEBUG -
2024-11-19 17:58:28,704: DEBUG - Your first backup on /media/freebox/home/backup is starting.
2024-11-19 17:58:28,704: DEBUG -
2024-11-19 17:58:28,704: DEBUG - This is an automated message from your beloved YunoHost server.'
2024-11-19 17:58:28,704: DEBUG - + /usr/bin/mail.mailutils -a 'Content-Type: text/plain; charset=UTF-8' -s '[YNH] First backup is starting' root
2024-11-19 17:58:28,748: DEBUG - + set -e
2024-11-19 17:58:28,749: DEBUG - + /var/www/borg/venv/bin/borg create --stats '::auto_conf-{now}' /home/yunohost.backup/tmp/auto_conf
2024-11-19 17:58:29,351: ERROR - Échec de l'exécution du script : /etc/yunohost/hooks.d/backup_method/05-borg_app
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 298, in hook_callback
hook_return = hook_exec(
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/yunohost/hook.py", line 418, in hook_exec
raise YunohostError("hook_exec_failed", path=path)
yunohost.utils.error.YunohostError: Échec de l'exécution du script : /etc/yunohost/hooks.d/backup_method/05-borg_app