Probléme avec la mise à jour de freshRSS

Matériel: DELL optiplex 740 - RAM 4Go - OS sur SSD 120Go - data sur DD 500Go
Version de YunoHost: 11.0.10.2 - Debian 11.5- noyau Linux 5.10.0-18-amd64
J’ai accès à mon serveur : En SSH | Par la web admin | En direct avec un clavier/écran | en web
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : les MaJ au fil des parutions.
Le serveur est opérationnel en auto-hébergement.
Bonjour à tous, j’ai une machine avec YunoHost depuis 2017 elle fait très bien son job. Depuis la mise à jour de freshRSS proposée et appliquée aujourd’hui je reçoit un mail m’informant d’un problème avec cette application. Néanmoins freshRSS est fonctionnel Pourriez vous m’en dire plus et si besoin me dire ce que je devrai faire.
Merci d’avance pour toute l’aide que vous m’apporter.
Guy
Le message (un toute les 10’ et toujours le même):
““Cron <freshrss@p…56> /usr/bin/php7.4 /var/www/freshrss/app/actualize_script.php >/var/log/freshrss/freshrss.log 2>&1""
“”/bin/sh: 1: cannot create /var/log/freshrss/freshrss.log: Permission denied””

J’ai signalé le problème : Testing : v1.20 + Bulleyes fixes by lapineige · Pull Request #146 · YunoHost-Apps/freshrss_ynh · GitHub

C’est un problème de permission pour écrire dans ce fichier, qu’il faudrait modifier.
On va corriger ça du côté de l’application. En attendant tu pourrais le faire de ton côté pour t’éviter ces mails, mais je ne sais pas quelle est la bonne solution.

1 Like

Bonsoir et merci pour cette réponse, je vais patienter et attendre un correctif.
Merci pour votre aide.
Guy
A toute fin utile j’ajoute les logs
ended_at: 2022-10-30 13:01:57.482813
env:
BASH_XTRACEFD: ‘7’
NO_BACKUP_UPGRADE: ‘0’
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy
YNH_APP_CURRENT_VERSION: 1.19.2~ynh1
YNH_APP_ID: freshrss
YNH_APP_INSTANCE_NAME: freshrss
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 1.20.0~ynh1
YNH_APP_UPGRADE_TYPE: UPGRADE_APP
YNH_ARCH: amd64
YNH_CWD: /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/scripts
YNH_INTERFACE: api
YNH_STDRETURN: /tmp/tmpu_s8jnae/stdreturn
error: null
interface: api
operation: app_upgrade
parent: null
related_to:

    • app
    • freshrss
      started_at: 2022-10-30 13:01:10.493142
      success: true
      yunohost_version: 11.0.10.2

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

2022-10-30 14:01:10,519: DEBUG - Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “./upgrade” 7>&1’]’
2022-10-30 14:01:10,532: DEBUG - + source _common.sh
2022-10-30 14:01:10,533: DEBUG - ++ php_dependencies=‘php-gd php-zip php-dom php-mbstring php-gmp php-mysql php-sqlite3 php-curl php-intl php-xml’
2022-10-30 14:01:10,534: DEBUG - ++ pkg_dependencies=‘acl php-gd php-zip php-dom php-mbstring php-gmp php-mysql php-sqlite3 php-curl php-intl php-xml’
2022-10-30 14:01:10,535: DEBUG - + source /usr/share/yunohost/helpers
2022-10-30 14:01:10,536: DEBUG - +++ set +o
2022-10-30 14:01:10,537: DEBUG - +++ grep xtrace
2022-10-30 14:01:10,539: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-10-30 14:01:10,540: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2022-10-30 14:01:10,697: INFO - [+…] > Loading installation settings…
2022-10-30 14:01:10,701: DEBUG - + app=freshrss
2022-10-30 14:01:10,702: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=domain
2022-10-30 14:01:10,702: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:10,763: DEBUG - ++ app=freshrss
2022-10-30 14:01:10,764: DEBUG - ++ [[ domain =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:10,764: DEBUG - ++ ynh_app_setting get freshrss domain
2022-10-30 14:01:10,881: DEBUG - + domain=maindomain.tld
2022-10-30 14:01:10,882: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=path
2022-10-30 14:01:10,884: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:10,940: DEBUG - ++ app=freshrss
2022-10-30 14:01:10,940: DEBUG - ++ [[ path =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:10,940: DEBUG - ++ ynh_app_setting get freshrss path
2022-10-30 14:01:11,058: DEBUG - + path_url=/rss
2022-10-30 14:01:11,058: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=language
2022-10-30 14:01:11,059: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:11,111: DEBUG - ++ app=freshrss
2022-10-30 14:01:11,111: DEBUG - ++ [[ language =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:11,112: DEBUG - ++ ynh_app_setting get freshrss language
2022-10-30 14:01:11,220: DEBUG - + language=
2022-10-30 14:01:11,222: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=admin
2022-10-30 14:01:11,223: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:11,301: DEBUG - ++ app=freshrss
2022-10-30 14:01:11,301: DEBUG - ++ [[ admin =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:11,302: DEBUG - ++ ynh_app_setting get freshrss admin
2022-10-30 14:01:11,432: DEBUG - + admin=guy59200
2022-10-30 14:01:11,433: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=final_path
2022-10-30 14:01:11,435: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:11,502: DEBUG - ++ app=freshrss
2022-10-30 14:01:11,502: DEBUG - ++ [[ final_path =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:11,502: DEBUG - ++ ynh_app_setting get freshrss final_path
2022-10-30 14:01:11,607: DEBUG - + final_path=/var/www/freshrss
2022-10-30 14:01:11,609: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=db_name
2022-10-30 14:01:11,610: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:11,683: DEBUG - ++ app=freshrss
2022-10-30 14:01:11,684: DEBUG - ++ [[ db_name =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:11,685: DEBUG - ++ ynh_app_setting get freshrss db_name
2022-10-30 14:01:11,812: DEBUG - + db_name=freshrss
2022-10-30 14:01:11,813: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=mysqlpwd
2022-10-30 14:01:11,814: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:11,883: DEBUG - ++ app=freshrss
2022-10-30 14:01:11,883: DEBUG - ++ [[ mysqlpwd =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:11,884: DEBUG - ++ ynh_app_setting get freshrss mysqlpwd
2022-10-30 14:01:12,011: DEBUG - + db_pwd=**********
2022-10-30 14:01:12,018: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=phpversion
2022-10-30 14:01:12,020: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:12,089: DEBUG - ++ app=freshrss
2022-10-30 14:01:12,090: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:12,091: DEBUG - ++ ynh_app_setting get freshrss phpversion
2022-10-30 14:01:12,220: DEBUG - + phpversion=7.4
2022-10-30 14:01:12,424: INFO - [#+…] > Checking version…
2022-10-30 14:01:12,426: DEBUG - ++ ynh_check_app_version_changed
2022-10-30 14:01:12,426: DEBUG - ++ local return_value=UPGRADE_APP
2022-10-30 14:01:12,426: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_FULL ‘]’
2022-10-30 14:01:12,426: DEBUG - ++ ‘[’ UPGRADE_APP == UPGRADE_FORCED ‘]’
2022-10-30 14:01:12,426: DEBUG - ++ ‘[’ UPGRADE_APP == DOWNGRADE_FORCED ‘]’
2022-10-30 14:01:12,427: DEBUG - ++ echo UPGRADE_APP
2022-10-30 14:01:12,427: DEBUG - + upgrade_type=UPGRADE_APP
2022-10-30 14:01:12,568: DEBUG - + ynh_backup_before_upgrade
2022-10-30 14:01:12,568: DEBUG - + ‘[’ ‘!’ -e /etc/yunohost/apps/freshrss/scripts/backup ‘]’
2022-10-30 14:01:12,569: DEBUG - + backup_number=1
2022-10-30 14:01:12,569: DEBUG - + local old_backup_number=2
2022-10-30 14:01:12,569: DEBUG - + local app_bck=freshrss
2022-10-30 14:01:12,569: DEBUG - + NO_BACKUP_UPGRADE=0
2022-10-30 14:01:12,570: DEBUG - + ynh_backup_archive_exists freshrss-pre-upgrade1
2022-10-30 14:01:12,570: INFO - [##++…] > Backing up the app before upgrading (may take a while)…
2022-10-30 14:01:12,571: DEBUG - + jq -e --arg archive freshrss-pre-upgrade1 ‘.archives | index($archive)’
2022-10-30 14:01:12,576: DEBUG - + yunohost backup list --output-as json --quiet
2022-10-30 14:01:12,996: DEBUG - + BACKUP_CORE_ONLY=1
2022-10-30 14:01:12,996: DEBUG - + yunohost backup create --apps freshrss --name freshrss-pre-upgrade1 --debug
2022-10-30 14:01:13,301: DEBUG - 208 initializing base actions map parser for cli
2022-10-30 14:01:13,303: DEBUG - 210 loading actions map
2022-10-30 14:01:13,304: DEBUG - 212 building parser…
2022-10-30 14:01:13,310: DEBUG - 218 building parser took 0.006s
2022-10-30 14:01:13,312: DEBUG - 220 acquiring lock…
2022-10-30 14:01:13,360: DEBUG - 267 loading python module yunohost.backup took 0.030s
2022-10-30 14:01:13,360: DEBUG - 267 processing action [530224.1]: yunohost.backup.create with args={‘name’: ‘freshrss-pre-upgrade1’, ‘description’: None, ‘output_directory’: None, ‘methods’: None, ‘system’: None, ‘apps’: [‘freshrss’], ‘dry_run’: False}
2022-10-30 14:01:13,427: DEBUG - 333 Collecte des fichiers devant être sauvegardés pour freshrss…
2022-10-30 14:01:13,455: DEBUG - 362 Executing command ‘[‘sh’, ‘-c’, ‘/bin/bash -x “/var/cache/yunohost/app_tmp_work_dirs/app_noklem61/scripts/backup” 7>&1’]’
2022-10-30 14:01:13,469: DEBUG - 376 + source …/settings/scripts/common.sh
2022-10-30 14:01:13,470: DEBUG - 378 ++ YNH_PHP_VERSION=7.3
2022-10-30 14:01:13,472: DEBUG - 379 ++ pkg_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’
2022-10-30 14:01:13,473: DEBUG - 380 + source /usr/share/yunohost/helpers
2022-10-30 14:01:13,475: DEBUG - 382 +++ set +o
2022-10-30 14:01:13,476: DEBUG - 384 +++ grep xtrace
2022-10-30 14:01:13,479: DEBUG - 387 ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2022-10-30 14:01:13,480: DEBUG - 387 ++ XTRACE_ENABLE=‘set -o xtrace’
2022-10-30 14:01:13,507: DEBUG - 414 + ynh_abort_if_errors
2022-10-30 14:01:13,508: DEBUG - 415 + trap ynh_exit_properly EXIT
2022-10-30 14:01:13,508: DEBUG - 415 + ynh_print_info ‘–message=Loading installation settings…’
2022-10-30 14:01:13,539: DEBUG - 446 + echo ‘Loading installation settings…’
2022-10-30 14:01:13,539: DEBUG - 446 Loading installation settings…
2022-10-30 14:01:13,540: DEBUG - 446 + app=freshrss
2022-10-30 14:01:13,541: DEBUG - 448 ++ ynh_app_setting_get --app=freshrss --key=final_path
2022-10-30 14:01:13,541: DEBUG - 448 ++ local globalapp=freshrss
2022-10-30 14:01:13,591: DEBUG - 498 ++ app=freshrss
2022-10-30 14:01:13,592: DEBUG - 498 ++ [[ final_path =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:13,593: DEBUG - 500 ++ ynh_app_setting get freshrss final_path
2022-10-30 14:01:13,702: DEBUG - 609 + final_path=/var/www/freshrss
2022-10-30 14:01:13,704: DEBUG - 611 ++ ynh_app_setting_get --app=freshrss --key=domain
2022-10-30 14:01:13,706: DEBUG - 613 ++ local globalapp=freshrss
2022-10-30 14:01:13,771: DEBUG - 678 ++ app=freshrss
2022-10-30 14:01:13,772: DEBUG - 679 ++ [[ domain =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:13,773: DEBUG - 680 ++ ynh_app_setting get freshrss domain
2022-10-30 14:01:13,887: DEBUG - 793 + domain=maindomain.tld
2022-10-30 14:01:13,892: DEBUG - 796 ++ ynh_app_setting_get --app=freshrss --key=db_name
2022-10-30 14:01:13,893: DEBUG - 797 ++ local globalapp=freshrss
2022-10-30 14:01:13,959: DEBUG - 865 ++ app=freshrss
2022-10-30 14:01:13,960: DEBUG - 866 ++ [[ db_name =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:13,963: DEBUG - 869 ++ ynh_app_setting get freshrss db_name
2022-10-30 14:01:14,093: DEBUG - 1000 + db_name=freshrss
2022-10-30 14:01:14,096: DEBUG - 1003 ++ ynh_app_setting_get --app=freshrss --key=phpversion
2022-10-30 14:01:14,097: DEBUG - 1004 ++ local globalapp=freshrss
2022-10-30 14:01:14,152: DEBUG - 1059 ++ app=freshrss
2022-10-30 14:01:14,153: DEBUG - 1060 ++ [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:14,154: DEBUG - 1061 ++ ynh_app_setting get freshrss phpversion
2022-10-30 14:01:14,261: DEBUG - 1167 + phpversion=7.4
2022-10-30 14:01:14,262: DEBUG - 1168 + ynh_print_info ‘–message=Declaring files to be backed up…’
2022-10-30 14:01:14,287: DEBUG - 1193 + echo ‘Declaring files to be backed up…’
2022-10-30 14:01:14,289: DEBUG - 1196 Declaring files to be backed up…
2022-10-30 14:01:14,290: DEBUG - 1197 + ynh_backup --src_path=/var/www/freshrss
2022-10-30 14:01:14,358: DEBUG - 1264 + dest_path=
2022-10-30 14:01:14,358: DEBUG - 1264 + is_big=0
2022-10-30 14:01:14,359: DEBUG - 1264 + not_mandatory=0
2022-10-30 14:01:14,359: DEBUG - 1265 + BACKUP_CORE_ONLY=1
2022-10-30 14:01:14,359: DEBUG - 1265 + test -n freshrss
2022-10-30 14:01:14,360: DEBUG - 1267 ++ ynh_app_setting_get --app=freshrss --key=do_not_backup_data
2022-10-30 14:01:14,361: DEBUG - 1268 ++ local globalapp=freshrss
2022-10-30 14:01:14,419: DEBUG - 1326 ++ app=freshrss
2022-10-30 14:01:14,420: DEBUG - 1327 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:14,420: DEBUG - 1327 ++ ynh_app_setting get freshrss do_not_backup_data
2022-10-30 14:01:14,528: DEBUG - 1435 + do_not_backup_data=
2022-10-30 14:01:14,530: DEBUG - 1437 + ‘[’ ‘!’ -e /var/www/freshrss ‘]’
2022-10-30 14:01:14,531: DEBUG - 1437 ++ realpath /var/www/freshrss
2022-10-30 14:01:14,533: DEBUG - 1439 + src_path=/var/www/freshrss
2022-10-30 14:01:14,534: DEBUG - 1440 + [[ -z ‘’ ]]
2022-10-30 14:01:14,534: DEBUG - 1440 + dest_path=var/www/freshrss
2022-10-30 14:01:14,534: DEBUG - 1440 + [[ -e var/www/freshrss ]]
2022-10-30 14:01:14,535: DEBUG - 1442 + local rel_dir=/apps/freshrss/backup
2022-10-30 14:01:14,535: DEBUG - 1443 + rel_dir=/apps/freshrss/backup/
2022-10-30 14:01:14,536: DEBUG - 1443 + dest_path=/apps/freshrss/backup/var/www/freshrss
2022-10-30 14:01:14,536: DEBUG - 1443 + dest_path=apps/freshrss/backup/var/www/freshrss
2022-10-30 14:01:14,537: DEBUG - 1443 ++ echo /var/www/freshrss
2022-10-30 14:01:14,537: DEBUG - 1444 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:14,543: DEBUG - 1450 + local src=/var/www/freshrss
2022-10-30 14:01:14,548: DEBUG - 1453 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:14,549: DEBUG - 1454 ++ echo apps/freshrss/backup/var/www/freshrss
2022-10-30 14:01:14,556: DEBUG - 1462 + local dest=apps/freshrss/backup/var/www/freshrss
2022-10-30 14:01:14,556: DEBUG - 1463 + echo ‘“/var/www/freshrss”,“apps/freshrss/backup/var/www/freshrss”’
2022-10-30 14:01:14,558: DEBUG - 1465 ++ dirname /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/var/www/freshrss
2022-10-30 14:01:14,560: DEBUG - 1467 + mkdir --parents /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/var/www
2022-10-30 14:01:14,565: DEBUG - 1472 + ynh_backup --src_path=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,649: DEBUG - 1556 + dest_path=
2022-10-30 14:01:14,650: DEBUG - 1557 + is_big=0
2022-10-30 14:01:14,651: DEBUG - 1558 + not_mandatory=0
2022-10-30 14:01:14,652: DEBUG - 1558 + BACKUP_CORE_ONLY=1
2022-10-30 14:01:14,652: DEBUG - 1559 + test -n freshrss
2022-10-30 14:01:14,655: DEBUG - 1561 ++ ynh_app_setting_get --app=freshrss --key=do_not_backup_data
2022-10-30 14:01:14,657: DEBUG - 1563 ++ local globalapp=freshrss
2022-10-30 14:01:14,712: DEBUG - 1618 ++ app=freshrss
2022-10-30 14:01:14,713: DEBUG - 1619 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:14,713: DEBUG - 1619 ++ ynh_app_setting get freshrss do_not_backup_data
2022-10-30 14:01:14,830: DEBUG - 1736 + do_not_backup_data=
2022-10-30 14:01:14,833: DEBUG - 1739 + ‘[’ ‘!’ -e /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf ‘]’
2022-10-30 14:01:14,834: DEBUG - 1740 ++ realpath /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,836: DEBUG - 1743 + src_path=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,838: DEBUG - 1745 + [[ -z ‘’ ]]
2022-10-30 14:01:14,839: DEBUG - 1745 + dest_path=etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,840: DEBUG - 1747 + [[ -e etc/nginx/conf.d/maindomain.tld.d/freshrss.conf ]]
2022-10-30 14:01:14,841: DEBUG - 1748 + local rel_dir=/apps/freshrss/backup
2022-10-30 14:01:14,842: DEBUG - 1749 + rel_dir=/apps/freshrss/backup/
2022-10-30 14:01:14,843: DEBUG - 1750 + dest_path=/apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,844: DEBUG - 1751 + dest_path=apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,845: DEBUG - 1753 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:14,847: DEBUG - 1754 ++ echo /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,848: DEBUG - 1755 + local src=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,850: DEBUG - 1757 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:14,851: DEBUG - 1758 ++ echo apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,853: DEBUG - 1760 + local dest=apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,856: DEBUG - 1762 + echo ‘“/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf”,“apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf”’
2022-10-30 14:01:14,858: DEBUG - 1765 ++ dirname /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:14,860: DEBUG - 1767 + mkdir --parents /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/nginx/conf.d/maindomain.tld.d
2022-10-30 14:01:14,867: DEBUG - 1773 + ynh_backup --src_path=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:14,946: DEBUG - 1853 + dest_path=
2022-10-30 14:01:14,947: DEBUG - 1853 + is_big=0
2022-10-30 14:01:14,947: DEBUG - 1854 + not_mandatory=0
2022-10-30 14:01:14,948: DEBUG - 1854 + BACKUP_CORE_ONLY=1
2022-10-30 14:01:14,949: DEBUG - 1855 + test -n freshrss
2022-10-30 14:01:14,951: DEBUG - 1858 ++ ynh_app_setting_get --app=freshrss --key=do_not_backup_data
2022-10-30 14:01:14,954: DEBUG - 1860 ++ local globalapp=freshrss
2022-10-30 14:01:15,030: DEBUG - 1937 ++ app=freshrss
2022-10-30 14:01:15,031: DEBUG - 1938 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:15,031: DEBUG - 1938 ++ ynh_app_setting get freshrss do_not_backup_data
2022-10-30 14:01:15,158: DEBUG - 2064 + do_not_backup_data=
2022-10-30 14:01:15,159: DEBUG - 2065 + ‘[’ ‘!’ -e /etc/php/7.4/fpm/pool.d/freshrss.conf ‘]’
2022-10-30 14:01:15,161: DEBUG - 2067 ++ realpath /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,167: DEBUG - 2073 + src_path=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,168: DEBUG - 2074 + [[ -z ‘’ ]]
2022-10-30 14:01:15,168: DEBUG - 2075 + dest_path=etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,169: DEBUG - 2075 + [[ -e etc/php/7.4/fpm/pool.d/freshrss.conf ]]
2022-10-30 14:01:15,170: DEBUG - 2076 + local rel_dir=/apps/freshrss/backup
2022-10-30 14:01:15,170: DEBUG - 2076 + rel_dir=/apps/freshrss/backup/
2022-10-30 14:01:15,171: DEBUG - 2077 + dest_path=/apps/freshrss/backup/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,171: DEBUG - 2077 + dest_path=apps/freshrss/backup/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,176: DEBUG - 2083 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:15,177: DEBUG - 2083 ++ echo /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,185: DEBUG - 2092 + local src=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,190: DEBUG - 2096 ++ echo apps/freshrss/backup/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,192: DEBUG - 2099 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:15,197: DEBUG - 2104 + local dest=apps/freshrss/backup/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,197: DEBUG - 2104 + echo ‘“/etc/php/7.4/fpm/pool.d/freshrss.conf”,“apps/freshrss/backup/etc/php/7.4/fpm/pool.d/freshrss.conf”’
2022-10-30 14:01:15,199: DEBUG - 2106 ++ dirname /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:15,205: DEBUG - 2112 + mkdir --parents /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/php/7.4/fpm/pool.d
2022-10-30 14:01:15,212: DEBUG - 2119 + ynh_mysql_dump_db --database=freshrss
2022-10-30 14:01:15,239: DEBUG - 2146 + mysqldump --single-transaction --skip-dump-date freshrss
2022-10-30 14:01:16,024: DEBUG - 2931 + ynh_backup --src_path=/etc/cron.d/freshrss
2022-10-30 14:01:16,075: DEBUG - 2981 + dest_path=
2022-10-30 14:01:16,075: DEBUG - 2981 + is_big=0
2022-10-30 14:01:16,075: DEBUG - 2981 + not_mandatory=0
2022-10-30 14:01:16,076: DEBUG - 2982 + BACKUP_CORE_ONLY=1
2022-10-30 14:01:16,076: DEBUG - 2982 + test -n freshrss
2022-10-30 14:01:16,079: DEBUG - 2984 ++ ynh_app_setting_get --app=freshrss --key=do_not_backup_data
2022-10-30 14:01:16,079: DEBUG - 2985 ++ local globalapp=freshrss
2022-10-30 14:01:16,130: DEBUG - 3037 ++ app=freshrss
2022-10-30 14:01:16,131: DEBUG - 3038 ++ [[ do_not_backup_data =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:16,132: DEBUG - 3039 ++ ynh_app_setting get freshrss do_not_backup_data
2022-10-30 14:01:16,249: DEBUG - 3155 + do_not_backup_data=
2022-10-30 14:01:16,252: DEBUG - 3159 + ‘[’ ‘!’ -e /etc/cron.d/freshrss ‘]’
2022-10-30 14:01:16,253: DEBUG - 3159 ++ realpath /etc/cron.d/freshrss
2022-10-30 14:01:16,255: DEBUG - 3162 + src_path=/etc/cron.d/freshrss
2022-10-30 14:01:16,258: DEBUG - 3165 + [[ -z ‘’ ]]
2022-10-30 14:01:16,259: DEBUG - 3166 + dest_path=etc/cron.d/freshrss
2022-10-30 14:01:16,260: DEBUG - 3167 + [[ -e etc/cron.d/freshrss ]]
2022-10-30 14:01:16,261: DEBUG - 3169 + local rel_dir=/apps/freshrss/backup
2022-10-30 14:01:16,262: DEBUG - 3170 + rel_dir=/apps/freshrss/backup/
2022-10-30 14:01:16,263: DEBUG - 3171 + dest_path=/apps/freshrss/backup/etc/cron.d/freshrss
2022-10-30 14:01:16,266: DEBUG - 3172 + dest_path=apps/freshrss/backup/etc/cron.d/freshrss
2022-10-30 14:01:16,267: DEBUG - 3172 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:16,267: DEBUG - 3172 ++ echo /etc/cron.d/freshrss
2022-10-30 14:01:16,267: DEBUG - 3173 + local src=/etc/cron.d/freshrss
2022-10-30 14:01:16,267: DEBUG - 3173 ++ sed --regexp-extended ‘s/"/""/g’
2022-10-30 14:01:16,269: DEBUG - 3176 ++ echo apps/freshrss/backup/etc/cron.d/freshrss
2022-10-30 14:01:16,273: DEBUG - 3179 + local dest=apps/freshrss/backup/etc/cron.d/freshrss
2022-10-30 14:01:16,273: DEBUG - 3180 + echo ‘“/etc/cron.d/freshrss”,“apps/freshrss/backup/etc/cron.d/freshrss”’
2022-10-30 14:01:16,273: DEBUG - 3180 ++ dirname /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/cron.d/freshrss
2022-10-30 14:01:16,275: DEBUG - 3182 + mkdir --parents /home/yunohost.backup/tmp/freshrss-pre-upgrade1/apps/freshrss/backup/etc/cron.d
2022-10-30 14:01:16,280: DEBUG - 3185 + ynh_print_info ‘–message=Backup script completed for freshrss. (YunoHost will then actually copy those files to the archive).’
2022-10-30 14:01:16,301: DEBUG - 3208 + echo ‘Backup script completed for freshrss. (YunoHost will then actually copy those files to the archive).’
2022-10-30 14:01:16,302: DEBUG - 3209 Backup script completed for freshrss. (YunoHost will then actually copy those files to the archive).
2022-10-30 14:01:16,303: DEBUG - 3210 + ynh_exit_properly
2022-10-30 14:01:16,313: DEBUG - 3219 + exit 0
2022-10-30 14:01:17,316: DEBUG - 4223 Permission de sauvegarde pour freshrss
2022-10-30 14:01:17,448: DEBUG - 4355 initializing ldap interface
2022-10-30 14:01:17,690: DEBUG - 4595 Création d’une archive de sauvegarde à partir des fichiers collectés …
2022-10-30 14:01:17,690: DEBUG - 4596 L’archive contiendra environ 63.7MiB de données.
2022-10-30 14:01:17,691: DEBUG - 4596 Création de l’archive TAR de la sauvegarde …
2022-10-30 14:01:20,108: DEBUG - 7016 L’archive TAR de la sauvegarde a été créée
2022-10-30 14:01:20,110: DEBUG - 7017 Sauvegarde terminée
2022-10-30 14:01:20,117: DEBUG - 7024 Pour voir le journal de cette opération ‘Créer une archive de sauvegarde’, utilisez la commande ‘yunohost log show 20221030-130113-backup_create’
2022-10-30 14:01:20,131: DEBUG - 7038 action [530224.1] executed in 6.771s
2022-10-30 14:01:20,132: DEBUG - name: freshrss-pre-upgrade1
2022-10-30 14:01:20,132: DEBUG - results:
2022-10-30 14:01:20,132: DEBUG - apps:
2022-10-30 14:01:20,132: DEBUG - freshrss: Success
2022-10-30 14:01:20,132: DEBUG - system:
2022-10-30 14:01:20,133: DEBUG - size: 66832948
2022-10-30 14:01:20,238: DEBUG - + ynh_backup_archive_exists freshrss-pre-upgrade2
2022-10-30 14:01:20,239: DEBUG - + jq -e --arg archive freshrss-pre-upgrade2 ‘.archives | index($archive)’
2022-10-30 14:01:20,240: DEBUG - + yunohost backup list --output-as json --quiet
2022-10-30 14:01:20,697: DEBUG - + yunohost backup delete freshrss-pre-upgrade2
2022-10-30 14:01:21,145: DEBUG - + ynh_abort_if_errors
2022-10-30 14:01:21,148: DEBUG - + trap ynh_exit_properly EXIT
2022-10-30 14:01:21,371: DEBUG - + ‘[’ -z freshrss ‘]’
2022-10-30 14:01:21,372: DEBUG - + ‘[’ -z guy59200 ‘]’
2022-10-30 14:01:21,373: DEBUG - + ‘[’ -z /var/www/freshrss ‘]’
2022-10-30 14:01:21,373: DEBUG - + ynh_legacy_permissions_exists
2022-10-30 14:01:21,373: DEBUG - + for permission in “skipped” “unprotected” “protected”
2022-10-30 14:01:21,374: DEBUG - + ynh_permission_exists --permission=legacy_skipped_uris
2022-10-30 14:01:21,377: INFO - [####+…] > Ensuring downward compatibility…
2022-10-30 14:01:21,402: DEBUG - + yunohost user permission list freshrss --output-as json --quiet
2022-10-30 14:01:21,403: DEBUG - + jq -e --arg perm freshrss.legacy_skipped_uris ‘.permissions[$perm]’
2022-10-30 14:01:21,947: DEBUG - + for permission in “skipped” “unprotected” “protected”
2022-10-30 14:01:21,948: DEBUG - + ynh_permission_exists --permission=legacy_unprotected_uris
2022-10-30 14:01:21,964: DEBUG - + yunohost user permission list freshrss --output-as json --quiet
2022-10-30 14:01:21,965: DEBUG - + jq -e --arg perm freshrss.legacy_unprotected_uris ‘.permissions[$perm]’
2022-10-30 14:01:22,549: DEBUG - + for permission in “skipped” “unprotected” “protected”
2022-10-30 14:01:22,549: DEBUG - + ynh_permission_exists --permission=legacy_protected_uris
2022-10-30 14:01:22,566: DEBUG - + yunohost user permission list freshrss --output-as json --quiet
2022-10-30 14:01:22,566: DEBUG - + jq -e --arg perm freshrss.legacy_protected_uris ‘.permissions[$perm]’
2022-10-30 14:01:23,151: DEBUG - + return 1
2022-10-30 14:01:23,152: DEBUG - + ynh_permission_exists --permission=api
2022-10-30 14:01:23,169: DEBUG - + yunohost user permission list freshrss --output-as json --quiet
2022-10-30 14:01:23,169: DEBUG - + jq -e --arg perm freshrss.api ‘.permissions[$perm]’
2022-10-30 14:01:23,913: INFO - [#####++…] > Making sure dedicated system user exists…
2022-10-30 14:01:23,916: DEBUG - + ynh_system_user_create --username=freshrss --home_dir=/var/www/freshrss
2022-10-30 14:01:24,073: DEBUG - + use_shell=0
2022-10-30 14:01:24,073: DEBUG - + home_dir=/var/www/freshrss
2022-10-30 14:01:24,074: DEBUG - + groups=
2022-10-30 14:01:24,074: DEBUG - + ynh_system_user_exists freshrss
2022-10-30 14:01:24,094: DEBUG - + getent passwd freshrss
2022-10-30 14:01:24,098: DEBUG - + ‘[’ UPGRADE_APP == UPGRADE_APP ‘]’
2022-10-30 14:01:24,266: INFO - [#######+…] > Upgrading source files…
2022-10-30 14:01:24,269: DEBUG - + ynh_setup_source --dest_dir=/var/www/freshrss ‘–keep=data/config.php data/users/ extensions/’
2022-10-30 14:01:24,376: DEBUG - + source_id=app
2022-10-30 14:01:24,377: DEBUG - + keep=‘data/config.php data/users/ extensions/’
2022-10-30 14:01:24,377: DEBUG - + full_replace=0
2022-10-30 14:01:24,378: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,381: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,382: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,386: DEBUG - + local src_url=https://github.com/FreshRSS/FreshRSS/archive/1.20.0.tar.gz
2022-10-30 14:01:24,389: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,390: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,395: DEBUG - + local src_sum=eb51886d85d9e95f31f225bc7719885e3b40b75c687e1f670e71f01949f13153
2022-10-30 14:01:24,397: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,399: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,403: DEBUG - + local src_sumprg=sha256sum
2022-10-30 14:01:24,405: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,408: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,412: DEBUG - + local src_format=tar.gz
2022-10-30 14:01:24,414: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,414: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,419: DEBUG - + local src_extract=true
2022-10-30 14:01:24,420: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,421: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,426: DEBUG - + local src_in_subdir=true
2022-10-30 14:01:24,428: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/app.src
2022-10-30 14:01:24,428: DEBUG - ++ cut --delimiter== --fields=2-
2022-10-30 14:01:24,432: DEBUG - + local src_filename=
2022-10-30 14:01:24,433: DEBUG - + src_sumprg=sha256sum
2022-10-30 14:01:24,433: DEBUG - + src_in_subdir=true
2022-10-30 14:01:24,433: DEBUG - + src_format=tar.gz
2022-10-30 14:01:24,434: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’
2022-10-30 14:01:24,434: DEBUG - ++ echo tar.gz
2022-10-30 14:01:24,438: DEBUG - + src_format=tar.gz
2022-10-30 14:01:24,438: DEBUG - + src_extract=true
2022-10-30 14:01:24,438: DEBUG - + ‘[’ ‘’ = ‘’ ‘]’
2022-10-30 14:01:24,439: DEBUG - + src_filename=app.tar.gz
2022-10-30 14:01:24,439: DEBUG - + local local_src=/opt/yunohost-apps-src/freshrss/app.tar.gz
2022-10-30 14:01:24,439: DEBUG - + mkdir -p /var/cache/yunohost/download/freshrss/
2022-10-30 14:01:24,441: DEBUG - + src_filename=/var/cache/yunohost/download/freshrss/app.tar.gz
2022-10-30 14:01:24,442: DEBUG - + test -e /opt/yunohost-apps-src/freshrss/app.tar.gz
2022-10-30 14:01:24,442: DEBUG - + ‘[’ -n https://github.com/FreshRSS/FreshRSS/archive/1.20.0.tar.gz ‘]’
2022-10-30 14:01:24,443: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/freshrss/app.tar.gz https://github.com/FreshRSS/FreshRSS/archive/1.20.0.tar.gz
2022-10-30 14:01:25,540: DEBUG - + out=‘2022-10-30 14:01:25 URL:https://codeload.github.com/FreshRSS/FreshRSS/tar.gz/refs/tags/1.20.0 [4393683] → “/var/cache/yunohost/download/freshrss/app.tar.gz” [1]’
2022-10-30 14:01:25,541: DEBUG - + sha256sum --check --status
2022-10-30 14:01:25,599: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-30 14:01:25,601: DEBUG - + ‘[’ -n ‘data/config.php data/users/ extensions/’ ‘]’
2022-10-30 14:01:25,601: DEBUG - + ‘[’ -e /var/www/freshrss ‘]’
2022-10-30 14:01:25,602: DEBUG - + local keep_dir=/var/cache/yunohost/files_to_keep_during_setup_source/freshrss
2022-10-30 14:01:25,602: DEBUG - + mkdir -p /var/cache/yunohost/files_to_keep_during_setup_source/freshrss
2022-10-30 14:01:25,604: DEBUG - + for stuff_to_keep in $keep
2022-10-30 14:01:25,605: DEBUG - + ‘[’ -e /var/www/freshrss/data/config.php ‘]’
2022-10-30 14:01:25,605: DEBUG - ++ dirname /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/config.php
2022-10-30 14:01:25,608: DEBUG - + mkdir --parents /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data
2022-10-30 14:01:25,611: DEBUG - + cp --archive /var/www/freshrss/data/config.php /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/config.php
2022-10-30 14:01:25,615: DEBUG - + for stuff_to_keep in $keep
2022-10-30 14:01:25,616: DEBUG - + ‘[’ -e /var/www/freshrss/data/users/ ‘]’
2022-10-30 14:01:25,617: DEBUG - ++ dirname /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/users/
2022-10-30 14:01:25,621: DEBUG - + mkdir --parents /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data
2022-10-30 14:01:25,627: DEBUG - + cp --archive /var/www/freshrss/data/users/ /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/users/
2022-10-30 14:01:25,651: DEBUG - + for stuff_to_keep in $keep
2022-10-30 14:01:25,652: DEBUG - + ‘[’ -e /var/www/freshrss/extensions/ ‘]’
2022-10-30 14:01:25,653: DEBUG - ++ dirname /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/extensions/
2022-10-30 14:01:25,657: DEBUG - + mkdir --parents /var/cache/yunohost/files_to_keep_during_setup_source/freshrss
2022-10-30 14:01:25,663: DEBUG - + cp --archive /var/www/freshrss/extensions/ /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/extensions/
2022-10-30 14:01:25,672: DEBUG - + mkdir --parents /var/www/freshrss
2022-10-30 14:01:25,677: DEBUG - + ‘[’ -n /var/www/freshrss ‘]’
2022-10-30 14:01:25,678: DEBUG - + ‘[’ /var/www/freshrss == /var/www/freshrss ‘]’
2022-10-30 14:01:25,678: DEBUG - + ynh_apply_default_permissions /var/www/freshrss
2022-10-30 14:01:25,679: DEBUG - + local target=/var/www/freshrss
2022-10-30 14:01:25,681: DEBUG - ++ tr -d ‘>= ’
2022-10-30 14:01:25,681: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/manifest.json
2022-10-30 14:01:25,819: DEBUG - + local ynh_requirement=4.3.0
2022-10-30 14:01:25,820: DEBUG - + ‘[’ -z 4.3.0 ‘]’
2022-10-30 14:01:25,820: DEBUG - + ‘[’ 4.3.0 == null ‘]’
2022-10-30 14:01:25,821: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-10-30 14:01:25,826: DEBUG - + chmod o-rwx /var/www/freshrss
2022-10-30 14:01:25,829: DEBUG - + chmod g-w /var/www/freshrss
2022-10-30 14:01:25,833: DEBUG - + chown -R root:root /var/www/freshrss
2022-10-30 14:01:25,876: DEBUG - + ynh_system_user_exists freshrss
2022-10-30 14:01:25,903: DEBUG - + getent passwd freshrss
2022-10-30 14:01:25,908: DEBUG - + chown freshrss:freshrss /var/www/freshrss
2022-10-30 14:01:25,926: DEBUG - + echo /var/www/freshrss
2022-10-30 14:01:25,927: DEBUG - + grep -q ‘^/etc/cron’
2022-10-30 14:01:25,930: DEBUG - + true
2022-10-30 14:01:25,931: DEBUG - + ‘[’ tar.gz = zip ‘]’
2022-10-30 14:01:25,931: DEBUG - + local strip=
2022-10-30 14:01:25,931: DEBUG - + ‘[’ true ‘!=’ false ‘]’
2022-10-30 14:01:25,932: DEBUG - + ‘[’ true == true ‘]’
2022-10-30 14:01:25,932: DEBUG - + local sub_dirs=1
2022-10-30 14:01:25,932: DEBUG - + strip=’–strip-components 1’
2022-10-30 14:01:25,933: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2022-10-30 14:01:25,933: DEBUG - + tar --extract --file=/var/cache/yunohost/download/freshrss/app.tar.gz --directory=/var/www/freshrss --strip-components 1
2022-10-30 14:01:26,123: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/freshrss/app.tar.gz
2022-10-30 14:01:26,197: DEBUG - + ‘[’ -d /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/sources/patches/ ‘]’
2022-10-30 14:01:26,197: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/sources/extra_files/app
2022-10-30 14:01:26,198: DEBUG - + ‘[’ -n ‘data/config.php data/users/ extensions/’ ‘]’
2022-10-30 14:01:26,198: DEBUG - + local keep_dir=/var/cache/yunohost/files_to_keep_during_setup_source/freshrss
2022-10-30 14:01:26,200: DEBUG - + for stuff_to_keep in $keep
2022-10-30 14:01:26,200: DEBUG - + ‘[’ -e /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/config.php ‘]’
2022-10-30 14:01:26,201: DEBUG - ++ dirname /var/www/freshrss/data/config.php
2022-10-30 14:01:26,203: DEBUG - + mkdir --parents /var/www/freshrss/data
2022-10-30 14:01:26,209: DEBUG - + cp --archive /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/config.php /var/www/freshrss/data/config.php
2022-10-30 14:01:26,216: DEBUG - + for stuff_to_keep in $keep
2022-10-30 14:01:26,217: DEBUG - + ‘[’ -e /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/users/ ‘]’
2022-10-30 14:01:26,217: DEBUG - ++ dirname /var/www/freshrss/data/users/
2022-10-30 14:01:26,222: DEBUG - + mkdir --parents /var/www/freshrss/data
2022-10-30 14:01:26,227: DEBUG - + cp --archive /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/data/users/ /var/www/freshrss/data/users/
2022-10-30 14:01:26,252: DEBUG - + for stuff_to_keep in $keep
2022-10-30 14:01:26,253: DEBUG - + ‘[’ -e /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/extensions/ ‘]’
2022-10-30 14:01:26,256: DEBUG - ++ dirname /var/www/freshrss/extensions/
2022-10-30 14:01:26,266: DEBUG - + mkdir --parents /var/www/freshrss
2022-10-30 14:01:26,271: DEBUG - + cp --archive /var/cache/yunohost/files_to_keep_during_setup_source/freshrss/extensions/ /var/www/freshrss/extensions/
2022-10-30 14:01:26,280: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2022-10-30 14:01:26,293: DEBUG - + chmod 750 /var/www/freshrss
2022-10-30 14:01:26,298: DEBUG - + chmod -R o-rwx /var/www/freshrss
2022-10-30 14:01:26,333: DEBUG - + chown -R freshrss:www-data /var/www/freshrss
2022-10-30 14:01:26,531: INFO - [########++…] > Upgrading dependencies…
2022-10-30 14:01:26,533: DEBUG - + ynh_install_app_dependencies acl php-gd php-zip php-dom php-mbstring php-gmp php-mysql php-sqlite3 php-curl php-intl php-xml
2022-10-30 14:01:26,533: DEBUG - + local ‘dependencies=acl php-gd php-zip php-dom php-mbstring php-gmp php-mysql php-sqlite3 php-curl php-intl php-xml’
2022-10-30 14:01:26,534: DEBUG - ++ sed ‘s/([^<=>])\ ([^(])/\1, \2/g’
2022-10-30 14:01:26,535: DEBUG - ++ echo ‘acl php-gd php-zip php-dom php-mbstring php-gmp php-mysql php-sqlite3 php-curl php-intl php-xml’
2022-10-30 14:01:26,539: DEBUG - + dependencies=‘acl, php-gd, php-zip, php-dom, php-mbstring, php-gmp, php-mysql, php-sqlite3, php-curl, php-intl, php-xml’
2022-10-30 14:01:26,539: DEBUG - + local ‘dependencies=acl, php-gd, php-zip, php-dom, php-mbstring, php-gmp, php-mysql, php-sqlite3, php-curl, php-intl, php-xml’
2022-10-30 14:01:26,540: DEBUG - + local manifest_path=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/manifest.json
2022-10-30 14:01:26,541: DEBUG - ++ jq -r .version /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/manifest.json
2022-10-30 14:01:26,681: DEBUG - + local version=1.20.0~ynh1
2022-10-30 14:01:26,682: DEBUG - + ‘[’ -z 1.20.0~ynh1 ‘]’
2022-10-30 14:01:26,682: DEBUG - + ‘[’ 1.20.0~ynh1 == null ‘]’
2022-10-30 14:01:26,683: DEBUG - + local dep_app=freshrss
2022-10-30 14:01:26,683: DEBUG - + [[ acl, php-gd, php-zip, php-dom, php-mbstring, php-gmp, php-mysql, php-sqlite3, php-curl, php-intl, php-xml =~ [<=>] ]]
2022-10-30 14:01:26,685: DEBUG - ++ grep -oP ‘(?<=php)[0-9.]+(?=-|>)’
2022-10-30 14:01:26,686: DEBUG - ++ echo acl, php-gd, php-zip, php-dom, php-mbstring, php-gmp, php-mysql, php-sqlite3, php-curl, php-intl, php-xml
2022-10-30 14:01:26,687: DEBUG - ++ sort -u
2022-10-30 14:01:26,696: DEBUG - + local specific_php_version=
2022-10-30 14:01:26,697: DEBUG - + grep --quiet php
2022-10-30 14:01:26,701: DEBUG - + ynh_app_setting_set --app=freshrss --key=phpversion --value=7.4
2022-10-30 14:01:26,702: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:26,891: DEBUG - + app=freshrss
2022-10-30 14:01:26,892: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:26,892: DEBUG - + ynh_app_setting set freshrss phpversion 7.4
2022-10-30 14:01:27,028: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-10-30 14:01:27,051: DEBUG - ++ ynh_wait_dpkg_free
2022-10-30 14:01:27,271: DEBUG - ++ return 0
2022-10-30 14:01:27,273: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2022-10-30 14:01:27,274: DEBUG - ++ grep --count ‘ok installed’
2022-10-30 14:01:27,345: DEBUG - ++ echo yes
2022-10-30 14:01:27,345: DEBUG - + local psql_installed=yes
2022-10-30 14:01:27,346: DEBUG - + [[ true == \t\r\u\e ]]
2022-10-30 14:01:27,346: DEBUG - + YNH_INSTALL_APP_DEPENDENCIES_REPLACE=false
2022-10-30 14:01:27,346: DEBUG - + cat
2022-10-30 14:01:27,348: DEBUG - + ynh_package_install_from_equivs /tmp/freshrss-ynh-deps.control
2022-10-30 14:01:27,348: DEBUG - + local controlfile=/tmp/freshrss-ynh-deps.control
2022-10-30 14:01:27,349: DEBUG - ++ grep '^Package: ’ /tmp/freshrss-ynh-deps.control
2022-10-30 14:01:27,349: DEBUG - ++ cut '–delimiter= ’ --fields=2
2022-10-30 14:01:27,354: DEBUG - + local pkgname=freshrss-ynh-deps
2022-10-30 14:01:27,355: DEBUG - ++ grep '^Version: ’ /tmp/freshrss-ynh-deps.control
2022-10-30 14:01:27,356: DEBUG - ++ cut '–delimiter= ’ --fields=2
2022-10-30 14:01:27,361: DEBUG - + local pkgversion=1.20.0~ynh1
2022-10-30 14:01:27,361: DEBUG - + [[ -z freshrss-ynh-deps ]]
2022-10-30 14:01:27,361: DEBUG - + [[ -z 1.20.0~ynh1 ]]
2022-10-30 14:01:27,362: DEBUG - + ynh_package_update
2022-10-30 14:01:27,362: DEBUG - + ynh_apt update
2022-10-30 14:01:27,362: DEBUG - + ynh_wait_dpkg_free
2022-10-30 14:01:27,600: DEBUG - + return 0
2022-10-30 14:01:27,601: DEBUG - + LC_ALL=C
2022-10-30 14:01:27,602: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-10-30 14:01:27,602: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2022-10-30 14:01:27,810: DEBUG - Hit:1 http://forge.yunohost.org/debian bullseye InRelease
2022-10-30 14:01:27,833: DEBUG - Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
2022-10-30 14:01:27,835: DEBUG - Hit:3 http://ftp.debian.org/debian bullseye InRelease
2022-10-30 14:01:27,839: DEBUG - Hit:4 https://packages.sury.org/php bullseye InRelease
2022-10-30 14:01:27,854: DEBUG - Hit:5 http://ftp.debian.org/debian bullseye-updates InRelease
2022-10-30 14:01:30,775: DEBUG - Reading package lists…
2022-10-30 14:01:30,810: DEBUG - ++ mktemp --directory
2022-10-30 14:01:30,814: DEBUG - + local TMPDIR=/tmp/tmp.Fr4TeRewhO
2022-10-30 14:01:30,815: DEBUG - + rm -f /usr/share/equivs/template/debian/compat
2022-10-30 14:01:30,821: DEBUG - + ynh_wait_dpkg_free
2022-10-30 14:01:31,083: DEBUG - + return 0
2022-10-30 14:01:31,084: DEBUG - + cp /tmp/freshrss-ynh-deps.control /tmp/tmp.Fr4TeRewhO/control
2022-10-30 14:01:31,090: DEBUG - + cd /tmp/tmp.Fr4TeRewhO
2022-10-30 14:01:31,092: DEBUG - + LC_ALL=C
2022-10-30 14:01:31,092: DEBUG - + equivs-build ./control
2022-10-30 14:01:31,470: DEBUG - dpkg-buildpackage: info: source package freshrss-ynh-deps
2022-10-30 14:01:31,471: DEBUG - dpkg-buildpackage: info: source version 1.20.0~ynh1
2022-10-30 14:01:31,471: DEBUG - dpkg-buildpackage: info: source distribution unstable
2022-10-30 14:01:31,471: DEBUG - dpkg-buildpackage: info: source changed by Equivs Dummy Package Generator root@maindomain.tld
2022-10-30 14:01:31,555: DEBUG - dpkg-source --before-build .
2022-10-30 14:01:31,555: DEBUG - dpkg-buildpackage: info: host architecture amd64
2022-10-30 14:01:31,777: DEBUG - debian/rules clean
2022-10-30 14:01:31,787: DEBUG - dh clean
2022-10-30 14:01:32,028: DEBUG - dh_clean
2022-10-30 14:01:32,096: DEBUG - debian/rules binary
2022-10-30 14:01:32,100: DEBUG - dh binary
2022-10-30 14:01:32,240: DEBUG - dh_update_autotools_config
2022-10-30 14:01:32,300: DEBUG - dh_autoreconf
2022-10-30 14:01:32,436: DEBUG - create-stamp debian/debhelper-build-stamp
2022-10-30 14:01:32,436: DEBUG - dh_prep
2022-10-30 14:01:32,506: DEBUG - dh_install
2022-10-30 14:01:32,596: DEBUG - dh_installdocs
2022-10-30 14:01:32,715: DEBUG - dh_installchangelogs
2022-10-30 14:01:32,945: DEBUG - dh_perl
2022-10-30 14:01:33,064: DEBUG - dh_link
2022-10-30 14:01:33,186: DEBUG - dh_strip_nondeterminism
2022-10-30 14:01:33,452: DEBUG - dh_compress
2022-10-30 14:01:33,564: DEBUG - dh_fixperms
2022-10-30 14:01:33,665: DEBUG - dh_missing
2022-10-30 14:01:33,737: DEBUG - dh_installdeb
2022-10-30 14:01:33,828: DEBUG - dh_gencontrol
2022-10-30 14:01:34,138: DEBUG - dh_md5sums
2022-10-30 14:01:34,245: DEBUG - dh_builddeb
2022-10-30 14:01:34,330: DEBUG - dpkg-deb: building package ‘freshrss-ynh-deps’ in ‘…/freshrss-ynh-deps_1.20.0~ynh1_all.deb’.
2022-10-30 14:01:34,373: DEBUG - dpkg-genbuildinfo --build=binary
2022-10-30 14:01:35,644: DEBUG - dpkg-genchanges --build=binary >…/freshrss-ynh-deps_1.20.0~ynh1_amd64.changes
2022-10-30 14:01:35,847: DEBUG - dpkg-genchanges: info: binary-only upload (no source code included)
2022-10-30 14:01:35,853: DEBUG - dpkg-source --after-build .
2022-10-30 14:01:36,098: DEBUG - dpkg-buildpackage: info: binary-only upload (no source included)
2022-10-30 14:01:36,111: DEBUG -
2022-10-30 14:01:36,112: DEBUG - The package has been created.
2022-10-30 14:01:36,113: DEBUG - Attention, the package has been created in the current directory,
2022-10-30 14:01:36,113: DEBUG - not in “…” as indicated by the message above!
2022-10-30 14:01:36,119: DEBUG - + LC_ALL=C
2022-10-30 14:01:36,120: DEBUG - + tee ./dpkg_log
2022-10-30 14:01:36,121: DEBUG - + dpkg --force-depends --install ./freshrss-ynh-deps_1.20.0~ynh1_all.deb
2022-10-30 14:01:36,381: DEBUG - (Reading database … 82334 files and directories currently installed.)
2022-10-30 14:01:36,391: DEBUG - Preparing to unpack …/freshrss-ynh-deps_1.20.0~ynh1_all.deb …
2022-10-30 14:01:36,407: DEBUG - Unpacking freshrss-ynh-deps (1.20.0~ynh1) over (1.19.2~ynh1) …
2022-10-30 14:01:36,485: DEBUG - dpkg: freshrss-ynh-deps: dependency problems, but configuring anyway as you requested:
2022-10-30 14:01:36,485: DEBUG - freshrss-ynh-deps depends on php-mysql; however:
2022-10-30 14:01:36,486: DEBUG - Package php-mysql is not installed.
2022-10-30 14:01:36,486: DEBUG -
2022-10-30 14:01:36,486: DEBUG - Setting up freshrss-ynh-deps (1.20.0~ynh1) …
2022-10-30 14:01:36,551: DEBUG - + ynh_package_install --fix-broken
2022-10-30 14:01:36,552: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2022-10-30 14:01:36,552: DEBUG - + ynh_wait_dpkg_free
2022-10-30 14:01:36,782: DEBUG - + return 0
2022-10-30 14:01:36,783: DEBUG - + LC_ALL=C
2022-10-30 14:01:36,783: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-10-30 14:01:36,784: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=–force-confdef --option Dpkg::Options::=–force-confold install --fix-broken
2022-10-30 14:01:37,501: DEBUG - Reading package lists…
2022-10-30 14:01:37,869: DEBUG - Building dependency tree…
2022-10-30 14:01:37,871: DEBUG - Reading state information…
2022-10-30 14:01:38,277: DEBUG - Correcting dependencies… Done
2022-10-30 14:01:38,839: DEBUG - The following additional packages will be installed:
2022-10-30 14:01:38,840: DEBUG - php-mysql
2022-10-30 14:01:38,892: DEBUG - The following NEW packages will be installed:
2022-10-30 14:01:38,893: DEBUG - php-mysql
2022-10-30 14:01:38,981: DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2022-10-30 14:01:38,982: DEBUG - Need to get 6360 B of archives.
2022-10-30 14:01:38,983: DEBUG - After this operation, 13.3 kB of additional disk space will be used.
2022-10-30 14:01:38,983: DEBUG - Get:1 http://ftp.debian.org/debian bullseye/main amd64 php-mysql all 2:7.4+76 [6360 B]
2022-10-30 14:01:40,031: DEBUG - Fetched 6360 B in 0s (104 kB/s)
2022-10-30 14:01:40,088: DEBUG - Selecting previously unselected package php-mysql.
2022-10-30 14:01:40,166: DEBUG - (Reading database … 82334 files and directories currently installed.)
2022-10-30 14:01:40,175: DEBUG - Preparing to unpack …/php-mysql_2%3a7.4+76_all.deb …
2022-10-30 14:01:40,181: DEBUG - Unpacking php-mysql (2:7.4+76) …
2022-10-30 14:01:40,304: DEBUG - Setting up php-mysql (2:7.4+76) …
2022-10-30 14:01:40,717: DEBUG - + [[ -n /tmp/tmp.Fr4TeRewhO ]]
2022-10-30 14:01:40,718: DEBUG - + rm --recursive --force /tmp/tmp.Fr4TeRewhO
2022-10-30 14:01:40,723: DEBUG - + ynh_package_is_installed freshrss-ynh-deps
2022-10-30 14:01:40,760: DEBUG - + ynh_wait_dpkg_free
2022-10-30 14:01:41,016: DEBUG - + return 0
2022-10-30 14:01:41,017: DEBUG - + grep --count ‘ok installed’
2022-10-30 14:01:41,020: DEBUG - + dpkg-query --show ‘–showformat=${Status}’ freshrss-ynh-deps
2022-10-30 14:01:41,063: DEBUG - + rm /tmp/freshrss-ynh-deps.control
2022-10-30 14:01:41,070: DEBUG - ++ ynh_package_is_installed postgresql-13
2022-10-30 14:01:41,094: DEBUG - ++ ynh_wait_dpkg_free
2022-10-30 14:01:41,315: DEBUG - ++ return 0
2022-10-30 14:01:41,318: DEBUG - ++ dpkg-query --show ‘–showformat=${Status}’ postgresql-13
2022-10-30 14:01:41,318: DEBUG - ++ grep --count ‘ok installed’
2022-10-30 14:01:41,384: DEBUG - ++ echo yes
2022-10-30 14:01:41,385: DEBUG - + local psql_installed2=yes
2022-10-30 14:01:41,385: DEBUG - + [[ yes != \y\e\s ]]
2022-10-30 14:01:41,518: DEBUG - + ynh_add_fpm_config
2022-10-30 14:01:41,521: DEBUG - + package=
2022-10-30 14:01:41,521: DEBUG - + use_template=1
2022-10-30 14:01:41,521: DEBUG - + usage=
2022-10-30 14:01:41,521: DEBUG - + footprint=
2022-10-30 14:01:41,522: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:41,522: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:41,522: DEBUG - + dedicated_service=0
2022-10-30 14:01:41,523: DEBUG - + phpversion=7.4
2022-10-30 14:01:41,523: INFO - [##########+…] > Upgrading PHP-FPM configuration…
2022-10-30 14:01:41,525: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=phpversion
2022-10-30 14:01:41,526: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:41,574: DEBUG - ++ app=freshrss
2022-10-30 14:01:41,574: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:41,575: DEBUG - ++ ynh_app_setting get freshrss phpversion
2022-10-30 14:01:41,679: DEBUG - + local old_phpversion=7.4
2022-10-30 14:01:41,680: DEBUG - + ‘[’ -n 7.4 ‘]’
2022-10-30 14:01:41,681: DEBUG - + ‘[’ 7.4 ‘!=’ 7.4 ‘]’
2022-10-30 14:01:41,681: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:41,682: DEBUG - + local fpm_service=php7.4-fpm
2022-10-30 14:01:41,682: DEBUG - + local fpm_config_dir=/etc/php/7.4/fpm
2022-10-30 14:01:41,683: DEBUG - + mkdir --parents /etc/php/7.4/fpm/pool.d
2022-10-30 14:01:41,685: DEBUG - + ynh_app_setting_set --app=freshrss --key=fpm_config_dir --value=/etc/php/7.4/fpm
2022-10-30 14:01:41,686: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:41,837: DEBUG - + app=freshrss
2022-10-30 14:01:41,838: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:41,839: DEBUG - + ynh_app_setting set freshrss fpm_config_dir /etc/php/7.4/fpm
2022-10-30 14:01:41,960: DEBUG - + ynh_app_setting_set --app=freshrss --key=fpm_service --value=php7.4-fpm
2022-10-30 14:01:41,961: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:42,121: DEBUG - + app=freshrss
2022-10-30 14:01:42,122: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:42,123: DEBUG - + ynh_app_setting set freshrss fpm_service php7.4-fpm
2022-10-30 14:01:42,253: DEBUG - + ynh_app_setting_set --app=freshrss --key=fpm_dedicated_service --value=0
2022-10-30 14:01:42,253: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:42,439: DEBUG - + app=freshrss
2022-10-30 14:01:42,440: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:42,441: DEBUG - + ynh_app_setting set freshrss fpm_dedicated_service 0
2022-10-30 14:01:42,568: DEBUG - + ynh_app_setting_set --app=freshrss --key=phpversion --value=7.4
2022-10-30 14:01:42,569: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:42,752: DEBUG - + app=freshrss
2022-10-30 14:01:42,753: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:42,753: DEBUG - + ynh_app_setting set freshrss phpversion 7.4
2022-10-30 14:01:42,885: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf
2022-10-30 14:01:42,885: DEBUG - + ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf ‘]’
2022-10-30 14:01:42,886: DEBUG - + local finalphpconf=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:42,886: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf --destination=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:42,979: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf//var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf ‘]’
2022-10-30 14:01:42,979: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf ‘]’
2022-10-30 14:01:42,980: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf
2022-10-30 14:01:42,981: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,017: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_freshrss.conf
2022-10-30 14:01:43,017: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=checksum__etc_php_7.4_fpm_pool.d_freshrss.conf
2022-10-30 14:01:43,018: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:43,086: DEBUG - ++ app=freshrss
2022-10-30 14:01:43,087: DEBUG - ++ [[ checksum__etc_php_7.4_fpm_pool.d_freshrss.conf =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:43,088: DEBUG - ++ ynh_app_setting get freshrss checksum__etc_php_7.4_fpm_pool.d_freshrss.conf
2022-10-30 14:01:43,208: DEBUG - + local checksum_value=
2022-10-30 14:01:43,209: DEBUG - + backup_file_checksum=
2022-10-30 14:01:43,210: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:43,210: DEBUG - + touch /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,213: DEBUG - + chown root:root /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,218: DEBUG - + chmod 640 /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,222: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.conf /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,230: DEBUG - + ynh_apply_default_permissions /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,231: DEBUG - + local target=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,233: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/manifest.json
2022-10-30 14:01:43,235: DEBUG - ++ tr -d '>= ’
2022-10-30 14:01:43,384: DEBUG - + local ynh_requirement=4.3.0
2022-10-30 14:01:43,384: DEBUG - + ‘[’ -z 4.3.0 ‘]’
2022-10-30 14:01:43,385: DEBUG - + ‘[’ 4.3.0 == null ‘]’
2022-10-30 14:01:43,385: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-10-30 14:01:43,391: DEBUG - + chmod o-rwx /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,397: DEBUG - + chmod g-w /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,402: DEBUG - + chown -R root:root /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,408: DEBUG - + ynh_system_user_exists freshrss
2022-10-30 14:01:43,433: DEBUG - + getent passwd freshrss
2022-10-30 14:01:43,436: DEBUG - + chown freshrss:freshrss /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,438: DEBUG - + echo /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,440: DEBUG - + grep -q ‘^/etc/cron’
2022-10-30 14:01:43,444: DEBUG - + ynh_replace_vars --file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,465: DEBUG - + test -n /rss
2022-10-30 14:01:43,466: DEBUG - + local path_url_slash_less=/rss
2022-10-30 14:01:43,466: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/rss/ --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,620: DEBUG - + sed --in-place s@PATH/@/rss/@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,628: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/rss --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,831: DEBUG - + sed --in-place s@PATH@/rss@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:43,839: DEBUG - + test -n freshrss
2022-10-30 14:01:43,840: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=freshrss --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,038: DEBUG - + sed --in-place s@NAME@freshrss@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,042: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=freshrss --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,214: DEBUG - + sed --in-place s@NAMETOCHANGE@freshrss@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,223: DEBUG - + ynh_replace_string --match_string=USER --replace_string=freshrss --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,407: DEBUG - + sed --in-place s@USER@freshrss@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,415: DEBUG - + test -n /var/www/freshrss
2022-10-30 14:01:44,415: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/freshrss --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,556: DEBUG - + sed --in-place s@FINALPATH@/var/www/freshrss@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,562: DEBUG - + test -n 7.4
2022-10-30 14:01:44,562: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.4 --target_file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,741: DEBUG - + sed --in-place s@PHPVERSION@7.4@g /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,750: DEBUG - + test -n ‘’
2022-10-30 14:01:44,755: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9
]?[A-Z0-9]?’ /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,757: DEBUG - ++ sed 's@
([^.]*)@\L\1@g’
2022-10-30 14:01:44,760: DEBUG - ++ sort --unique
2022-10-30 14:01:44,765: DEBUG - + uniques_vars=()
2022-10-30 14:01:44,766: DEBUG - + local delimit=@
2022-10-30 14:01:44,767: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,770: DEBUG - + update_only=0
2022-10-30 14:01:44,821: DEBUG - + local checksum_setting_name=checksum__etc_php_7.4_fpm_pool.d_freshrss.conf
2022-10-30 14:01:44,825: DEBUG - ++ md5sum /etc/php/7.4/fpm/pool.d/freshrss.conf
2022-10-30 14:01:44,827: DEBUG - ++ cut '–delimiter= ’ --fields=1
2022-10-30 14:01:44,834: DEBUG - + ynh_app_setting_set --app=freshrss --key=checksum__etc_php_7.4_fpm_pool.d_freshrss.conf --value=2e822a0142bef67fcfaae6fed2cc8f57
2022-10-30 14:01:44,834: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:45,025: DEBUG - + app=freshrss
2022-10-30 14:01:45,026: DEBUG - + [[ checksum__etc_php_7.4_fpm_pool.d_freshrss.conf =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:45,026: DEBUG - + ynh_app_setting set freshrss checksum__etc_php_7.4_fpm_pool.d_freshrss.conf 2e822a0142bef67fcfaae6fed2cc8f57
2022-10-30 14:01:45,151: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:45,152: DEBUG - + unset backup_file_checksum
2022-10-30 14:01:45,153: DEBUG - + ‘[’ -e /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/php-fpm.ini ‘]’
2022-10-30 14:01:45,154: DEBUG - + php-fpm7.4 --test
2022-10-30 14:01:45,355: DEBUG - + ynh_systemd_action --service_name=php7.4-fpm --action=reload
2022-10-30 14:01:45,559: DEBUG - + service_name=php7.4-fpm
2022-10-30 14:01:45,560: DEBUG - + action=reload
2022-10-30 14:01:45,560: DEBUG - + line_match=
2022-10-30 14:01:45,560: DEBUG - + length=20
2022-10-30 14:01:45,561: DEBUG - + log_path=/var/log/php7.4-fpm/php7.4-fpm.log
2022-10-30 14:01:45,561: DEBUG - + timeout=300
2022-10-30 14:01:45,561: DEBUG - + ‘[’ reload == stop ‘]’
2022-10-30 14:01:45,561: DEBUG - + ‘[’ reload == reload ‘]’
2022-10-30 14:01:45,562: DEBUG - + action=reload-or-restart
2022-10-30 14:01:45,562: DEBUG - + systemctl reload-or-restart php7.4-fpm
2022-10-30 14:01:45,735: DEBUG - + ynh_add_nginx_config
2022-10-30 14:01:45,735: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:45,735: DEBUG - + ynh_add_config --template=nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:45,737: INFO - [###########+…] > Upgrading NGINX web server configuration…
2022-10-30 14:01:45,786: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/nginx.conf ‘]’
2022-10-30 14:01:45,787: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/nginx.conf
2022-10-30 14:01:45,787: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:45,802: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf
2022-10-30 14:01:45,803: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf
2022-10-30 14:01:45,803: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:45,889: DEBUG - ++ app=freshrss
2022-10-30 14:01:45,890: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:45,891: DEBUG - ++ ynh_app_setting get freshrss checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf
2022-10-30 14:01:46,012: DEBUG - + local checksum_value=
2022-10-30 14:01:46,013: DEBUG - + backup_file_checksum=
2022-10-30 14:01:46,013: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:46,013: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,020: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,029: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,037: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,040: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,040: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,042: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/manifest.json
2022-10-30 14:01:46,043: DEBUG - ++ tr -d '>= ’
2022-10-30 14:01:46,174: DEBUG - + local ynh_requirement=4.3.0
2022-10-30 14:01:46,174: DEBUG - + ‘[’ -z 4.3.0 ‘]’
2022-10-30 14:01:46,175: DEBUG - + ‘[’ 4.3.0 == null ‘]’
2022-10-30 14:01:46,176: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-10-30 14:01:46,181: DEBUG - + chmod o-rwx /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,185: DEBUG - + chmod g-w /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,189: DEBUG - + chown -R root:root /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,194: DEBUG - + ynh_system_user_exists freshrss
2022-10-30 14:01:46,226: DEBUG - + getent passwd freshrss
2022-10-30 14:01:46,232: DEBUG - + chown freshrss:freshrss /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,240: DEBUG - + echo /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,242: DEBUG - + grep -q ‘^/etc/cron’
2022-10-30 14:01:46,250: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,282: DEBUG - + test -n /rss
2022-10-30 14:01:46,283: DEBUG - + local path_url_slash_less=/rss
2022-10-30 14:01:46,283: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/rss/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,440: DEBUG - + sed --in-place s@PATH/@/rss/@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,448: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/rss --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,588: DEBUG - + sed --in-place s@PATH@/rss@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,593: DEBUG - + test -n freshrss
2022-10-30 14:01:46,594: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=freshrss --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,796: DEBUG - + sed --in-place s@NAME@freshrss@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,804: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=freshrss --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:46,998: DEBUG - + sed --in-place s@NAMETOCHANGE@freshrss@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,013: DEBUG - + ynh_replace_string --match_string=USER --replace_string=freshrss --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,160: DEBUG - + sed --in-place s@USER@freshrss@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,168: DEBUG - + test -n /var/www/freshrss
2022-10-30 14:01:47,169: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/freshrss --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,367: DEBUG - + sed --in-place s@FINALPATH@/var/www/freshrss@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,372: DEBUG - + test -n 7.4
2022-10-30 14:01:47,373: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.4 --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,534: DEBUG - + sed --in-place s@PHPVERSION@7.4@g /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,539: DEBUG - + test -n ‘’
2022-10-30 14:01:47,543: DEBUG - ++ grep -oP '
[A-Z0-9]+?[A-Z0-9
]?[A-Z0-9]?’ /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,546: DEBUG - ++ sort --unique
2022-10-30 14:01:47,550: DEBUG - ++ sed 's@
([^.])@\L\1@g’
2022-10-30 14:01:47,555: DEBUG - + uniques_vars=()
2022-10-30 14:01:47,556: DEBUG - + local delimit=@
2022-10-30 14:01:47,556: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,558: DEBUG - + update_only=0
2022-10-30 14:01:47,594: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf
2022-10-30 14:01:47,600: DEBUG - ++ cut '–delimiter= ’ --fields=1
2022-10-30 14:01:47,601: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:47,606: DEBUG - + ynh_app_setting_set --app=freshrss --key=checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf --value=11e5817143a3e913ca54f40732a2ac43
2022-10-30 14:01:47,607: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:47,774: DEBUG - + app=freshrss
2022-10-30 14:01:47,774: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:47,775: DEBUG - + ynh_app_setting set freshrss checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf 11e5817143a3e913ca54f40732a2ac43
2022-10-30 14:01:47,907: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:47,907: DEBUG - + unset backup_file_checksum
2022-10-30 14:01:47,907: DEBUG - + ‘[’ /rss ‘!=’ / ‘]’
2022-10-30 14:01:47,908: DEBUG - + ynh_replace_string ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:48,097: DEBUG - + sed --in-place ‘s@^#sub_path_only@@g’ /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:48,102: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:48,108: DEBUG - + update_only=0
2022-10-30 14:01:48,151: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf
2022-10-30 14:01:48,155: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/freshrss.conf
2022-10-30 14:01:48,160: DEBUG - ++ cut '–delimiter= ’ --fields=1
2022-10-30 14:01:48,167: DEBUG - + ynh_app_setting_set --app=freshrss --key=checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf --value=df34a8353f4fc423ac7bc315f99076c3
2022-10-30 14:01:48,168: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:48,366: DEBUG - + app=freshrss
2022-10-30 14:01:48,367: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:48,369: DEBUG - + ynh_app_setting set freshrss checksum__etc_nginx_conf.d_maindomain.tld.d_freshrss.conf df34a8353f4fc423ac7bc315f99076c3
2022-10-30 14:01:48,515: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:48,516: DEBUG - + unset backup_file_checksum
2022-10-30 14:01:48,516: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-10-30 14:01:48,724: DEBUG - + service_name=nginx
2022-10-30 14:01:48,725: DEBUG - + action=reload
2022-10-30 14:01:48,725: DEBUG - + line_match=
2022-10-30 14:01:48,726: DEBUG - + length=20
2022-10-30 14:01:48,726: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-10-30 14:01:48,727: DEBUG - + timeout=300
2022-10-30 14:01:48,727: DEBUG - + ‘[’ reload == stop ‘]’
2022-10-30 14:01:48,728: DEBUG - + ‘[’ reload == reload ‘]’
2022-10-30 14:01:48,729: DEBUG - + action=reload-or-restart
2022-10-30 14:01:48,729: DEBUG - + systemctl reload-or-restart nginx
2022-10-30 14:01:49,082: INFO - [############++…] > Upgrading FreshRSS…
2022-10-30 14:01:49,084: DEBUG - + ynh_exec_as freshrss /var/www/freshrss/cli/reconfigure.php --default_user guy59200 --auth_type http_auth --environment production --base_url https://maindomain.tld/rss --title FreshRSS --api_enabled --db-type mysql --db-host localhost --db-user freshrss --db-password ********** --db-base freshrss
2022-10-30 14:01:49,085: DEBUG - + local user=freshrss
2022-10-30 14:01:49,085: DEBUG - + shift 1
2022-10-30 14:01:49,085: DEBUG - ++ whoami
2022-10-30 14:01:49,087: DEBUG - + [[ freshrss = root ]]
2022-10-30 14:01:49,088: DEBUG - + sudo -u freshrss /var/www/freshrss/cli/reconfigure.php --default_user guy59200 --auth_type http_auth --environment production --base_url https://maindomain.tld/rss --title FreshRSS --api_enabled --db-type mysql --db-host localhost --db-user freshrss --db-password ********** --db-base freshrss
2022-10-30 14:01:49,234: WARNING - Reconfiguring FreshRSS…
2022-10-30 14:01:49,451: INFO - [##############+…] > Setting up cron…
2022-10-30 14:01:49,454: DEBUG - + ynh_add_config --template=…/conf/freshrss.cron --destination=/etc/cron.d/freshrss
2022-10-30 14:01:49,526: DEBUG - + ‘[’ -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/…/conf/freshrss.cron ‘]’
2022-10-30 14:01:49,527: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/…/conf/freshrss.cron
2022-10-30 14:01:49,527: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/cron.d/freshrss
2022-10-30 14:01:49,546: DEBUG - + local checksum_setting_name=checksum__etc_cron.d_freshrss
2022-10-30 14:01:49,547: DEBUG - ++ ynh_app_setting_get --app=freshrss --key=checksum__etc_cron.d_freshrss
2022-10-30 14:01:49,548: DEBUG - ++ local globalapp=freshrss
2022-10-30 14:01:49,612: DEBUG - ++ app=freshrss
2022-10-30 14:01:49,612: DEBUG - ++ [[ checksum__etc_cron.d_freshrss =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:49,613: DEBUG - ++ ynh_app_setting get freshrss checksum__etc_cron.d_freshrss
2022-10-30 14:01:49,727: DEBUG - + local checksum_value=47af9008ad609eb7d3a1842c4c6d7ede
2022-10-30 14:01:49,728: DEBUG - + backup_file_checksum=
2022-10-30 14:01:49,728: DEBUG - + ‘[’ -n 47af9008ad609eb7d3a1842c4c6d7ede ‘]’
2022-10-30 14:01:49,729: DEBUG - + ‘[’ -e /etc/cron.d/freshrss ‘]’
2022-10-30 14:01:49,730: DEBUG - + md5sum --check --status
2022-10-30 14:01:49,735: DEBUG - + touch /etc/cron.d/freshrss
2022-10-30 14:01:49,740: DEBUG - + chown root:root /etc/cron.d/freshrss
2022-10-30 14:01:49,745: DEBUG - + chmod 640 /etc/cron.d/freshrss
2022-10-30 14:01:49,750: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/conf/…/conf/freshrss.cron /etc/cron.d/freshrss
2022-10-30 14:01:49,758: DEBUG - + _ynh_apply_default_permissions /etc/cron.d/freshrss
2022-10-30 14:01:49,759: DEBUG - + local target=/etc/cron.d/freshrss
2022-10-30 14:01:49,761: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_zhcozduy/manifest.json
2022-10-30 14:01:49,762: DEBUG - ++ tr -d '>= ’
2022-10-30 14:01:49,914: DEBUG - + local ynh_requirement=4.3.0
2022-10-30 14:01:49,915: DEBUG - + ‘[’ -z 4.3.0 ‘]’
2022-10-30 14:01:49,916: DEBUG - + ‘[’ 4.3.0 == null ‘]’
2022-10-30 14:01:49,916: DEBUG - + dpkg --compare-versions 4.3.0 ge 4.2
2022-10-30 14:01:49,924: DEBUG - + chmod o-rwx /etc/cron.d/freshrss
2022-10-30 14:01:49,928: DEBUG - + chmod g-w /etc/cron.d/freshrss
2022-10-30 14:01:49,932: DEBUG - + chown -R root:root /etc/cron.d/freshrss
2022-10-30 14:01:49,938: DEBUG - + ynh_system_user_exists freshrss
2022-10-30 14:01:49,967: DEBUG - + getent passwd freshrss
2022-10-30 14:01:49,973: DEBUG - + chown freshrss:freshrss /etc/cron.d/freshrss
2022-10-30 14:01:49,978: DEBUG - + echo /etc/cron.d/freshrss
2022-10-30 14:01:49,981: DEBUG - + grep -q ‘^/etc/cron’
2022-10-30 14:01:49,988: DEBUG - + chmod 400 /etc/cron.d/freshrss
2022-10-30 14:01:49,993: DEBUG - + chown root:root /etc/cron.d/freshrss
2022-10-30 14:01:49,998: DEBUG - + ynh_replace_vars --file=/etc/cron.d/freshrss
2022-10-30 14:01:50,034: DEBUG - + test -n /rss
2022-10-30 14:01:50,035: DEBUG - + local path_url_slash_less=/rss
2022-10-30 14:01:50,035: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/rss/ --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:50,180: DEBUG - + sed --in-place s@PATH/@/rss/@g /etc/cron.d/freshrss
2022-10-30 14:01:50,185: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/rss --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:50,337: DEBUG - + sed --in-place s@PATH@/rss@g /etc/cron.d/freshrss
2022-10-30 14:01:50,346: DEBUG - + test -n freshrss
2022-10-30 14:01:50,346: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=freshrss --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:50,492: DEBUG - + sed --in-place s@NAME@freshrss@g /etc/cron.d/freshrss
2022-10-30 14:01:50,497: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=freshrss --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:50,646: DEBUG - + sed --in-place s@NAMETOCHANGE@freshrss@g /etc/cron.d/freshrss
2022-10-30 14:01:50,653: DEBUG - + ynh_replace_string --match_string=USER --replace_string=freshrss --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:50,875: DEBUG - + sed --in-place s@USER@freshrss@g /etc/cron.d/freshrss
2022-10-30 14:01:50,882: DEBUG - + test -n /var/www/freshrss
2022-10-30 14:01:50,883: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/freshrss --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:51,076: DEBUG - + sed --in-place s@FINALPATH@/var/www/freshrss@g /etc/cron.d/freshrss
2022-10-30 14:01:51,079: DEBUG - + test -n 7.4
2022-10-30 14:01:51,080: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.4 --target_file=/etc/cron.d/freshrss
2022-10-30 14:01:51,266: DEBUG - + sed --in-place s@PHPVERSION@7.4@g /etc/cron.d/freshrss
2022-10-30 14:01:51,271: DEBUG - + test -n ‘’
2022-10-30 14:01:51,274: DEBUG - ++ sort --unique
2022-10-30 14:01:51,275: DEBUG - ++ sed 's@
([^.]
)@\L\1@g’
2022-10-30 14:01:51,281: DEBUG - ++ grep -oP '
[A-Z0-9]+?[A-Z0-9
]?[A-Z0-9]?__’ /etc/cron.d/freshrss
2022-10-30 14:01:51,288: DEBUG - + uniques_vars=(‘app’)
2022-10-30 14:01:51,289: DEBUG - + local delimit=@
2022-10-30 14:01:51,289: DEBUG - + for one_var in “${uniques_vars[@]}”
2022-10-30 14:01:51,289: DEBUG - + [[ -v app ]]
2022-10-30 14:01:51,290: DEBUG - + match_string=APP
2022-10-30 14:01:51,290: DEBUG - + match_string=APP
2022-10-30 14:01:51,290: DEBUG - + replace_string=freshrss
2022-10-30 14:01:51,291: DEBUG - + replace_string=freshrss
2022-10-30 14:01:51,291: DEBUG - + replace_string=freshrss
2022-10-30 14:01:51,291: DEBUG - + sed --in-place s@APP@freshrss@g /etc/cron.d/freshrss
2022-10-30 14:01:51,293: DEBUG - + ynh_store_file_checksum --file=/etc/cron.d/freshrss
2022-10-30 14:01:51,297: DEBUG - + update_only=0
2022-10-30 14:01:51,336: DEBUG - + local checksum_setting_name=checksum__etc_cron.d_freshrss
2022-10-30 14:01:51,339: DEBUG - ++ md5sum /etc/cron.d/freshrss
2022-10-30 14:01:51,340: DEBUG - ++ cut ‘–delimiter= ’ --fields=1
2022-10-30 14:01:51,349: DEBUG - + ynh_app_setting_set --app=freshrss --key=checksum__etc_cron.d_freshrss --value=a4b047225656a801056f66e650f10047
2022-10-30 14:01:51,350: DEBUG - + local globalapp=freshrss
2022-10-30 14:01:51,519: DEBUG - + app=freshrss
2022-10-30 14:01:51,519: DEBUG - + [[ checksum__etc_cron.d_freshrss =~ (unprotected|protected|skipped)
]]
2022-10-30 14:01:51,519: DEBUG - + ynh_app_setting set freshrss checksum__etc_cron.d_freshrss a4b047225656a801056f66e650f10047
2022-10-30 14:01:51,629: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:51,629: DEBUG - + unset backup_file_checksum
2022-10-30 14:01:51,630: DEBUG - + chown root: /etc/cron.d/freshrss
2022-10-30 14:01:51,634: DEBUG - + chmod 644 /etc/cron.d/freshrss
2022-10-30 14:01:51,640: DEBUG - + ‘[’ -f /tmp/FreshRSS.log ‘]’
2022-10-30 14:01:51,641: DEBUG - + ‘[’ -f /var/www/freshrss/freshrss.log ‘]’
2022-10-30 14:01:51,642: DEBUG - + ynh_secure_remove --file=/var/www/freshrss/freshrss.log
2022-10-30 14:01:51,941: DEBUG - + mkdir -p /var/log/freshrss
2022-10-30 14:01:51,942: INFO - [###############++…] > Upgrading logrotate configuration…
2022-10-30 14:01:51,947: DEBUG - + ynh_use_logrotate --non-append
2022-10-30 14:01:51,948: DEBUG - + all_args=(’–non-append’)
2022-10-30 14:01:51,949: DEBUG - ++ seq 0 0
2022-10-30 14:01:51,953: DEBUG - + for I in $(seq 0 $(($# - 1)))
2022-10-30 14:01:51,954: DEBUG - + [[ --non-append == --\n\o\n-\a\p\p\e\n\d ]]
2022-10-30 14:01:51,955: DEBUG - + all_args[$I]=–nonappend
2022-10-30 14:01:51,956: DEBUG - + set – --nonappend
2022-10-30 14:01:52,038: DEBUG - + logfile=
2022-10-30 14:01:52,039: DEBUG - + nonappend=1
2022-10-30 14:01:52,039: DEBUG - + specific_user=
2022-10-30 14:01:52,039: DEBUG - + ‘[’ 1 -gt 0 ‘]’
2022-10-30 14:01:52,040: DEBUG - ++ echo -
2022-10-30 14:01:52,043: DEBUG - + ‘[’ - ‘!=’ - ‘]’
2022-10-30 14:01:52,043: DEBUG - + local ‘customtee=tee --append’
2022-10-30 14:01:52,044: DEBUG - + customtee=tee
2022-10-30 14:01:52,044: DEBUG - + ‘[’ -n ‘’ ‘]’
2022-10-30 14:01:52,044: DEBUG - + logfile=‘/var/log/freshrss/.log’
2022-10-30 14:01:52,044: DEBUG - + local su_directive=
2022-10-30 14:01:52,045: DEBUG - + cat
2022-10-30 14:01:52,047: DEBUG - ++ dirname '/var/log/freshrss/
.log’
2022-10-30 14:01:52,050: DEBUG - + mkdir --parents /var/log/freshrss
2022-10-30 14:01:52,053: DEBUG - + cat freshrss-logrotate
2022-10-30 14:01:52,054: DEBUG - + tee /etc/logrotate.d/freshrss
2022-10-30 14:01:52,271: INFO - [#################+…] > Reloading NGINX web server…
2022-10-30 14:01:52,273: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2022-10-30 14:01:52,506: DEBUG - + service_name=nginx
2022-10-30 14:01:52,507: DEBUG - + action=reload
2022-10-30 14:01:52,507: DEBUG - + line_match=
2022-10-30 14:01:52,507: DEBUG - + length=20
2022-10-30 14:01:52,507: DEBUG - + log_path=/var/log/nginx/nginx.log
2022-10-30 14:01:52,508: DEBUG - + timeout=300
2022-10-30 14:01:52,508: DEBUG - + ‘[’ reload == stop ‘]’
2022-10-30 14:01:52,508: DEBUG - + ‘[’ reload == reload ‘]’
2022-10-30 14:01:52,508: DEBUG - + action=reload-or-restart
2022-10-30 14:01:52,509: DEBUG - + systemctl reload-or-restart nginx
2022-10-30 14:01:52,773: INFO - [####################] > Upgrade of freshrss completed
2022-10-30 14:01:52,774: DEBUG - + ynh_exit_properly
2022-10-30 14:01:53,779: DEBUG - Checking that required services are up and running…
2022-10-30 14:01:57,481: SUCCESS - freshrss mis à jour

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