Problème de mise à jour de FireFly 3 de 5.5.13~ynh1 à 5.6.8~ynh1 et de sauvegarde

Bonjour,

Je rencontre un problème pour mettre à jour FireFly III de la version 5.5.13 à 5.6.8 et de sauvegarder la version courante.
Alors même que l’application fonctionne correctement sur le serveur.

Mon serveur YunoHost

Matériel: : Vieil ordinateur /
Version de YunoHost: : 4.3.6.2
**J’ai accès à mon serveur : Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer:

Description du problème

Je ne parviens pas à mettre à jour l’application Firefly, malgré le fait que mon serveur est Up to Date.

En effet, j’ai une erreur de répertoire source (Source path ‘’’/etc/php/7.3/fpm/pool.d/firefly-iii.conf’’’ does not exist)

Voilà, l’ensemble des logs :

ended_at: 2022-02-22 14:45:11.997350
env:
BASH_XTRACEFD: ‘7’
NO_BACKUP_UPGRADE: ‘0’
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_lpw755nb
YNH_APP_CURRENT_VERSION: 5.5.13~ynh1
YNH_APP_ID: firefly-iii
YNH_APP_INSTANCE_NAME: firefly-iii
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 5.6.8~ynh1
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_ARCH: i386
YNH_CWD: /var/cache/yunohost/app_tmp_work_dirs/app_lpw755nb/scripts
YNH_INTERFACE: api
YNH_STDRETURN: /tmp/tmpo19iwk82/stdreturn
error: “Une erreur s’est produite durant l’ex\xE9cution du script de mise \xE0 niveau
\ de l’application”
interface: api
operation: app_upgrade
parent: null
related_to:

    • app
    • firefly-iii
      started_at: 2022-02-22 14:45:05.371063
      success: false
      yunohost_version: 4.3.6.2

============

2022-02-22 15:45:05,384: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./upgrade” 7>&1’]’
2022-02-22 15:45:05,394: DEBUG - + source _common.sh
2022-02-22 15:45:05,395: DEBUG - +++ grep tag_name
2022-02-22 15:45:05,396: DEBUG - +++ cut ‘-d"’ -f4
2022-02-22 15:45:05,397: DEBUG - +++ curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest
2022-02-22 15:45:05,780: DEBUG - ++ latest_tag=5.6.14
2022-02-22 15:45:05,781: DEBUG - ++ tag=5.5.11
2022-02-22 15:45:05,781: DEBUG - ++ YNH_PHP_VERSION=8.0
2022-02-22 15:45:05,781: DEBUG - ++ YNH_COMPOSER_VERSION=2.0.13
2022-02-22 15:45:05,781: DEBUG - ++ pkg_dependencies=‘php8.0-zip php8.0-mysql php8.0-xml php8.0-intl php8.0-mbstring php8.0-gd php8.0-curl php8.0-bcmath php8.0-opcache php8.0-ldap’
2022-02-22 15:45:05,782: DEBUG - + source /usr/share/yunohost/helpers
2022-02-22 15:45:05,782: DEBUG - +++ set +o
2022-02-22 15:45:05,783: DEBUG - +++ grep xtrace
2022-02-22 15:45:05,786: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-02-22 15:45:05,786: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-02-22 15:45:05,917: INFO - [+…] > Loading installation settings…
2022-02-22 15:45:05,918: DEBUG - + app=firefly-iii
2022-02-22 15:45:05,919: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=domain
2022-02-22 15:45:05,919: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:05,957: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:05,958: DEBUG - ++ [[ domain =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:05,958: DEBUG - ++ ynh_app_setting get firefly-iii domain
2022-02-22 15:45:06,030: DEBUG - + domain=maindomain.tld
2022-02-22 15:45:06,031: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=path
2022-02-22 15:45:06,031: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:06,073: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:06,073: DEBUG - ++ [[ path =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:06,074: DEBUG - ++ ynh_app_setting get firefly-iii path
2022-02-22 15:45:06,148: DEBUG - + path_url=/firefly
2022-02-22 15:45:06,148: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=admin
2022-02-22 15:45:06,149: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:06,188: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:06,189: DEBUG - ++ [[ admin =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:06,189: DEBUG - ++ ynh_app_setting get firefly-iii admin
2022-02-22 15:45:06,261: DEBUG - + admin=dacruzphilippe
2022-02-22 15:45:06,262: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=final_path
2022-02-22 15:45:06,262: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:06,301: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:06,302: DEBUG - ++ [[ final_path =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:06,302: DEBUG - ++ ynh_app_setting get firefly-iii final_path
2022-02-22 15:45:06,375: DEBUG - + final_path=/var/www/firefly-iii
2022-02-22 15:45:06,376: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=db_name
2022-02-22 15:45:06,376: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:06,417: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:06,417: DEBUG - ++ [[ db_name =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:06,418: DEBUG - ++ ynh_app_setting get firefly-iii db_name
2022-02-22 15:45:06,491: DEBUG - + db_name=firefly_iii
2022-02-22 15:45:06,492: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=mysqlpwd
2022-02-22 15:45:06,492: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:06,534: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:06,535: DEBUG - ++ [[ mysqlpwd =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:06,535: DEBUG - ++ ynh_app_setting get firefly-iii mysqlpwd
2022-02-22 15:45:06,608: DEBUG - + db_pwd=**********
2022-02-22 15:45:06,609: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=random_key
2022-02-22 15:45:06,610: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:06,649: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:06,649: DEBUG - ++ [[ random_key =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:06,649: DEBUG - ++ ynh_app_setting get firefly-iii random_key
2022-02-22 15:45:06,723: DEBUG - + random_key=**********
2022-02-22 15:45:06,724: DEBUG - ++ ynh_user_get_info --username=dacruzphilippe --key=mail
2022-02-22 15:45:06,766: DEBUG - ++ yunohost user info dacruzphilippe --output-as json --quiet
2022-02-22 15:45:06,767: DEBUG - ++ jq -r .mail
2022-02-22 15:45:07,317: DEBUG - + email=dacruzphilippe@maindomain.tld
2022-02-22 15:45:07,317: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=update
2022-02-22 15:45:07,318: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 15:45:07,360: DEBUG - ++ app=firefly-iii
2022-02-22 15:45:07,360: DEBUG - ++ [[ update =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:07,360: DEBUG - ++ ynh_app_setting get firefly-iii update
2022-02-22 15:45:07,433: DEBUG - + update=1
2022-02-22 15:45:07,434: DEBUG - + phpversion=8.0
2022-02-22 15:45:07,434: DEBUG - ++ ynh_check_app_version_changed
2022-02-22 15:45:07,435: DEBUG - ++ local return_value=UPGRADE_APP
2022-02-22 15:45:07,435: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_FULL ‘]’
2022-02-22 15:45:07,435: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_FORCED ‘]’
2022-02-22 15:45:07,436: DEBUG - ++ ‘[’ UPGRADE_APP == DOWNGRADE_FORCED ‘]’
2022-02-22 15:45:07,436: DEBUG - ++ echo UPGRADE_APP
2022-02-22 15:45:07,437: DEBUG - + upgrade_type=UPGRADE_APP
2022-02-22 15:45:07,526: DEBUG - + ynh_backup_before_upgrade
2022-02-22 15:45:07,527: DEBUG - + ‘[’ ‘!’ -e /etc/yunohost/apps/firefly-iii/scripts/backup ‘]’
2022-02-22 15:45:07,527: DEBUG - + backup_number=1
2022-02-22 15:45:07,527: DEBUG - + local old_backup_number=2
2022-02-22 15:45:07,527: DEBUG - + local app_bck=firefly-iii
2022-02-22 15:45:07,527: DEBUG - + NO_BACKUP_UPGRADE=0
2022-02-22 15:45:07,528: DEBUG - + ynh_backup_archive_exists firefly-iii-pre-upgrade1
2022-02-22 15:45:07,528: INFO - [#+…] > Backing up the app before upgrading (may take a while)…
2022-02-22 15:45:07,529: DEBUG - + jq -e --arg archive firefly-iii-pre-upgrade1 ‘.archives | index($archive)’
2022-02-22 15:45:07,530: DEBUG - + yunohost backup list --output-as json --quiet
2022-02-22 15:45:07,805: DEBUG - + backup_number=2
2022-02-22 15:45:07,805: DEBUG - + old_backup_number=1
2022-02-22 15:45:07,805: DEBUG - + BACKUP_CORE_ONLY=1
2022-02-22 15:45:07,805: DEBUG - + yunohost backup create --apps firefly-iii --name firefly-iii-pre-upgrade2 --debug
2022-02-22 15:45:07,990: DEBUG - 139 initializing base actions map parser for cli
2022-02-22 15:45:07,992: DEBUG - 140 loading actions map namespace ‘yunohost’
2022-02-22 15:45:07,996: DEBUG - 144 building parser…
2022-02-22 15:45:08,000: DEBUG - 148 building parser took 0.004s
2022-02-22 15:45:08,001: DEBUG - 150 acquiring lock…
2022-02-22 15:45:08,038: DEBUG - 187 loading python module yunohost.backup took 0.023s
2022-02-22 15:45:08,039: DEBUG - 187 processing action [27702.1]: yunohost.backup.create with args={‘name’: ‘firefly-iii-pre-upgrade2’, ‘description’: None, ‘output_directory’: None, ‘methods’: None, ‘system’: None, ‘apps’: [‘firefly-iii’], ‘dry_run’: False}
2022-02-22 15:45:08,078: DEBUG - 226 Collecte des fichiers devant être sauvegardés pour firefly-iii…
2022-02-22 15:45:08,097: DEBUG - 245 Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “/var/cache/yunohost/app_tmp_work_dirs/app_mlbz0lha/scripts/backup” 7>&1’]’
2022-02-22 15:45:08,106: DEBUG - 254 + source …/settings/scripts/_common.sh
2022-02-22 15:45:08,107: DEBUG - 255 +++ curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest
2022-02-22 15:45:08,108: DEBUG - 256 +++ grep tag_name
2022-02-22 15:45:08,108: DEBUG - 257 +++ cut ‘-d"’ -f4
2022-02-22 15:45:08,311: DEBUG - 459 ++ latest_tag=5.6.14
2022-02-22 15:45:08,312: DEBUG - 460 ++ tag=5.5.11
2022-02-22 15:45:08,314: DEBUG - 460 ++ pkg_dependencies=redis-server
2022-02-22 15:45:08,314: DEBUG - 461 ++ YNH_PHP_VERSION=7.4
2022-02-22 15:45:08,315: DEBUG - 461 ++ YNH_COMPOSER_VERSION=2.0.13
2022-02-22 15:45:08,315: DEBUG - 462 ++ extra_php_dependencies=‘php7.4-zip php7.4-mysql php7.4-xml php7.4-intl php7.4-mbstring php7.4-gd php7.4-curl php7.4-bcmath php7.4-opcache php7.4-ldap’
2022-02-22 15:45:08,315: DEBUG - 463 ++ YNH_COMPOSER_VERSION=2.0.13
2022-02-22 15:45:08,315: DEBUG - 463 + source /usr/share/yunohost/helpers
2022-02-22 15:45:08,315: DEBUG - 463 +++ grep xtrace
2022-02-22 15:45:08,316: DEBUG - 465 +++ set +o
2022-02-22 15:45:08,317: DEBUG - 465 ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-02-22 15:45:08,317: DEBUG - 466 ++ XTRACE_ENABLE=‘set -o xtrace’
2022-02-22 15:45:08,368: DEBUG - 516 + ynh_abort_if_errors
2022-02-22 15:45:08,370: DEBUG - 518 + trap ynh_exit_properly EXIT
2022-02-22 15:45:08,370: DEBUG - 519 + ynh_print_info ‘–message=Loading installation settings…’
2022-02-22 15:45:08,382: DEBUG - 530 + echo ‘Loading installation settings…’
2022-02-22 15:45:08,382: DEBUG - 531 Loading installation settings…
2022-02-22 15:45:08,382: DEBUG - 531 + app=firefly-iii
2022-02-22 15:45:08,383: DEBUG - 532 ++ ynh_app_setting_get --app=firefly-iii --key=final_path
2022-02-22 15:45:08,384: DEBUG - 532 ++ local globalapp=firefly-iii
2022-02-22 15:45:08,422: DEBUG - 570 ++ app=firefly-iii
2022-02-22 15:45:08,422: DEBUG - 571 ++ [[ final_path =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:08,423: DEBUG - 571 ++ ynh_app_setting get firefly-iii final_path
2022-02-22 15:45:08,497: DEBUG - 645 + final_path=/var/www/firefly-iii
2022-02-22 15:45:08,497: DEBUG - 646 ++ ynh_app_setting_get --app=firefly-iii --key=domain
2022-02-22 15:45:08,498: DEBUG - 646 ++ local globalapp=firefly-iii
2022-02-22 15:45:08,539: DEBUG - 688 ++ app=firefly-iii
2022-02-22 15:45:08,540: DEBUG - 688 ++ [[ domain =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:08,540: DEBUG - 689 ++ ynh_app_setting get firefly-iii domain
2022-02-22 15:45:08,614: DEBUG - 762 + domain=maindomain.tld
2022-02-22 15:45:08,615: DEBUG - 764 ++ ynh_app_setting_get --app=firefly-iii --key=db_name
2022-02-22 15:45:08,615: DEBUG - 764 ++ local globalapp=firefly-iii
2022-02-22 15:45:08,656: DEBUG - 805 ++ app=firefly-iii
2022-02-22 15:45:08,657: DEBUG - 805 ++ [[ db_name =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:08,657: DEBUG - 806 ++ ynh_app_setting get firefly-iii db_name
2022-02-22 15:45:08,730: DEBUG - 879 + db_name=firefly_iii
2022-02-22 15:45:08,731: DEBUG - 880 ++ ynh_app_setting_get --app=firefly-iii --key=phpversion
2022-02-22 15:45:08,732: DEBUG - 881 ++ local globalapp=firefly-iii
2022-02-22 15:45:08,774: DEBUG - 923 ++ app=firefly-iii
2022-02-22 15:45:08,774: DEBUG - 923 ++ [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:08,775: DEBUG - 923 ++ ynh_app_setting get firefly-iii phpversion
2022-02-22 15:45:08,848: DEBUG - 996 + phpversion=7.3
2022-02-22 15:45:08,848: DEBUG - 997 + ynh_print_info ‘–message=Declaring files to be backed up…’
2022-02-22 15:45:08,863: DEBUG - 1011 + echo ‘Declaring files to be backed up…’
2022-02-22 15:45:08,863: DEBUG - 1012 + ynh_backup --src_path=/var/www/firefly-iii
2022-02-22 15:45:08,864: DEBUG - 1013 Declaring files to be backed up…
2022-02-22 15:45:08,908: DEBUG - 1056 + dest_path=
2022-02-22 15:45:08,908: DEBUG - 1057 + is_big=0
2022-02-22 15:45:08,910: DEBUG - 1058 + not_mandatory=0
2022-02-22 15:45:08,910: DEBUG - 1058 + BACKUP_CORE_ONLY=1
2022-02-22 15:45:08,910: DEBUG - 1058 + test -n firefly-iii
2022-02-22 15:45:08,911: DEBUG - 1058 ++ ynh_app_setting_get --app=firefly-iii --key=do_not_backup_data
2022-02-22 15:45:08,911: DEBUG - 1058 ++ local globalapp=firefly-iii
2022-02-22 15:45:08,949: DEBUG - 1097 ++ app=firefly-iii
2022-02-22 15:45:08,949: DEBUG - 1098 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:08,950: DEBUG - 1098 ++ ynh_app_setting get firefly-iii do_not_backup_data
2022-02-22 15:45:09,023: DEBUG - 1171 + do_not_backup_data=
2022-02-22 15:45:09,023: DEBUG - 1172 + ‘[’ ‘!’ -e /var/www/firefly-iii ‘]’
2022-02-22 15:45:09,024: DEBUG - 1173 ++ realpath /var/www/firefly-iii
2022-02-22 15:45:09,026: DEBUG - 1175 + src_path=/var/www/firefly-iii
2022-02-22 15:45:09,027: DEBUG - 1175 + [[ -z ‘’ ]]
2022-02-22 15:45:09,027: DEBUG - 1176 + dest_path=var/www/firefly-iii
2022-02-22 15:45:09,027: DEBUG - 1176 + [[ -e var/www/firefly-iii ]]
2022-02-22 15:45:09,028: DEBUG - 1176 + local rel_dir=/apps/firefly-iii/backup
2022-02-22 15:45:09,028: DEBUG - 1177 + rel_dir=/apps/firefly-iii/backup/
2022-02-22 15:45:09,028: DEBUG - 1177 + dest_path=/apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 15:45:09,028: DEBUG - 1177 + dest_path=apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 15:45:09,030: DEBUG - 1178 ++ echo /var/www/firefly-iii
2022-02-22 15:45:09,030: DEBUG - 1179 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 15:45:09,033: DEBUG - 1181 + local src=/var/www/firefly-iii
2022-02-22 15:45:09,034: DEBUG - 1182 ++ echo apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 15:45:09,034: DEBUG - 1183 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 15:45:09,037: DEBUG - 1185 + local dest=apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 15:45:09,037: DEBUG - 1186 + echo ‘"/var/www/firefly-iii",“apps/firefly-iii/backup/var/www/firefly-iii”’
2022-02-22 15:45:09,038: DEBUG - 1186 ++ dirname /home/yunohost.backup/tmp/firefly-iii-pre-upgrade2/apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 15:45:09,039: DEBUG - 1188 + mkdir --parents /home/yunohost.backup/tmp/firefly-iii-pre-upgrade2/apps/firefly-iii/backup/var/www
2022-02-22 15:45:09,043: DEBUG - 1190 + ynh_backup --src_path=/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,081: DEBUG - 1230 + dest_path=
2022-02-22 15:45:09,082: DEBUG - 1230 + is_big=0
2022-02-22 15:45:09,082: DEBUG - 1230 + not_mandatory=0
2022-02-22 15:45:09,082: DEBUG - 1231 + BACKUP_CORE_ONLY=1
2022-02-22 15:45:09,082: DEBUG - 1231 + test -n firefly-iii
2022-02-22 15:45:09,083: DEBUG - 1231 ++ ynh_app_setting_get --app=firefly-iii --key=do_not_backup_data
2022-02-22 15:45:09,083: DEBUG - 1232 ++ local globalapp=firefly-iii
2022-02-22 15:45:09,128: DEBUG - 1277 ++ app=firefly-iii
2022-02-22 15:45:09,128: DEBUG - 1277 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:09,129: DEBUG - 1277 ++ ynh_app_setting get firefly-iii do_not_backup_data
2022-02-22 15:45:09,201: DEBUG - 1350 + do_not_backup_data=
2022-02-22 15:45:09,202: DEBUG - 1351 + ‘[’ ‘!’ -e /etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf ‘]’
2022-02-22 15:45:09,203: DEBUG - 1351 ++ realpath /etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,204: DEBUG - 1353 + src_path=/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,205: DEBUG - 1354 + [[ -z ‘’ ]]
2022-02-22 15:45:09,205: DEBUG - 1354 + dest_path=etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,206: DEBUG - 1355 + [[ -e etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf ]]
2022-02-22 15:45:09,207: DEBUG - 1356 + local rel_dir=/apps/firefly-iii/backup
2022-02-22 15:45:09,208: DEBUG - 1356 + rel_dir=/apps/firefly-iii/backup/
2022-02-22 15:45:09,208: DEBUG - 1357 + dest_path=/apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,208: DEBUG - 1357 + dest_path=apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,209: DEBUG - 1357 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 15:45:09,209: DEBUG - 1358 ++ echo /etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,211: DEBUG - 1360 + local src=/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,213: DEBUG - 1361 ++ echo apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,213: DEBUG - 1362 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 15:45:09,216: DEBUG - 1365 + local dest=apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,217: DEBUG - 1365 + echo ‘"/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf",“apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf”’
2022-02-22 15:45:09,217: DEBUG - 1366 ++ dirname /home/yunohost.backup/tmp/firefly-iii-pre-upgrade2/apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 15:45:09,219: DEBUG - 1368 + mkdir --parents /home/yunohost.backup/tmp/firefly-iii-pre-upgrade2/apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d
2022-02-22 15:45:09,223: DEBUG - 1370 + ynh_backup --src_path=/etc/php/7.3/fpm/pool.d/firefly-iii.conf
2022-02-22 15:45:09,263: DEBUG - 1411 + dest_path=
2022-02-22 15:45:09,263: DEBUG - 1411 + is_big=0
2022-02-22 15:45:09,263: DEBUG - 1412 + not_mandatory=0
2022-02-22 15:45:09,264: DEBUG - 1412 + BACKUP_CORE_ONLY=1
2022-02-22 15:45:09,266: DEBUG - 1413 + test -n firefly-iii
2022-02-22 15:45:09,266: DEBUG - 1414 ++ ynh_app_setting_get --app=firefly-iii --key=do_not_backup_data
2022-02-22 15:45:09,266: DEBUG - 1414 ++ local globalapp=firefly-iii
2022-02-22 15:45:09,306: DEBUG - 1454 ++ app=firefly-iii
2022-02-22 15:45:09,306: DEBUG - 1454 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-02-22 15:45:09,306: DEBUG - 1455 ++ ynh_app_setting get firefly-iii do_not_backup_data
2022-02-22 15:45:09,382: DEBUG - 1527 + do_not_backup_data=
2022-02-22 15:45:09,383: DEBUG - 1528 + ‘[’ ‘!’ -e /etc/php/7.3/fpm/pool.d/firefly-iii.conf ‘]’
2022-02-22 15:45:09,383: DEBUG - 1528 + ynh_print_warn ‘–message=Source path ‘’’/etc/php/7.3/fpm/pool.d/firefly-iii.conf’’’ does not exist’
2022-02-22 15:45:09,391: DEBUG - 1540 + ynh_print_log ‘Source path ‘’’/etc/php/7.3/fpm/pool.d/firefly-iii.conf’’’ does not exist’
2022-02-22 15:45:09,391: DEBUG - 1540 + echo -e ‘Source path ‘’’/etc/php/7.3/fpm/pool.d/firefly-iii.conf’’’ does not exist’
2022-02-22 15:45:09,392: DEBUG - 1540 + ‘[’ 0 == 0 ‘]’
2022-02-22 15:45:09,394: WARNING - 1542 Source path ‘/etc/php/7.3/fpm/pool.d/firefly-iii.conf’ does not exist
2022-02-22 15:45:09,395: DEBUG - 1542 + grep --quiet /etc/fail2ban
2022-02-22 15:45:09,395: DEBUG - 1543 + echo /etc/php/7.3/fpm/pool.d/firefly-iii.conf
2022-02-22 15:45:09,396: DEBUG - 1545 + return 1
2022-02-22 15:45:09,397: DEBUG - 1545 + ynh_exit_properly
2022-02-22 15:45:09,903: DEBUG - 2051 + exit 1
2022-02-22 15:45:10,907: DEBUG - 3055 Échec de l’exécution du script : /var/cache/yunohost/app_tmp_work_dirs/app_mlbz0lha/scripts/backup
2022-02-22 15:45:10,911: WARNING - 3060 Impossible de sauvegarder firefly-iii
2022-02-22 15:45:10,915: DEBUG - 3063 L’opération ‘Créer une archive de sauvegarde’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log share 20220222-144508-backup_create’
2022-02-22 15:45:10,923: DEBUG - 3072 action [27702.1] executed in 2.885s
2022-02-22 15:45:10,924: WARNING - 3072 Il n’y a rien à sauvegarder
2022-02-22 15:45:10,970: DEBUG - + ynh_die ‘–message=Backup failed, the upgrade process was aborted.’
2022-02-22 15:45:10,992: WARNING - Backup failed, the upgrade process was aborted.
2022-02-22 15:45:11,995: ERROR - Impossible de mettre à jour firefly-iii : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application

Merci par avance pour l’aide que vous m’apporterez,

Philippe.

Bonjour Philippe,
En effet, je suspecte un bug dans le script de mise à jour de l’application, qui cause une erreur lors du script de sauvegarde.

Un petit correctif qui se tente:

  1. Confirmer que le fichier firefly-iii.conf se trouve bien dans /etc/php/8.0/fpm/pool.d/
  2. Si oui, changer le paramètres phpversion de l’application: sudo yunohost app setting set phpversion -v 8.0
  3. Retenter la mise à jour
1 Like

Bonjour Tagada,

Merci pour ton retour super rapide.

Je me connecterais ce soir sur mon serveur en ssh, et je te répond dans la foulée.

Philippe

Bonjour Tagada,

Je viens de faire toutes les manip et cela ne fonctionne toujours pas.

les logs :
ended_at: 2022-02-22 19:05:14.650092
env:
BASH_XTRACEFD: ‘7’
NO_BACKUP_UPGRADE: ‘0’
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_gwj3pnid
YNH_APP_CURRENT_VERSION: 5.5.13~ynh1
YNH_APP_ID: firefly-iii
YNH_APP_INSTANCE_NAME: firefly-iii
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 5.6.8~ynh1
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_ARCH: i386
YNH_CWD: /var/cache/yunohost/app_tmp_work_dirs/app_gwj3pnid/scripts
YNH_INTERFACE: api
YNH_STDRETURN: /tmp/tmph8386q3h/stdreturn
error: “Une erreur s’est produite durant l’ex\xE9cution du script de mise \xE0 niveau
\ de l’application”
interface: api
operation: app_upgrade
parent: null
related_to:

    • app
    • firefly-iii
      started_at: 2022-02-22 19:05:08.185067
      success: false
      yunohost_version: 4.3.6.2

============

2022-02-22 20:05:08,197: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./upgrade” 7>&1’]’
2022-02-22 20:05:08,206: DEBUG - + source _common.sh
2022-02-22 20:05:08,208: DEBUG - +++ curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest
2022-02-22 20:05:08,209: DEBUG - +++ cut ‘-d"’ -f4
2022-02-22 20:05:08,210: DEBUG - +++ grep tag_name
2022-02-22 20:05:08,537: DEBUG - ++ latest_tag=5.6.14
2022-02-22 20:05:08,537: DEBUG - ++ tag=5.5.11
2022-02-22 20:05:08,538: DEBUG - ++ YNH_PHP_VERSION=8.0
2022-02-22 20:05:08,538: DEBUG - ++ YNH_COMPOSER_VERSION=2.0.13
2022-02-22 20:05:08,538: DEBUG - ++ pkg_dependencies=‘php8.0-zip php8.0-mysql php8.0-xml php8.0-intl php8.0-mbstring php8.0-gd php8.0-curl php8.0-bcmath php8.0-opcache php8.0-ldap’
2022-02-22 20:05:08,539: DEBUG - + source /usr/share/yunohost/helpers
2022-02-22 20:05:08,539: DEBUG - +++ grep xtrace
2022-02-22 20:05:08,540: DEBUG - +++ set +o
2022-02-22 20:05:08,542: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-02-22 20:05:08,542: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-02-22 20:05:08,668: INFO - [+…] > Loading installation settings…
2022-02-22 20:05:08,669: DEBUG - + app=firefly-iii
2022-02-22 20:05:08,669: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=domain
2022-02-22 20:05:08,670: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:08,707: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:08,707: DEBUG - ++ [[ domain =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:08,707: DEBUG - ++ ynh_app_setting get firefly-iii domain
2022-02-22 20:05:08,781: DEBUG - + domain=maindomain.tld
2022-02-22 20:05:08,782: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=path
2022-02-22 20:05:08,782: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:08,822: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:08,822: DEBUG - ++ [[ path =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:08,822: DEBUG - ++ ynh_app_setting get firefly-iii path
2022-02-22 20:05:08,895: DEBUG - + path_url=/firefly
2022-02-22 20:05:08,896: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=admin
2022-02-22 20:05:08,896: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:08,935: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:08,935: DEBUG - ++ [[ admin =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:08,935: DEBUG - ++ ynh_app_setting get firefly-iii admin
2022-02-22 20:05:09,010: DEBUG - + admin=dacruzphilippe
2022-02-22 20:05:09,010: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=final_path
2022-02-22 20:05:09,011: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:09,052: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:09,053: DEBUG - ++ [[ final_path =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:09,053: DEBUG - ++ ynh_app_setting get firefly-iii final_path
2022-02-22 20:05:09,126: DEBUG - + final_path=/var/www/firefly-iii
2022-02-22 20:05:09,127: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=db_name
2022-02-22 20:05:09,128: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:09,167: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:09,168: DEBUG - ++ [[ db_name =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:09,168: DEBUG - ++ ynh_app_setting get firefly-iii db_name
2022-02-22 20:05:09,241: DEBUG - + db_name=firefly_iii
2022-02-22 20:05:09,242: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=mysqlpwd
2022-02-22 20:05:09,243: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:09,285: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:09,285: DEBUG - ++ [[ mysqlpwd =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:09,285: DEBUG - ++ ynh_app_setting get firefly-iii mysqlpwd
2022-02-22 20:05:09,359: DEBUG - + db_pwd=**********
2022-02-22 20:05:09,359: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=random_key
2022-02-22 20:05:09,360: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:09,398: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:09,398: DEBUG - ++ [[ random_key =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:09,398: DEBUG - ++ ynh_app_setting get firefly-iii random_key
2022-02-22 20:05:09,473: DEBUG - + random_key=**********
2022-02-22 20:05:09,474: DEBUG - ++ ynh_user_get_info --username=dacruzphilippe --key=mail
2022-02-22 20:05:09,517: DEBUG - ++ yunohost user info dacruzphilippe --output-as json --quiet
2022-02-22 20:05:09,518: DEBUG - ++ jq -r .mail
2022-02-22 20:05:10,020: DEBUG - + email=dacruzphilippe@maindomain.tld
2022-02-22 20:05:10,021: DEBUG - ++ ynh_app_setting_get --app=firefly-iii --key=update
2022-02-22 20:05:10,022: DEBUG - ++ local globalapp=firefly-iii
2022-02-22 20:05:10,061: DEBUG - ++ app=firefly-iii
2022-02-22 20:05:10,062: DEBUG - ++ [[ update =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:10,062: DEBUG - ++ ynh_app_setting get firefly-iii update
2022-02-22 20:05:10,135: DEBUG - + update=1
2022-02-22 20:05:10,136: DEBUG - + phpversion=8.0
2022-02-22 20:05:10,136: DEBUG - ++ ynh_check_app_version_changed
2022-02-22 20:05:10,137: DEBUG - ++ local return_value=UPGRADE_APP
2022-02-22 20:05:10,137: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_FULL ‘]’
2022-02-22 20:05:10,137: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_FORCED ‘]’
2022-02-22 20:05:10,138: DEBUG - ++ ‘[’ UPGRADE_APP == DOWNGRADE_FORCED ‘]’
2022-02-22 20:05:10,138: DEBUG - ++ echo UPGRADE_APP
2022-02-22 20:05:10,139: DEBUG - + upgrade_type=UPGRADE_APP
2022-02-22 20:05:10,231: INFO - [#+…] > Backing up the app before upgrading (may take a while)…
2022-02-22 20:05:10,232: DEBUG - + ynh_backup_before_upgrade
2022-02-22 20:05:10,232: DEBUG - + ‘[’ ‘!’ -e /etc/yunohost/apps/firefly-iii/scripts/backup ‘]’
2022-02-22 20:05:10,233: DEBUG - + backup_number=1
2022-02-22 20:05:10,233: DEBUG - + local old_backup_number=2
2022-02-22 20:05:10,233: DEBUG - + local app_bck=firefly-iii
2022-02-22 20:05:10,233: DEBUG - + NO_BACKUP_UPGRADE=0
2022-02-22 20:05:10,233: DEBUG - + ynh_backup_archive_exists firefly-iii-pre-upgrade1
2022-02-22 20:05:10,234: DEBUG - + yunohost backup list --output-as json --quiet
2022-02-22 20:05:10,234: DEBUG - + jq -e --arg archive firefly-iii-pre-upgrade1 ‘.archives | index($archive)’
2022-02-22 20:05:10,507: DEBUG - + BACKUP_CORE_ONLY=1
2022-02-22 20:05:10,508: DEBUG - + yunohost backup create --apps firefly-iii --name firefly-iii-pre-upgrade1 --debug
2022-02-22 20:05:10,695: DEBUG - 140 initializing base actions map parser for cli
2022-02-22 20:05:10,696: DEBUG - 142 loading actions map namespace ‘yunohost’
2022-02-22 20:05:10,700: DEBUG - 146 building parser…
2022-02-22 20:05:10,704: DEBUG - 150 building parser took 0.004s
2022-02-22 20:05:10,705: DEBUG - 151 acquiring lock…
2022-02-22 20:05:10,743: DEBUG - 189 loading python module yunohost.backup took 0.024s
2022-02-22 20:05:10,744: DEBUG - 189 processing action [1427.1]: yunohost.backup.create with args={‘name’: ‘firefly-iii-pre-upgrade1’, ‘description’: None, ‘output_directory’: None, ‘methods’: None, ‘system’: None, ‘apps’: [‘firefly-iii’], ‘dry_run’: False}
2022-02-22 20:05:10,780: DEBUG - 225 Collecte des fichiers devant être sauvegardés pour firefly-iii…
2022-02-22 20:05:10,798: DEBUG - 244 Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “/var/cache/yunohost/app_tmp_work_dirs/app_uvjxj3lb/scripts/backup” 7>&1’]’
2022-02-22 20:05:10,810: DEBUG - 256 + source …/settings/scripts/_common.sh
2022-02-22 20:05:10,812: DEBUG - 258 +++ curl -s https://api.github.com/repos/firefly-iii/firefly-iii/releases/latest
2022-02-22 20:05:10,812: DEBUG - 258 +++ cut ‘-d"’ -f4
2022-02-22 20:05:10,817: DEBUG - 263 +++ grep tag_name
2022-02-22 20:05:10,972: DEBUG - 417 ++ latest_tag=5.6.14
2022-02-22 20:05:10,972: DEBUG - 417 ++ tag=5.5.11
2022-02-22 20:05:10,973: DEBUG - 417 ++ pkg_dependencies=redis-server
2022-02-22 20:05:10,973: DEBUG - 418 ++ YNH_PHP_VERSION=7.4
2022-02-22 20:05:10,974: DEBUG - 418 ++ YNH_COMPOSER_VERSION=2.0.13
2022-02-22 20:05:10,974: DEBUG - 418 ++ extra_php_dependencies=‘php7.4-zip php7.4-mysql php7.4-xml php7.4-intl php7.4-mbstring php7.4-gd php7.4-curl php7.4-bcmath php7.4-opcache php7.4-ldap’
2022-02-22 20:05:10,974: DEBUG - 418 ++ YNH_COMPOSER_VERSION=2.0.13
2022-02-22 20:05:10,974: DEBUG - 419 + source /usr/share/yunohost/helpers
2022-02-22 20:05:10,974: DEBUG - 420 +++ grep xtrace
2022-02-22 20:05:10,975: DEBUG - 421 +++ set +o
2022-02-22 20:05:10,978: DEBUG - 424 ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-02-22 20:05:10,978: DEBUG - 424 ++ XTRACE_ENABLE=‘set -o xtrace’
2022-02-22 20:05:11,030: DEBUG - 475 + ynh_abort_if_errors
2022-02-22 20:05:11,031: DEBUG - 477 + trap ynh_exit_properly EXIT
2022-02-22 20:05:11,031: DEBUG - 477 + ynh_print_info ‘–message=Loading installation settings…’
2022-02-22 20:05:11,046: DEBUG - 492 + echo ‘Loading installation settings…’
2022-02-22 20:05:11,047: DEBUG - 493 Loading installation settings…
2022-02-22 20:05:11,048: DEBUG - 493 + app=firefly-iii
2022-02-22 20:05:11,048: DEBUG - 493 ++ ynh_app_setting_get --app=firefly-iii --key=final_path
2022-02-22 20:05:11,048: DEBUG - 494 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,086: DEBUG - 532 ++ app=firefly-iii
2022-02-22 20:05:11,086: DEBUG - 532 ++ [[ final_path =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,086: DEBUG - 532 ++ ynh_app_setting get firefly-iii final_path
2022-02-22 20:05:11,162: DEBUG - 608 + final_path=/var/www/firefly-iii
2022-02-22 20:05:11,163: DEBUG - 609 ++ ynh_app_setting_get --app=firefly-iii --key=domain
2022-02-22 20:05:11,163: DEBUG - 609 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,206: DEBUG - 651 ++ app=firefly-iii
2022-02-22 20:05:11,207: DEBUG - 652 ++ [[ domain =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,207: DEBUG - 652 ++ ynh_app_setting get firefly-iii domain
2022-02-22 20:05:11,278: DEBUG - 724 + domain=maindomain.tld
2022-02-22 20:05:11,280: DEBUG - 725 ++ ynh_app_setting_get --app=firefly-iii --key=db_name
2022-02-22 20:05:11,281: DEBUG - 726 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,320: DEBUG - 765 ++ app=firefly-iii
2022-02-22 20:05:11,320: DEBUG - 766 ++ [[ db_name =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,321: DEBUG - 767 ++ ynh_app_setting get firefly-iii db_name
2022-02-22 20:05:11,394: DEBUG - 840 + db_name=firefly_iii
2022-02-22 20:05:11,396: DEBUG - 841 ++ ynh_app_setting_get --app=firefly-iii --key=phpversion
2022-02-22 20:05:11,397: DEBUG - 842 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,437: DEBUG - 882 ++ app=firefly-iii
2022-02-22 20:05:11,438: DEBUG - 883 ++ [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,438: DEBUG - 883 ++ ynh_app_setting get firefly-iii phpversion
2022-02-22 20:05:11,514: DEBUG - 956 + phpversion=8.0
2022-02-22 20:05:11,514: DEBUG - 957 + ynh_print_info ‘–message=Declaring files to be backed up…’
2022-02-22 20:05:11,523: DEBUG - 968 + echo ‘Declaring files to be backed up…’
2022-02-22 20:05:11,524: DEBUG - 968 + ynh_backup --src_path=/var/www/firefly-iii
2022-02-22 20:05:11,525: DEBUG - 969 Declaring files to be backed up…
2022-02-22 20:05:11,562: DEBUG - 1007 + dest_path=
2022-02-22 20:05:11,563: DEBUG - 1008 + is_big=0
2022-02-22 20:05:11,563: DEBUG - 1008 + not_mandatory=0
2022-02-22 20:05:11,563: DEBUG - 1008 + BACKUP_CORE_ONLY=1
2022-02-22 20:05:11,563: DEBUG - 1008 + test -n firefly-iii
2022-02-22 20:05:11,564: DEBUG - 1009 ++ ynh_app_setting_get --app=firefly-iii --key=do_not_backup_data
2022-02-22 20:05:11,564: DEBUG - 1009 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,605: DEBUG - 1051 ++ app=firefly-iii
2022-02-22 20:05:11,606: DEBUG - 1051 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,606: DEBUG - 1052 ++ ynh_app_setting get firefly-iii do_not_backup_data
2022-02-22 20:05:11,680: DEBUG - 1124 + do_not_backup_data=
2022-02-22 20:05:11,680: DEBUG - 1125 + ‘[’ ‘!’ -e /var/www/firefly-iii ‘]’
2022-02-22 20:05:11,680: DEBUG - 1125 ++ realpath /var/www/firefly-iii
2022-02-22 20:05:11,683: DEBUG - 1127 + src_path=/var/www/firefly-iii
2022-02-22 20:05:11,683: DEBUG - 1127 + [[ -z ‘’ ]]
2022-02-22 20:05:11,683: DEBUG - 1127 + dest_path=var/www/firefly-iii
2022-02-22 20:05:11,683: DEBUG - 1128 + [[ -e var/www/firefly-iii ]]
2022-02-22 20:05:11,684: DEBUG - 1128 + local rel_dir=/apps/firefly-iii/backup
2022-02-22 20:05:11,684: DEBUG - 1128 + rel_dir=/apps/firefly-iii/backup/
2022-02-22 20:05:11,684: DEBUG - 1128 + dest_path=/apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 20:05:11,684: DEBUG - 1129 + dest_path=apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 20:05:11,686: DEBUG - 1129 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 20:05:11,686: DEBUG - 1131 ++ echo /var/www/firefly-iii
2022-02-22 20:05:11,686: DEBUG - 1131 + local src=/var/www/firefly-iii
2022-02-22 20:05:11,686: DEBUG - 1132 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 20:05:11,687: DEBUG - 1133 ++ echo apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 20:05:11,689: DEBUG - 1134 + local dest=apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 20:05:11,689: DEBUG - 1135 + echo ‘"/var/www/firefly-iii",“apps/firefly-iii/backup/var/www/firefly-iii”’
2022-02-22 20:05:11,690: DEBUG - 1135 ++ dirname /home/yunohost.backup/tmp/firefly-iii-pre-upgrade1/apps/firefly-iii/backup/var/www/firefly-iii
2022-02-22 20:05:11,690: DEBUG - 1136 + mkdir --parents /home/yunohost.backup/tmp/firefly-iii-pre-upgrade1/apps/firefly-iii/backup/var/www
2022-02-22 20:05:11,692: DEBUG - 1138 + ynh_backup --src_path=/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,731: DEBUG - 1176 + dest_path=
2022-02-22 20:05:11,731: DEBUG - 1176 + is_big=0
2022-02-22 20:05:11,732: DEBUG - 1177 + not_mandatory=0
2022-02-22 20:05:11,732: DEBUG - 1177 + BACKUP_CORE_ONLY=1
2022-02-22 20:05:11,732: DEBUG - 1177 + test -n firefly-iii
2022-02-22 20:05:11,732: DEBUG - 1177 ++ ynh_app_setting_get --app=firefly-iii --key=do_not_backup_data
2022-02-22 20:05:11,733: DEBUG - 1179 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,776: DEBUG - 1221 ++ app=firefly-iii
2022-02-22 20:05:11,776: DEBUG - 1222 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,776: DEBUG - 1222 ++ ynh_app_setting get firefly-iii do_not_backup_data
2022-02-22 20:05:11,850: DEBUG - 1296 + do_not_backup_data=
2022-02-22 20:05:11,851: DEBUG - 1297 + ‘[’ ‘!’ -e /etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf ‘]’
2022-02-22 20:05:11,852: DEBUG - 1298 ++ realpath /etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,853: DEBUG - 1299 + src_path=/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,854: DEBUG - 1300 + [[ -z ‘’ ]]
2022-02-22 20:05:11,854: DEBUG - 1300 + dest_path=etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,856: DEBUG - 1301 + [[ -e etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf ]]
2022-02-22 20:05:11,857: DEBUG - 1301 + local rel_dir=/apps/firefly-iii/backup
2022-02-22 20:05:11,857: DEBUG - 1302 + rel_dir=/apps/firefly-iii/backup/
2022-02-22 20:05:11,857: DEBUG - 1302 + dest_path=/apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,857: DEBUG - 1302 + dest_path=apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,857: DEBUG - 1302 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 20:05:11,858: DEBUG - 1304 ++ echo /etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,859: DEBUG - 1305 + local src=/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,860: DEBUG - 1306 ++ sed --regexp-extended ‘s/"/""/g’
2022-02-22 20:05:11,861: DEBUG - 1307 ++ echo apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,863: DEBUG - 1309 + local dest=apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,863: DEBUG - 1309 + echo ‘"/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf",“apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf”’
2022-02-22 20:05:11,864: DEBUG - 1310 ++ dirname /home/yunohost.backup/tmp/firefly-iii-pre-upgrade1/apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d/firefly-iii.conf
2022-02-22 20:05:11,865: DEBUG - 1311 + mkdir --parents /home/yunohost.backup/tmp/firefly-iii-pre-upgrade1/apps/firefly-iii/backup/etc/nginx/conf.d/maindomain.tld.d
2022-02-22 20:05:11,868: DEBUG - 1313 + ynh_backup --src_path=/etc/php/8.0/fpm/pool.d/firefly-iii.conf
2022-02-22 20:05:11,905: DEBUG - 1351 + dest_path=
2022-02-22 20:05:11,906: DEBUG - 1352 + is_big=0
2022-02-22 20:05:11,906: DEBUG - 1352 + not_mandatory=0
2022-02-22 20:05:11,906: DEBUG - 1352 + BACKUP_CORE_ONLY=1
2022-02-22 20:05:11,906: DEBUG - 1352 + test -n firefly-iii
2022-02-22 20:05:11,907: DEBUG - 1353 ++ ynh_app_setting_get --app=firefly-iii --key=do_not_backup_data
2022-02-22 20:05:11,907: DEBUG - 1353 ++ local globalapp=firefly-iii
2022-02-22 20:05:11,950: DEBUG - 1396 ++ app=firefly-iii
2022-02-22 20:05:11,950: DEBUG - 1396 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-02-22 20:05:11,951: DEBUG - 1397 ++ ynh_app_setting get firefly-iii do_not_backup_data
2022-02-22 20:05:12,025: DEBUG - 1471 + do_not_backup_data=
2022-02-22 20:05:12,026: DEBUG - 1472 + ‘[’ ‘!’ -e /etc/php/8.0/fpm/pool.d/firefly-iii.conf ‘]’
2022-02-22 20:05:12,027: DEBUG - 1473 + ynh_print_warn ‘–message=Source path ‘’’/etc/php/8.0/fpm/pool.d/firefly-iii.conf’’’ does not exist’
2022-02-22 20:05:12,041: DEBUG - 1487 + ynh_print_log ‘Source path ‘’’/etc/php/8.0/fpm/pool.d/firefly-iii.conf’’’ does not exist’
2022-02-22 20:05:12,041: DEBUG - 1487 + echo -e ‘Source path ‘’’/etc/php/8.0/fpm/pool.d/firefly-iii.conf’’’ does not exist’
2022-02-22 20:05:12,042: DEBUG - 1487 + ‘[’ 0 == 0 ‘]’
2022-02-22 20:05:12,043: WARNING - 1489 Source path ‘/etc/php/8.0/fpm/pool.d/firefly-iii.conf’ does not exist
2022-02-22 20:05:12,044: DEBUG - 1489 + echo /etc/php/8.0/fpm/pool.d/firefly-iii.conf
2022-02-22 20:05:12,045: DEBUG - 1490 + grep --quiet /etc/fail2ban
2022-02-22 20:05:12,047: DEBUG - 1492 + return 1
2022-02-22 20:05:12,047: DEBUG - 1493 + ynh_exit_properly
2022-02-22 20:05:12,554: DEBUG - 1999 + exit 1
2022-02-22 20:05:13,557: DEBUG - 3002 Échec de l’exécution du script : /var/cache/yunohost/app_tmp_work_dirs/app_uvjxj3lb/scripts/backup
2022-02-22 20:05:13,561: WARNING - 3006 Impossible de sauvegarder firefly-iii
2022-02-22 20:05:13,567: DEBUG - 3013 L’opération ‘Créer une archive de sauvegarde’ a échoué ! Pour obtenir de l’aide, merci de partager le journal de l’opération en utilisant la commande ‘yunohost log share 20220222-190510-backup_create’
2022-02-22 20:05:13,574: DEBUG - 3020 action [1427.1] executed in 2.831s
2022-02-22 20:05:13,575: WARNING - 3020 Il n’y a rien à sauvegarder
2022-02-22 20:05:13,620: DEBUG - + ynh_die ‘–message=Backup failed, the upgrade process was aborted.’
2022-02-22 20:05:13,645: WARNING - Backup failed, the upgrade process was aborted.
2022-02-22 20:05:14,648: ERROR - Impossible de mettre à jour firefly-iii : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application

Le fichier /etc/php/8.0/fpm/pool.d/firefly-iii.conf existe bien ?
Et /etc/php/7.3/fpm/pool.d/firefly-iii.conf ?

J’ai copié firefly-iii.conf dans /etc/php/7.3/fpm/pool.d/
cp /etc/php/7.4/fpm/pool.d/firefly-iii.conf /etc/php/7.3/fpm/pool.d/

relancé la mise à jour, et cela fonctionne.

1 Like

Merci beaucoup pour ton aide Tagada :wink:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.