YunoHost-Apps / jirafeau_ynh

Jirafeau package for YunoHost
https://gitlab.com/mojo42/Jirafeau
GNU General Public License v3.0
13 stars 14 forks source link

Jirafeau hosted webpage is empty (blank page) after fresh install #91

Closed prog-amateur2 closed 3 years ago

prog-amateur2 commented 3 years ago

Describe the bug

Hello, after installing Jirafeau from Yunohost app center, I couldn't connect to it (blank page). Thank you for your kind help.

Context

Steps to reproduce

Connect from Webadmin or user account page, then click on Jirafeau, then you can see a blank (empty) page.

Expected behavior

The page shall show Jirafeau app

Logs

Installation was successful (green, no yellow/red flag)

args:
  app: jirafeau
  args: domain=maindomain.tld&path=%2Fjirafeau&admin_user=XXX&upload_password='****'&is_public=1
  force: false
  label: Jirafeau
  no_remove_on_failure: false
ended_at: 2021-09-11 21:14:04.291570
env:
  YNH_APP_ARG_ADMIN_USER: XXX
  YNH_APP_ARG_DOMAIN: maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: '1'
  YNH_APP_ARG_PATH: /jirafeau
  YNH_APP_ID: jirafeau
  YNH_APP_INSTANCE_NAME: jirafeau
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 4.3.0~ynh2
error: null
interface: api
operation: app_install
parent: null
related_to:
- - app
  - jirafeau
started_at: 2021-09-11 21:13:38.422754
success: true
yunohost_version: 4.2.8.3

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

2021-09-11 23:13:38,442: INFO - Installation de jirafeau...
2021-09-11 23:13:38,704: DEBUG - Permission 'jirafeau.main' mise à jour
2021-09-11 23:13:38,866: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210911-211338-permission_url-jirafeau" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'jirafeau' </a>'
2021-09-11 23:13:39,206: DEBUG - The permission database has been resynchronized
2021-09-11 23:13:39,422: DEBUG - La configuration de SSOwat a été regénérée
2021-09-11 23:13:39,609: DEBUG - Permission 'jirafeau.main' créée
2021-09-11 23:13:39,610: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210911-211338-permission_create-jirafeau" style="text-decoration:underline"> Créer permission 'jirafeau' </a>'
2021-09-11 23:13:39,642: DEBUG - Executing command '['sh', '-c', '/bin/bash -x "./install"  7>&1']'
2021-09-11 23:13:39,665: DEBUG - + source _common.sh
2021-09-11 23:13:39,666: DEBUG - ++ YNH_PHP_VERSION=7.3
2021-09-11 23:13:39,667: DEBUG - + source /usr/share/yunohost/helpers
2021-09-11 23:13:39,667: DEBUG - +++ set +o
2021-09-11 23:13:39,668: DEBUG - +++ grep xtrace
2021-09-11 23:13:39,670: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-09-11 23:13:39,670: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-09-11 23:13:39,759: DEBUG - + ynh_abort_if_errors
2021-09-11 23:13:39,760: DEBUG - + set -o errexit
2021-09-11 23:13:39,761: DEBUG - + set -o nounset
2021-09-11 23:13:39,761: DEBUG - + trap ynh_exit_properly EXIT
2021-09-11 23:13:39,762: DEBUG - + domain=maindomain.tld
2021-09-11 23:13:39,763: DEBUG - + path_url=/jirafeau
2021-09-11 23:13:39,763: DEBUG - + admin_user=XXX
2021-09-11 23:13:39,764: DEBUG - + ynh_print_OFF
2021-09-11 23:13:39,764: DEBUG - + exec
2021-09-11 23:13:39,765: DEBUG - + echo ynh_print_ON
2021-09-11 23:13:39,765: DEBUG - + is_public=1
2021-09-11 23:13:39,766: DEBUG - + app=jirafeau
2021-09-11 23:13:40,007: DEBUG - + echo '[+...................] > Validating installation parameters...'
2021-09-11 23:13:40,009: INFO - [+...................] > Validating installation parameters...
2021-09-11 23:13:40,011: DEBUG - + final_path=/var/www/jirafeau
2021-09-11 23:13:40,011: DEBUG - + test '!' -e /var/www/jirafeau
2021-09-11 23:13:40,012: DEBUG - + ynh_webpath_register --app=jirafeau --domain=maindomain.tld --path_url=/jirafeau
2021-09-11 23:13:40,203: DEBUG - + yunohost app register-url jirafeau maindomain.tld /jirafeau
2021-09-11 23:13:42,802: DEBUG - + echo '[#+..................] > Storing installation settings...'
2021-09-11 23:13:42,803: DEBUG - + ynh_app_setting_set --app=jirafeau --key=domain --value=maindomain.tld
2021-09-11 23:13:42,808: INFO - [#+..................] > Storing installation settings...
2021-09-11 23:13:43,005: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:43,006: DEBUG - + ynh_app_setting set jirafeau domain maindomain.tld
2021-09-11 23:13:43,131: DEBUG - + ynh_app_setting_set --app=jirafeau --key=path --value=/jirafeau
2021-09-11 23:13:43,322: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:43,323: DEBUG - + ynh_app_setting set jirafeau path /jirafeau
2021-09-11 23:13:43,437: DEBUG - + ynh_app_setting_set --app=jirafeau --key=admin --value=XXX
2021-09-11 23:13:43,628: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:43,629: DEBUG - + ynh_app_setting set jirafeau admin XXX
2021-09-11 23:13:43,743: DEBUG - + ynh_app_setting_set --app=jirafeau --key=is_public --value=1
2021-09-11 23:13:43,931: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:43,932: DEBUG - + ynh_app_setting set jirafeau is_public 1
2021-09-11 23:13:44,264: DEBUG - + echo '[##+++...............] > Setting up source files...'
2021-09-11 23:13:44,266: INFO - [##+++...............] > Setting up source files...
2021-09-11 23:13:44,267: DEBUG - + ynh_app_setting_set --app=jirafeau --key=final_path --value=/var/www/jirafeau
2021-09-11 23:13:44,468: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:44,468: DEBUG - + ynh_app_setting set jirafeau final_path /var/www/jirafeau
2021-09-11 23:13:44,585: DEBUG - + ynh_setup_source --dest_dir=/var/www/jirafeau
2021-09-11 23:13:44,653: DEBUG - + source_id=app
2021-09-11 23:13:44,653: DEBUG - + keep=
2021-09-11 23:13:44,654: DEBUG - + local src_file_path=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,655: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,656: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,662: DEBUG - + local src_url=https://gitlab.com/mojo42/Jirafeau/-/archive/4.3.0/Jirafeau-4.3.0.tar.gz
2021-09-11 23:13:44,664: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,665: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,671: DEBUG - + local src_sum=77bd4b69cb822ac8cac9df6890f17a673c978b10d8dd6fce46b60c763b859f74
2021-09-11 23:13:44,674: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,674: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,680: DEBUG - + local src_sumprg=sha256sum
2021-09-11 23:13:44,682: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,682: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,689: DEBUG - + local src_format=tar.gz
2021-09-11 23:13:44,692: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,692: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,698: DEBUG - + local src_extract=
2021-09-11 23:13:44,700: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,701: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,707: DEBUG - + local src_in_subdir=true
2021-09-11 23:13:44,708: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/app.src
2021-09-11 23:13:44,709: DEBUG - ++ cut --delimiter== --fields=2-
2021-09-11 23:13:44,714: DEBUG - + local src_filename=
2021-09-11 23:13:44,714: DEBUG - + src_sumprg=sha256sum
2021-09-11 23:13:44,715: DEBUG - + src_in_subdir=true
2021-09-11 23:13:44,715: DEBUG - + src_format=tar.gz
2021-09-11 23:13:44,716: DEBUG - ++ echo tar.gz
2021-09-11 23:13:44,717: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-09-11 23:13:44,721: DEBUG - + src_format=tar.gz
2021-09-11 23:13:44,721: DEBUG - + src_extract=true
2021-09-11 23:13:44,722: DEBUG - + '[' '' = '' ']'
2021-09-11 23:13:44,722: DEBUG - + src_filename=app.tar.gz
2021-09-11 23:13:44,722: DEBUG - + local local_src=/opt/yunohost-apps-src/jirafeau/app.tar.gz
2021-09-11 23:13:44,723: DEBUG - + mkdir -p /var/cache/yunohost/download/jirafeau/
2021-09-11 23:13:44,725: DEBUG - + src_filename=/var/cache/yunohost/download/jirafeau/app.tar.gz
2021-09-11 23:13:44,726: DEBUG - + test -e /opt/yunohost-apps-src/jirafeau/app.tar.gz
2021-09-11 23:13:44,727: DEBUG - + '[' -n https://gitlab.com/mojo42/Jirafeau/-/archive/4.3.0/Jirafeau-4.3.0.tar.gz ']'
2021-09-11 23:13:44,728: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=/var/cache/yunohost/download/jirafeau/app.tar.gz https://gitlab.com/mojo42/Jirafeau/-/archive/4.3.0/Jirafeau-4.3.0.tar.gz
2021-09-11 23:13:45,222: DEBUG - + out='2021-09-11 23:13:45 URL:https://gitlab.com/mojo42/Jirafeau/-/archive/4.3.0/Jirafeau-4.3.0.tar.gz [299689] -> "/var/cache/yunohost/download/jirafeau/app.tar.gz" [1]'
2021-09-11 23:13:45,222: DEBUG - + sha256sum --check --status
2021-09-11 23:13:45,223: DEBUG - + echo '77bd4b69cb822ac8cac9df6890f17a673c978b10d8dd6fce46b60c763b859f74 /var/cache/yunohost/download/jirafeau/app.tar.gz'
2021-09-11 23:13:45,230: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-09-11 23:13:45,234: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:45,234: DEBUG - + mkdir --parents /var/www/jirafeau
2021-09-11 23:13:45,239: DEBUG - + '[' -n /var/www/jirafeau ']'
2021-09-11 23:13:45,240: DEBUG - + '[' /var/www/jirafeau == /var/www/jirafeau ']'
2021-09-11 23:13:45,240: DEBUG - + _ynh_apply_default_permissions /var/www/jirafeau
2021-09-11 23:13:45,240: DEBUG - + local target=/var/www/jirafeau
2021-09-11 23:13:45,241: DEBUG - ++ tr -d '>= '
2021-09-11 23:13:45,242: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/manifest.json
2021-09-11 23:13:45,252: DEBUG - + local ynh_requirement=4.1.7
2021-09-11 23:13:45,252: DEBUG - + '[' -z 4.1.7 ']'
2021-09-11 23:13:45,253: DEBUG - + '[' 4.1.7 == null ']'
2021-09-11 23:13:45,253: DEBUG - + dpkg --compare-versions 4.1.7 ge 4.2
2021-09-11 23:13:45,259: DEBUG - + true
2021-09-11 23:13:45,259: DEBUG - + '[' tar.gz = zip ']'
2021-09-11 23:13:45,260: DEBUG - + local strip=
2021-09-11 23:13:45,260: DEBUG - + '[' true '!=' false ']'
2021-09-11 23:13:45,260: DEBUG - + '[' true == true ']'
2021-09-11 23:13:45,261: DEBUG - + local sub_dirs=1
2021-09-11 23:13:45,261: DEBUG - + strip='--strip-components 1'
2021-09-11 23:13:45,261: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-09-11 23:13:45,262: DEBUG - + tar --extract --file=/var/cache/yunohost/download/jirafeau/app.tar.gz --directory=/var/www/jirafeau --strip-components 1
2021-09-11 23:13:45,299: DEBUG - + ynh_secure_remove --file=/var/cache/yunohost/download/jirafeau/app.tar.gz
2021-09-11 23:13:45,326: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-09-11 23:13:45,327: DEBUG - + '[' 1 -ge 2 ']'
2021-09-11 23:13:45,327: DEBUG - + [[ -z /var/cache/yunohost/download/jirafeau/app.tar.gz ]]
2021-09-11 23:13:45,328: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/cache/yunohost/download/jirafeau/app\.tar\.gz ]]
2021-09-11 23:13:45,329: DEBUG - + [[ /var/cache/yunohost/download/jirafeau/app.tar.gz =~ ^/[[:alnum:]]+$ ]]
2021-09-11 23:13:45,329: DEBUG - + [[ z = \/ ]]
2021-09-11 23:13:45,330: DEBUG - + '[' -e /var/cache/yunohost/download/jirafeau/app.tar.gz ']'
2021-09-11 23:13:45,330: DEBUG - + rm --recursive /var/cache/yunohost/download/jirafeau/app.tar.gz
2021-09-11 23:13:45,331: DEBUG - + '[' -d /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/sources/patches/ ']'
2021-09-11 23:13:45,332: DEBUG - + test -e /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/sources/extra_files/app
2021-09-11 23:13:45,333: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:45,333: DEBUG - + rm -rf /var/cache/yunohost/files_to_keep_during_setup_source/
2021-09-11 23:13:45,482: DEBUG - + echo '[#####+..............] > Configuring NGINX web server...'
2021-09-11 23:13:45,484: DEBUG - + ynh_add_nginx_config
2021-09-11 23:13:45,484: DEBUG - + local finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:45,485: DEBUG - + '[' /jirafeau '!=' / ']'
2021-09-11 23:13:45,485: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf
2021-09-11 23:13:45,490: INFO - [#####+..............] > Configuring NGINX web server...
2021-09-11 23:13:45,685: DEBUG - + local delimit=@
2021-09-11 23:13:45,685: DEBUG - + match_string='^#sub_path_only'
2021-09-11 23:13:45,686: DEBUG - + replace_string=
2021-09-11 23:13:45,686: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf
2021-09-11 23:13:45,692: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf --destination=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:45,790: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf//var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf ']'
2021-09-11 23:13:45,791: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf ']'
2021-09-11 23:13:45,792: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf
2021-09-11 23:13:45,793: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:45,823: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf
2021-09-11 23:13:45,824: DEBUG - ++ ynh_app_setting_get --app=jirafeau --key=checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf
2021-09-11 23:13:45,921: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:45,922: DEBUG - ++ ynh_app_setting get jirafeau checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf
2021-09-11 23:13:46,041: DEBUG - + local checksum_value=
2021-09-11 23:13:46,041: DEBUG - + backup_file_checksum=
2021-09-11 23:13:46,042: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:46,043: DEBUG - + touch /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,044: DEBUG - + chown root:root /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,049: DEBUG - + chmod 640 /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,052: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,057: DEBUG - + _ynh_apply_default_permissions /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,057: DEBUG - + local target=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,060: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/manifest.json
2021-09-11 23:13:46,061: DEBUG - ++ tr -d '>= '
2021-09-11 23:13:46,074: DEBUG - + local ynh_requirement=4.1.7
2021-09-11 23:13:46,075: DEBUG - + '[' -z 4.1.7 ']'
2021-09-11 23:13:46,075: DEBUG - + '[' 4.1.7 == null ']'
2021-09-11 23:13:46,075: DEBUG - + dpkg --compare-versions 4.1.7 ge 4.2
2021-09-11 23:13:46,081: DEBUG - + ynh_replace_vars --file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,112: DEBUG - + test -n /jirafeau
2021-09-11 23:13:46,113: DEBUG - + local path_url_slash_less=/jirafeau
2021-09-11 23:13:46,113: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/jirafeau/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,313: DEBUG - + local delimit=@
2021-09-11 23:13:46,314: DEBUG - + match_string=__PATH__/
2021-09-11 23:13:46,314: DEBUG - + replace_string=/jirafeau/
2021-09-11 23:13:46,315: DEBUG - + sed --in-place s@__PATH__/@/jirafeau/@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,320: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/jirafeau --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,525: DEBUG - + local delimit=@
2021-09-11 23:13:46,525: DEBUG - + match_string=__PATH__
2021-09-11 23:13:46,526: DEBUG - + replace_string=/jirafeau
2021-09-11 23:13:46,526: DEBUG - + sed --in-place s@__PATH__@/jirafeau@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,532: DEBUG - + test -n jirafeau
2021-09-11 23:13:46,533: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=jirafeau --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,736: DEBUG - + local delimit=@
2021-09-11 23:13:46,737: DEBUG - + match_string=__NAME__
2021-09-11 23:13:46,737: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:46,738: DEBUG - + sed --in-place s@__NAME__@jirafeau@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,743: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jirafeau --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,948: DEBUG - + local delimit=@
2021-09-11 23:13:46,948: DEBUG - + match_string=__NAMETOCHANGE__
2021-09-11 23:13:46,949: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:46,949: DEBUG - + sed --in-place s@__NAMETOCHANGE__@jirafeau@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:46,954: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=jirafeau --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,158: DEBUG - + local delimit=@
2021-09-11 23:13:47,158: DEBUG - + match_string=__USER__
2021-09-11 23:13:47,159: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:47,159: DEBUG - + sed --in-place s@__USER__@jirafeau@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,164: DEBUG - + test -n /var/www/jirafeau
2021-09-11 23:13:47,165: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/jirafeau --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,367: DEBUG - + local delimit=@
2021-09-11 23:13:47,368: DEBUG - + match_string=__FINALPATH__
2021-09-11 23:13:47,368: DEBUG - + replace_string=/var/www/jirafeau
2021-09-11 23:13:47,369: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/jirafeau@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,373: DEBUG - + test -n 7.3
2021-09-11 23:13:47,374: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,579: DEBUG - + local delimit=@
2021-09-11 23:13:47,580: DEBUG - + match_string=__PHPVERSION__
2021-09-11 23:13:47,580: DEBUG - + replace_string=7.3
2021-09-11 23:13:47,581: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,586: DEBUG - + test -n ''
2021-09-11 23:13:47,587: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-09-11 23:13:47,588: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,589: DEBUG - ++ sort --unique
2021-09-11 23:13:47,590: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-09-11 23:13:47,598: DEBUG - + local delimit=@
2021-09-11 23:13:47,598: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,629: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf
2021-09-11 23:13:47,632: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/jirafeau.conf
2021-09-11 23:13:47,632: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-09-11 23:13:47,638: DEBUG - + ynh_app_setting_set --app=jirafeau --key=checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf --value=57e6337d30aa21e57ec9cc06561c0bd9
2021-09-11 23:13:47,843: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:47,845: DEBUG - + ynh_app_setting set jirafeau checksum__etc_nginx_conf.d_maindomain.tld.d_jirafeau.conf 57e6337d30aa21e57ec9cc06561c0bd9
2021-09-11 23:13:47,963: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:47,964: DEBUG - + unset backup_file_checksum
2021-09-11 23:13:47,964: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-09-11 23:13:48,222: DEBUG - + service_name=nginx
2021-09-11 23:13:48,222: DEBUG - + action=reload
2021-09-11 23:13:48,223: DEBUG - + line_match=
2021-09-11 23:13:48,223: DEBUG - + length=20
2021-09-11 23:13:48,224: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-09-11 23:13:48,225: DEBUG - + timeout=300
2021-09-11 23:13:48,225: DEBUG - + '[' reload == stop ']'
2021-09-11 23:13:48,226: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:48,226: DEBUG - + '[' reload == reload ']'
2021-09-11 23:13:48,227: DEBUG - + action=reload-or-restart
2021-09-11 23:13:48,227: DEBUG - + systemctl reload-or-restart nginx
2021-09-11 23:13:48,380: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:48,580: DEBUG - + echo '[######++............] > Configuring system user...'
2021-09-11 23:13:48,582: DEBUG - + ynh_system_user_create --username=jirafeau
2021-09-11 23:13:48,586: INFO - [######++............] > Configuring system user...
2021-09-11 23:13:48,689: DEBUG - + use_shell=0
2021-09-11 23:13:48,689: DEBUG - + home_dir=
2021-09-11 23:13:48,690: DEBUG - + groups=
2021-09-11 23:13:48,690: DEBUG - + ynh_system_user_exists jirafeau
2021-09-11 23:13:48,719: DEBUG - + getent passwd jirafeau
2021-09-11 23:13:48,733: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:48,733: DEBUG - + local user_home_dir=--no-create-home
2021-09-11 23:13:48,734: DEBUG - + '[' 0 -eq 1 ']'
2021-09-11 23:13:48,735: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2021-09-11 23:13:48,735: DEBUG - + useradd --no-create-home --system --user-group jirafeau --shell /usr/sbin/nologin
2021-09-11 23:13:49,133: INFO - [########+++.........] > Configuring PHP-FPM...
2021-09-11 23:13:49,135: DEBUG - + echo '[########+++.........] > Configuring PHP-FPM...'
2021-09-11 23:13:49,137: DEBUG - + ynh_add_fpm_config
2021-09-11 23:13:49,143: DEBUG - + package=
2021-09-11 23:13:49,143: DEBUG - + use_template=1
2021-09-11 23:13:49,144: DEBUG - + usage=
2021-09-11 23:13:49,144: DEBUG - + footprint=
2021-09-11 23:13:49,145: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:49,146: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:49,146: DEBUG - + dedicated_service=0
2021-09-11 23:13:49,146: DEBUG - + phpversion=7.3
2021-09-11 23:13:49,147: DEBUG - ++ ynh_app_setting_get --app=jirafeau --key=phpversion
2021-09-11 23:13:49,230: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:49,231: DEBUG - ++ ynh_app_setting get jirafeau phpversion
2021-09-11 23:13:49,360: DEBUG - + local old_phpversion=
2021-09-11 23:13:49,361: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:49,361: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2021-09-11 23:13:49,362: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:49,362: DEBUG - + '[' 0 -eq 1 ']'
2021-09-11 23:13:49,363: DEBUG - + local fpm_service=php7.3-fpm
2021-09-11 23:13:49,363: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm
2021-09-11 23:13:49,364: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d
2021-09-11 23:13:49,364: DEBUG - + ynh_app_setting_set --app=jirafeau --key=fpm_config_dir --value=/etc/php/7.3/fpm
2021-09-11 23:13:49,552: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:49,552: DEBUG - + ynh_app_setting set jirafeau fpm_config_dir /etc/php/7.3/fpm
2021-09-11 23:13:49,672: DEBUG - + ynh_app_setting_set --app=jirafeau --key=fpm_service --value=php7.3-fpm
2021-09-11 23:13:49,864: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:49,865: DEBUG - + ynh_app_setting set jirafeau fpm_service php7.3-fpm
2021-09-11 23:13:49,988: DEBUG - + ynh_app_setting_set --app=jirafeau --key=fpm_dedicated_service --value=0
2021-09-11 23:13:50,175: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:50,176: DEBUG - + ynh_app_setting set jirafeau fpm_dedicated_service 0
2021-09-11 23:13:50,297: DEBUG - + ynh_app_setting_set --app=jirafeau --key=phpversion --value=7.3
2021-09-11 23:13:50,489: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:50,490: DEBUG - + ynh_app_setting set jirafeau phpversion 7.3
2021-09-11 23:13:50,612: DEBUG - + '[' 0 -eq 1 ']'
2021-09-11 23:13:50,612: DEBUG - + '[' 1 -eq 1 ']'
2021-09-11 23:13:50,613: DEBUG - + local phpfpm_path=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf
2021-09-11 23:13:50,613: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf ']'
2021-09-11 23:13:50,613: DEBUG - + local finalphpconf=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,614: DEBUG - + ynh_add_config --template=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf --destination=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,706: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf//var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf ']'
2021-09-11 23:13:50,707: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf ']'
2021-09-11 23:13:50,708: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf
2021-09-11 23:13:50,709: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,737: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf
2021-09-11 23:13:50,738: DEBUG - ++ ynh_app_setting_get --app=jirafeau --key=checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf
2021-09-11 23:13:50,836: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:50,837: DEBUG - ++ ynh_app_setting get jirafeau checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf
2021-09-11 23:13:50,957: DEBUG - + local checksum_value=
2021-09-11 23:13:50,958: DEBUG - + backup_file_checksum=
2021-09-11 23:13:50,958: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:50,959: DEBUG - + touch /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,960: DEBUG - + chown root:root /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,975: DEBUG - + chmod 640 /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,980: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,985: DEBUG - + _ynh_apply_default_permissions /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,986: DEBUG - + local target=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:50,987: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/manifest.json
2021-09-11 23:13:50,988: DEBUG - ++ tr -d '>= '
2021-09-11 23:13:50,999: DEBUG - + local ynh_requirement=4.1.7
2021-09-11 23:13:51,000: DEBUG - + '[' -z 4.1.7 ']'
2021-09-11 23:13:51,000: DEBUG - + '[' 4.1.7 == null ']'
2021-09-11 23:13:51,001: DEBUG - + dpkg --compare-versions 4.1.7 ge 4.2
2021-09-11 23:13:51,004: DEBUG - + ynh_replace_vars --file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,035: DEBUG - + test -n /jirafeau
2021-09-11 23:13:51,035: DEBUG - + local path_url_slash_less=/jirafeau
2021-09-11 23:13:51,036: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/jirafeau/ --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,240: DEBUG - + local delimit=@
2021-09-11 23:13:51,241: DEBUG - + match_string=__PATH__/
2021-09-11 23:13:51,241: DEBUG - + replace_string=/jirafeau/
2021-09-11 23:13:51,242: DEBUG - + sed --in-place s@__PATH__/@/jirafeau/@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,247: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/jirafeau --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,450: DEBUG - + local delimit=@
2021-09-11 23:13:51,451: DEBUG - + match_string=__PATH__
2021-09-11 23:13:51,451: DEBUG - + replace_string=/jirafeau
2021-09-11 23:13:51,452: DEBUG - + sed --in-place s@__PATH__@/jirafeau@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,457: DEBUG - + test -n jirafeau
2021-09-11 23:13:51,458: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=jirafeau --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,661: DEBUG - + local delimit=@
2021-09-11 23:13:51,661: DEBUG - + match_string=__NAME__
2021-09-11 23:13:51,662: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:51,662: DEBUG - + sed --in-place s@__NAME__@jirafeau@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,668: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jirafeau --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,871: DEBUG - + local delimit=@
2021-09-11 23:13:51,872: DEBUG - + match_string=__NAMETOCHANGE__
2021-09-11 23:13:51,872: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:51,873: DEBUG - + sed --in-place s@__NAMETOCHANGE__@jirafeau@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:51,878: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=jirafeau --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,080: DEBUG - + local delimit=@
2021-09-11 23:13:52,081: DEBUG - + match_string=__USER__
2021-09-11 23:13:52,082: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:52,082: DEBUG - + sed --in-place s@__USER__@jirafeau@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,088: DEBUG - + test -n /var/www/jirafeau
2021-09-11 23:13:52,089: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/jirafeau --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,286: DEBUG - + local delimit=@
2021-09-11 23:13:52,287: DEBUG - + match_string=__FINALPATH__
2021-09-11 23:13:52,287: DEBUG - + replace_string=/var/www/jirafeau
2021-09-11 23:13:52,288: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/jirafeau@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,294: DEBUG - + test -n 7.3
2021-09-11 23:13:52,294: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,496: DEBUG - + local delimit=@
2021-09-11 23:13:52,497: DEBUG - + match_string=__PHPVERSION__
2021-09-11 23:13:52,497: DEBUG - + replace_string=7.3
2021-09-11 23:13:52,498: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,504: DEBUG - + test -n ''
2021-09-11 23:13:52,504: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-09-11 23:13:52,505: DEBUG - ++ sort --unique
2021-09-11 23:13:52,506: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,507: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-09-11 23:13:52,514: DEBUG - + local delimit=@
2021-09-11 23:13:52,514: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,543: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf
2021-09-11 23:13:52,546: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/jirafeau.conf
2021-09-11 23:13:52,547: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-09-11 23:13:52,552: DEBUG - + ynh_app_setting_set --app=jirafeau --key=checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf --value=3db9af1b933e937637c7f3a4ed5a318b
2021-09-11 23:13:52,758: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:52,759: DEBUG - + ynh_app_setting set jirafeau checksum__etc_php_7.3_fpm_pool.d_jirafeau.conf 3db9af1b933e937637c7f3a4ed5a318b
2021-09-11 23:13:52,882: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:52,882: DEBUG - + unset backup_file_checksum
2021-09-11 23:13:52,883: DEBUG - + '[' -e /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/php-fpm.ini ']'
2021-09-11 23:13:52,883: DEBUG - + '[' 0 -eq 1 ']'
2021-09-11 23:13:52,884: DEBUG - + php-fpm7.3 --test
2021-09-11 23:13:53,024: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2021-09-11 23:13:53,284: DEBUG - + service_name=php7.3-fpm
2021-09-11 23:13:53,284: DEBUG - + action=reload
2021-09-11 23:13:53,285: DEBUG - + line_match=
2021-09-11 23:13:53,285: DEBUG - + length=20
2021-09-11 23:13:53,286: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2021-09-11 23:13:53,286: DEBUG - + timeout=300
2021-09-11 23:13:53,287: DEBUG - + '[' reload == stop ']'
2021-09-11 23:13:53,287: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:53,288: DEBUG - + '[' reload == reload ']'
2021-09-11 23:13:53,288: DEBUG - + action=reload-or-restart
2021-09-11 23:13:53,289: DEBUG - + systemctl reload-or-restart php7.3-fpm
2021-09-11 23:13:53,312: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:53,315: DEBUG - ++ ynh_app_setting_get --app=jirafeau --key=phpversion
2021-09-11 23:13:53,406: DEBUG - ++ [[ phpversion =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:53,407: DEBUG - ++ ynh_app_setting get jirafeau phpversion
2021-09-11 23:13:53,529: DEBUG - + phpversion=7.3
2021-09-11 23:13:53,530: DEBUG - + jirafeauconfigfile=/var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:53,530: DEBUG - + cp ../conf/config.local.php /var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:53,534: DEBUG - + ynh_print_OFF
2021-09-11 23:13:53,534: DEBUG - + exec
2021-09-11 23:13:54,266: DEBUG - + echo ynh_print_ON
2021-09-11 23:13:54,483: DEBUG - + echo '[###########++.......] > Configuring Jirafeau...'
2021-09-11 23:13:54,484: INFO - [###########++.......] > Configuring Jirafeau...
2021-09-11 23:13:54,485: DEBUG - + var_root=/home/yunohost.app/jirafeau
2021-09-11 23:13:54,486: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:54,692: DEBUG - + local delimit=@
2021-09-11 23:13:54,692: DEBUG - + match_string=__DOMAIN__
2021-09-11 23:13:54,693: DEBUG - + replace_string=maindomain.tld
2021-09-11 23:13:54,693: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:54,699: DEBUG - + '[' /jirafeau = / ']'
2021-09-11 23:13:54,700: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/jirafeau --target_file=/var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:54,907: DEBUG - + local delimit=@
2021-09-11 23:13:54,908: DEBUG - + match_string=__PATH__
2021-09-11 23:13:54,908: DEBUG - + replace_string=/jirafeau
2021-09-11 23:13:54,909: DEBUG - + sed --in-place s@__PATH__@/jirafeau@g /var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:54,914: DEBUG - + ynh_replace_string --match_string=__VAR_ROOT__ --replace_string=/home/yunohost.app/jirafeau --target_file=/var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:55,124: DEBUG - + local delimit=@
2021-09-11 23:13:55,125: DEBUG - + match_string=__VAR_ROOT__
2021-09-11 23:13:55,126: DEBUG - + replace_string=/home/yunohost.app/jirafeau
2021-09-11 23:13:55,126: DEBUG - + sed --in-place s@__VAR_ROOT__@/home/yunohost.app/jirafeau@g /var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:55,133: DEBUG - + ynh_replace_string --match_string=__ADMIN_USER__ --replace_string=XXX --target_file=/var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:55,345: DEBUG - + local delimit=@
2021-09-11 23:13:55,346: DEBUG - + match_string=__ADMIN_USER__
2021-09-11 23:13:55,346: DEBUG - + replace_string=XXX
2021-09-11 23:13:55,347: DEBUG - + sed --in-place s@__ADMIN_USER__@XXX@g /var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:55,352: DEBUG - + ynh_store_file_checksum --file=/var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:55,385: DEBUG - + local checksum_setting_name=checksum__var_www_jirafeau_lib_config.local.php
2021-09-11 23:13:55,387: DEBUG - ++ md5sum /var/www/jirafeau/lib/config.local.php
2021-09-11 23:13:55,388: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-09-11 23:13:55,394: DEBUG - + ynh_app_setting_set --app=jirafeau --key=checksum__var_www_jirafeau_lib_config.local.php --value=a747a43b104a9bba8cba9f7ce98297c6
2021-09-11 23:13:55,596: DEBUG - + [[ checksum__var_www_jirafeau_lib_config.local.php =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:55,597: DEBUG - + ynh_app_setting set jirafeau checksum__var_www_jirafeau_lib_config.local.php a747a43b104a9bba8cba9f7ce98297c6
2021-09-11 23:13:55,721: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:55,722: DEBUG - + unset backup_file_checksum
2021-09-11 23:13:55,723: DEBUG - + ynh_secure_remove --file=/var/www/jirafeau/install.php
2021-09-11 23:13:55,751: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2021-09-11 23:13:55,752: DEBUG - + '[' 1 -ge 2 ']'
2021-09-11 23:13:55,753: DEBUG - + [[ -z /var/www/jirafeau/install.php ]]
2021-09-11 23:13:55,753: DEBUG - + [[      /var/www     /home/yunohost.app =~ /var/www/jirafeau/install\.php ]]
2021-09-11 23:13:55,754: DEBUG - + [[ /var/www/jirafeau/install.php =~ ^/[[:alnum:]]+$ ]]
2021-09-11 23:13:55,754: DEBUG - + [[ p = \/ ]]
2021-09-11 23:13:55,754: DEBUG - + '[' -e /var/www/jirafeau/install.php ']'
2021-09-11 23:13:55,755: DEBUG - + rm --recursive /var/www/jirafeau/install.php
2021-09-11 23:13:55,977: DEBUG - + echo '[#############++.....] > Configuring the cron file...'
2021-09-11 23:13:55,978: INFO - [#############++.....] > Configuring the cron file...
2021-09-11 23:13:55,979: DEBUG - + ynh_add_config --template=../conf/cron --destination=/etc/cron.d/jirafeau
2021-09-11 23:13:56,076: DEBUG - + '[' -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/../conf/cron ']'
2021-09-11 23:13:56,077: DEBUG - + template_path=/var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/../conf/cron
2021-09-11 23:13:56,077: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/cron.d/jirafeau
2021-09-11 23:13:56,109: DEBUG - + local checksum_setting_name=checksum__etc_cron.d_jirafeau
2021-09-11 23:13:56,110: DEBUG - ++ ynh_app_setting_get --app=jirafeau --key=checksum__etc_cron.d_jirafeau
2021-09-11 23:13:56,210: DEBUG - ++ [[ checksum__etc_cron.d_jirafeau =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:56,211: DEBUG - ++ ynh_app_setting get jirafeau checksum__etc_cron.d_jirafeau
2021-09-11 23:13:56,332: DEBUG - + local checksum_value=
2021-09-11 23:13:56,332: DEBUG - + backup_file_checksum=
2021-09-11 23:13:56,333: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:56,333: DEBUG - + touch /etc/cron.d/jirafeau
2021-09-11 23:13:56,336: DEBUG - + chown root:root /etc/cron.d/jirafeau
2021-09-11 23:13:56,343: DEBUG - + chmod 640 /etc/cron.d/jirafeau
2021-09-11 23:13:56,347: DEBUG - + cp -f /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/conf/../conf/cron /etc/cron.d/jirafeau
2021-09-11 23:13:56,353: DEBUG - + _ynh_apply_default_permissions /etc/cron.d/jirafeau
2021-09-11 23:13:56,354: DEBUG - + local target=/etc/cron.d/jirafeau
2021-09-11 23:13:56,355: DEBUG - ++ tr -d '>= '
2021-09-11 23:13:56,356: DEBUG - ++ jq -r .requirements.yunohost /var/cache/yunohost/app_tmp_work_dirs/app_wqgg_g9h/manifest.json
2021-09-11 23:13:56,368: DEBUG - + local ynh_requirement=4.1.7
2021-09-11 23:13:56,369: DEBUG - + '[' -z 4.1.7 ']'
2021-09-11 23:13:56,369: DEBUG - + '[' 4.1.7 == null ']'
2021-09-11 23:13:56,369: DEBUG - + dpkg --compare-versions 4.1.7 ge 4.2
2021-09-11 23:13:56,373: DEBUG - + ynh_replace_vars --file=/etc/cron.d/jirafeau
2021-09-11 23:13:56,404: DEBUG - + test -n /jirafeau
2021-09-11 23:13:56,404: DEBUG - + local path_url_slash_less=/jirafeau
2021-09-11 23:13:56,405: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/jirafeau/ --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:56,610: DEBUG - + local delimit=@
2021-09-11 23:13:56,611: DEBUG - + match_string=__PATH__/
2021-09-11 23:13:56,611: DEBUG - + replace_string=/jirafeau/
2021-09-11 23:13:56,612: DEBUG - + sed --in-place s@__PATH__/@/jirafeau/@g /etc/cron.d/jirafeau
2021-09-11 23:13:56,617: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/jirafeau --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:56,828: DEBUG - + local delimit=@
2021-09-11 23:13:56,829: DEBUG - + match_string=__PATH__
2021-09-11 23:13:56,829: DEBUG - + replace_string=/jirafeau
2021-09-11 23:13:56,830: DEBUG - + sed --in-place s@__PATH__@/jirafeau@g /etc/cron.d/jirafeau
2021-09-11 23:13:56,835: DEBUG - + test -n jirafeau
2021-09-11 23:13:56,835: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=jirafeau --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:57,041: DEBUG - + local delimit=@
2021-09-11 23:13:57,042: DEBUG - + match_string=__NAME__
2021-09-11 23:13:57,042: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:57,043: DEBUG - + sed --in-place s@__NAME__@jirafeau@g /etc/cron.d/jirafeau
2021-09-11 23:13:57,047: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=jirafeau --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:57,252: DEBUG - + local delimit=@
2021-09-11 23:13:57,253: DEBUG - + match_string=__NAMETOCHANGE__
2021-09-11 23:13:57,253: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:57,254: DEBUG - + sed --in-place s@__NAMETOCHANGE__@jirafeau@g /etc/cron.d/jirafeau
2021-09-11 23:13:57,259: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=jirafeau --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:57,467: DEBUG - + local delimit=@
2021-09-11 23:13:57,468: DEBUG - + match_string=__USER__
2021-09-11 23:13:57,468: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:57,469: DEBUG - + sed --in-place s@__USER__@jirafeau@g /etc/cron.d/jirafeau
2021-09-11 23:13:57,473: DEBUG - + test -n /var/www/jirafeau
2021-09-11 23:13:57,474: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/jirafeau --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:57,678: DEBUG - + local delimit=@
2021-09-11 23:13:57,679: DEBUG - + match_string=__FINALPATH__
2021-09-11 23:13:57,680: DEBUG - + replace_string=/var/www/jirafeau
2021-09-11 23:13:57,680: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/jirafeau@g /etc/cron.d/jirafeau
2021-09-11 23:13:57,686: DEBUG - + test -n 7.3
2021-09-11 23:13:57,687: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/cron.d/jirafeau
2021-09-11 23:13:57,897: DEBUG - + local delimit=@
2021-09-11 23:13:57,898: DEBUG - + match_string=__PHPVERSION__
2021-09-11 23:13:57,898: DEBUG - + replace_string=7.3
2021-09-11 23:13:57,899: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/cron.d/jirafeau
2021-09-11 23:13:57,904: DEBUG - + test -n ''
2021-09-11 23:13:57,905: DEBUG - + uniques_vars=($(grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' $file | sort --unique | sed "s@__\([^.]*\)__@\L\1@g" ))
2021-09-11 23:13:57,906: DEBUG - ++ grep -oP '__[A-Z0-9]+?[A-Z0-9_]*?[A-Z0-9]*?__' /etc/cron.d/jirafeau
2021-09-11 23:13:57,907: DEBUG - ++ sort --unique
2021-09-11 23:13:57,908: DEBUG - ++ sed 's@__\([^.]*\)__@\L\1@g'
2021-09-11 23:13:57,916: DEBUG - + local delimit=@
2021-09-11 23:13:57,917: DEBUG - + for one_var in "${uniques_vars[@]}"
2021-09-11 23:13:57,917: DEBUG - + [[ -v app ]]
2021-09-11 23:13:57,918: DEBUG - + match_string=__APP__
2021-09-11 23:13:57,918: DEBUG - + match_string=__APP__
2021-09-11 23:13:57,919: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:57,919: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:57,920: DEBUG - + replace_string=jirafeau
2021-09-11 23:13:57,920: DEBUG - + sed --in-place s@__APP__@jirafeau@g /etc/cron.d/jirafeau
2021-09-11 23:13:57,921: DEBUG - + ynh_store_file_checksum --file=/etc/cron.d/jirafeau
2021-09-11 23:13:57,955: DEBUG - + local checksum_setting_name=checksum__etc_cron.d_jirafeau
2021-09-11 23:13:57,958: DEBUG - ++ md5sum /etc/cron.d/jirafeau
2021-09-11 23:13:57,958: DEBUG - ++ cut '--delimiter= ' --fields=1
2021-09-11 23:13:57,964: DEBUG - + ynh_app_setting_set --app=jirafeau --key=checksum__etc_cron.d_jirafeau --value=43b8121d7ca35f4c9bb94f93c2de630b
2021-09-11 23:13:58,171: DEBUG - + [[ checksum__etc_cron.d_jirafeau =~ (unprotected|protected|skipped)_ ]]
2021-09-11 23:13:58,172: DEBUG - + ynh_app_setting set jirafeau checksum__etc_cron.d_jirafeau 43b8121d7ca35f4c9bb94f93c2de630b
2021-09-11 23:13:58,295: DEBUG - + '[' -n '' ']'
2021-09-11 23:13:58,296: DEBUG - + unset backup_file_checksum
2021-09-11 23:13:58,296: DEBUG - + chown -R root: /var/www/jirafeau
2021-09-11 23:13:58,308: DEBUG - + mkdir -p /home/yunohost.app/jirafeau/files /home/yunohost.app/jirafeau/links /home/yunohost.app/jirafeau/async /home/yunohost.app/jirafeau/block
2021-09-11 23:13:58,318: DEBUG - + chown -R jirafeau:root /home/yunohost.app/jirafeau
2021-09-11 23:13:58,323: DEBUG - + chmod -R 700 /home/yunohost.app/jirafeau
2021-09-11 23:13:58,558: DEBUG - + echo '[###############++...] > Configuring permissions...'
2021-09-11 23:13:58,559: INFO - [###############++...] > Configuring permissions...
2021-09-11 23:13:58,561: DEBUG - + ynh_permission_update --permission=main --add=visitors
2021-09-11 23:13:58,836: DEBUG - + add=visitors
2021-09-11 23:13:58,837: DEBUG - + remove=
2021-09-11 23:13:58,837: DEBUG - + label=
2021-09-11 23:13:58,838: DEBUG - + show_tile=
2021-09-11 23:13:58,838: DEBUG - + protected=
2021-09-11 23:13:58,839: DEBUG - + [[ -n visitors ]]
2021-09-11 23:13:58,839: DEBUG - + add=',add=['\''visitors'\'']'
2021-09-11 23:13:58,840: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:58,840: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:58,841: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:58,841: DEBUG - + [[ -n '' ]]
2021-09-11 23:13:58,842: DEBUG - + yunohost tools shell -c 'from yunohost.permission import user_permission_update; user_permission_update('\''jirafeau.main'\'' ,add=['\''visitors'\'']     , force=True)'
2021-09-11 23:14:00,576: DEBUG - + '[' 1 -eq 0 ']'
2021-09-11 23:14:00,799: DEBUG - + echo '[#################+..] > Reloading NGINX web server...'
2021-09-11 23:14:00,800: INFO - [#################+..] > Reloading NGINX web server...
2021-09-11 23:14:00,802: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-09-11 23:14:01,070: DEBUG - + service_name=nginx
2021-09-11 23:14:01,070: DEBUG - + action=reload
2021-09-11 23:14:01,071: DEBUG - + line_match=
2021-09-11 23:14:01,072: DEBUG - + length=20
2021-09-11 23:14:01,072: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-09-11 23:14:01,073: DEBUG - + timeout=300
2021-09-11 23:14:01,073: DEBUG - + '[' reload == stop ']'
2021-09-11 23:14:01,074: DEBUG - + [[ -n '' ]]
2021-09-11 23:14:01,074: DEBUG - + '[' reload == reload ']'
2021-09-11 23:14:01,075: DEBUG - + action=reload-or-restart
2021-09-11 23:14:01,075: DEBUG - + systemctl reload-or-restart nginx
2021-09-11 23:14:01,229: DEBUG - + [[ -n '' ]]
2021-09-11 23:14:01,422: DEBUG - + echo '[####################] > Installation of Jirafeau completed'
2021-09-11 23:14:01,424: INFO - [####################] > Installation of Jirafeau completed
2021-09-11 23:14:01,425: DEBUG - + ynh_exit_properly
2021-09-11 23:14:01,425: DEBUG - + local exit_code=0
2021-09-11 23:14:01,426: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-09-11 23:14:01,427: DEBUG - + '[' 0 -eq 0 ']'
2021-09-11 23:14:01,427: DEBUG - + exit 0
2021-09-11 23:14:02,430: DEBUG - Checking that required services are up and running...
2021-09-11 23:14:04,283: SUCCESS - Installation terminée
ericgaspar commented 3 years ago

No logs?...

prog-amateur2 commented 3 years ago

No logs?...

Hello, I have updated my first message with logs. Thank you for your support.

prog-amateur2 commented 3 years ago

Hello. So ! Finally, looking in /var/www/jirafeau/lib/config.local.php file, this was due to a ' character in the password section.

So, please either :