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-10-29 19:57:37.168478 error: Custom backup method could not get past the 'backup' step interface: cli operation: backup_create parent: null related_to: [] started_at: 2024-10-29 19:57:20.333868 success: false yunohost_version: 11.2.31 ============ 2024-10-29 14:57:20,372: DEBUG - Running backup hooks… 2024-10-29 14:57:20,389: 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-29 14:57:20,404: DEBUG - + set -eu 2024-10-29 14:57:20,405: DEBUG - + source /usr/share/yunohost/helpers 2024-10-29 14:57:20,407: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-29 14:57:20,409: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-29 14:57:20,410: DEBUG - +++ pwd 2024-10-29 14:57:20,410: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-29 14:57:20,410: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-29 14:57:20,418: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-29 14:57:20,419: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-29 14:57:20,482: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ldap 2024-10-29 14:57:20,482: DEBUG - + ynh_backup /etc/ldap/ldap.conf /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf 2024-10-29 14:57:20,635: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf 2024-10-29 14:57:20,636: DEBUG - + is_big=0 2024-10-29 14:57:20,636: DEBUG - + not_mandatory=0 2024-10-29 14:57:20,637: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:20,637: DEBUG - + test -n '' 2024-10-29 14:57:20,638: DEBUG - + '[' '!' -e /etc/ldap/ldap.conf ']' 2024-10-29 14:57:20,638: DEBUG - ++ realpath /etc/ldap/ldap.conf 2024-10-29 14:57:20,641: DEBUG - + src_path=/etc/ldap/ldap.conf 2024-10-29 14:57:20,641: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf ]] 2024-10-29 14:57:20,642: DEBUG - + [[ / == \/ ]] 2024-10-29 14:57:20,642: DEBUG - + dest_path=conf/ldap/ldap.conf 2024-10-29 14:57:20,643: DEBUG - + [[ c == \/ ]] 2024-10-29 14:57:20,643: DEBUG - + [[ f == \/ ]] 2024-10-29 14:57:20,644: DEBUG - + [[ -e conf/ldap/ldap.conf ]] 2024-10-29 14:57:20,644: DEBUG - + local rel_dir= 2024-10-29 14:57:20,645: DEBUG - + rel_dir=/ 2024-10-29 14:57:20,645: DEBUG - + dest_path=/conf/ldap/ldap.conf 2024-10-29 14:57:20,646: DEBUG - + dest_path=conf/ldap/ldap.conf 2024-10-29 14:57:20,646: DEBUG - ++ echo /etc/ldap/ldap.conf 2024-10-29 14:57:20,646: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:20,652: DEBUG - + local src=/etc/ldap/ldap.conf 2024-10-29 14:57:20,654: DEBUG - ++ echo conf/ldap/ldap.conf 2024-10-29 14:57:20,654: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:20,661: DEBUG - + local dest=conf/ldap/ldap.conf 2024-10-29 14:57:20,662: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf 2024-10-29 14:57:20,666: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ldap 2024-10-29 14:57:20,671: DEBUG - + slapcat -b cn=config -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/cn=config.master.ldif 2024-10-29 14:57:20,732: DEBUG - + slapcat -b dc=yunohost,dc=org -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/dc=yunohost-dc=org.ldif 2024-10-29 14:57:21,735: 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-29 14:57:21,749: DEBUG - + set -eu 2024-10-29 14:57:21,750: DEBUG - + source /usr/share/yunohost/helpers 2024-10-29 14:57:21,752: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-29 14:57:21,755: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-29 14:57:21,756: DEBUG - +++ pwd 2024-10-29 14:57:21,756: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-29 14:57:21,757: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-29 14:57:21,763: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-29 14:57:21,763: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-29 14:57:21,850: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-29 14:57:21,851: DEBUG - + ynh_backup /etc/yunohost/firewall.yml /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml 2024-10-29 14:57:22,023: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml 2024-10-29 14:57:22,023: DEBUG - + is_big=0 2024-10-29 14:57:22,024: DEBUG - + not_mandatory=0 2024-10-29 14:57:22,024: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:22,025: DEBUG - + test -n '' 2024-10-29 14:57:22,025: DEBUG - + '[' '!' -e /etc/yunohost/firewall.yml ']' 2024-10-29 14:57:22,025: DEBUG - ++ realpath /etc/yunohost/firewall.yml 2024-10-29 14:57:22,027: DEBUG - + src_path=/etc/yunohost/firewall.yml 2024-10-29 14:57:22,028: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml ]] 2024-10-29 14:57:22,029: DEBUG - + [[ / == \/ ]] 2024-10-29 14:57:22,029: DEBUG - + dest_path=conf/ynh/firewall.yml 2024-10-29 14:57:22,029: DEBUG - + [[ c == \/ ]] 2024-10-29 14:57:22,029: DEBUG - + [[ l == \/ ]] 2024-10-29 14:57:22,030: DEBUG - + [[ -e conf/ynh/firewall.yml ]] 2024-10-29 14:57:22,030: DEBUG - + local rel_dir= 2024-10-29 14:57:22,031: DEBUG - + rel_dir=/ 2024-10-29 14:57:22,032: DEBUG - + dest_path=/conf/ynh/firewall.yml 2024-10-29 14:57:22,032: DEBUG - + dest_path=conf/ynh/firewall.yml 2024-10-29 14:57:22,032: DEBUG - ++ echo /etc/yunohost/firewall.yml 2024-10-29 14:57:22,032: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,037: DEBUG - + local src=/etc/yunohost/firewall.yml 2024-10-29 14:57:22,040: DEBUG - ++ echo conf/ynh/firewall.yml 2024-10-29 14:57:22,041: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,047: DEBUG - + local dest=conf/ynh/firewall.yml 2024-10-29 14:57:22,048: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml 2024-10-29 14:57:22,052: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-29 14:57:22,056: DEBUG - + ynh_backup /etc/yunohost/current_host /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host 2024-10-29 14:57:22,211: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host 2024-10-29 14:57:22,211: DEBUG - + is_big=0 2024-10-29 14:57:22,212: DEBUG - + not_mandatory=0 2024-10-29 14:57:22,212: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:22,212: DEBUG - + test -n '' 2024-10-29 14:57:22,213: DEBUG - + '[' '!' -e /etc/yunohost/current_host ']' 2024-10-29 14:57:22,213: DEBUG - ++ realpath /etc/yunohost/current_host 2024-10-29 14:57:22,216: DEBUG - + src_path=/etc/yunohost/current_host 2024-10-29 14:57:22,216: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host ]] 2024-10-29 14:57:22,217: DEBUG - + [[ / == \/ ]] 2024-10-29 14:57:22,217: DEBUG - + dest_path=conf/ynh/current_host 2024-10-29 14:57:22,217: DEBUG - + [[ c == \/ ]] 2024-10-29 14:57:22,218: DEBUG - + [[ t == \/ ]] 2024-10-29 14:57:22,218: DEBUG - + [[ -e conf/ynh/current_host ]] 2024-10-29 14:57:22,219: DEBUG - + local rel_dir= 2024-10-29 14:57:22,219: DEBUG - + rel_dir=/ 2024-10-29 14:57:22,220: DEBUG - + dest_path=/conf/ynh/current_host 2024-10-29 14:57:22,220: DEBUG - + dest_path=conf/ynh/current_host 2024-10-29 14:57:22,220: DEBUG - ++ echo /etc/yunohost/current_host 2024-10-29 14:57:22,221: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,225: DEBUG - + local src=/etc/yunohost/current_host 2024-10-29 14:57:22,228: DEBUG - ++ echo conf/ynh/current_host 2024-10-29 14:57:22,228: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,234: DEBUG - + local dest=conf/ynh/current_host 2024-10-29 14:57:22,236: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host 2024-10-29 14:57:22,239: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-29 14:57:22,244: DEBUG - + '[' '!' -d /etc/yunohost/domains ']' 2024-10-29 14:57:22,245: DEBUG - + ynh_backup /etc/yunohost/domains /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains 2024-10-29 14:57:22,399: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/domains 2024-10-29 14:57:22,400: DEBUG - + is_big=0 2024-10-29 14:57:22,400: DEBUG - + not_mandatory=0 2024-10-29 14:57:22,400: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:22,401: DEBUG - + test -n '' 2024-10-29 14:57:22,401: DEBUG - + '[' '!' -e /etc/yunohost/domains ']' 2024-10-29 14:57:22,402: DEBUG - ++ realpath /etc/yunohost/domains 2024-10-29 14:57:22,404: DEBUG - + src_path=/etc/yunohost/domains 2024-10-29 14:57:22,405: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains ]] 2024-10-29 14:57:22,406: DEBUG - + [[ / == \/ ]] 2024-10-29 14:57:22,406: DEBUG - + dest_path=conf/ynh/domains 2024-10-29 14:57:22,406: DEBUG - + [[ c == \/ ]] 2024-10-29 14:57:22,407: DEBUG - + [[ s == \/ ]] 2024-10-29 14:57:22,408: DEBUG - + [[ -e conf/ynh/domains ]] 2024-10-29 14:57:22,408: DEBUG - + local rel_dir= 2024-10-29 14:57:22,409: DEBUG - + rel_dir=/ 2024-10-29 14:57:22,409: DEBUG - + dest_path=/conf/ynh/domains 2024-10-29 14:57:22,409: DEBUG - + dest_path=conf/ynh/domains 2024-10-29 14:57:22,410: DEBUG - ++ echo /etc/yunohost/domains 2024-10-29 14:57:22,410: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,414: DEBUG - + local src=/etc/yunohost/domains 2024-10-29 14:57:22,417: DEBUG - ++ echo conf/ynh/domains 2024-10-29 14:57:22,418: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,424: DEBUG - + local dest=conf/ynh/domains 2024-10-29 14:57:22,425: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains 2024-10-29 14:57:22,429: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-29 14:57:22,434: DEBUG - + '[' '!' -e /etc/yunohost/settings.yml ']' 2024-10-29 14:57:22,435: DEBUG - + '[' '!' -d /etc/yunohost/dyndns ']' 2024-10-29 14:57:22,435: DEBUG - + '[' '!' -d /etc/dkim ']' 2024-10-29 14:57:22,435: DEBUG - + ynh_backup /etc/dkim /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim 2024-10-29 14:57:22,588: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim 2024-10-29 14:57:22,589: DEBUG - + is_big=0 2024-10-29 14:57:22,589: DEBUG - + not_mandatory=0 2024-10-29 14:57:22,590: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:22,590: DEBUG - + test -n '' 2024-10-29 14:57:22,590: DEBUG - + '[' '!' -e /etc/dkim ']' 2024-10-29 14:57:22,591: DEBUG - ++ realpath /etc/dkim 2024-10-29 14:57:22,593: DEBUG - + src_path=/etc/dkim 2024-10-29 14:57:22,594: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim ]] 2024-10-29 14:57:22,594: DEBUG - + [[ / == \/ ]] 2024-10-29 14:57:22,595: DEBUG - + dest_path=conf/ynh/dkim 2024-10-29 14:57:22,595: DEBUG - + [[ c == \/ ]] 2024-10-29 14:57:22,596: DEBUG - + [[ m == \/ ]] 2024-10-29 14:57:22,597: DEBUG - + [[ -e conf/ynh/dkim ]] 2024-10-29 14:57:22,597: DEBUG - + local rel_dir= 2024-10-29 14:57:22,598: DEBUG - + rel_dir=/ 2024-10-29 14:57:22,598: DEBUG - + dest_path=/conf/ynh/dkim 2024-10-29 14:57:22,598: DEBUG - + dest_path=conf/ynh/dkim 2024-10-29 14:57:22,598: DEBUG - ++ echo /etc/dkim 2024-10-29 14:57:22,599: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,603: DEBUG - + local src=/etc/dkim 2024-10-29 14:57:22,606: DEBUG - ++ echo conf/ynh/dkim 2024-10-29 14:57:22,607: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:22,613: DEBUG - + local dest=conf/ynh/dkim 2024-10-29 14:57:22,615: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim 2024-10-29 14:57:22,618: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-29 14:57:23,622: 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-29 14:57:23,635: DEBUG - + set -eu 2024-10-29 14:57:23,636: DEBUG - + source /usr/share/yunohost/helpers 2024-10-29 14:57:23,637: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-29 14:57:23,640: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-29 14:57:23,641: DEBUG - +++ pwd 2024-10-29 14:57:23,642: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-29 14:57:23,642: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-29 14:57:23,649: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-29 14:57:23,649: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-29 14:57:23,713: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-29 14:57:23,714: DEBUG - + ynh_backup /etc/yunohost/certs /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-29 14:57:23,867: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-29 14:57:23,868: DEBUG - + is_big=0 2024-10-29 14:57:23,868: DEBUG - + not_mandatory=0 2024-10-29 14:57:23,869: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:23,869: DEBUG - + test -n '' 2024-10-29 14:57:23,869: DEBUG - + '[' '!' -e /etc/yunohost/certs ']' 2024-10-29 14:57:23,870: DEBUG - ++ realpath /etc/yunohost/certs 2024-10-29 14:57:23,872: DEBUG - + src_path=/etc/yunohost/certs 2024-10-29 14:57:23,873: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs ]] 2024-10-29 14:57:23,873: DEBUG - + [[ / == \/ ]] 2024-10-29 14:57:23,874: DEBUG - + dest_path=conf/ynh/certs 2024-10-29 14:57:23,874: DEBUG - + [[ c == \/ ]] 2024-10-29 14:57:23,877: DEBUG - + [[ s == \/ ]] 2024-10-29 14:57:23,878: DEBUG - + [[ -e conf/ynh/certs ]] 2024-10-29 14:57:23,878: DEBUG - + local rel_dir= 2024-10-29 14:57:23,879: DEBUG - + rel_dir=/ 2024-10-29 14:57:23,879: DEBUG - + dest_path=/conf/ynh/certs 2024-10-29 14:57:23,880: DEBUG - + dest_path=conf/ynh/certs 2024-10-29 14:57:23,880: DEBUG - ++ echo /etc/yunohost/certs 2024-10-29 14:57:23,880: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:23,885: DEBUG - + local src=/etc/yunohost/certs 2024-10-29 14:57:23,887: DEBUG - ++ echo conf/ynh/certs 2024-10-29 14:57:23,888: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:23,895: DEBUG - + local dest=conf/ynh/certs 2024-10-29 14:57:23,897: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs 2024-10-29 14:57:23,901: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh 2024-10-29 14:57:24,904: 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-29 14:57:24,917: DEBUG - + source /usr/share/yunohost/helpers 2024-10-29 14:57:24,920: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers 2024-10-29 14:57:24,923: DEBUG - +++ cd -- /usr/share/yunohost 2024-10-29 14:57:24,923: DEBUG - +++ pwd 2024-10-29 14:57:24,924: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost 2024-10-29 14:57:24,924: DEBUG - ++ YNH_HELPERS_VERSION=1 2024-10-29 14:57:24,930: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2024-10-29 14:57:24,931: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2024-10-29 14:57:24,994: DEBUG - + ynh_abort_if_errors 2024-10-29 14:57:24,996: DEBUG - + trap ynh_exit_properly EXIT 2024-10-29 14:57:24,996: DEBUG - + YNH_CWD=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-29 14:57:24,997: DEBUG - + mkdir -p /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-29 14:57:25,000: DEBUG - + cd /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files 2024-10-29 14:57:25,000: DEBUG - + yunohost tools shell -c 'from yunohost.regenconf import manually_modified_files; print('\''\n'\''.join(manually_modified_files()))' 2024-10-29 14:57:26,281: DEBUG - + ynh_backup --src_path=./manually_modified_files_list 2024-10-29 14:57:26,375: DEBUG - + dest_path= 2024-10-29 14:57:26,376: DEBUG - + is_big=0 2024-10-29 14:57:26,376: DEBUG - + not_mandatory=0 2024-10-29 14:57:26,376: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:26,376: DEBUG - + test -n '' 2024-10-29 14:57:26,377: DEBUG - + '[' '!' -e ./manually_modified_files_list ']' 2024-10-29 14:57:26,378: DEBUG - ++ realpath ./manually_modified_files_list 2024-10-29 14:57:26,382: DEBUG - + src_path=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,383: DEBUG - + [[ -z '' ]] 2024-10-29 14:57:26,383: DEBUG - + dest_path=home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,384: DEBUG - + [[ -e home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list ]] 2024-10-29 14:57:26,384: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-29 14:57:26,385: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-29 14:57:26,385: DEBUG - + dest_path=/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,385: DEBUG - + dest_path=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,386: DEBUG - ++ echo /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,387: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,394: DEBUG - + local src=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,396: DEBUG - ++ echo conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,396: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,404: DEBUG - + local dest=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list 2024-10-29 14:57:26,405: 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-29 14:57:26,409: 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-29 14:57:26,415: DEBUG - ++ cat ./manually_modified_files_list 2024-10-29 14:57:26,419: DEBUG - + for file in $(cat ./manually_modified_files_list) 2024-10-29 14:57:26,420: DEBUG - + [[ -e /etc/nginx/conf.d/domain2.tld.conf ]] 2024-10-29 14:57:26,420: DEBUG - + ynh_backup --src_path=/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,513: DEBUG - + dest_path= 2024-10-29 14:57:26,514: DEBUG - + is_big=0 2024-10-29 14:57:26,514: DEBUG - + not_mandatory=0 2024-10-29 14:57:26,515: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:26,515: DEBUG - + test -n '' 2024-10-29 14:57:26,516: DEBUG - + '[' '!' -e /etc/nginx/conf.d/domain2.tld.conf ']' 2024-10-29 14:57:26,516: DEBUG - ++ realpath /etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,519: DEBUG - + src_path=/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,520: DEBUG - + [[ -z '' ]] 2024-10-29 14:57:26,520: DEBUG - + dest_path=etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,520: DEBUG - + [[ -e etc/nginx/conf.d/domain2.tld.conf ]] 2024-10-29 14:57:26,521: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-29 14:57:26,521: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-29 14:57:26,523: DEBUG - + dest_path=/conf/manually_modified_files/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,523: DEBUG - + dest_path=conf/manually_modified_files/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,524: DEBUG - ++ echo /etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,524: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,530: DEBUG - + local src=/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,532: DEBUG - ++ echo conf/manually_modified_files/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,532: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,539: DEBUG - + local dest=conf/manually_modified_files/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,541: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/nginx/conf.d/domain2.tld.conf 2024-10-29 14:57:26,546: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/nginx/conf.d 2024-10-29 14:57:26,551: DEBUG - + for file in $(cat ./manually_modified_files_list) 2024-10-29 14:57:26,552: DEBUG - + [[ -e /etc/nginx/conf.d/domain3.tld.conf ]] 2024-10-29 14:57:26,552: DEBUG - + ynh_backup --src_path=/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,641: DEBUG - + dest_path= 2024-10-29 14:57:26,642: DEBUG - + is_big=0 2024-10-29 14:57:26,642: DEBUG - + not_mandatory=0 2024-10-29 14:57:26,642: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:26,643: DEBUG - + test -n '' 2024-10-29 14:57:26,644: DEBUG - + '[' '!' -e /etc/nginx/conf.d/domain3.tld.conf ']' 2024-10-29 14:57:26,644: DEBUG - ++ realpath /etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,646: DEBUG - + src_path=/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,647: DEBUG - + [[ -z '' ]] 2024-10-29 14:57:26,647: DEBUG - + dest_path=etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,648: DEBUG - + [[ -e etc/nginx/conf.d/domain3.tld.conf ]] 2024-10-29 14:57:26,648: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-29 14:57:26,648: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-29 14:57:26,649: DEBUG - + dest_path=/conf/manually_modified_files/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,649: DEBUG - + dest_path=conf/manually_modified_files/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,650: DEBUG - ++ echo /etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,651: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,656: DEBUG - + local src=/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,659: DEBUG - ++ echo conf/manually_modified_files/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,660: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,667: DEBUG - + local dest=conf/manually_modified_files/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,668: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/nginx/conf.d/domain3.tld.conf 2024-10-29 14:57:26,672: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/nginx/conf.d 2024-10-29 14:57:26,677: DEBUG - + for file in $(cat ./manually_modified_files_list) 2024-10-29 14:57:26,678: DEBUG - + [[ -e /etc/nginx/conf.d/main.domain3.tld.conf ]] 2024-10-29 14:57:26,678: DEBUG - + ynh_backup --src_path=/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,769: DEBUG - + dest_path= 2024-10-29 14:57:26,770: DEBUG - + is_big=0 2024-10-29 14:57:26,770: DEBUG - + not_mandatory=0 2024-10-29 14:57:26,770: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:26,771: DEBUG - + test -n '' 2024-10-29 14:57:26,771: DEBUG - + '[' '!' -e /etc/nginx/conf.d/main.domain3.tld.conf ']' 2024-10-29 14:57:26,772: DEBUG - ++ realpath /etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,774: DEBUG - + src_path=/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,775: DEBUG - + [[ -z '' ]] 2024-10-29 14:57:26,775: DEBUG - + dest_path=etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,776: DEBUG - + [[ -e etc/nginx/conf.d/main.domain3.tld.conf ]] 2024-10-29 14:57:26,776: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-29 14:57:26,776: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-29 14:57:26,777: DEBUG - + dest_path=/conf/manually_modified_files/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,778: DEBUG - + dest_path=conf/manually_modified_files/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,778: DEBUG - ++ echo /etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,779: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,785: DEBUG - + local src=/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,787: DEBUG - ++ echo conf/manually_modified_files/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,788: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,794: DEBUG - + local dest=conf/manually_modified_files/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,795: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/nginx/conf.d/main.domain3.tld.conf 2024-10-29 14:57:26,799: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/nginx/conf.d 2024-10-29 14:57:26,804: DEBUG - + ynh_backup --src_path=/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,902: DEBUG - + dest_path= 2024-10-29 14:57:26,905: DEBUG - + is_big=0 2024-10-29 14:57:26,906: DEBUG - + not_mandatory=0 2024-10-29 14:57:26,907: DEBUG - + BACKUP_CORE_ONLY=0 2024-10-29 14:57:26,908: DEBUG - + test -n '' 2024-10-29 14:57:26,909: DEBUG - + '[' '!' -e /etc/ssowat/conf.json.persistent ']' 2024-10-29 14:57:26,910: DEBUG - ++ realpath /etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,911: DEBUG - + src_path=/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,912: DEBUG - + [[ -z '' ]] 2024-10-29 14:57:26,913: DEBUG - + dest_path=etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,914: DEBUG - + [[ -e etc/ssowat/conf.json.persistent ]] 2024-10-29 14:57:26,915: DEBUG - + local rel_dir=/conf/manually_modified_files 2024-10-29 14:57:26,915: DEBUG - + rel_dir=/conf/manually_modified_files/ 2024-10-29 14:57:26,916: DEBUG - + dest_path=/conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,917: DEBUG - + dest_path=conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,918: DEBUG - ++ echo /etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,919: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,929: DEBUG - + local src=/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,933: DEBUG - ++ echo conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,934: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g' 2024-10-29 14:57:26,945: DEBUG - + local dest=conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,947: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat/conf.json.persistent 2024-10-29 14:57:26,953: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat 2024-10-29 14:57:26,961: DEBUG - + ynh_exit_properly 2024-10-29 14:57:26,964: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]] 2024-10-29 14:57:28,169: INFO - Creating a backup archive from the collected files… 2024-10-29 14:57:28,171: INFO - The archive will contain about 962.8KB of data. 2024-10-29 14:57:28,171: DEBUG - Calling the custom backup method 'borg_app'… 2024-10-29 14:57:28,173: 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 985920 \'\' 7>&1']' 2024-10-29 14:57:28,186: DEBUG - + set -Eeuo pipefail 2024-10-29 14:57:28,187: DEBUG - + borg=/var/www/borg/venv/bin/borg 2024-10-29 14:57:28,188: DEBUG - ++ yunohost app setting borg passphrase 2024-10-29 14:57:28,823: DEBUG - + BORG_PASSPHRASE=********** 2024-10-29 14:57:28,824: DEBUG - ++ yunohost app setting borg repository 2024-10-29 14:57:29,464: DEBUG - + BORG_REPO=ssh://main@192.168.1.247:22/~/backup 2024-10-29 14:57:29,465: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf 2024-10-29 14:57:29,465: DEBUG - + ssh-keygen -F '[192.168.1.247]:22' 2024-10-29 14:57:29,479: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no ' 2024-10-29 14:57:29,479: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf 2024-10-29 14:57:29,480: DEBUG - + name=auto_conf 2024-10-29 14:57:29,480: DEBUG - + size=985920 2024-10-29 14:57:29,480: DEBUG - + description= 2024-10-29 14:57:29,481: DEBUG - + case "$1" in 2024-10-29 14:57:29,481: DEBUG - + do_need_mount /home/yunohost.backup/tmp/auto_conf auto_conf 985920 '' 2024-10-29 14:57:29,481: DEBUG - + true 2024-10-29 14:57:30,562: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./05-borg_app" backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 985920 \'\' 7>&1']' 2024-10-29 14:57:30,577: DEBUG - + set -Eeuo pipefail 2024-10-29 14:57:30,577: DEBUG - + borg=/var/www/borg/venv/bin/borg 2024-10-29 14:57:30,579: DEBUG - ++ yunohost app setting borg passphrase 2024-10-29 14:57:31,223: DEBUG - + BORG_PASSPHRASE=********** 2024-10-29 14:57:31,225: DEBUG - ++ yunohost app setting borg repository 2024-10-29 14:57:31,857: DEBUG - + BORG_REPO=ssh://main@192.168.1.247:22/~/backup 2024-10-29 14:57:31,858: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf 2024-10-29 14:57:31,858: DEBUG - + ssh-keygen -F '[192.168.1.247]:22' 2024-10-29 14:57:31,869: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no ' 2024-10-29 14:57:31,870: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf 2024-10-29 14:57:31,871: DEBUG - + name=auto_conf 2024-10-29 14:57:31,871: DEBUG - + size=985920 2024-10-29 14:57:31,871: DEBUG - + description= 2024-10-29 14:57:31,872: DEBUG - + case "$1" in 2024-10-29 14:57:31,872: DEBUG - + do_backup /home/yunohost.backup/tmp/auto_conf auto_conf 985920 '' 2024-10-29 14:57:31,873: DEBUG - + export BORG_PASSPHRASE 2024-10-29 14:57:31,873: DEBUG - + export BORG_REPO 2024-10-29 14:57:31,873: DEBUG - + export BORG_RSH 2024-10-29 14:57:31,873: DEBUG - + export BORG_LOGGING_CONF 2024-10-29 14:57:31,874: DEBUG - + export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes 2024-10-29 14:57:31,874: DEBUG - + BORG_RELOCATED_REPO_ACCESS_IS_OK=yes 2024-10-29 14:57:31,874: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf 2024-10-29 14:57:31,875: DEBUG - + name=auto_conf 2024-10-29 14:57:31,875: DEBUG - + size=985920 2024-10-29 14:57:31,875: DEBUG - + description= 2024-10-29 14:57:31,875: DEBUG - + set +e 2024-10-29 14:57:31,876: DEBUG - + /var/www/borg/venv/bin/borg list 2024-10-29 14:57:33,308: DEBUG - + /var/www/borg/venv/bin/borg init -e repokey 2024-10-29 14:57:34,559: WARNING - Remote: Permission denied, please try again. 2024-10-29 14:57:34,560: WARNING - Remote: Permission denied, please try again. 2024-10-29 14:57:34,572: WARNING - Remote: main@192.168.1.247: Permission denied (publickey,password). 2024-10-29 14:57:34,722: DEBUG - 2024-10-29 14:57:34,722: DEBUG - Your first backup on ssh://main@192.168.1.247:22/~/backup is starting. 2024-10-29 14:57:34,722: DEBUG - 2024-10-29 14:57:34,723: DEBUG - This is an automated message from your beloved YunoHost server.' 2024-10-29 14:57:34,723: DEBUG - + /usr/bin/mail.mailutils -a 'Content-Type: text/plain; charset=UTF-8' -s '[YNH] First backup is starting' root 2024-10-29 14:57:34,812: DEBUG - + set -e 2024-10-29 14:57:34,813: DEBUG - + /var/www/borg/venv/bin/borg create --stats '::auto_conf-{now}' /home/yunohost.backup/tmp/auto_conf 2024-10-29 14:57:36,057: WARNING - Remote: Permission denied, please try again. 2024-10-29 14:57:36,068: WARNING - Remote: Permission denied, please try again. 2024-10-29 14:57:36,079: WARNING - Remote: main@192.168.1.247: Permission denied (publickey,password). 2024-10-29 14:57:37,081: ERROR - Could not run 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: Could not run script: /etc/yunohost/hooks.d/backup_method/05-borg_app