Erreur maj FreshRSS 1.18.1~ynh3

Bonjour,

Quand je tente de mettre à jour FreshRSS de 1.18.1~ynh1 vers 1.18.1~ynh3, j’obtiens l’erreur suivante :

2021-09-01 09:31:55,785: DEBUG - 20670 Setting up php7.3-sqlite3 (7.3.30-1+0~20210826.87+debian10~1.gbpe56a7b) ...
2021-09-01 09:31:55,925: DEBUG - 20809 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:56,112: DEBUG - 20996 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:56,183: DEBUG - 21067
2021-09-01 09:31:56,183: DEBUG - 21068 Creating config file /etc/php/7.3/mods-available/sqlite3.ini with new version
2021-09-01 09:31:56,352: DEBUG - 21236 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:56,557: DEBUG - 21442 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:56,728: DEBUG - 21612 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:56,776: DEBUG - 21660
2021-09-01 09:31:56,776: DEBUG - 21660 Creating config file /etc/php/7.3/mods-available/pdo_sqlite.ini with new version
2021-09-01 09:31:56,943: DEBUG - 21828 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:57,254: DEBUG - 22138 Setting up php7.3-gmp (7.3.30-1+0~20210826.87+debian10~1.gbpe56a7b) ...
2021-09-01 09:31:57,399: DEBUG - 22283 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:57,571: DEBUG - 22455 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:57,618: DEBUG - 22503
2021-09-01 09:31:57,619: DEBUG - 22503 Creating config file /etc/php/7.3/mods-available/gmp.ini with new version
2021-09-01 09:31:57,785: DEBUG - 22669 /bin/bash: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2021-09-01 09:31:58,029: DEBUG - 22913 Processing triggers for php7.3-fpm (7.3.30-1+0~20210826.87+debian10~1.gbpe56a7b) ...
2021-09-01 09:31:58,692: DEBUG - 23576 Processing triggers for php7.3-cli (7.3.30-1+0~20210826.87+debian10~1.gbpe56a7b) ...
2021-09-01 09:31:59,136: DEBUG - 24020 + [[ -n /tmp/tmp.Nzbm2ED0xm ]]
2021-09-01 09:31:59,136: DEBUG - 24020 + rm --recursive --force /tmp/tmp.Nzbm2ED0xm
2021-09-01 09:31:59,138: DEBUG - 24021 + ynh_package_is_installed freshrss-ynh-deps
2021-09-01 09:31:59,144: DEBUG - 24028 + ynh_wait_dpkg_free
2021-09-01 09:31:59,300: DEBUG - 24184 + return 0
2021-09-01 09:31:59,300: DEBUG - 24184 + grep --count 'ok installed'
2021-09-01 09:31:59,301: DEBUG - 24185 + dpkg-query --show '--showformat=${Status}' freshrss-ynh-deps
2021-09-01 09:31:59,318: DEBUG - 24202 + rm /tmp/freshrss-ynh-deps.control
2021-09-01 09:31:59,321: DEBUG - 24204 + ynh_app_setting_set --app=freshrss --key=apt_dependencies '--value=acl, php7.3-gd, php7.3-zip, php7.3-dom, php7.3-mbstring, php7.3-gmp, php7.3-mysql, php7.3-sqlite3, php7.3-curl, php7.3-intl, php7.3-xml'
2021-09-01 09:31:59,367: DEBUG - 24250 + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:31:59,367: DEBUG - 24251 + ynh_app_setting set freshrss apt_dependencies 'acl, php7.3-gd, php7.3-zip, php7.3-dom, php7.3-mbstring, php7.3-gmp, php7.3-mysql, php7.3-sqlite3, php7.3-curl, php7.3-intl, php7.3-xml'
2021-09-01 09:31:59,417: DEBUG - 24300 + '[' 0 -eq 1 ']'
2021-09-01 09:31:59,417: DEBUG - 24301 + local fpm_service=php7.3-fpm
2021-09-01 09:31:59,417: DEBUG - 24301 + local fpm_config_dir=/etc/php/7.3/fpm
2021-09-01 09:31:59,417: DEBUG - 24301 + mkdir --parents /etc/php/7.3/fpm/pool.d
2021-09-01 09:31:59,418: DEBUG - 24302 + ynh_app_setting_set --app=freshrss --key=fpm_config_dir --value=/etc/php/7.3/fpm
2021-09-01 09:31:59,466: DEBUG - 24350 + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:31:59,466: DEBUG - 24350 + ynh_app_setting set freshrss fpm_config_dir /etc/php/7.3/fpm
2021-09-01 09:31:59,517: DEBUG - 24402 + ynh_app_setting_set --app=freshrss --key=fpm_service --value=php7.3-fpm
2021-09-01 09:31:59,565: DEBUG - 24449 + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:31:59,565: DEBUG - 24449 + ynh_app_setting set freshrss fpm_service php7.3-fpm
2021-09-01 09:31:59,615: DEBUG - 24500 + ynh_app_setting_set --app=freshrss --key=fpm_dedicated_service --value=0
2021-09-01 09:31:59,663: DEBUG - 24546 + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:31:59,663: DEBUG - 24547 + ynh_app_setting set freshrss fpm_dedicated_service 0
2021-09-01 09:31:59,714: DEBUG - 24597 + ynh_app_setting_set --app=freshrss --key=phpversion --value=7.3
2021-09-01 09:31:59,759: DEBUG - 24643 + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:31:59,760: DEBUG - 24644 + ynh_app_setting set freshrss phpversion 7.3
2021-09-01 09:31:59,810: DEBUG - 24694 + '[' 0 -eq 1 ']'
2021-09-01 09:31:59,810: DEBUG - 24694 + '[' 1 -eq 1 ']'
2021-09-01 09:31:59,810: DEBUG - 24694 + local phpfpm_path=/home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf
2021-09-01 09:31:59,811: DEBUG - 24694 + '[' -e /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf ']'
2021-09-01 09:31:59,811: DEBUG - 24694 + local finalphpconf=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,812: DEBUG - 24695 + ynh_add_config --template=/home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,835: DEBUG - 24717 + '[' -f /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf//home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf ']'
2021-09-01 09:31:59,835: DEBUG - 24718 + '[' -f /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf ']'
2021-09-01 09:31:59,835: DEBUG - 24718 + template_path=/home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf
2021-09-01 09:31:59,835: DEBUG - 24718 + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,841: DEBUG - 24725 + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_freshrss.conf
2021-09-01 09:31:59,842: DEBUG - 24726 ++ ynh_app_setting_get --app=freshrss --key=checksum__etc_php_7.3_fpm_pool.d_freshrss.conf
2021-09-01 09:31:59,864: DEBUG - 24748 ++ [[ checksum__etc_php_7.3_fpm_pool.d_freshrss.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:31:59,865: DEBUG - 24749 ++ ynh_app_setting get freshrss checksum__etc_php_7.3_fpm_pool.d_freshrss.conf
2021-09-01 09:31:59,913: DEBUG - 24797 + local checksum_value=49ede975be12fd73d624e3c2236cde56
2021-09-01 09:31:59,914: DEBUG - 24797 + backup_file_checksum=
2021-09-01 09:31:59,914: DEBUG - 24798 + '[' -n 49ede975be12fd73d624e3c2236cde56 ']'
2021-09-01 09:31:59,914: DEBUG - 24798 + '[' -e /etc/php/7.3/fpm/pool.d/freshrss.conf ']'
2021-09-01 09:31:59,914: DEBUG - 24798 + echo '49ede975be12fd73d624e3c2236cde56 /etc/php/7.3/fpm/pool.d/freshrss.conf'
2021-09-01 09:31:59,914: DEBUG - 24798 + md5sum --check --status
2021-09-01 09:31:59,916: DEBUG - 24800 + touch /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,917: DEBUG - 24801 + chown root:root /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,918: DEBUG - 24802 + chmod 640 /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,919: DEBUG - 24803 + cp -f /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,920: DEBUG - 24804 + _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,920: DEBUG - 24805 + local target=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,921: DEBUG - 24805 ++ jq -r .requirements.yunohost /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/manifest.json
2021-09-01 09:31:59,921: DEBUG - 24805 ++ tr -d '>= '
2021-09-01 09:31:59,925: DEBUG - 24809 + local ynh_requirement=4.2.0
2021-09-01 09:31:59,926: DEBUG - 24810 + '[' -z 4.2.0 ']'
2021-09-01 09:31:59,926: DEBUG - 24810 + '[' 4.2.0 == null ']'
2021-09-01 09:31:59,926: DEBUG - 24810 + dpkg --compare-versions 4.2.0 ge 4.2
2021-09-01 09:31:59,927: DEBUG - 24811 + chmod o-rwx /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,928: DEBUG - 24812 + chmod g-w /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,929: DEBUG - 24813 + chown -R root:root /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,931: DEBUG - 24814 + ynh_system_user_exists freshrss
2021-09-01 09:31:59,937: DEBUG - 24822 + getent passwd freshrss
2021-09-01 09:31:59,938: DEBUG - 24823 + chown freshrss:freshrss /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,940: DEBUG - 24824 + ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,948: DEBUG - 24831 + test -n /
2021-09-01 09:31:59,948: DEBUG - 24831 + local path_url_slash_less=
2021-09-01 09:31:59,948: DEBUG - 24831 + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,995: DEBUG - 24879 + local delimit=@
2021-09-01 09:31:59,996: DEBUG - 24880 + match_string=__PATH__/
2021-09-01 09:31:59,996: DEBUG - 24880 + replace_string=/
2021-09-01 09:31:59,996: DEBUG - 24880 + sed --in-place s@__PATH__/@/@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:31:59,998: DEBUG - 24881 + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,047: DEBUG - 24931 + local delimit=@
2021-09-01 09:32:00,047: DEBUG - 24931 + match_string=__PATH__
2021-09-01 09:32:00,047: DEBUG - 24931 + replace_string=/
2021-09-01 09:32:00,047: DEBUG - 24931 + sed --in-place s@__PATH__@/@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,050: DEBUG - 24932 + test -n freshrss
2021-09-01 09:32:00,050: DEBUG - 24933 + ynh_replace_string --match_string=__NAME__ --replace_string=freshrss --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,098: DEBUG - 24982 + local delimit=@
2021-09-01 09:32:00,098: DEBUG - 24982 + match_string=__NAME__
2021-09-01 09:32:00,098: DEBUG - 24982 + replace_string=freshrss
2021-09-01 09:32:00,098: DEBUG - 24982 + sed --in-place s@__NAME__@freshrss@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,102: DEBUG - 24985 + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=freshrss --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,151: DEBUG - 25035 + local delimit=@
2021-09-01 09:32:00,151: DEBUG - 25035 + match_string=__NAMETOCHANGE__
2021-09-01 09:32:00,152: DEBUG - 25035 + replace_string=freshrss
2021-09-01 09:32:00,152: DEBUG - 25036 + sed --in-place s@__NAMETOCHANGE__@freshrss@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,153: DEBUG - 25037 + ynh_replace_string --match_string=__USER__ --replace_string=freshrss --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,202: DEBUG - 25086 + local delimit=@
2021-09-01 09:32:00,202: DEBUG - 25086 + match_string=__USER__
2021-09-01 09:32:00,202: DEBUG - 25086 + replace_string=freshrss
2021-09-01 09:32:00,202: DEBUG - 25086 + sed --in-place s@__USER__@freshrss@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,205: DEBUG - 25089 + test -n /var/www/freshrss
2021-09-01 09:32:00,205: DEBUG - 25089 + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/freshrss --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,255: DEBUG - 25139 + local delimit=@
2021-09-01 09:32:00,255: DEBUG - 25139 + match_string=__FINALPATH__
2021-09-01 09:32:00,255: DEBUG - 25139 + replace_string=/var/www/freshrss
2021-09-01 09:32:00,255: DEBUG - 25140 + sed --in-place s@__FINALPATH__@/var/www/freshrss@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,257: DEBUG - 25141 + test -n 7.3
2021-09-01 09:32:00,257: DEBUG - 25142 + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,306: DEBUG - 25190 + local delimit=@
2021-09-01 09:32:00,306: DEBUG - 25190 + match_string=__PHPVERSION__
2021-09-01 09:32:00,306: DEBUG - 25190 + replace_string=7.3
2021-09-01 09:32:00,306: DEBUG - 25190 + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,308: DEBUG - 25192 + test -n ''
2021-09-01 09:32:00,308: DEBUG - 25192 + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-09-01 09:32:00,309: DEBUG - 25193 ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,309: DEBUG - 25193 ++ sort --unique
2021-09-01 09:32:00,311: DEBUG - 25195 ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-09-01 09:32:00,314: DEBUG - 25198 + local delimit=@
2021-09-01 09:32:00,314: DEBUG - 25198 + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,321: DEBUG - 25205 + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_freshrss.conf
2021-09-01 09:32:00,321: DEBUG - 25205 ++ cut '--delimiter= ' --fields=1
2021-09-01 09:32:00,321: DEBUG - 25206 ++ md5sum /etc/php/7.3/fpm/pool.d/freshrss.conf
2021-09-01 09:32:00,323: DEBUG - 25208 + ynh_app_setting_set --app=freshrss --key=checksum__etc_php_7.3_fpm_pool.d_freshrss.conf --value=49ede975be12fd73d624e3c2236cde56
2021-09-01 09:32:00,373: DEBUG - 25257 + [[ checksum__etc_php_7.3_fpm_pool.d_freshrss.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:32:00,373: DEBUG - 25257 + ynh_app_setting set freshrss checksum__etc_php_7.3_fpm_pool.d_freshrss.conf 49ede975be12fd73d624e3c2236cde56
2021-09-01 09:32:00,423: DEBUG - 25307 + '[' -n '' ']'
2021-09-01 09:32:00,424: DEBUG - 25308 + unset backup_file_checksum
2021-09-01 09:32:00,424: DEBUG - 25308 + '[' -e /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/settings/conf/php-fpm.ini ']'
2021-09-01 09:32:00,424: DEBUG - 25308 + '[' 0 -eq 1 ']'
2021-09-01 09:32:00,424: DEBUG - 25308 + php-fpm7.3 --test
2021-09-01 09:32:00,535: DEBUG - 25418 + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2021-09-01 09:32:00,595: DEBUG - 25479 + service_name=php7.3-fpm
2021-09-01 09:32:00,595: DEBUG - 25479 + action=reload
2021-09-01 09:32:00,595: DEBUG - 25480 + line_match=
2021-09-01 09:32:00,596: DEBUG - 25480 + length=20
2021-09-01 09:32:00,596: DEBUG - 25480 + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2021-09-01 09:32:00,596: DEBUG - 25480 + timeout=300
2021-09-01 09:32:00,596: DEBUG - 25480 + '[' reload == stop ']'
2021-09-01 09:32:00,596: DEBUG - 25480 + [[ -n '' ]]
2021-09-01 09:32:00,596: DEBUG - 25480 + '[' reload == reload ']'
2021-09-01 09:32:00,596: DEBUG - 25481 + action=reload-or-restart
2021-09-01 09:32:00,597: DEBUG - 25481 + systemctl reload-or-restart php7.3-fpm
2021-09-01 09:32:00,618: DEBUG - 25502 + [[ -n '' ]]
2021-09-01 09:32:00,667: DEBUG - 25551 + echo '[###############++...] > Restoring the MySQL database...'
2021-09-01 09:32:00,667: DEBUG - 25551 [###############++...] > Restoring the MySQL database...
2021-09-01 09:32:00,668: DEBUG - 25552 ++ ynh_app_setting_get --app=freshrss --key=mysqlpwd
2021-09-01 09:32:00,699: DEBUG - 25583 ++ [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:32:00,699: DEBUG - 25583 ++ ynh_app_setting get freshrss mysqlpwd
2021-09-01 09:32:00,769: DEBUG - 25652 + db_pwd=**********
2021-09-01 09:32:00,769: DEBUG - 25652 + ynh_mysql_setup_db --db_user=freshrss --db_name=freshrss --db_pwd=**********
2021-09-01 09:32:00,770: DEBUG - 25653 + db_pwd=
2021-09-01 09:32:00,838: DEBUG - 25722 ++ ynh_string_random
2021-09-01 09:32:00,840: DEBUG - 25724 ++ length=24
2021-09-01 09:32:00,840: DEBUG - 25724 ++ dd if=/dev/urandom bs=1 count=1000
2021-09-01 09:32:00,840: DEBUG - 25725 ++ tr --complement --delete A-Za-z0-9
2021-09-01 09:32:00,844: DEBUG - 25728 ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2021-09-01 09:32:00,846: DEBUG - 25730 + local new_db_pwd=**********
2021-09-01 09:32:00,849: DEBUG - 25731 + db_pwd=**********
2021-09-01 09:32:00,849: DEBUG - 25731 + ynh_mysql_create_db freshrss freshrss **********
2021-09-01 09:32:00,849: DEBUG - 25731 + local db=freshrss
2021-09-01 09:32:00,849: DEBUG - 25731 + local 'sql=CREATE DATABASE freshrss;'
2021-09-01 09:32:00,849: DEBUG - 25732 + [[ 3 -gt 1 ]]
2021-09-01 09:32:00,850: DEBUG - 25732 + sql+=' GRANT ALL PRIVILEGES ON freshrss.* TO '\''freshrss'\''@'\''localhost'\'''
2021-09-01 09:32:00,850: DEBUG - 25732 + [[ -n ********** ]]
2021-09-01 09:32:00,850: DEBUG - 25732 + sql+=' IDENTIFIED BY '\''**********'\'''
2021-09-01 09:32:00,850: DEBUG - 25732 + sql+=' WITH GRANT OPTION;'
2021-09-01 09:32:00,850: DEBUG - 25732 + ynh_mysql_execute_as_root '--sql=CREATE DATABASE freshrss; GRANT ALL PRIVILEGES ON freshrss.* TO '\''freshrss'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2021-09-01 09:32:00,864: DEBUG - 25748 + database=
2021-09-01 09:32:00,864: DEBUG - 25748 + '[' -n '' ']'
2021-09-01 09:32:00,864: DEBUG - 25748 + mysql -B ''
2021-09-01 09:32:00,872: DEBUG - 25757 + ynh_app_setting_set --app=freshrss --key=mysqlpwd --value=**********
2021-09-01 09:32:00,925: DEBUG - 25809 + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]]
2021-09-01 09:32:00,926: DEBUG - 25810 + ynh_app_setting set freshrss mysqlpwd **********
2021-09-01 09:32:00,976: DEBUG - 25860 + ynh_mysql_connect_as --user=freshrss --password=********** --database=freshrss
2021-09-01 09:32:01,027: DEBUG - 25911 + database=freshrss
2021-09-01 09:32:01,027: DEBUG - 25911 + mysql --user=freshrss --password=********** --batch freshrss
2021-09-01 09:32:06,803: DEBUG - 31687 + ynh_restore_file --origin_path=/etc/cron.d/freshrss
2021-09-01 09:32:06,824: DEBUG - 31709 + origin_path=/etc/cron.d/freshrss
2021-09-01 09:32:06,825: DEBUG - 31709 + dest_path=/etc/cron.d/freshrss
2021-09-01 09:32:06,825: DEBUG - 31709 + not_mandatory=0
2021-09-01 09:32:06,825: DEBUG - 31709 + local archive_path=/home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/cron.d/freshrss
2021-09-01 09:32:06,825: DEBUG - 31709 + '[' '!' -d /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/cron.d/freshrss ']'
2021-09-01 09:32:06,825: DEBUG - 31709 + '[' '!' -f /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/cron.d/freshrss ']'
2021-09-01 09:32:06,825: DEBUG - 31710 + [[ -e /etc/cron.d/freshrss ]]
2021-09-01 09:32:06,826: DEBUG - 31710 ++ dirname /etc/cron.d/freshrss
2021-09-01 09:32:06,827: DEBUG - 31711 + mkdir --parents /etc/cron.d
2021-09-01 09:32:06,828: DEBUG - 31712 + mountpoint --quiet /home/yunohost.backup/tmp/freshrss-pre-upgrade1
2021-09-01 09:32:06,830: DEBUG - 31714 + mv /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/cron.d/freshrss /etc/cron.d/freshrss
2021-09-01 09:32:06,868: DEBUG - 31752 + echo '[#################+..] > Reloading NGINX web server and PHP-FPM...'
2021-09-01 09:32:06,870: DEBUG - 31753 [#################+..] > Reloading NGINX web server and PHP-FPM...
2021-09-01 09:32:06,870: DEBUG - 31753 + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2021-09-01 09:32:06,938: DEBUG - 31821 + service_name=php7.3-fpm
2021-09-01 09:32:06,938: DEBUG - 31821 + action=reload
2021-09-01 09:32:06,938: DEBUG - 31821 + line_match=
2021-09-01 09:32:06,938: DEBUG - 31821 + length=20
2021-09-01 09:32:06,938: DEBUG - 31821 + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2021-09-01 09:32:06,938: DEBUG - 31821 + timeout=300
2021-09-01 09:32:06,939: DEBUG - 31821 + '[' reload == stop ']'
2021-09-01 09:32:06,939: DEBUG - 31822 + [[ -n '' ]]
2021-09-01 09:32:06,939: DEBUG - 31822 + '[' reload == reload ']'
2021-09-01 09:32:06,939: DEBUG - 31822 + action=reload-or-restart
2021-09-01 09:32:06,939: DEBUG - 31822 + systemctl reload-or-restart php7.3-fpm
2021-09-01 09:32:06,964: DEBUG - 31846 + [[ -n '' ]]
2021-09-01 09:32:06,964: DEBUG - 31847 + ynh_systemd_action --service_name=nginx --action=reload
2021-09-01 09:32:07,045: DEBUG - 31928 + service_name=nginx
2021-09-01 09:32:07,045: DEBUG - 31928 + action=reload
2021-09-01 09:32:07,045: DEBUG - 31928 + line_match=
2021-09-01 09:32:07,045: DEBUG - 31928 + length=20
2021-09-01 09:32:07,045: DEBUG - 31928 + log_path=/var/log/nginx/nginx.log
2021-09-01 09:32:07,046: DEBUG - 31928 + timeout=300
2021-09-01 09:32:07,046: DEBUG - 31929 + '[' reload == stop ']'
2021-09-01 09:32:07,046: DEBUG - 31929 + [[ -n '' ]]
2021-09-01 09:32:07,046: DEBUG - 31929 + '[' reload == reload ']'
2021-09-01 09:32:07,046: DEBUG - 31929 + action=reload-or-restart
2021-09-01 09:32:07,046: DEBUG - 31929 + systemctl reload-or-restart nginx
2021-09-01 09:32:07,257: DEBUG - 32141 + [[ -n '' ]]
2021-09-01 09:32:07,312: DEBUG - 32195 + echo '[##################++] > Restoration completed for freshrss'
2021-09-01 09:32:07,312: DEBUG - 32196 + ynh_exit_properly
2021-09-01 09:32:07,312: DEBUG - 32196 + local exit_code=0
2021-09-01 09:32:07,313: DEBUG - 32196 + rm -rf /var/cache/yunohost/download/
2021-09-01 09:32:07,313: DEBUG - 32196 [##################++] > Restoration completed for freshrss
2021-09-01 09:32:07,315: DEBUG - 32199 + '[' 0 -eq 0 ']'
2021-09-01 09:32:07,315: DEBUG - 32199 + exit 0
2021-09-01 09:32:08,316: DEBUG - 33200 Pour voir le journal de cette opération 'Restaurer 'freshrss' depuis une sauvegarde', utilisez la commande 'yunohost log show 20210901-073135-backup_restore_app-freshrss20210901-073135-backup_restore_app-freshrss'
2021-09-01 09:32:08,691: DEBUG - 33575 The permission database has been resynchronized
2021-09-01 09:32:09,231: DEBUG - 34115 La configuration de SSOwat a été regénérée
2021-09-01 09:32:09,241: DEBUG - 34125 Restauration terminée
2021-09-01 09:32:09,241: DEBUG - 34125 action [32342.1] executed in 33.976s
2021-09-01 09:32:09,241: DEBUG - apps:
2021-09-01 09:32:09,242: DEBUG -   freshrss: Success
2021-09-01 09:32:09,242: DEBUG - system:
2021-09-01 09:32:09,286: DEBUG - + ynh_die '--message=The app was restored to the way it was before the failed upgrade.'
2021-09-01 09:32:09,300: DEBUG - + ret_code=1
2021-09-01 09:32:09,301: DEBUG - + echo 'The app was restored to the way it was before the failed upgrade.'
2021-09-01 09:32:09,301: DEBUG - + exit 1
2021-09-01 09:32:09,301: WARNING - The app was restored to the way it was before the failed upgrade.
2021-09-01 09:32:10,302: ERROR - Impossible de mettre à jour freshrss : Une erreur s’est produite durant l’exécution du script de mise à niveau de l’application

Je suis également affecté par cette erreur depuis quelques temps (dans mon cas avec le client android EasyRSS) mais n’ai fait aucune opération pour tenter de la résoudre.

Merci par avance. :slightly_smiling_face:

Mon serveur YunoHost

Matériel: Vieil ordinateur
Version de YunoHost: 4.2.8.1
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

Bonjour,

C’est le journal de l’opération de restauration de la sauvegarde que tu as partagé. Il nous faudrait celui de la mise à jour (ou au moins les quelques lignes autour de ynh_exit_properly).

Ceci devrait être résolu dans cette dernière version 1.18.1~ynh3 :slight_smile:

Ah dsl, je pensais que c’était le bon.
C’est celui-ci : https://paste.yunohost.org/raw/uwukujobey ?

Oui.
Voilà l’erreur sudo: /var/www/freshrss/cli/reconfigure.php : commande introuvable

Est-ce que ce fichier existe chez toi ?

@ericg @plopoyop ne faudrait-il pas appeler php dans cette commande ?

root@xxx ~ # sudo -u freshrss /var/www/freshrss/cli/reconfigure.php
Reconfiguring FreshRSS…

C’est étonnant, ça fonctionne sur mon serveur sans mettre php devant.
Idem, à l’install :

ynh_exec_as $app $final_path/cli/do-install.php --default_user $admin --auth_type http_auth --environment production --base_url https://$domain$path_url --title FreshRSS --api_enabled --db-type mysql --db-host localhost --db-user $db_name --db-password $db_pwd --db-base $db_name

ça passe sans soucis.

@Milhouse, tu peux essayer de la lancer comme je l’ai fait ?

Quand je tape dans un terminal :

sudo -u freshrss /var/www/freshrss/cli/reconfigure.php

J’obtiens :

/var/www/freshrss/cli/reconfigure.php : commande introuvable

(je ne sais pas si ça change qque chose, mais je me connecte en ssh avec admin@xxx ; quand je tente avec root@xxx, ça me dit “Permission denied”)

Pas sûr de comprendre, @plopoyop : tu veux dire que je dois aussi lancer cette commande ? :

ynh_exec_as $app $final_path/cli/do-install.php --default_user $admin --auth_type http_auth --environment production --base_url https://$domain$path_url --title FreshRSS --api_enabled --db-type mysql --db-host localhost --db-user $db_name --db-password $db_pwd --db-base $db_name

Non, la seconde commande n’est pas nécessaire.
tu peux lister le contenu du répertoire :

$ sudo ls -l /var/www/freshrss/cli/

Voilou :

total 100
-rw-r----- 1 freshrss www-data  700 août  19 06:33 actualize-user.php
-rw-r----- 1 freshrss www-data 3008 août  19 06:33 check.translation.php
-rw-r----- 1 freshrss www-data 2796 août  19 06:33 _cli.php
-rw-r----- 1 freshrss www-data 1261 août  19 06:33 create-user.php
-rw-r----- 1 freshrss www-data  547 août  19 06:33 db-optimize.php
-rw-r----- 1 freshrss www-data  988 août  19 06:33 delete-user.php
-rw-r----- 1 freshrss www-data 3406 août  19 06:33 do-install.php
-rw-r----- 1 freshrss www-data  649 août  19 06:33 export-opml-for-user.php
-rw-r----- 1 freshrss www-data  812 août  19 06:33 export-sqlite-for-user.php
-rw-r----- 1 freshrss www-data 1509 août  19 06:33 export-zip-for-user.php
drwxr-x--- 3 freshrss www-data 4096 août  19 06:33 i18n
-rw-r----- 1 freshrss www-data 1086 août  19 06:33 import-for-user.php
-rw-r----- 1 freshrss www-data 1072 août  19 06:33 import-sqlite-for-user.php
-rw-r----- 1 freshrss www-data  309 août  19 06:33 index.html
-rw-r----- 1 freshrss www-data  389 août  19 06:33 list-users.php
-rw-r----- 1 freshrss www-data 4300 août  19 06:33 manipulate.translation.php
-rw-r----- 1 freshrss www-data  685 août  19 06:33 prepare.php
-rw-r----- 1 freshrss www-data 6325 août  19 06:33 README.md
-rw-r----- 1 freshrss www-data 2032 août  19 06:33 reconfigure.php
-rw-r----- 1 freshrss www-data 1388 août  19 06:33 translation-update.sh
-rw-r----- 1 freshrss www-data 1724 août  19 06:33 _update-or-create-user.php
-rw-r----- 1 freshrss www-data  659 août  19 06:33 update-user.php
-rw-r----- 1 freshrss www-data 2754 août  19 06:33 user-info.php
total 100
-rwxrwx--- 1 freshrss www-data  700 juin   6 22:54 actualize-user.php
-rw-rw---- 1 freshrss www-data 3008 juin   6 22:54 check.translation.php
-rw-rw---- 1 freshrss www-data 2796 juin   6 22:54 _cli.php
-rwxrwx--- 1 freshrss www-data 1261 juin   6 22:54 create-user.php
-rwxrwx--- 1 freshrss www-data  547 juin   6 22:54 db-optimize.php
-rwxrwx--- 1 freshrss www-data  988 juin   6 22:54 delete-user.php
-rwxrwx--- 1 freshrss www-data 3406 juin   6 22:54 do-install.php
-rwxrwx--- 1 freshrss www-data  649 juin   6 22:54 export-opml-for-user.php
-rwxrwx--- 1 freshrss www-data  812 juin   6 22:54 export-sqlite-for-user.php
-rwxrwx--- 1 freshrss www-data 1509 juin   6 22:54 export-zip-for-user.php
drwxrwx--- 3 freshrss www-data 4096 juin   6 22:54 i18n
-rwxrwx--- 1 freshrss www-data 1086 juin   6 22:54 import-for-user.php
-rwxrwx--- 1 freshrss www-data 1072 juin   6 22:54 import-sqlite-for-user.php
-rw-rw---- 1 freshrss www-data  309 juin   6 22:54 index.html
-rwxrwx--- 1 freshrss www-data  389 juin   6 22:54 list-users.php
-rw-rw---- 1 freshrss www-data 4300 juin   6 22:54 manipulate.translation.php
-rwxrwx--- 1 freshrss www-data  685 juin   6 22:54 prepare.php
-rw-rw---- 1 freshrss www-data 6325 juin   6 22:54 README.md
-rwxrwx--- 1 freshrss www-data 2032 juin   6 22:54 reconfigure.php
-rwxrwx--- 1 freshrss www-data 1388 juin   6 22:54 translation-update.sh
-rw-rw---- 1 freshrss www-data 1724 juin   6 22:54 _update-or-create-user.php
-rwxrwx--- 1 freshrss www-data  659 juin   6 22:54 update-user.php
-rwxrwx--- 1 freshrss www-data 2754 juin   6 22:54 user-info.php

On n’a pas du tout les mêmes permissions.
Tu n’as quasi aucun fichier qui a les droits d’exécution. Leur date ne correspond pas non plus à celle des fichiers dans l’archive de freshrss. Sur mon serveur, même avec une installation faite ce week-end, les fichiers ont la date du 06/06/21.

Tu peux essayer de faire un

sudo chmod u+x /var/www/freshrss/cli/reconfigure.php

Ça va redonner les bonnes permissions à ce fichier là.
Par contre, normalement, lors de l’update, il télécharge les sources de l’application, donc normalement, il devrait mettre les bonnes permissions avant l’exécution de cette partie du script.

Merci ! J’ai fait

sudo chmod u+x /var/www/freshrss/cli/reconfigure.php

et j’ai pu ensuite faire la maj sans souci. :smiley: Et EasyRSS remarche.

1 Like

Excellent !

Étonnant par contre ces permissions fantasques…

Tu peux aller relister les permissions histoires de voir si la mise à jour a corrigé le problème ?

1 Like

Je viens de refaire :

$ sudo ls -l /var/www/freshrss/cli/

:arrow_down:

total 100
-rw-r----- 1 freshrss www-data  700 août  19 06:33 actualize-user.php
-rw-r----- 1 freshrss www-data 3008 août  19 06:33 check.translation.php
-rw-r----- 1 freshrss www-data 2796 août  19 06:33 _cli.php
-rw-r----- 1 freshrss www-data 1261 août  19 06:33 create-user.php
-rw-r----- 1 freshrss www-data  547 août  19 06:33 db-optimize.php
-rw-r----- 1 freshrss www-data  988 août  19 06:33 delete-user.php
-rw-r----- 1 freshrss www-data 3406 août  19 06:33 do-install.php
-rw-r----- 1 freshrss www-data  649 août  19 06:33 export-opml-for-user.php
-rw-r----- 1 freshrss www-data  812 août  19 06:33 export-sqlite-for-user.php
-rw-r----- 1 freshrss www-data 1509 août  19 06:33 export-zip-for-user.php
drwxr-x--- 3 freshrss www-data 4096 août  19 06:33 i18n
-rw-r----- 1 freshrss www-data 1086 août  19 06:33 import-for-user.php
-rw-r----- 1 freshrss www-data 1072 août  19 06:33 import-sqlite-for-user.php
-rw-r----- 1 freshrss www-data  309 août  19 06:33 index.html
-rw-r----- 1 freshrss www-data  389 août  19 06:33 list-users.php
-rw-r----- 1 freshrss www-data 4300 août  19 06:33 manipulate.translation.php
-rw-r----- 1 freshrss www-data  685 août  19 06:33 prepare.php
-rw-r----- 1 freshrss www-data 6325 août  19 06:33 README.md
-rwxr----- 1 freshrss www-data 2032 août  19 06:33 reconfigure.php
-rw-r----- 1 freshrss www-data 1388 août  19 06:33 translation-update.sh
-rw-r----- 1 freshrss www-data 1724 août  19 06:33 _update-or-create-user.php
-rw-r----- 1 freshrss www-data  659 août  19 06:33 update-user.php
-rw-r----- 1 freshrss www-data 2754 août  19 06:33 user-info.php

Espérons que la prochaine mise à jour remette tout ça d’aplomb, parce que là, ça ne parait pas trop top.

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