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-09-30 22:00:15.025531 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-09-30 22:00:06.263625 success: false yunohost_version: 11.2.30.2 ============ 2024-10-01 00:00:06,278: DEBUG - Exécution des scripts de sauvegarde… 2024-10-01 00:00:06,284: 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-10-01 00:00:06,290: DEBUG - + set -eu 2024-10-01 00:00:06,290: DEBUG - + source /usr/share/yunohost/helpers 2024-10-01 00:00:06,290: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-01 00:00:06,291: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-01 00:00:06,291: DEBUG - +++ pwd 2024-10-01 00:00:06,291: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-01 00:00:06,292: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-01 00:00:06,294: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-01 00:00:06,294: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-01 00:00:06,326: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ldap 2024-10-01 00:00:06,326: DEBUG - + ynh_backup /etc/ldap/ldap.conf /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf 2024-10-01 00:00:06,388: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf 2024-10-01 00:00:06,388: DEBUG - + is_big=0 2024-10-01 00:00:06,388: DEBUG - + not_mandatory=0 2024-10-01 00:00:06,388: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:06,389: DEBUG - + test -n '' 2024-10-01 00:00:06,389: DEBUG - + '[' '!' -e /etc/ldap/ldap.conf ']' 2024-10-01 00:00:06,389: DEBUG - ++ realpath /etc/ldap/ldap.conf 2024-10-01 00:00:06,389: DEBUG - + src_path=/etc/ldap/ldap.conf 2024-10-01 00:00:06,390: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf ]] 2024-10-01 00:00:06,390: DEBUG - + [[ / == \/ ]] 2024-10-01 00:00:06,390: DEBUG - + dest_path=conf/ldap/ldap.conf 2024-10-01 00:00:06,390: DEBUG - + [[ c == \/ ]] 2024-10-01 00:00:06,390: DEBUG - + [[ f == \/ ]] 2024-10-01 00:00:06,390: DEBUG - + [[ -e conf/ldap/ldap.conf ]] 2024-10-01 00:00:06,390: DEBUG - + local rel_dir= 2024-10-01 00:00:06,390: DEBUG - + rel_dir=/ 2024-10-01 00:00:06,390: DEBUG - + dest_path=/conf/ldap/ldap.conf 2024-10-01 00:00:06,391: DEBUG - + dest_path=conf/ldap/ldap.conf 2024-10-01 00:00:06,391: DEBUG - ++ echo /etc/ldap/ldap.conf 2024-10-01 00:00:06,391: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:06,392: DEBUG - + local src=/etc/ldap/ldap.conf 2024-10-01 00:00:06,393: DEBUG - ++ echo conf/ldap/ldap.conf 2024-10-01 00:00:06,393: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:06,395: DEBUG - + local dest=conf/ldap/ldap.conf 2024-10-01 00:00:06,395: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf 2024-10-01 00:00:06,396: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ldap 2024-10-01 00:00:06,399: DEBUG - + slapcat -b cn=config -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/cn=config.master.ldif 2024-10-01 00:00:06,413: DEBUG - + slapcat -b dc=yunohost,dc=org -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/dc=yunohost-dc=org.ldif 2024-10-01 00:00:07,415: 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-10-01 00:00:07,422: DEBUG - + set -eu 2024-10-01 00:00:07,422: DEBUG - + source /usr/share/yunohost/helpers 2024-10-01 00:00:07,422: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-01 00:00:07,423: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-01 00:00:07,423: DEBUG - +++ pwd 2024-10-01 00:00:07,424: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-01 00:00:07,424: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-01 00:00:07,425: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-01 00:00:07,425: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-01 00:00:07,462: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-01 00:00:07,462: DEBUG - + ynh_backup /etc/yunohost/firewall.yml /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml 2024-10-01 00:00:07,523: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml 2024-10-01 00:00:07,524: DEBUG - + is_big=0 2024-10-01 00:00:07,524: DEBUG - + not_mandatory=0 2024-10-01 00:00:07,524: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:07,524: DEBUG - + test -n '' 2024-10-01 00:00:07,524: DEBUG - + '[' '!' -e /etc/yunohost/firewall.yml ']' 2024-10-01 00:00:07,524: DEBUG - ++ realpath /etc/yunohost/firewall.yml 2024-10-01 00:00:07,525: DEBUG - + src_path=/etc/yunohost/firewall.yml 2024-10-01 00:00:07,525: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml ]] 2024-10-01 00:00:07,525: DEBUG - + [[ / == \/ ]] 2024-10-01 00:00:07,526: DEBUG - + dest_path=conf/ynh/firewall.yml 2024-10-01 00:00:07,526: DEBUG - + [[ c == \/ ]] 2024-10-01 00:00:07,526: DEBUG - + [[ l == \/ ]] 2024-10-01 00:00:07,526: DEBUG - + [[ -e conf/ynh/firewall.yml ]] 2024-10-01 00:00:07,526: DEBUG - + local rel_dir= 2024-10-01 00:00:07,526: DEBUG - + rel_dir=/ 2024-10-01 00:00:07,527: DEBUG - + dest_path=/conf/ynh/firewall.yml 2024-10-01 00:00:07,527: DEBUG - + dest_path=conf/ynh/firewall.yml 2024-10-01 00:00:07,527: DEBUG - ++ echo /etc/yunohost/firewall.yml 2024-10-01 00:00:07,527: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,528: DEBUG - + local src=/etc/yunohost/firewall.yml 2024-10-01 00:00:07,529: DEBUG - ++ echo conf/ynh/firewall.yml 2024-10-01 00:00:07,529: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,531: DEBUG - + local dest=conf/ynh/firewall.yml 2024-10-01 00:00:07,532: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml 2024-10-01 00:00:07,533: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-01 00:00:07,535: DEBUG - + ynh_backup /etc/yunohost/current_host /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host 2024-10-01 00:00:07,594: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host 2024-10-01 00:00:07,594: DEBUG - + is_big=0 2024-10-01 00:00:07,594: DEBUG - + not_mandatory=0 2024-10-01 00:00:07,594: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:07,595: DEBUG - + test -n '' 2024-10-01 00:00:07,595: DEBUG - + '[' '!' -e /etc/yunohost/current_host ']' 2024-10-01 00:00:07,595: DEBUG - ++ realpath /etc/yunohost/current_host 2024-10-01 00:00:07,596: DEBUG - + src_path=/etc/yunohost/current_host 2024-10-01 00:00:07,597: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host ]] 2024-10-01 00:00:07,597: DEBUG - + [[ / == \/ ]] 2024-10-01 00:00:07,597: DEBUG - + dest_path=conf/ynh/current_host 2024-10-01 00:00:07,597: DEBUG - + [[ c == \/ ]] 2024-10-01 00:00:07,597: DEBUG - + [[ t == \/ ]] 2024-10-01 00:00:07,598: DEBUG - + [[ -e conf/ynh/current_host ]] 2024-10-01 00:00:07,598: DEBUG - + local rel_dir= 2024-10-01 00:00:07,598: DEBUG - + rel_dir=/ 2024-10-01 00:00:07,598: DEBUG - + dest_path=/conf/ynh/current_host 2024-10-01 00:00:07,599: DEBUG - + dest_path=conf/ynh/current_host 2024-10-01 00:00:07,599: DEBUG - ++ echo /etc/yunohost/current_host 2024-10-01 00:00:07,599: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,601: DEBUG - + local src=/etc/yunohost/current_host 2024-10-01 00:00:07,602: DEBUG - ++ echo conf/ynh/current_host 2024-10-01 00:00:07,602: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,605: DEBUG - + local dest=conf/ynh/current_host 2024-10-01 00:00:07,606: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host 2024-10-01 00:00:07,608: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-01 00:00:07,611: DEBUG - + '[' '!' -d /etc/yunohost/domains ']' 2024-10-01 00:00:07,611: DEBUG - + ynh_backup /etc/yunohost/domains /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains 2024-10-01 00:00:07,680: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/domains 2024-10-01 00:00:07,680: DEBUG - + is_big=0 2024-10-01 00:00:07,680: DEBUG - + not_mandatory=0 2024-10-01 00:00:07,680: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:07,680: DEBUG - + test -n '' 2024-10-01 00:00:07,681: DEBUG - + '[' '!' -e /etc/yunohost/domains ']' 2024-10-01 00:00:07,681: DEBUG - ++ realpath /etc/yunohost/domains 2024-10-01 00:00:07,681: DEBUG - + src_path=/etc/yunohost/domains 2024-10-01 00:00:07,682: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains ]] 2024-10-01 00:00:07,682: DEBUG - + [[ / == \/ ]] 2024-10-01 00:00:07,682: DEBUG - + dest_path=conf/ynh/domains 2024-10-01 00:00:07,682: DEBUG - + [[ c == \/ ]] 2024-10-01 00:00:07,682: DEBUG - + [[ s == \/ ]] 2024-10-01 00:00:07,683: DEBUG - + [[ -e conf/ynh/domains ]] 2024-10-01 00:00:07,683: DEBUG - + local rel_dir= 2024-10-01 00:00:07,683: DEBUG - + rel_dir=/ 2024-10-01 00:00:07,683: DEBUG - + dest_path=/conf/ynh/domains 2024-10-01 00:00:07,683: DEBUG - + dest_path=conf/ynh/domains 2024-10-01 00:00:07,683: DEBUG - ++ echo /etc/yunohost/domains 2024-10-01 00:00:07,683: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,685: DEBUG - + local src=/etc/yunohost/domains 2024-10-01 00:00:07,685: DEBUG - ++ echo conf/ynh/domains 2024-10-01 00:00:07,686: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,688: DEBUG - + local dest=conf/ynh/domains 2024-10-01 00:00:07,689: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains 2024-10-01 00:00:07,690: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-01 00:00:07,693: DEBUG - + '[' '!' -e /etc/yunohost/settings.yml ']' 2024-10-01 00:00:07,693: DEBUG - + '[' '!' -d /etc/yunohost/dyndns ']' 2024-10-01 00:00:07,694: DEBUG - + '[' '!' -d /etc/dkim ']' 2024-10-01 00:00:07,694: DEBUG - + ynh_backup /etc/dkim /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim 2024-10-01 00:00:07,761: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim 2024-10-01 00:00:07,761: DEBUG - + is_big=0 2024-10-01 00:00:07,761: DEBUG - + not_mandatory=0 2024-10-01 00:00:07,761: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:07,762: DEBUG - + test -n '' 2024-10-01 00:00:07,762: DEBUG - + '[' '!' -e /etc/dkim ']' 2024-10-01 00:00:07,762: DEBUG - ++ realpath /etc/dkim 2024-10-01 00:00:07,763: DEBUG - + src_path=/etc/dkim 2024-10-01 00:00:07,763: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim ]] 2024-10-01 00:00:07,763: DEBUG - + [[ / == \/ ]] 2024-10-01 00:00:07,763: DEBUG - + dest_path=conf/ynh/dkim 2024-10-01 00:00:07,764: DEBUG - + [[ c == \/ ]] 2024-10-01 00:00:07,764: DEBUG - + [[ m == \/ ]] 2024-10-01 00:00:07,764: DEBUG - + [[ -e conf/ynh/dkim ]] 2024-10-01 00:00:07,764: DEBUG - + local rel_dir= 2024-10-01 00:00:07,764: DEBUG - + rel_dir=/ 2024-10-01 00:00:07,764: DEBUG - + dest_path=/conf/ynh/dkim 2024-10-01 00:00:07,764: DEBUG - + dest_path=conf/ynh/dkim 2024-10-01 00:00:07,764: DEBUG - ++ echo /etc/dkim 2024-10-01 00:00:07,765: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,766: DEBUG - + local src=/etc/dkim 2024-10-01 00:00:07,767: DEBUG - ++ echo conf/ynh/dkim 2024-10-01 00:00:07,767: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:07,770: DEBUG - + local dest=conf/ynh/dkim 2024-10-01 00:00:07,770: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim 2024-10-01 00:00:07,772: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-01 00:00:08,774: 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-10-01 00:00:08,781: DEBUG - + set -eu 2024-10-01 00:00:08,782: DEBUG - + source /usr/share/yunohost/helpers 2024-10-01 00:00:08,782: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-01 00:00:08,783: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-01 00:00:08,783: DEBUG - +++ pwd 2024-10-01 00:00:08,783: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-01 00:00:08,784: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-01 00:00:08,785: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-01 00:00:08,785: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-01 00:00:08,812: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-01 00:00:08,812: DEBUG - + ynh_backup /etc/yunohost/certs /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-01 00:00:08,873: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-01 00:00:08,873: DEBUG - + is_big=0 2024-10-01 00:00:08,873: DEBUG - + not_mandatory=0 2024-10-01 00:00:08,873: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:08,873: DEBUG - + test -n '' 2024-10-01 00:00:08,874: DEBUG - + '[' '!' -e /etc/yunohost/certs ']' 2024-10-01 00:00:08,874: DEBUG - ++ realpath /etc/yunohost/certs 2024-10-01 00:00:08,874: DEBUG - + src_path=/etc/yunohost/certs 2024-10-01 00:00:08,875: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs ]] 2024-10-01 00:00:08,875: DEBUG - + [[ / == \/ ]] 2024-10-01 00:00:08,875: DEBUG - + dest_path=conf/ynh/certs 2024-10-01 00:00:08,875: DEBUG - + [[ c == \/ ]] 2024-10-01 00:00:08,875: DEBUG - + [[ s == \/ ]] 2024-10-01 00:00:08,875: DEBUG - + [[ -e conf/ynh/certs ]] 2024-10-01 00:00:08,876: DEBUG - + local rel_dir= 2024-10-01 00:00:08,876: DEBUG - + rel_dir=/ 2024-10-01 00:00:08,876: DEBUG - + dest_path=/conf/ynh/certs 2024-10-01 00:00:08,876: DEBUG - + dest_path=conf/ynh/certs 2024-10-01 00:00:08,876: DEBUG - ++ echo /etc/yunohost/certs 2024-10-01 00:00:08,876: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:08,878: DEBUG - + local src=/etc/yunohost/certs 2024-10-01 00:00:08,879: DEBUG - ++ echo conf/ynh/certs 2024-10-01 00:00:08,879: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:08,881: DEBUG - + local dest=conf/ynh/certs 2024-10-01 00:00:08,882: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-01 00:00:08,883: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-01 00:00:09,885: 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-10-01 00:00:09,892: DEBUG - + source /usr/share/yunohost/helpers 2024-10-01 00:00:09,892: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-01 00:00:09,893: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-01 00:00:09,894: DEBUG - +++ pwd 2024-10-01 00:00:09,894: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-01 00:00:09,894: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-01 00:00:09,896: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-01 00:00:09,896: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-01 00:00:09,931: DEBUG - + ynh_abort_if_errors 2024-10-01 00:00:09,931: DEBUG - + trap ynh_exit_properly EXIT 2024-10-01 00:00:09,931: DEBUG - + YNH_CWD=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-01 00:00:09,931: DEBUG - + mkdir -p /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-01 00:00:09,932: DEBUG - + cd /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-01 00:00:09,932: DEBUG - + yunohost tools shell -c 'from yunohost.regenconf import manually_modified_files; print('\''\n'\''.join(manually_modified_files()))' 2024-10-01 00:00:10,304: DEBUG - + ynh_backup --src_path=./manually_modified_files_list 2024-10-01 00:00:10,330: DEBUG - + dest_path= 2024-10-01 00:00:10,331: DEBUG - + is_big=0 2024-10-01 00:00:10,331: DEBUG - + not_mandatory=0 2024-10-01 00:00:10,331: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:10,331: DEBUG - + test -n '' 2024-10-01 00:00:10,331: DEBUG - + '[' '!' -e ./manually_modified_files_list ']' 2024-10-01 00:00:10,331: DEBUG - ++ realpath ./manually_modified_files_list 2024-10-01 00:00:10,332: DEBUG - + src_path=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,332: DEBUG - + [[ -z '' ]] 2024-10-01 00:00:10,332: DEBUG - + dest_path=home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,332: DEBUG - + [[ -e home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list ]] 2024-10-01 00:00:10,332: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-01 00:00:10,332: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-01 00:00:10,332: DEBUG - + dest_path=/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,333: DEBUG - + dest_path=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,333: DEBUG - ++ echo /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,333: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:10,335: DEBUG - + local src=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,335: DEBUG - ++ echo conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,335: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:10,337: DEBUG - + local dest=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-01 00:00:10,337: 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-10-01 00:00:10,338: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-01 00:00:10,340: DEBUG - ++ cat ./manually_modified_files_list 2024-10-01 00:00:10,341: DEBUG - + for file in $(cat ./manually_modified_files_list) 2024-10-01 00:00:10,341: DEBUG - + [[ -e /etc/ssh/sshd_config ]] 2024-10-01 00:00:10,342: DEBUG - + ynh_backup --src_path=/etc/ssh/sshd_config 2024-10-01 00:00:10,365: DEBUG - + dest_path= 2024-10-01 00:00:10,365: DEBUG - + is_big=0 2024-10-01 00:00:10,366: DEBUG - + not_mandatory=0 2024-10-01 00:00:10,366: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:10,366: DEBUG - + test -n '' 2024-10-01 00:00:10,366: DEBUG - + '[' '!' -e /etc/ssh/sshd_config ']' 2024-10-01 00:00:10,367: DEBUG - ++ realpath /etc/ssh/sshd_config 2024-10-01 00:00:10,367: DEBUG - + src_path=/etc/ssh/sshd_config 2024-10-01 00:00:10,367: DEBUG - + [[ -z '' ]] 2024-10-01 00:00:10,367: DEBUG - + dest_path=etc/ssh/sshd_config 2024-10-01 00:00:10,367: DEBUG - + [[ -e etc/ssh/sshd_config ]] 2024-10-01 00:00:10,367: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-01 00:00:10,368: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-01 00:00:10,368: DEBUG - + dest_path=/conf/manually_modified_files/etc/ssh/sshd_config 2024-10-01 00:00:10,368: DEBUG - + dest_path=conf/manually_modified_files/etc/ssh/sshd_config 2024-10-01 00:00:10,368: DEBUG - ++ echo /etc/ssh/sshd_config 2024-10-01 00:00:10,368: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:10,369: DEBUG - + local src=/etc/ssh/sshd_config 2024-10-01 00:00:10,369: DEBUG - ++ echo conf/manually_modified_files/etc/ssh/sshd_config 2024-10-01 00:00:10,370: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:10,371: DEBUG - + local dest=conf/manually_modified_files/etc/ssh/sshd_config 2024-10-01 00:00:10,372: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssh/sshd_config 2024-10-01 00:00:10,373: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssh 2024-10-01 00:00:10,374: DEBUG - + ynh_backup --src_path=/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,399: DEBUG - + dest_path= 2024-10-01 00:00:10,400: DEBUG - + is_big=0 2024-10-01 00:00:10,400: DEBUG - + not_mandatory=0 2024-10-01 00:00:10,400: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-01 00:00:10,400: DEBUG - + test -n '' 2024-10-01 00:00:10,400: DEBUG - + '[' '!' -e /etc/ssowat/conf.json.persistent ']' 2024-10-01 00:00:10,400: DEBUG - ++ realpath /etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,401: DEBUG - + src_path=/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,401: DEBUG - + [[ -z '' ]] 2024-10-01 00:00:10,401: DEBUG - + dest_path=etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,401: DEBUG - + [[ -e etc/ssowat/conf.json.persistent ]] 2024-10-01 00:00:10,401: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-01 00:00:10,401: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-01 00:00:10,401: DEBUG - + dest_path=/conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,402: DEBUG - + dest_path=conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,402: DEBUG - ++ echo /etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,402: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:10,403: DEBUG - + local src=/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,404: DEBUG - ++ echo conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,404: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-01 00:00:10,406: DEBUG - + local dest=conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,406: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-01 00:00:10,407: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat 2024-10-01 00:00:10,409: DEBUG - + ynh_exit_properly 2024-10-01 00:00:10,409: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]] 2024-10-01 00:00:11,481: INFO - Création d'une archive de sauvegarde à partir des fichiers collectés… 2024-10-01 00:00:11,481: INFO - L'archive contiendra environ 639.7KB de données. 2024-10-01 00:00:11,482: DEBUG - Calling the custom backup method '{method}'… 2024-10-01 00:00:11,482: 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 655091 \'\' 7>&1']' 2024-10-01 00:00:11,487: DEBUG - + set -Eeuo pipefail 2024-10-01 00:00:11,487: DEBUG - + borg=/var/www/borg/venv/bin/borg 2024-10-01 00:00:11,488: DEBUG - ++ yunohost app setting borg passphrase 2024-10-01 00:00:11,707: DEBUG - + BORG_PASSPHRASE=********** 2024-10-01 00:00:11,707: DEBUG - ++ yunohost app setting borg repository 2024-10-01 00:00:11,881: DEBUG - + BORG_REPO=sauvegarde1/archives1 2024-10-01 00:00:11,881: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf 2024-10-01 00:00:11,881: DEBUG - + ssh-keygen -F 192.168.1.58 2024-10-01 00:00:11,896: WARNING - Cannot stat /root/.ssh/known_hosts: No such file or directory 2024-10-01 00:00:11,897: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no ' 2024-10-01 00:00:11,897: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf 2024-10-01 00:00:11,897: DEBUG - + name=auto_conf 2024-10-01 00:00:11,897: DEBUG - + size=655091 2024-10-01 00:00:11,897: DEBUG - + description= 2024-10-01 00:00:11,898: DEBUG - + case "$1" in 2024-10-01 00:00:11,898: DEBUG - + do_need_mount /home/yunohost.backup/tmp/auto_conf auto_conf 655091 '' 2024-10-01 00:00:11,898: DEBUG - + true 2024-10-01 00:00:12,931: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./05-borg_app" backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 655091 \'\' 7>&1']' 2024-10-01 00:00:12,938: DEBUG - + set -Eeuo pipefail 2024-10-01 00:00:12,938: DEBUG - + borg=/var/www/borg/venv/bin/borg 2024-10-01 00:00:12,938: DEBUG - ++ yunohost app setting borg passphrase 2024-10-01 00:00:13,104: DEBUG - + BORG_PASSPHRASE=********** 2024-10-01 00:00:13,104: DEBUG - ++ yunohost app setting borg repository 2024-10-01 00:00:13,267: DEBUG - + BORG_REPO=sauvegarde1/archives1 2024-10-01 00:00:13,267: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf 2024-10-01 00:00:13,267: DEBUG - + ssh-keygen -F 192.168.1.58 2024-10-01 00:00:13,271: WARNING - Cannot stat /root/.ssh/known_hosts: No such file or directory 2024-10-01 00:00:13,271: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no ' 2024-10-01 00:00:13,272: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf 2024-10-01 00:00:13,272: DEBUG - + name=auto_conf 2024-10-01 00:00:13,272: DEBUG - + size=655091 2024-10-01 00:00:13,272: DEBUG - + description= 2024-10-01 00:00:13,272: DEBUG - + case "$1" in 2024-10-01 00:00:13,272: DEBUG - + do_backup /home/yunohost.backup/tmp/auto_conf auto_conf 655091 '' 2024-10-01 00:00:13,272: DEBUG - + export BORG_PASSPHRASE 2024-10-01 00:00:13,272: DEBUG - + export BORG_REPO 2024-10-01 00:00:13,273: DEBUG - + export BORG_RSH 2024-10-01 00:00:13,273: DEBUG - + export BORG_LOGGING_CONF 2024-10-01 00:00:13,273: DEBUG - + export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes 2024-10-01 00:00:13,273: DEBUG - + BORG_RELOCATED_REPO_ACCESS_IS_OK=yes 2024-10-01 00:00:13,273: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf 2024-10-01 00:00:13,273: DEBUG - + name=auto_conf 2024-10-01 00:00:13,273: DEBUG - + size=655091 2024-10-01 00:00:13,273: DEBUG - + description= 2024-10-01 00:00:13,273: DEBUG - + set +e 2024-10-01 00:00:13,273: DEBUG - + /var/www/borg/venv/bin/borg list 2024-10-01 00:00:13,615: DEBUG - + /var/www/borg/venv/bin/borg init -e repokey 2024-10-01 00:00:13,960: DEBUG - 2024-10-01 00:00:13,960: DEBUG - Your first backup on sauvegarde1/archives1 is starting. 2024-10-01 00:00:13,960: DEBUG - 2024-10-01 00:00:13,961: DEBUG - This is an automated message from your beloved YunoHost server.' 2024-10-01 00:00:13,961: DEBUG - + /usr/bin/mail.mailutils -a 'Content-Type: text/plain; charset=UTF-8' -s '[YNH] First backup is starting' root 2024-10-01 00:00:13,996: DEBUG - + set -e 2024-10-01 00:00:13,997: DEBUG - + /var/www/borg/venv/bin/borg create --stats '::auto_conf-{now}' /home/yunohost.backup/tmp/auto_conf 2024-10-01 00:00:14,998: 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 416, 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