Hi all, new issue with Borg.
I’ve not seen the same issue, sorry if it has already been addressed/fixed
I think the issue occurs since my last update on both yunohost servers (the one running Borg and the one running Borg Server)
Both are up to date (checked yesterday evening)
Here is the log :
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-08-25 00:00:18.993183
error: Custom backup method could not get past the 'backup' step
interface: cli
operation: backup_create
parent: null
related_to: []
started_at: 2024-08-25 00:00:05.697329
success: false
yunohost_version: 11.2.27
============
2024-08-25 00:00:05,735: DEBUG - Running backup hooks…
2024-08-25 00:00:05,749: 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-08-25 00:00:05,758: DEBUG - + set -eu
2024-08-25 00:00:05,758: DEBUG - + source /usr/share/yunohost/helpers
2024-08-25 00:00:05,761: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-25 00:00:05,763: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-25 00:00:05,763: DEBUG - +++ pwd
2024-08-25 00:00:05,764: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-25 00:00:05,764: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-08-25 00:00:05,768: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-25 00:00:05,768: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-25 00:00:05,821: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ldap
2024-08-25 00:00:05,821: DEBUG - + ynh_backup /etc/ldap/ldap.conf /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf
2024-08-25 00:00:05,923: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf
2024-08-25 00:00:05,923: DEBUG - + is_big=0
2024-08-25 00:00:05,923: DEBUG - + not_mandatory=0
2024-08-25 00:00:05,923: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:05,923: DEBUG - + test -n ''
2024-08-25 00:00:05,924: DEBUG - + '[' '!' -e /etc/ldap/ldap.conf ']'
2024-08-25 00:00:05,925: DEBUG - ++ realpath /etc/ldap/ldap.conf
2024-08-25 00:00:05,927: DEBUG - + src_path=/etc/ldap/ldap.conf
2024-08-25 00:00:05,927: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf ]]
2024-08-25 00:00:05,927: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:05,927: DEBUG - + dest_path=conf/ldap/ldap.conf
2024-08-25 00:00:05,927: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:05,927: DEBUG - + [[ f == \/ ]]
2024-08-25 00:00:05,928: DEBUG - + [[ -e conf/ldap/ldap.conf ]]
2024-08-25 00:00:05,928: DEBUG - + local rel_dir=
2024-08-25 00:00:05,928: DEBUG - + rel_dir=/
2024-08-25 00:00:05,928: DEBUG - + dest_path=/conf/ldap/ldap.conf
2024-08-25 00:00:05,928: DEBUG - + dest_path=conf/ldap/ldap.conf
2024-08-25 00:00:05,933: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:05,936: DEBUG - ++ echo /etc/ldap/ldap.conf
2024-08-25 00:00:05,938: DEBUG - + local src=/etc/ldap/ldap.conf
2024-08-25 00:00:05,941: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:05,943: DEBUG - ++ echo conf/ldap/ldap.conf
2024-08-25 00:00:05,945: DEBUG - + local dest=conf/ldap/ldap.conf
2024-08-25 00:00:05,949: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ldap/ldap.conf
2024-08-25 00:00:05,951: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ldap
2024-08-25 00:00:05,955: DEBUG - + slapcat -b cn=config -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/cn=config.master.ldif
2024-08-25 00:00:05,981: DEBUG - + slapcat -b dc=yunohost,dc=org -l /home/yunohost.backup/tmp/auto_conf/conf/ldap/dc=yunohost-dc=org.ldif
2024-08-25 00:00:06,983: 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-08-25 00:00:06,997: DEBUG - + set -eu
2024-08-25 00:00:06,998: DEBUG - + source /usr/share/yunohost/helpers
2024-08-25 00:00:07,002: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-25 00:00:07,005: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-25 00:00:07,005: DEBUG - +++ pwd
2024-08-25 00:00:07,005: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-25 00:00:07,006: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-08-25 00:00:07,013: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-25 00:00:07,013: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-25 00:00:07,065: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:07,065: DEBUG - + ynh_backup /etc/yunohost/firewall.yml /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml
2024-08-25 00:00:07,168: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml
2024-08-25 00:00:07,169: DEBUG - + is_big=0
2024-08-25 00:00:07,169: DEBUG - + not_mandatory=0
2024-08-25 00:00:07,169: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:07,169: DEBUG - + test -n ''
2024-08-25 00:00:07,170: DEBUG - + '[' '!' -e /etc/yunohost/firewall.yml ']'
2024-08-25 00:00:07,173: DEBUG - ++ realpath /etc/yunohost/firewall.yml
2024-08-25 00:00:07,176: DEBUG - + src_path=/etc/yunohost/firewall.yml
2024-08-25 00:00:07,176: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml ]]
2024-08-25 00:00:07,176: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:07,176: DEBUG - + dest_path=conf/ynh/firewall.yml
2024-08-25 00:00:07,176: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:07,176: DEBUG - + [[ l == \/ ]]
2024-08-25 00:00:07,177: DEBUG - + [[ -e conf/ynh/firewall.yml ]]
2024-08-25 00:00:07,177: DEBUG - + local rel_dir=
2024-08-25 00:00:07,177: DEBUG - + rel_dir=/
2024-08-25 00:00:07,177: DEBUG - + dest_path=/conf/ynh/firewall.yml
2024-08-25 00:00:07,177: DEBUG - + dest_path=conf/ynh/firewall.yml
2024-08-25 00:00:07,179: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,181: DEBUG - ++ echo /etc/yunohost/firewall.yml
2024-08-25 00:00:07,182: DEBUG - + local src=/etc/yunohost/firewall.yml
2024-08-25 00:00:07,184: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,185: DEBUG - ++ echo conf/ynh/firewall.yml
2024-08-25 00:00:07,188: DEBUG - + local dest=conf/ynh/firewall.yml
2024-08-25 00:00:07,189: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/firewall.yml
2024-08-25 00:00:07,191: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:07,194: DEBUG - + ynh_backup /etc/yunohost/current_host /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host
2024-08-25 00:00:07,299: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host
2024-08-25 00:00:07,299: DEBUG - + is_big=0
2024-08-25 00:00:07,299: DEBUG - + not_mandatory=0
2024-08-25 00:00:07,299: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:07,299: DEBUG - + test -n ''
2024-08-25 00:00:07,300: DEBUG - + '[' '!' -e /etc/yunohost/current_host ']'
2024-08-25 00:00:07,301: DEBUG - ++ realpath /etc/yunohost/current_host
2024-08-25 00:00:07,303: DEBUG - + src_path=/etc/yunohost/current_host
2024-08-25 00:00:07,303: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host ]]
2024-08-25 00:00:07,304: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:07,304: DEBUG - + dest_path=conf/ynh/current_host
2024-08-25 00:00:07,304: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:07,304: DEBUG - + [[ t == \/ ]]
2024-08-25 00:00:07,304: DEBUG - + [[ -e conf/ynh/current_host ]]
2024-08-25 00:00:07,305: DEBUG - + local rel_dir=
2024-08-25 00:00:07,305: DEBUG - + rel_dir=/
2024-08-25 00:00:07,305: DEBUG - + dest_path=/conf/ynh/current_host
2024-08-25 00:00:07,305: DEBUG - + dest_path=conf/ynh/current_host
2024-08-25 00:00:07,309: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,311: DEBUG - ++ echo /etc/yunohost/current_host
2024-08-25 00:00:07,313: DEBUG - + local src=/etc/yunohost/current_host
2024-08-25 00:00:07,318: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,320: DEBUG - ++ echo conf/ynh/current_host
2024-08-25 00:00:07,322: DEBUG - + local dest=conf/ynh/current_host
2024-08-25 00:00:07,325: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/current_host
2024-08-25 00:00:07,327: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:07,331: DEBUG - + '[' '!' -d /etc/yunohost/domains ']'
2024-08-25 00:00:07,331: DEBUG - + ynh_backup /etc/yunohost/domains /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains
2024-08-25 00:00:07,432: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/domains
2024-08-25 00:00:07,432: DEBUG - + is_big=0
2024-08-25 00:00:07,433: DEBUG - + not_mandatory=0
2024-08-25 00:00:07,433: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:07,433: DEBUG - + test -n ''
2024-08-25 00:00:07,433: DEBUG - + '[' '!' -e /etc/yunohost/domains ']'
2024-08-25 00:00:07,434: DEBUG - ++ realpath /etc/yunohost/domains
2024-08-25 00:00:07,437: DEBUG - + src_path=/etc/yunohost/domains
2024-08-25 00:00:07,438: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains ]]
2024-08-25 00:00:07,438: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:07,438: DEBUG - + dest_path=conf/ynh/domains
2024-08-25 00:00:07,438: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:07,439: DEBUG - + [[ s == \/ ]]
2024-08-25 00:00:07,439: DEBUG - + [[ -e conf/ynh/domains ]]
2024-08-25 00:00:07,439: DEBUG - + local rel_dir=
2024-08-25 00:00:07,439: DEBUG - + rel_dir=/
2024-08-25 00:00:07,439: DEBUG - + dest_path=/conf/ynh/domains
2024-08-25 00:00:07,440: DEBUG - + dest_path=conf/ynh/domains
2024-08-25 00:00:07,442: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,445: DEBUG - ++ echo /etc/yunohost/domains
2024-08-25 00:00:07,447: DEBUG - + local src=/etc/yunohost/domains
2024-08-25 00:00:07,449: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,452: DEBUG - ++ echo conf/ynh/domains
2024-08-25 00:00:07,454: DEBUG - + local dest=conf/ynh/domains
2024-08-25 00:00:07,455: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/domains
2024-08-25 00:00:07,457: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:07,464: DEBUG - + '[' '!' -e /etc/yunohost/settings.yml ']'
2024-08-25 00:00:07,464: DEBUG - + ynh_backup /etc/yunohost/settings.yml /home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml
2024-08-25 00:00:07,587: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml
2024-08-25 00:00:07,587: DEBUG - + is_big=0
2024-08-25 00:00:07,588: DEBUG - + not_mandatory=0
2024-08-25 00:00:07,588: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:07,588: DEBUG - + test -n ''
2024-08-25 00:00:07,589: DEBUG - + '[' '!' -e /etc/yunohost/settings.yml ']'
2024-08-25 00:00:07,591: DEBUG - ++ realpath /etc/yunohost/settings.yml
2024-08-25 00:00:07,594: DEBUG - + src_path=/etc/yunohost/settings.yml
2024-08-25 00:00:07,594: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml ]]
2024-08-25 00:00:07,594: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:07,594: DEBUG - + dest_path=conf/ynh/settings.yml
2024-08-25 00:00:07,595: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:07,595: DEBUG - + [[ l == \/ ]]
2024-08-25 00:00:07,595: DEBUG - + [[ -e conf/ynh/settings.yml ]]
2024-08-25 00:00:07,595: DEBUG - + local rel_dir=
2024-08-25 00:00:07,596: DEBUG - + rel_dir=/
2024-08-25 00:00:07,596: DEBUG - + dest_path=/conf/ynh/settings.yml
2024-08-25 00:00:07,596: DEBUG - + dest_path=conf/ynh/settings.yml
2024-08-25 00:00:07,598: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,601: DEBUG - ++ echo /etc/yunohost/settings.yml
2024-08-25 00:00:07,604: DEBUG - + local src=/etc/yunohost/settings.yml
2024-08-25 00:00:07,606: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,608: DEBUG - ++ echo conf/ynh/settings.yml
2024-08-25 00:00:07,611: DEBUG - + local dest=conf/ynh/settings.yml
2024-08-25 00:00:07,612: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/settings.yml
2024-08-25 00:00:07,614: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:07,619: DEBUG - + '[' '!' -d /etc/yunohost/dyndns ']'
2024-08-25 00:00:07,620: DEBUG - + '[' '!' -d /etc/dkim ']'
2024-08-25 00:00:07,620: DEBUG - + ynh_backup /etc/dkim /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim
2024-08-25 00:00:07,714: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim
2024-08-25 00:00:07,714: DEBUG - + is_big=0
2024-08-25 00:00:07,714: DEBUG - + not_mandatory=0
2024-08-25 00:00:07,714: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:07,714: DEBUG - + test -n ''
2024-08-25 00:00:07,715: DEBUG - + '[' '!' -e /etc/dkim ']'
2024-08-25 00:00:07,715: DEBUG - ++ realpath /etc/dkim
2024-08-25 00:00:07,717: DEBUG - + src_path=/etc/dkim
2024-08-25 00:00:07,718: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim ]]
2024-08-25 00:00:07,718: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:07,718: DEBUG - + dest_path=conf/ynh/dkim
2024-08-25 00:00:07,718: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:07,718: DEBUG - + [[ m == \/ ]]
2024-08-25 00:00:07,718: DEBUG - + [[ -e conf/ynh/dkim ]]
2024-08-25 00:00:07,719: DEBUG - + local rel_dir=
2024-08-25 00:00:07,719: DEBUG - + rel_dir=/
2024-08-25 00:00:07,719: DEBUG - + dest_path=/conf/ynh/dkim
2024-08-25 00:00:07,719: DEBUG - + dest_path=conf/ynh/dkim
2024-08-25 00:00:07,720: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,723: DEBUG - ++ echo /etc/dkim
2024-08-25 00:00:07,724: DEBUG - + local src=/etc/dkim
2024-08-25 00:00:07,725: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:07,727: DEBUG - ++ echo conf/ynh/dkim
2024-08-25 00:00:07,729: DEBUG - + local dest=conf/ynh/dkim
2024-08-25 00:00:07,730: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/dkim
2024-08-25 00:00:07,731: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:08,734: 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-08-25 00:00:08,745: DEBUG - + set -eu
2024-08-25 00:00:08,746: DEBUG - + source /usr/share/yunohost/helpers
2024-08-25 00:00:08,748: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-25 00:00:08,751: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-25 00:00:08,751: DEBUG - +++ pwd
2024-08-25 00:00:08,752: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-25 00:00:08,752: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-08-25 00:00:08,758: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-25 00:00:08,759: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-25 00:00:08,813: DEBUG - + backup_dir=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-08-25 00:00:08,813: DEBUG - + ynh_backup /etc/yunohost/certs /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-08-25 00:00:08,923: DEBUG - + dest_path=/home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-08-25 00:00:08,923: DEBUG - + is_big=0
2024-08-25 00:00:08,923: DEBUG - + not_mandatory=0
2024-08-25 00:00:08,923: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:08,924: DEBUG - + test -n ''
2024-08-25 00:00:08,924: DEBUG - + '[' '!' -e /etc/yunohost/certs ']'
2024-08-25 00:00:08,925: DEBUG - ++ realpath /etc/yunohost/certs
2024-08-25 00:00:08,927: DEBUG - + src_path=/etc/yunohost/certs
2024-08-25 00:00:08,927: DEBUG - + [[ -z /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs ]]
2024-08-25 00:00:08,927: DEBUG - + [[ / == \/ ]]
2024-08-25 00:00:08,928: DEBUG - + dest_path=conf/ynh/certs
2024-08-25 00:00:08,928: DEBUG - + [[ c == \/ ]]
2024-08-25 00:00:08,928: DEBUG - + [[ s == \/ ]]
2024-08-25 00:00:08,928: DEBUG - + [[ -e conf/ynh/certs ]]
2024-08-25 00:00:08,928: DEBUG - + local rel_dir=
2024-08-25 00:00:08,929: DEBUG - + rel_dir=/
2024-08-25 00:00:08,929: DEBUG - + dest_path=/conf/ynh/certs
2024-08-25 00:00:08,929: DEBUG - + dest_path=conf/ynh/certs
2024-08-25 00:00:08,931: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:08,933: DEBUG - ++ echo /etc/yunohost/certs
2024-08-25 00:00:08,935: DEBUG - + local src=/etc/yunohost/certs
2024-08-25 00:00:08,936: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:08,939: DEBUG - ++ echo conf/ynh/certs
2024-08-25 00:00:08,940: DEBUG - + local dest=conf/ynh/certs
2024-08-25 00:00:08,941: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/ynh/certs
2024-08-25 00:00:08,944: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/ynh
2024-08-25 00:00:09,945: 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-08-25 00:00:09,952: DEBUG - + source /usr/share/yunohost/helpers
2024-08-25 00:00:09,957: DEBUG - ++++ dirname -- /usr/share/yunohost/helpers
2024-08-25 00:00:09,959: DEBUG - +++ cd -- /usr/share/yunohost
2024-08-25 00:00:09,959: DEBUG - +++ pwd
2024-08-25 00:00:09,960: DEBUG - ++ SCRIPT_DIR=/usr/share/yunohost
2024-08-25 00:00:09,960: DEBUG - ++ YNH_HELPERS_VERSION=1
2024-08-25 00:00:09,966: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2024-08-25 00:00:09,966: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2024-08-25 00:00:10,014: DEBUG - + ynh_abort_if_errors
2024-08-25 00:00:10,015: DEBUG - + trap ynh_exit_properly EXIT
2024-08-25 00:00:10,015: DEBUG - + YNH_CWD=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-08-25 00:00:10,016: DEBUG - + mkdir -p /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-08-25 00:00:10,018: DEBUG - + cd /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-08-25 00:00:10,019: DEBUG - + yunohost tools shell -c 'from yunohost.regenconf import manually_modified_files; print('\''\n'\''.join(manually_modified_files()))'
2024-08-25 00:00:10,613: DEBUG - + ynh_backup --src_path=./manually_modified_files_list
2024-08-25 00:00:10,692: DEBUG - + dest_path=
2024-08-25 00:00:10,692: DEBUG - + is_big=0
2024-08-25 00:00:10,693: DEBUG - + not_mandatory=0
2024-08-25 00:00:10,693: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:10,693: DEBUG - + test -n ''
2024-08-25 00:00:10,694: DEBUG - + '[' '!' -e ./manually_modified_files_list ']'
2024-08-25 00:00:10,696: DEBUG - ++ realpath ./manually_modified_files_list
2024-08-25 00:00:10,700: DEBUG - + src_path=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,700: DEBUG - + [[ -z '' ]]
2024-08-25 00:00:10,701: DEBUG - + dest_path=home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,701: DEBUG - + [[ -e home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list ]]
2024-08-25 00:00:10,701: DEBUG - + local rel_dir=/conf/manually_modified_files
2024-08-25 00:00:10,701: DEBUG - + rel_dir=/conf/manually_modified_files/
2024-08-25 00:00:10,702: DEBUG - + dest_path=/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,702: DEBUG - + dest_path=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,705: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:10,708: DEBUG - ++ echo /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,711: DEBUG - + local src=/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,713: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:10,717: DEBUG - ++ echo conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,723: DEBUG - + local dest=conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/manually_modified_files_list
2024-08-25 00:00:10,726: 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-08-25 00:00:10,729: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files
2024-08-25 00:00:10,737: DEBUG - ++ cat ./manually_modified_files_list
2024-08-25 00:00:10,742: DEBUG - + ynh_backup --src_path=/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,823: DEBUG - + dest_path=
2024-08-25 00:00:10,823: DEBUG - + is_big=0
2024-08-25 00:00:10,823: DEBUG - + not_mandatory=0
2024-08-25 00:00:10,823: DEBUG - + BACKUP_CORE_ONLY=0
2024-08-25 00:00:10,823: DEBUG - + test -n ''
2024-08-25 00:00:10,824: DEBUG - + '[' '!' -e /etc/ssowat/conf.json.persistent ']'
2024-08-25 00:00:10,825: DEBUG - ++ realpath /etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,827: DEBUG - + src_path=/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,827: DEBUG - + [[ -z '' ]]
2024-08-25 00:00:10,828: DEBUG - + dest_path=etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,828: DEBUG - + [[ -e etc/ssowat/conf.json.persistent ]]
2024-08-25 00:00:10,828: DEBUG - + local rel_dir=/conf/manually_modified_files
2024-08-25 00:00:10,828: DEBUG - + rel_dir=/conf/manually_modified_files/
2024-08-25 00:00:10,828: DEBUG - + dest_path=/conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,829: DEBUG - + dest_path=conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,830: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:10,832: DEBUG - ++ echo /etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,835: DEBUG - + local src=/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,837: DEBUG - ++ sed --regexp-extended 's/"/\"\"/g'
2024-08-25 00:00:10,839: DEBUG - ++ echo conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,841: DEBUG - + local dest=conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,842: DEBUG - ++ dirname /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat/conf.json.persistent
2024-08-25 00:00:10,844: DEBUG - + mkdir --parents /home/yunohost.backup/tmp/auto_conf/conf/manually_modified_files/etc/ssowat
2024-08-25 00:00:10,847: DEBUG - + ynh_exit_properly
2024-08-25 00:00:10,848: DEBUG - + [[ '' =~ ^install$|^upgrade$|^restore$ ]]
2024-08-25 00:00:11,960: INFO - Creating a backup archive from the collected files…
2024-08-25 00:00:11,961: INFO - The archive will contain about 722.6KB of data.
2024-08-25 00:00:11,962: DEBUG - Calling the custom backup method '{method}'…
2024-08-25 00:00:11,966: 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 739900 \'\' 7>&1']'
2024-08-25 00:00:11,974: DEBUG - + set -Eeuo pipefail
2024-08-25 00:00:11,974: DEBUG - + borg=/var/www/borg/venv/bin/borg
2024-08-25 00:00:11,977: DEBUG - ++ yunohost app setting borg passphrase
2024-08-25 00:00:12,292: DEBUG - + BORG_PASSPHRASE=**********
2024-08-25 00:00:12,293: DEBUG - ++ yunohost app setting borg repository
2024-08-25 00:00:12,598: DEBUG - + BORG_REPO=ssh://<BORGACCOUNT>@<BORGSERVER_DN>:<MONPORT>/~/backup
2024-08-25 00:00:12,599: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf
2024-08-25 00:00:12,599: DEBUG - + ssh-keygen -F '[<BORGSERVER_DN>]:22'
2024-08-25 00:00:12,607: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no '
2024-08-25 00:00:12,607: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf
2024-08-25 00:00:12,607: DEBUG - + name=auto_conf
2024-08-25 00:00:12,607: DEBUG - + size=739900
2024-08-25 00:00:12,608: DEBUG - + description=
2024-08-25 00:00:12,608: DEBUG - + case "$1" in
2024-08-25 00:00:12,608: DEBUG - + do_need_mount /home/yunohost.backup/tmp/auto_conf auto_conf 739900 ''
2024-08-25 00:00:12,608: DEBUG - + true
2024-08-25 00:00:13,719: DEBUG - Copying 0.0034923553466796875MB to organize the archive
2024-08-25 00:00:13,723: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./05-borg_app" backup /home/yunohost.backup/tmp/auto_conf auto_conf /home/yunohost.backup/archives 739900 \'\' 7>&1']'
2024-08-25 00:00:13,730: DEBUG - + set -Eeuo pipefail
2024-08-25 00:00:13,730: DEBUG - + borg=/var/www/borg/venv/bin/borg
2024-08-25 00:00:13,731: DEBUG - ++ yunohost app setting borg passphrase
2024-08-25 00:00:14,034: DEBUG - + BORG_PASSPHRASE=**********
2024-08-25 00:00:14,037: DEBUG - ++ yunohost app setting borg repository
2024-08-25 00:00:14,330: DEBUG - + BORG_REPO=ssh://<BORGACCOUNT>@<BORGSERVER_DN>:<MONPORT>/~/backup
2024-08-25 00:00:14,330: DEBUG - + BORG_LOGGING_CONF=/var/www/borg/logging.conf
2024-08-25 00:00:14,331: DEBUG - + ssh-keygen -F '[<BORGSERVER_DN>]:22'
2024-08-25 00:00:14,340: DEBUG - + BORG_RSH='ssh -i /root/.ssh/id_borg_ed25519 -oStrictHostKeyChecking=no '
2024-08-25 00:00:14,340: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf
2024-08-25 00:00:14,340: DEBUG - + name=auto_conf
2024-08-25 00:00:14,341: DEBUG - + size=739900
2024-08-25 00:00:14,341: DEBUG - + description=
2024-08-25 00:00:14,341: DEBUG - + case "$1" in
2024-08-25 00:00:14,341: DEBUG - + do_backup /home/yunohost.backup/tmp/auto_conf auto_conf 739900 ''
2024-08-25 00:00:14,341: DEBUG - + export BORG_PASSPHRASE
2024-08-25 00:00:14,342: DEBUG - + export BORG_REPO
2024-08-25 00:00:14,342: DEBUG - + export BORG_RSH
2024-08-25 00:00:14,342: DEBUG - + export BORG_LOGGING_CONF
2024-08-25 00:00:14,343: DEBUG - + export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
2024-08-25 00:00:14,343: DEBUG - + BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
2024-08-25 00:00:14,343: DEBUG - + work_dir=/home/yunohost.backup/tmp/auto_conf
2024-08-25 00:00:14,343: DEBUG - + name=auto_conf
2024-08-25 00:00:14,344: DEBUG - + size=739900
2024-08-25 00:00:14,344: DEBUG - + description=
2024-08-25 00:00:14,344: DEBUG - + set +e
2024-08-25 00:00:14,344: DEBUG - + /var/www/borg/venv/bin/borg list
2024-08-25 00:00:15,717: DEBUG - + /var/www/borg/venv/bin/borg init -e repokey
2024-08-25 00:00:16,622: WARNING - Remote: ECDSA host key for IP address '<BORGSERVER_IP>' not in list of known hosts.
2024-08-25 00:00:16,960: WARNING - Remote: bash: line 1: borg: command not found
2024-08-25 00:00:17,032: DEBUG - + /usr/bin/mail.mailutils -a 'Content-Type: text/plain; charset=UTF-8' -s '[YNH] First backup is starting' root
2024-08-25 00:00:17,033: DEBUG -
2024-08-25 00:00:17,033: DEBUG - Your first backup on ssh://<BORGACCOUNT>@<BORGSERVER_DN>:<MONPORT>/~/backup is starting.
2024-08-25 00:00:17,033: DEBUG -
2024-08-25 00:00:17,033: DEBUG - This is an automated message from your beloved YunoHost server.'
2024-08-25 00:00:17,120: DEBUG - + set -e
2024-08-25 00:00:17,121: DEBUG - + /var/www/borg/venv/bin/borg create --stats '::auto_conf-{now}' /home/yunohost.backup/tmp/auto_conf
2024-08-25 00:00:17,958: WARNING - Remote: ECDSA host key for IP address '<BORGSERVER_IP>' not in list of known hosts.
2024-08-25 00:00:18,960: 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
Thank you for your help