args: app: opensondage args: domain=maindomain.tld&path=%2Fdate&admin=francoisa&language=fr&is_public=1 force: false label: OpenSondage no_remove_on_failure: false ended_at: 2020-12-06 20:44:53.385740 env: YNH_APP_ARG_ADMIN: francoisa YNH_APP_ARG_DOMAIN: maindomain.tld YNH_APP_ARG_IS_PUBLIC: 1 YNH_APP_ARG_LANGUAGE: fr YNH_APP_ARG_PATH: /date YNH_APP_ID: opensondage YNH_APP_INSTANCE_NAME: opensondage YNH_APP_INSTANCE_NUMBER: '1' YNH_APP_MANIFEST_VERSION: 1.1.10~ynh1 error: "Cette action semble avoir cass\xE9 des services importants : php7.3-fpm" interface: api operation: app_install parent: null related_to: - - app - opensondage started_at: 2020-12-06 20:44:11.955827 success: false yunohost_version: 4.1.0 ============ 2020-12-06 21:44:11,966: INFO - Installation de opensondage... 2020-12-06 21:44:12,140: DEBUG - Permission 'opensondage.main' mise à jour 2020-12-06 21:44:12,262: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20201206-204412-permission_url-opensondage" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'opensondage' </a>' 2020-12-06 21:44:12,516: DEBUG - The permission database has been resynchronized 2020-12-06 21:44:12,661: DEBUG - La configuration de SSOwat a été regénérée 2020-12-06 21:44:12,791: DEBUG - Permission 'opensondage.main' créée 2020-12-06 21:44:12,792: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20201206-204411-permission_create-opensondage" style="text-decoration:underline"> Créer permission 'opensondage' </a>' 2020-12-06 21:44:12,805: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr YNH_APP_MANIFEST_VERSION='1.1.10~ynh1' YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpEdMDne/stdinfo YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=opensondage YNH_APP_ARG_ADMIN=francoisa YNH_INTERFACE=api YNH_APP_ID=opensondage YNH_APP_ARG_PATH=/date YNH_STDRETURN=/tmp/tmppqTsXF/stdreturn YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /date francoisa fr 1 opensondage 7>&1' 2020-12-06 21:44:12,829: DEBUG - + source _common.sh 2020-12-06 21:44:12,830: DEBUG - + source /usr/share/yunohost/helpers 2020-12-06 21:44:12,830: DEBUG - +++ grep xtrace 2020-12-06 21:44:12,830: DEBUG - +++ set +o 2020-12-06 21:44:12,831: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace' 2020-12-06 21:44:12,831: DEBUG - ++ XTRACE_ENABLE='set -o xtrace' 2020-12-06 21:44:12,931: DEBUG - + ynh_abort_if_errors 2020-12-06 21:44:12,932: DEBUG - + set -o errexit 2020-12-06 21:44:12,932: DEBUG - + set -o nounset 2020-12-06 21:44:12,932: DEBUG - + trap ynh_exit_properly EXIT 2020-12-06 21:44:12,932: DEBUG - + domain=maindomain.tld 2020-12-06 21:44:12,932: DEBUG - + path_url=/date 2020-12-06 21:44:12,932: DEBUG - + admin=francoisa 2020-12-06 21:44:12,933: DEBUG - + language=fr 2020-12-06 21:44:12,933: DEBUG - + is_public=1 2020-12-06 21:44:12,933: DEBUG - + app=opensondage 2020-12-06 21:44:12,934: DEBUG - + echo '[....................] > Validating installation parameters...' 2020-12-06 21:44:12,934: DEBUG - + final_path=/var/www/opensondage 2020-12-06 21:44:12,934: DEBUG - + test '!' -e /var/www/opensondage 2020-12-06 21:44:12,935: DEBUG - + ynh_webpath_register --app=opensondage --domain=maindomain.tld --path_url=/date 2020-12-06 21:44:13,036: DEBUG - + yunohost app register-url opensondage maindomain.tld /date 2020-12-06 21:44:13,036: INFO - [....................] > Validating installation parameters... 2020-12-06 21:44:14,541: DEBUG - + echo '[++..................] > Storing installation settings...' 2020-12-06 21:44:14,541: DEBUG - + ynh_app_setting_set --app=opensondage --key=domain --value=maindomain.tld 2020-12-06 21:44:14,643: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:14,643: INFO - [++..................] > Storing installation settings... 2020-12-06 21:44:14,644: DEBUG - + ynh_app_setting set opensondage domain maindomain.tld 2020-12-06 21:44:14,644: DEBUG - + ACTION=set 2020-12-06 21:44:14,644: DEBUG - + APP=opensondage 2020-12-06 21:44:14,644: DEBUG - + KEY=domain 2020-12-06 21:44:14,644: DEBUG - + VALUE=maindomain.tld 2020-12-06 21:44:14,645: DEBUG - + python2.7 - 2020-12-06 21:44:14,745: DEBUG - + ynh_app_setting_set --app=opensondage --key=path --value=/date 2020-12-06 21:44:14,747: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:14,747: DEBUG - + ynh_app_setting set opensondage path /date 2020-12-06 21:44:14,747: DEBUG - + ACTION=set 2020-12-06 21:44:14,747: DEBUG - + APP=opensondage 2020-12-06 21:44:14,747: DEBUG - + KEY=path 2020-12-06 21:44:14,748: DEBUG - + VALUE=/date 2020-12-06 21:44:14,748: DEBUG - + python2.7 - 2020-12-06 21:44:14,848: DEBUG - + ynh_app_setting_set --app=opensondage --key=admin --value=francoisa 2020-12-06 21:44:14,850: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:14,850: DEBUG - + ynh_app_setting set opensondage admin francoisa 2020-12-06 21:44:14,850: DEBUG - + ACTION=set 2020-12-06 21:44:14,850: DEBUG - + APP=opensondage 2020-12-06 21:44:14,850: DEBUG - + KEY=admin 2020-12-06 21:44:14,850: DEBUG - + VALUE=francoisa 2020-12-06 21:44:14,851: DEBUG - + python2.7 - 2020-12-06 21:44:14,951: DEBUG - + ynh_app_setting_set --app=opensondage --key=language --value=fr 2020-12-06 21:44:15,053: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:15,053: DEBUG - + ynh_app_setting set opensondage language fr 2020-12-06 21:44:15,053: DEBUG - + ACTION=set 2020-12-06 21:44:15,053: DEBUG - + APP=opensondage 2020-12-06 21:44:15,054: DEBUG - + KEY=language 2020-12-06 21:44:15,054: DEBUG - + VALUE=fr 2020-12-06 21:44:15,054: DEBUG - + python2.7 - 2020-12-06 21:44:15,154: DEBUG - + ynh_app_setting_set --app=opensondage --key=is_public --value=1 2020-12-06 21:44:15,156: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:15,156: DEBUG - + ynh_app_setting set opensondage is_public 1 2020-12-06 21:44:15,156: DEBUG - + ACTION=set 2020-12-06 21:44:15,157: DEBUG - + APP=opensondage 2020-12-06 21:44:15,157: DEBUG - + KEY=is_public 2020-12-06 21:44:15,157: DEBUG - + VALUE=1 2020-12-06 21:44:15,157: DEBUG - + python2.7 - 2020-12-06 21:44:15,258: DEBUG - + echo '[##+.................] > Installing dependencies...3' 2020-12-06 21:44:15,259: DEBUG - + ynh_install_app_dependencies php-fpdf php-cli php-xml 2020-12-06 21:44:15,259: DEBUG - + local 'dependencies=php-fpdf php-cli php-xml' 2020-12-06 21:44:15,259: DEBUG - ++ echo 'php-fpdf php-cli php-xml' 2020-12-06 21:44:15,259: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g' 2020-12-06 21:44:15,259: DEBUG - + dependencies='php-fpdf, php-cli, php-xml' 2020-12-06 21:44:15,259: DEBUG - + local 'dependencies=php-fpdf, php-cli, php-xml' 2020-12-06 21:44:15,260: DEBUG - + local manifest_path=../manifest.json 2020-12-06 21:44:15,260: DEBUG - + '[' '!' -e ../manifest.json ']' 2020-12-06 21:44:15,260: DEBUG - ++ grep '\"version\": ' ../manifest.json 2020-12-06 21:44:15,260: DEBUG - ++ cut '--delimiter="' --fields=4 2020-12-06 21:44:15,260: DEBUG - + local version=1.1.10~ynh1 2020-12-06 21:44:15,260: DEBUG - + '[' 11 -eq 0 ']' 2020-12-06 21:44:15,261: DEBUG - + local dep_app=opensondage 2020-12-06 21:44:15,261: DEBUG - + [[ php-fpdf, php-cli, php-xml =~ [<=>] ]] 2020-12-06 21:44:15,261: DEBUG - + grep --quiet php 2020-12-06 21:44:15,261: DEBUG - + echo php-fpdf, php-cli, php-xml 2020-12-06 21:44:15,261: DEBUG - + grep php7.0 2020-12-06 21:44:15,261: DEBUG - + dpkg --list 2020-12-06 21:44:15,261: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9 2020-12-06 21:44:15,362: DEBUG - + grep --recursive --quiet '^ *deb.*sury' /etc/apt/sources.list /etc/apt/sources.list~ /etc/apt/sources.list.d 2020-12-06 21:44:15,362: INFO - [##+.................] > Installing dependencies...3 2020-12-06 21:44:15,363: DEBUG - + cat 2020-12-06 21:44:15,363: DEBUG - + ynh_package_install_from_equivs /tmp/opensondage-ynh-deps.control 2020-12-06 21:44:15,363: DEBUG - + local controlfile=/tmp/opensondage-ynh-deps.control 2020-12-06 21:44:15,363: DEBUG - ++ grep '^Package: ' /tmp/opensondage-ynh-deps.control 2020-12-06 21:44:15,363: DEBUG - ++ cut '--delimiter= ' --fields=2 2020-12-06 21:44:15,363: DEBUG - + local pkgname=opensondage-ynh-deps 2020-12-06 21:44:15,364: DEBUG - ++ grep '^Version: ' /tmp/opensondage-ynh-deps.control 2020-12-06 21:44:15,364: DEBUG - ++ cut '--delimiter= ' --fields=2 2020-12-06 21:44:15,364: DEBUG - + local pkgversion=1.1.10~ynh1 2020-12-06 21:44:15,364: DEBUG - + [[ -z opensondage-ynh-deps ]] 2020-12-06 21:44:15,364: DEBUG - + [[ -z 1.1.10~ynh1 ]] 2020-12-06 21:44:15,364: DEBUG - + ynh_package_update 2020-12-06 21:44:15,365: DEBUG - + ynh_apt update 2020-12-06 21:44:15,365: DEBUG - + ynh_wait_dpkg_free 2020-12-06 21:44:15,466: DEBUG - + return 0 2020-12-06 21:44:15,466: DEBUG - + LC_ALL=C 2020-12-06 21:44:15,466: DEBUG - + DEBIAN_FRONTEND=noninteractive 2020-12-06 21:44:15,466: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update 2020-12-06 21:44:15,667: DEBUG - Hit:1 http://ftp.debian.org/debian buster InRelease 2020-12-06 21:44:15,667: DEBUG - Hit:2 http://security.debian.org/debian-security buster/updates InRelease 2020-12-06 21:44:15,667: DEBUG - Hit:3 http://ftp.debian.org/debian buster-updates InRelease 2020-12-06 21:44:15,768: DEBUG - Get:4 http://forge.yunohost.org/debian buster InRelease [18.2 kB] 2020-12-06 21:44:15,768: DEBUG - Hit:5 https://packages.sury.org/php buster InRelease 2020-12-06 21:44:16,269: DEBUG - Fetched 18.2 kB in 1s (26.9 kB/s) 2020-12-06 21:44:17,071: DEBUG - Reading package lists... 2020-12-06 21:44:17,072: DEBUG - ++ mktemp --directory 2020-12-06 21:44:17,072: DEBUG - + local TMPDIR=/tmp/tmp.n7YQlLS3OY 2020-12-06 21:44:17,072: DEBUG - + echo 10 2020-12-06 21:44:17,072: DEBUG - + ynh_wait_dpkg_free 2020-12-06 21:44:17,173: DEBUG - + return 0 2020-12-06 21:44:17,173: DEBUG - + cp /tmp/opensondage-ynh-deps.control /tmp/tmp.n7YQlLS3OY/control 2020-12-06 21:44:17,173: DEBUG - + cd /tmp/tmp.n7YQlLS3OY 2020-12-06 21:44:17,173: DEBUG - + LC_ALL=C 2020-12-06 21:44:17,174: DEBUG - + equivs-build ./control 2020-12-06 21:44:18,076: DEBUG - + LC_ALL=C 2020-12-06 21:44:18,076: DEBUG - + dpkg --force-depends --install ./opensondage-ynh-deps_1.1.10~ynh1_all.deb 2020-12-06 21:44:18,076: DEBUG - + tee ./dpkg_log 2020-12-06 21:44:18,076: DEBUG - Selecting previously unselected package opensondage-ynh-deps. 2020-12-06 21:44:18,177: DEBUG - (Reading database ... 71998 files and directories currently installed.) 2020-12-06 21:44:18,177: DEBUG - Preparing to unpack .../opensondage-ynh-deps_1.1.10~ynh1_all.deb ... 2020-12-06 21:44:18,177: DEBUG - Unpacking opensondage-ynh-deps (1.1.10~ynh1) ... 2020-12-06 21:44:18,278: DEBUG - dpkg: opensondage-ynh-deps: dependency problems, but configuring anyway as you requested: 2020-12-06 21:44:18,278: DEBUG - opensondage-ynh-deps depends on php-fpdf; however: 2020-12-06 21:44:18,278: DEBUG - Package php-fpdf is not installed. 2020-12-06 21:44:18,278: DEBUG - 2020-12-06 21:44:18,278: DEBUG - Setting up opensondage-ynh-deps (1.1.10~ynh1) ... 2020-12-06 21:44:18,379: DEBUG - + ynh_package_install --fix-broken 2020-12-06 21:44:18,379: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken 2020-12-06 21:44:18,379: DEBUG - + ynh_wait_dpkg_free 2020-12-06 21:44:18,480: DEBUG - + return 0 2020-12-06 21:44:18,480: DEBUG - + LC_ALL=C 2020-12-06 21:44:18,481: DEBUG - + DEBIAN_FRONTEND=noninteractive 2020-12-06 21:44:18,481: 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 2020-12-06 21:44:18,681: DEBUG - Reading package lists... 2020-12-06 21:44:18,782: DEBUG - Building dependency tree... 2020-12-06 21:44:18,782: DEBUG - Reading state information... 2020-12-06 21:44:18,883: DEBUG - Correcting dependencies... Done 2020-12-06 21:44:18,983: DEBUG - The following package was automatically installed and is no longer required: 2020-12-06 21:44:18,984: DEBUG - linux-image-4.19.0-11-amd64 2020-12-06 21:44:18,984: DEBUG - Use 'apt autoremove' to remove it. 2020-12-06 21:44:18,984: DEBUG - The following additional packages will be installed: 2020-12-06 21:44:18,984: DEBUG - php-fpdf 2020-12-06 21:44:18,984: DEBUG - Suggested packages: 2020-12-06 21:44:18,985: DEBUG - ttf2pt1 2020-12-06 21:44:18,985: DEBUG - The following NEW packages will be installed: 2020-12-06 21:44:18,985: DEBUG - php-fpdf 2020-12-06 21:44:19,185: DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 2020-12-06 21:44:19,186: DEBUG - Need to get 70.6 kB of archives. 2020-12-06 21:44:19,186: DEBUG - After this operation, 461 kB of additional disk space will be used. 2020-12-06 21:44:19,186: DEBUG - Get:1 http://ftp.debian.org/debian buster/main amd64 php-fpdf all 3:1.8.1.dfsg-2 [70.6 kB] 2020-12-06 21:44:19,888: DEBUG - Fetched 70.6 kB in 0s (179 kB/s) 2020-12-06 21:44:19,988: DEBUG - Selecting previously unselected package php-fpdf. 2020-12-06 21:44:19,989: DEBUG - (Reading database ... 72002 files and directories currently installed.) 2020-12-06 21:44:19,989: DEBUG - Preparing to unpack .../php-fpdf_3%3a1.8.1.dfsg-2_all.deb ... 2020-12-06 21:44:19,989: DEBUG - Unpacking php-fpdf (3:1.8.1.dfsg-2) ... 2020-12-06 21:44:20,290: DEBUG - Setting up php-fpdf (3:1.8.1.dfsg-2) ... 2020-12-06 21:44:20,591: DEBUG - + [[ -n /tmp/tmp.n7YQlLS3OY ]] 2020-12-06 21:44:20,591: DEBUG - + rm --recursive --force /tmp/tmp.n7YQlLS3OY 2020-12-06 21:44:20,591: DEBUG - + ynh_package_is_installed opensondage-ynh-deps 2020-12-06 21:44:20,593: DEBUG - + ynh_wait_dpkg_free 2020-12-06 21:44:20,693: DEBUG - + return 0 2020-12-06 21:44:20,694: DEBUG - + dpkg-query --show '--showformat=${Status}' opensondage-ynh-deps 2020-12-06 21:44:20,694: DEBUG - + grep --count 'ok installed' 2020-12-06 21:44:20,694: DEBUG - + rm /tmp/opensondage-ynh-deps.control 2020-12-06 21:44:20,694: DEBUG - + ynh_app_setting_set --app=opensondage --key=apt_dependencies '--value=php-fpdf, php-cli, php-xml' 2020-12-06 21:44:20,796: DEBUG - + [[ apt_dependencies =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:20,796: DEBUG - + ynh_app_setting set opensondage apt_dependencies 'php-fpdf, php-cli, php-xml' 2020-12-06 21:44:20,797: DEBUG - + ACTION=set 2020-12-06 21:44:20,797: DEBUG - + APP=opensondage 2020-12-06 21:44:20,797: DEBUG - + KEY=apt_dependencies 2020-12-06 21:44:20,797: DEBUG - + VALUE='php-fpdf, php-cli, php-xml' 2020-12-06 21:44:20,797: DEBUG - + python2.7 - 2020-12-06 21:44:20,899: DEBUG - + echo '[###++...............] > Creating a MySQL database...' 2020-12-06 21:44:20,899: DEBUG - ++ ynh_sanitize_dbid --db_name=opensondage 2020-12-06 21:44:20,900: DEBUG - ++ echo opensondage 2020-12-06 21:44:20,900: DEBUG - + db_name=opensondage 2020-12-06 21:44:20,900: DEBUG - + ynh_app_setting_set --app=opensondage --key=db_name --value=opensondage 2020-12-06 21:44:21,002: DEBUG - + [[ db_name =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:21,002: INFO - [###++...............] > Creating a MySQL database... 2020-12-06 21:44:21,003: DEBUG - + ynh_app_setting set opensondage db_name opensondage 2020-12-06 21:44:21,003: DEBUG - + ACTION=set 2020-12-06 21:44:21,003: DEBUG - + APP=opensondage 2020-12-06 21:44:21,003: DEBUG - + KEY=db_name 2020-12-06 21:44:21,004: DEBUG - + VALUE=opensondage 2020-12-06 21:44:21,004: DEBUG - + python2.7 - 2020-12-06 21:44:21,104: DEBUG - + ynh_mysql_setup_db --db_user=opensondage --db_name=opensondage 2020-12-06 21:44:21,105: DEBUG - + db_pwd= 2020-12-06 21:44:21,106: DEBUG - ++ ynh_string_random 2020-12-06 21:44:21,107: DEBUG - ++ length=24 2020-12-06 21:44:21,107: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000 2020-12-06 21:44:21,107: DEBUG - ++ tr --complement --delete A-Za-z0-9 2020-12-06 21:44:21,107: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p' 2020-12-06 21:44:21,108: DEBUG - + local new_db_pwd=********** 2020-12-06 21:44:21,108: DEBUG - + db_pwd=********** 2020-12-06 21:44:21,108: DEBUG - + ynh_mysql_create_db opensondage opensondage ********** 2020-12-06 21:44:21,108: DEBUG - + local db=opensondage 2020-12-06 21:44:21,108: DEBUG - + local 'sql=CREATE DATABASE opensondage;' 2020-12-06 21:44:21,108: DEBUG - + [[ 3 -gt 1 ]] 2020-12-06 21:44:21,108: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON opensondage.* TO '\''opensondage'\''@'\''localhost'\''' 2020-12-06 21:44:21,109: DEBUG - + [[ -n ********** ]] 2020-12-06 21:44:21,109: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\''' 2020-12-06 21:44:21,109: DEBUG - + sql+=' WITH GRANT OPTION;' 2020-12-06 21:44:21,109: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE opensondage; GRANT ALL PRIVILEGES ON opensondage.* TO '\''opensondage'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;' 2020-12-06 21:44:21,111: DEBUG - + database= 2020-12-06 21:44:21,111: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:21,111: DEBUG - ++ cat /etc/yunohost/mysql 2020-12-06 21:44:21,111: DEBUG - + ynh_mysql_connect_as --user=root --password=********** 2020-12-06 21:44:21,213: DEBUG - + database= 2020-12-06 21:44:21,213: DEBUG - + mysql --user=root --password=********** --batch '' 2020-12-06 21:44:21,213: DEBUG - + ynh_app_setting_set --app=opensondage --key=mysqlpwd --value=********** 2020-12-06 21:44:21,215: DEBUG - + [[ mysqlpwd =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:21,215: DEBUG - + ynh_app_setting set opensondage mysqlpwd ********** 2020-12-06 21:44:21,215: DEBUG - + ACTION=set 2020-12-06 21:44:21,215: DEBUG - + APP=opensondage 2020-12-06 21:44:21,216: DEBUG - + KEY=mysqlpwd 2020-12-06 21:44:21,216: DEBUG - + VALUE=********** 2020-12-06 21:44:21,216: DEBUG - + python2.7 - 2020-12-06 21:44:21,417: INFO - [#####+++............] > Setting up source files... 2020-12-06 21:44:21,418: DEBUG - + echo '[#####+++............] > Setting up source files...' 2020-12-06 21:44:21,418: DEBUG - + ynh_app_setting_set --app=opensondage --key=final_path --value=/var/www/opensondage 2020-12-06 21:44:21,420: DEBUG - + [[ final_path =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:21,420: DEBUG - + ynh_app_setting set opensondage final_path /var/www/opensondage 2020-12-06 21:44:21,420: DEBUG - + ACTION=set 2020-12-06 21:44:21,420: DEBUG - + APP=opensondage 2020-12-06 21:44:21,421: DEBUG - + KEY=final_path 2020-12-06 21:44:21,421: DEBUG - + VALUE=/var/www/opensondage 2020-12-06 21:44:21,421: DEBUG - + python2.7 - 2020-12-06 21:44:21,521: DEBUG - + ynh_setup_source --dest_dir=/var/www/opensondage 2020-12-06 21:44:21,523: DEBUG - + source_id=app 2020-12-06 21:44:21,523: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,523: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/app.src ']' 2020-12-06 21:44:21,523: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,523: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,524: DEBUG - + local src_url=https://framagit.org/framasoft/framadate/framadate/-/archive/1.1.10/framadate-1.1.10.tar.gz 2020-12-06 21:44:21,524: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,524: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,524: DEBUG - + local src_sum=ea9ab8bd713da17dc7e5d6ddd782ce704184a3189888ed837ba8e59ee7b6fa5f 2020-12-06 21:44:21,524: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,625: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,625: DEBUG - + local src_sumprg=sha256sum 2020-12-06 21:44:21,625: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,625: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,625: DEBUG - + local src_format=tar.gz 2020-12-06 21:44:21,626: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,626: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,626: DEBUG - + local src_extract= 2020-12-06 21:44:21,626: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,626: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,626: DEBUG - + local src_in_subdir=true 2020-12-06 21:44:21,627: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/app.src 2020-12-06 21:44:21,627: DEBUG - ++ cut --delimiter== --fields=2- 2020-12-06 21:44:21,627: DEBUG - + local src_filename=opensondage-1-1-10.tar.gz 2020-12-06 21:44:21,627: DEBUG - + src_sumprg=sha256sum 2020-12-06 21:44:21,627: DEBUG - + src_in_subdir=true 2020-12-06 21:44:21,627: DEBUG - + src_format=tar.gz 2020-12-06 21:44:21,628: DEBUG - ++ echo tar.gz 2020-12-06 21:44:21,628: DEBUG - ++ tr '[:upper:]' '[:lower:]' 2020-12-06 21:44:21,628: DEBUG - + src_format=tar.gz 2020-12-06 21:44:21,628: DEBUG - + src_extract=true 2020-12-06 21:44:21,628: DEBUG - + '[' opensondage-1-1-10.tar.gz = '' ']' 2020-12-06 21:44:21,628: DEBUG - + local local_src=/opt/yunohost-apps-src/opensondage/opensondage-1-1-10.tar.gz 2020-12-06 21:44:21,628: DEBUG - + test -e /opt/yunohost-apps-src/opensondage/opensondage-1-1-10.tar.gz 2020-12-06 21:44:21,629: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=opensondage-1-1-10.tar.gz https://framagit.org/framasoft/framadate/framadate/-/archive/1.1.10/framadate-1.1.10.tar.gz 2020-12-06 21:44:32,752: DEBUG - + out='2020-12-06 21:44:32 URL:https://framagit.org/framasoft/framadate/framadate/-/archive/1.1.10/framadate-1.1.10.tar.gz [2937872] -> "opensondage-1-1-10.tar.gz" [1]' 2020-12-06 21:44:32,752: DEBUG - + sha256sum --check --status 2020-12-06 21:44:32,752: DEBUG - + echo 'ea9ab8bd713da17dc7e5d6ddd782ce704184a3189888ed837ba8e59ee7b6fa5f opensondage-1-1-10.tar.gz' 2020-12-06 21:44:32,752: DEBUG - + mkdir --parents /var/www/opensondage 2020-12-06 21:44:32,753: DEBUG - + true 2020-12-06 21:44:32,753: DEBUG - + '[' tar.gz = zip ']' 2020-12-06 21:44:32,753: DEBUG - + local strip= 2020-12-06 21:44:32,753: DEBUG - + '[' true '!=' false ']' 2020-12-06 21:44:32,753: DEBUG - + '[' true == true ']' 2020-12-06 21:44:32,753: DEBUG - + local sub_dirs=1 2020-12-06 21:44:32,753: DEBUG - + strip='--strip-components 1' 2020-12-06 21:44:32,754: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]] 2020-12-06 21:44:32,754: DEBUG - + tar --extract --file=opensondage-1-1-10.tar.gz --directory=/var/www/opensondage --strip-components 1 2020-12-06 21:44:32,854: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'app-*.patch' 2020-12-06 21:44:32,854: DEBUG - ++ wc --lines 2020-12-06 21:44:32,855: DEBUG - + (( 1 > 0 )) 2020-12-06 21:44:32,855: DEBUG - + cd /var/www/opensondage 2020-12-06 21:44:32,855: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch 2020-12-06 21:44:32,855: DEBUG - + patch --strip=1 2020-12-06 21:44:32,855: DEBUG - patching file app/classes/Framadate/Services/MailService.php 2020-12-06 21:44:32,856: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/app 2020-12-06 21:44:32,856: DEBUG - + echo '[########++..........] > Configuring nginx web server...' 2020-12-06 21:44:32,857: DEBUG - + ynh_add_nginx_config 2020-12-06 21:44:32,857: DEBUG - + finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:32,857: DEBUG - + local others_var= 2020-12-06 21:44:32,857: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:32,858: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 2020-12-06 21:44:32,858: DEBUG - ++ ynh_app_setting_get --app=opensondage --key=checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 2020-12-06 21:44:32,960: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:32,960: INFO - [########++..........] > Configuring nginx web server... 2020-12-06 21:44:32,961: DEBUG - ++ ynh_app_setting get opensondage checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 2020-12-06 21:44:32,961: DEBUG - ++ ACTION=get 2020-12-06 21:44:32,961: DEBUG - ++ APP=opensondage 2020-12-06 21:44:32,961: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 2020-12-06 21:44:32,961: DEBUG - ++ VALUE= 2020-12-06 21:44:32,962: DEBUG - ++ python2.7 - 2020-12-06 21:44:33,062: DEBUG - + local checksum_value= 2020-12-06 21:44:33,062: DEBUG - + backup_file_checksum= 2020-12-06 21:44:33,062: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:33,063: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,063: DEBUG - + test -n /date 2020-12-06 21:44:33,063: DEBUG - + local path_url_slash_less=/date 2020-12-06 21:44:33,063: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/date/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,065: DEBUG - + local delimit=@ 2020-12-06 21:44:33,065: DEBUG - + match_string=__PATH__/ 2020-12-06 21:44:33,065: DEBUG - + replace_string=/date/ 2020-12-06 21:44:33,065: DEBUG - + sed --in-place s@__PATH__/@/date/@g /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,065: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/date --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,167: DEBUG - + local delimit=@ 2020-12-06 21:44:33,167: DEBUG - + match_string=__PATH__ 2020-12-06 21:44:33,167: DEBUG - + replace_string=/date 2020-12-06 21:44:33,167: DEBUG - + sed --in-place s@__PATH__@/date@g /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,168: DEBUG - + test -n maindomain.tld 2020-12-06 21:44:33,168: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,169: DEBUG - + local delimit=@ 2020-12-06 21:44:33,169: DEBUG - + match_string=__DOMAIN__ 2020-12-06 21:44:33,170: DEBUG - + replace_string=maindomain.tld 2020-12-06 21:44:33,170: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,170: DEBUG - + test -n '' 2020-12-06 21:44:33,170: DEBUG - + test -n opensondage 2020-12-06 21:44:33,170: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=opensondage --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,272: DEBUG - + local delimit=@ 2020-12-06 21:44:33,273: DEBUG - + match_string=__NAME__ 2020-12-06 21:44:33,273: DEBUG - + replace_string=opensondage 2020-12-06 21:44:33,273: DEBUG - + sed --in-place s@__NAME__@opensondage@g /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,273: DEBUG - + test -n /var/www/opensondage 2020-12-06 21:44:33,273: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/opensondage --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,275: DEBUG - + local delimit=@ 2020-12-06 21:44:33,275: DEBUG - + match_string=__FINALPATH__ 2020-12-06 21:44:33,275: DEBUG - + replace_string=/var/www/opensondage 2020-12-06 21:44:33,275: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/opensondage@g /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,376: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,377: DEBUG - + local delimit=@ 2020-12-06 21:44:33,377: DEBUG - + match_string=__PHPVERSION__ 2020-12-06 21:44:33,377: DEBUG - + replace_string=7.3 2020-12-06 21:44:33,378: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,378: DEBUG - + '[' /date '!=' / ']' 2020-12-06 21:44:33,378: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,480: DEBUG - + local delimit=@ 2020-12-06 21:44:33,480: DEBUG - + match_string='^#sub_path_only' 2020-12-06 21:44:33,480: DEBUG - + replace_string= 2020-12-06 21:44:33,480: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,480: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,482: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 2020-12-06 21:44:33,482: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/opensondage.conf 2020-12-06 21:44:33,482: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-12-06 21:44:33,482: DEBUG - + ynh_app_setting_set --app=opensondage --key=checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf --value=6d52956c25c79b82f6dcaabd38b0e09a 2020-12-06 21:44:33,484: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:33,484: DEBUG - + ynh_app_setting set opensondage checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 6d52956c25c79b82f6dcaabd38b0e09a 2020-12-06 21:44:33,484: DEBUG - + ACTION=set 2020-12-06 21:44:33,484: DEBUG - + APP=opensondage 2020-12-06 21:44:33,484: DEBUG - + KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_opensondage.conf 2020-12-06 21:44:33,484: DEBUG - + VALUE=6d52956c25c79b82f6dcaabd38b0e09a 2020-12-06 21:44:33,485: DEBUG - + python2.7 - 2020-12-06 21:44:33,585: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:33,585: DEBUG - + unset backup_file_checksum 2020-12-06 21:44:33,585: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2020-12-06 21:44:33,687: DEBUG - + service_name=nginx 2020-12-06 21:44:33,688: DEBUG - + action=reload 2020-12-06 21:44:33,688: DEBUG - + line_match= 2020-12-06 21:44:33,688: DEBUG - + length=20 2020-12-06 21:44:33,688: DEBUG - + log_path=/var/log/nginx/nginx.log 2020-12-06 21:44:33,688: DEBUG - + timeout=300 2020-12-06 21:44:33,689: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:33,689: DEBUG - + '[' reload == reload ']' 2020-12-06 21:44:33,689: DEBUG - + action=reload-or-restart 2020-12-06 21:44:33,689: DEBUG - + systemctl reload-or-restart nginx 2020-12-06 21:44:33,689: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:33,791: DEBUG - + echo '[##########+.........] > Configuring system user...' 2020-12-06 21:44:33,791: DEBUG - + ynh_system_user_create --username=opensondage 2020-12-06 21:44:33,792: DEBUG - + use_shell=0 2020-12-06 21:44:33,793: DEBUG - + home_dir= 2020-12-06 21:44:33,793: DEBUG - + ynh_system_user_exists opensondage 2020-12-06 21:44:33,894: INFO - [##########+.........] > Configuring system user... 2020-12-06 21:44:33,895: DEBUG - + getent passwd opensondage 2020-12-06 21:44:33,895: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:33,895: DEBUG - + local user_home_dir=--no-create-home 2020-12-06 21:44:33,895: DEBUG - + '[' 0 -eq 1 ']' 2020-12-06 21:44:33,896: DEBUG - + local 'shell=--shell /usr/sbin/nologin' 2020-12-06 21:44:33,896: DEBUG - + useradd --no-create-home --system --user-group opensondage --shell /usr/sbin/nologin 2020-12-06 21:44:33,997: DEBUG - + echo '[###########++.......] > Configuring php-fpm...' 2020-12-06 21:44:33,997: DEBUG - + ynh_add_fpm_config 2020-12-06 21:44:33,999: DEBUG - + package= 2020-12-06 21:44:34,000: DEBUG - + use_template=1 2020-12-06 21:44:34,000: DEBUG - + usage= 2020-12-06 21:44:34,000: DEBUG - + footprint= 2020-12-06 21:44:34,000: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:34,000: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:34,000: DEBUG - + dedicated_service=0 2020-12-06 21:44:34,000: DEBUG - + phpversion=7.3 2020-12-06 21:44:34,001: DEBUG - + '[' 7.3 '!=' 7.3 ']' 2020-12-06 21:44:34,001: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:34,001: DEBUG - + '[' 0 -eq 1 ']' 2020-12-06 21:44:34,001: DEBUG - + local fpm_service=php7.3-fpm 2020-12-06 21:44:34,001: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm 2020-12-06 21:44:34,001: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d 2020-12-06 21:44:34,001: DEBUG - + ynh_app_setting_set --app=opensondage --key=fpm_config_dir --value=/etc/php/7.3/fpm 2020-12-06 21:44:34,103: DEBUG - + [[ fpm_config_dir =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:34,104: INFO - [###########++.......] > Configuring php-fpm... 2020-12-06 21:44:34,104: DEBUG - + ynh_app_setting set opensondage fpm_config_dir /etc/php/7.3/fpm 2020-12-06 21:44:34,104: DEBUG - + ACTION=set 2020-12-06 21:44:34,104: DEBUG - + APP=opensondage 2020-12-06 21:44:34,104: DEBUG - + KEY=fpm_config_dir 2020-12-06 21:44:34,105: DEBUG - + VALUE=/etc/php/7.3/fpm 2020-12-06 21:44:34,105: DEBUG - + python2.7 - 2020-12-06 21:44:34,205: DEBUG - + ynh_app_setting_set --app=opensondage --key=fpm_service --value=php7.3-fpm 2020-12-06 21:44:34,207: DEBUG - + [[ fpm_service =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:34,207: DEBUG - + ynh_app_setting set opensondage fpm_service php7.3-fpm 2020-12-06 21:44:34,207: DEBUG - + ACTION=set 2020-12-06 21:44:34,207: DEBUG - + APP=opensondage 2020-12-06 21:44:34,207: DEBUG - + KEY=fpm_service 2020-12-06 21:44:34,208: DEBUG - + VALUE=php7.3-fpm 2020-12-06 21:44:34,208: DEBUG - + python2.7 - 2020-12-06 21:44:34,308: DEBUG - + ynh_app_setting_set --app=opensondage --key=fpm_dedicated_service --value=0 2020-12-06 21:44:34,410: DEBUG - + [[ fpm_dedicated_service =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:34,410: DEBUG - + ynh_app_setting set opensondage fpm_dedicated_service 0 2020-12-06 21:44:34,410: DEBUG - + ACTION=set 2020-12-06 21:44:34,411: DEBUG - + APP=opensondage 2020-12-06 21:44:34,411: DEBUG - + KEY=fpm_dedicated_service 2020-12-06 21:44:34,411: DEBUG - + VALUE=0 2020-12-06 21:44:34,411: DEBUG - + python2.7 - 2020-12-06 21:44:34,512: DEBUG - + ynh_app_setting_set --app=opensondage --key=phpversion --value=7.3 2020-12-06 21:44:34,513: DEBUG - + [[ phpversion =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:34,513: DEBUG - + ynh_app_setting set opensondage phpversion 7.3 2020-12-06 21:44:34,513: DEBUG - + ACTION=set 2020-12-06 21:44:34,514: DEBUG - + APP=opensondage 2020-12-06 21:44:34,514: DEBUG - + KEY=phpversion 2020-12-06 21:44:34,514: DEBUG - + VALUE=7.3 2020-12-06 21:44:34,514: DEBUG - + python2.7 - 2020-12-06 21:44:34,614: DEBUG - + finalphpconf=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,615: DEBUG - + '[' 0 -eq 1 ']' 2020-12-06 21:44:34,615: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,616: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 2020-12-06 21:44:34,616: DEBUG - ++ ynh_app_setting_get --app=opensondage --key=checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 2020-12-06 21:44:34,617: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_opensondage.conf =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:34,618: DEBUG - ++ ynh_app_setting get opensondage checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 2020-12-06 21:44:34,618: DEBUG - ++ ACTION=get 2020-12-06 21:44:34,618: DEBUG - ++ APP=opensondage 2020-12-06 21:44:34,618: DEBUG - ++ KEY=checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 2020-12-06 21:44:34,618: DEBUG - ++ VALUE= 2020-12-06 21:44:34,618: DEBUG - ++ python2.7 - 2020-12-06 21:44:34,719: DEBUG - + local checksum_value= 2020-12-06 21:44:34,719: DEBUG - + backup_file_checksum= 2020-12-06 21:44:34,719: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:34,719: DEBUG - + '[' 1 -eq 1 ']' 2020-12-06 21:44:34,720: DEBUG - + local phpfpm_path=../conf/php-fpm.conf 2020-12-06 21:44:34,720: DEBUG - + '[' '!' -e ../conf/php-fpm.conf ']' 2020-12-06 21:44:34,720: DEBUG - + '[' -e ../conf/php-fpm.conf ']' 2020-12-06 21:44:34,720: DEBUG - + cp ../conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,720: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=opensondage --target_file=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,822: DEBUG - + local delimit=@ 2020-12-06 21:44:34,822: DEBUG - + match_string=__NAMETOCHANGE__ 2020-12-06 21:44:34,822: DEBUG - + replace_string=opensondage 2020-12-06 21:44:34,822: DEBUG - + sed --in-place s@__NAMETOCHANGE__@opensondage@g /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,823: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/opensondage --target_file=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,824: DEBUG - + local delimit=@ 2020-12-06 21:44:34,824: DEBUG - + match_string=__FINALPATH__ 2020-12-06 21:44:34,824: DEBUG - + replace_string=/var/www/opensondage 2020-12-06 21:44:34,825: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/opensondage@g /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,825: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=opensondage --target_file=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,926: DEBUG - + local delimit=@ 2020-12-06 21:44:34,927: DEBUG - + match_string=__USER__ 2020-12-06 21:44:34,927: DEBUG - + replace_string=opensondage 2020-12-06 21:44:34,927: DEBUG - + sed --in-place s@__USER__@opensondage@g /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:34,927: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:35,029: DEBUG - + local delimit=@ 2020-12-06 21:44:35,029: DEBUG - + match_string=__PHPVERSION__ 2020-12-06 21:44:35,029: DEBUG - + replace_string=7.3 2020-12-06 21:44:35,029: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:35,030: DEBUG - + chown root: /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:35,030: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:35,031: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 2020-12-06 21:44:35,031: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/opensondage.conf 2020-12-06 21:44:35,031: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-12-06 21:44:35,031: DEBUG - + ynh_app_setting_set --app=opensondage --key=checksum__etc_php_7.3_fpm_pool.d_opensondage.conf --value=1ff80a77384a1ea5d17653336bef73f0 2020-12-06 21:44:35,033: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_opensondage.conf =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:35,033: DEBUG - + ynh_app_setting set opensondage checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 1ff80a77384a1ea5d17653336bef73f0 2020-12-06 21:44:35,033: DEBUG - + ACTION=set 2020-12-06 21:44:35,033: DEBUG - + APP=opensondage 2020-12-06 21:44:35,033: DEBUG - + KEY=checksum__etc_php_7.3_fpm_pool.d_opensondage.conf 2020-12-06 21:44:35,034: DEBUG - + VALUE=1ff80a77384a1ea5d17653336bef73f0 2020-12-06 21:44:35,034: DEBUG - + python2.7 - 2020-12-06 21:44:35,134: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:35,134: DEBUG - + unset backup_file_checksum 2020-12-06 21:44:35,135: DEBUG - + '[' -e ../conf/php-fpm.ini ']' 2020-12-06 21:44:35,135: DEBUG - + '[' 0 -eq 1 ']' 2020-12-06 21:44:35,135: DEBUG - + php-fpm7.3 --test 2020-12-06 21:44:35,335: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload 2020-12-06 21:44:35,338: DEBUG - + service_name=php7.3-fpm 2020-12-06 21:44:35,338: DEBUG - + action=reload 2020-12-06 21:44:35,338: DEBUG - + line_match= 2020-12-06 21:44:35,346: DEBUG - + length=20 2020-12-06 21:44:35,346: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log 2020-12-06 21:44:35,347: DEBUG - + timeout=300 2020-12-06 21:44:35,347: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:35,347: DEBUG - + '[' reload == reload ']' 2020-12-06 21:44:35,347: DEBUG - + action=reload-or-restart 2020-12-06 21:44:35,347: DEBUG - + systemctl reload-or-restart php7.3-fpm 2020-12-06 21:44:35,348: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:35,348: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload 2020-12-06 21:44:35,450: DEBUG - + service_name=php7.3-fpm 2020-12-06 21:44:35,450: DEBUG - + action=reload 2020-12-06 21:44:35,451: DEBUG - + line_match= 2020-12-06 21:44:35,451: DEBUG - + length=20 2020-12-06 21:44:35,451: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log 2020-12-06 21:44:35,451: DEBUG - + timeout=300 2020-12-06 21:44:35,451: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:35,451: DEBUG - + '[' reload == reload ']' 2020-12-06 21:44:35,452: DEBUG - + action=reload-or-restart 2020-12-06 21:44:35,452: DEBUG - + systemctl reload-or-restart php7.3-fpm 2020-12-06 21:44:35,452: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:35,553: DEBUG - + echo '[#############++.....] > Configuring opensondage...' 2020-12-06 21:44:35,554: DEBUG - + config=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:35,554: DEBUG - ++ ynh_user_get_info --username=francoisa --key=mail 2020-12-06 21:44:35,555: DEBUG - ++ yunohost user info francoisa --output-as plain 2020-12-06 21:44:35,555: DEBUG - ++ ynh_get_plain_key mail 2020-12-06 21:44:35,555: DEBUG - ++ local prefix=# 2020-12-06 21:44:35,556: DEBUG - ++ local founded=0 2020-12-06 21:44:35,556: DEBUG - ++ local key_=mail 2020-12-06 21:44:35,556: DEBUG - ++ shift 2020-12-06 21:44:35,556: DEBUG - ++ read line 2020-12-06 21:44:35,957: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,957: INFO - [#############++.....] > Configuring opensondage... 2020-12-06 21:44:35,958: DEBUG - ++ [[ #username =~ ^#mail$ ]] 2020-12-06 21:44:35,958: DEBUG - ++ read line 2020-12-06 21:44:35,958: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,958: DEBUG - ++ [[ francoisa =~ ^#mail$ ]] 2020-12-06 21:44:35,958: DEBUG - ++ read line 2020-12-06 21:44:35,959: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,959: DEBUG - ++ [[ #firstname =~ ^#mail$ ]] 2020-12-06 21:44:35,959: DEBUG - ++ read line 2020-12-06 21:44:35,959: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,959: DEBUG - ++ [[ FrancoisA =~ ^#mail$ ]] 2020-12-06 21:44:35,959: DEBUG - ++ read line 2020-12-06 21:44:35,959: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,960: DEBUG - ++ [[ #lastname =~ ^#mail$ ]] 2020-12-06 21:44:35,960: DEBUG - ++ read line 2020-12-06 21:44:35,960: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,960: DEBUG - ++ [[ Yunoaf-buster =~ ^#mail$ ]] 2020-12-06 21:44:35,960: DEBUG - ++ read line 2020-12-06 21:44:35,960: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,961: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]] 2020-12-06 21:44:35,961: DEBUG - ++ read line 2020-12-06 21:44:35,961: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,961: DEBUG - ++ [[ ##use =~ ^#mail$ ]] 2020-12-06 21:44:35,961: DEBUG - ++ read line 2020-12-06 21:44:35,961: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,961: DEBUG - ++ [[ 6.2M =~ ^#mail$ ]] 2020-12-06 21:44:35,962: DEBUG - ++ read line 2020-12-06 21:44:35,962: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,962: DEBUG - ++ [[ ##limit =~ ^#mail$ ]] 2020-12-06 21:44:35,962: DEBUG - ++ read line 2020-12-06 21:44:35,962: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,962: DEBUG - ++ [[ Pas de quota =~ ^#mail$ ]] 2020-12-06 21:44:35,963: DEBUG - ++ read line 2020-12-06 21:44:35,963: DEBUG - ++ [[ 0 == \1 ]] 2020-12-06 21:44:35,963: DEBUG - ++ [[ #mail =~ ^#mail$ ]] 2020-12-06 21:44:35,963: DEBUG - ++ [[ -n '' ]] 2020-12-06 21:44:35,963: DEBUG - ++ founded=1 2020-12-06 21:44:35,963: DEBUG - ++ read line 2020-12-06 21:44:35,964: DEBUG - ++ [[ 1 == \1 ]] 2020-12-06 21:44:35,964: DEBUG - ++ [[ francoisa@maindomain.tld =~ ^#[^#] ]] 2020-12-06 21:44:35,964: DEBUG - ++ echo francoisa@maindomain.tld 2020-12-06 21:44:35,964: DEBUG - ++ read line 2020-12-06 21:44:35,964: DEBUG - ++ [[ 1 == \1 ]] 2020-12-06 21:44:35,964: DEBUG - ++ [[ #fullname =~ ^#[^#] ]] 2020-12-06 21:44:35,964: DEBUG - ++ return 2020-12-06 21:44:35,965: DEBUG - + admin_mail=francoisa@maindomain.tld 2020-12-06 21:44:35,965: DEBUG - + cp ../conf/config.php /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:35,965: DEBUG - + ynh_replace_string --match_string=__DBUSER__ --replace_string=opensondage --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,067: DEBUG - + local delimit=@ 2020-12-06 21:44:36,067: DEBUG - + match_string=__DBUSER__ 2020-12-06 21:44:36,067: DEBUG - + replace_string=opensondage 2020-12-06 21:44:36,067: DEBUG - + sed --in-place s@__DBUSER__@opensondage@g /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,067: DEBUG - + ynh_replace_string --match_string=__DBPWD__ --replace_string=********** --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,169: DEBUG - + local delimit=@ 2020-12-06 21:44:36,169: DEBUG - + match_string=__DBPWD__ 2020-12-06 21:44:36,169: DEBUG - + replace_string=********** 2020-12-06 21:44:36,170: DEBUG - + sed --in-place s@__DBPWD__@**********@g /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,170: DEBUG - + ynh_replace_string --match_string=__DBNAME__ --replace_string=opensondage --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,171: DEBUG - + local delimit=@ 2020-12-06 21:44:36,171: DEBUG - + match_string=__DBNAME__ 2020-12-06 21:44:36,172: DEBUG - + replace_string=opensondage 2020-12-06 21:44:36,172: DEBUG - + sed --in-place s@__DBNAME__@opensondage@g /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,172: DEBUG - + ynh_replace_string --match_string=__ADMINMAIL__ --replace_string=francoisa@maindomain.tld --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,274: DEBUG - + local delimit=@ 2020-12-06 21:44:36,274: DEBUG - + match_string=__ADMINMAIL__ 2020-12-06 21:44:36,274: DEBUG - + replace_string='francoisa\@maindomain.tld' 2020-12-06 21:44:36,274: DEBUG - + sed --in-place 's@__ADMINMAIL__@francoisa\@maindomain.tld@g' /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,274: DEBUG - + ynh_replace_string --match_string=__LANGUAGE__ --replace_string=fr --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,376: DEBUG - + local delimit=@ 2020-12-06 21:44:36,376: DEBUG - + match_string=__LANGUAGE__ 2020-12-06 21:44:36,376: DEBUG - + replace_string=fr 2020-12-06 21:44:36,377: DEBUG - + sed --in-place s@__LANGUAGE__@fr@g /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,377: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,378: DEBUG - + local delimit=@ 2020-12-06 21:44:36,378: DEBUG - + match_string=__DOMAIN__ 2020-12-06 21:44:36,379: DEBUG - + replace_string=maindomain.tld 2020-12-06 21:44:36,379: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,379: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/date --target_file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,481: DEBUG - + local delimit=@ 2020-12-06 21:44:36,481: DEBUG - + match_string=__PATH__ 2020-12-06 21:44:36,481: DEBUG - + replace_string=/date 2020-12-06 21:44:36,482: DEBUG - + sed --in-place s@__PATH__@/date@g /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,482: DEBUG - + ynh_store_file_checksum --file=/var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,483: DEBUG - + local checksum_setting_name=checksum__var_www_opensondage_app_inc_config.php 2020-12-06 21:44:36,483: DEBUG - ++ md5sum /var/www/opensondage/app/inc/config.php 2020-12-06 21:44:36,483: DEBUG - ++ cut '--delimiter= ' --fields=1 2020-12-06 21:44:36,483: DEBUG - + ynh_app_setting_set --app=opensondage --key=checksum__var_www_opensondage_app_inc_config.php --value=e1145f752ed4da203344bddf2b21cabd 2020-12-06 21:44:36,585: DEBUG - + [[ checksum__var_www_opensondage_app_inc_config.php =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:36,585: DEBUG - + ynh_app_setting set opensondage checksum__var_www_opensondage_app_inc_config.php e1145f752ed4da203344bddf2b21cabd 2020-12-06 21:44:36,585: DEBUG - + ACTION=set 2020-12-06 21:44:36,586: DEBUG - + APP=opensondage 2020-12-06 21:44:36,586: DEBUG - + KEY=checksum__var_www_opensondage_app_inc_config.php 2020-12-06 21:44:36,586: DEBUG - + VALUE=e1145f752ed4da203344bddf2b21cabd 2020-12-06 21:44:36,586: DEBUG - + python2.7 - 2020-12-06 21:44:36,586: DEBUG - + '[' -n '' ']' 2020-12-06 21:44:36,586: DEBUG - + unset backup_file_checksum 2020-12-06 21:44:36,587: DEBUG - + cp ../img/logo.png /var/www/opensondage/images 2020-12-06 21:44:36,587: DEBUG - + touch /var/www/opensondage/admin/stdout.log 2020-12-06 21:44:36,688: DEBUG - + echo '[###############+....] > Initializing database...2' 2020-12-06 21:44:36,688: DEBUG - + ynh_install_composer 2020-12-06 21:44:36,689: DEBUG - + declare -Ar args_array 2020-12-06 21:44:36,690: DEBUG - + workdir=/var/www/opensondage 2020-12-06 21:44:36,690: DEBUG - + phpversion=7.3 2020-12-06 21:44:36,690: DEBUG - + curl -sS https://getcomposer.org/installer 2020-12-06 21:44:36,690: DEBUG - + COMPOSER_HOME=/var/www/opensondage/.composer 2020-12-06 21:44:36,690: DEBUG - + php7.3 -- --quiet --install-dir=/var/www/opensondage 2020-12-06 21:44:39,496: DEBUG - + ynh_composer_exec --phpversion=7.3 --workdir=/var/www/opensondage '--commands=install --no-dev' 2020-12-06 21:44:39,496: INFO - [###############+....] > Initializing database...2 2020-12-06 21:44:39,497: DEBUG - + declare -Ar args_array 2020-12-06 21:44:39,498: DEBUG - + workdir=/var/www/opensondage 2020-12-06 21:44:39,498: DEBUG - + phpversion=7.3 2020-12-06 21:44:39,499: DEBUG - + COMPOSER_HOME=/var/www/opensondage/.composer 2020-12-06 21:44:39,499: DEBUG - + php7.3 /var/www/opensondage/composer.phar install --no-dev -d /var/www/opensondage --quiet --no-interaction 2020-12-06 21:44:47,014: DEBUG - + ynh_exec_warn_less php7.3 /var/www/opensondage/admin/migration.php 2020-12-06 21:44:47,015: DEBUG - + eval php7.3 /var/www/opensondage/admin/migration.php 2020-12-06 21:44:47,015: DEBUG - ++ php7.3 /var/www/opensondage/admin/migration.php 2020-12-06 21:44:47,015: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:47,015: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:47,015: DEBUG - PHP Notice: Undefined index: SERVER_NAME in /var/www/opensondage/app/inc/smarty.php on line 32 2020-12-06 21:44:49,621: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,621: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,621: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,622: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,622: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,622: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,622: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,622: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,622: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,623: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,623: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,623: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,623: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,623: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,623: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,624: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,624: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,624: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,624: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,624: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,624: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,625: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,625: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,625: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,625: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,625: DEBUG - PHP Notice: Undefined index: SERVER_PORT in /var/www/opensondage/app/classes/Framadate/Utils.php on line 29 2020-12-06 21:44:49,625: DEBUG - <!DOCTYPE html> 2020-12-06 21:44:49,625: DEBUG - <html lang="fr"> 2020-12-06 21:44:49,626: DEBUG - <head> 2020-12-06 21:44:49,626: DEBUG - <meta charset="utf-8"> 2020-12-06 21:44:49,626: DEBUG - <meta name="viewport" content="width=device-width, initial-scale=1" /> 2020-12-06 21:44:49,626: DEBUG - 2020-12-06 21:44:49,626: DEBUG - <title>Migration - OpenSondage</title> 2020-12-06 21:44:49,626: DEBUG - <meta name="description" content="Framadate est un service en ligne permettant de planifier un rendez-vous ou prendre des décisions rapidement et simplement." /> 2020-12-06 21:44:49,627: DEBUG - 2020-12-06 21:44:49,627: DEBUG - 2020-12-06 21:44:49,627: DEBUG - <link rel="stylesheet" href="http://maindomain.tld:/var/www/opensondage/css/bootstrap.min.css"> 2020-12-06 21:44:49,627: DEBUG - <link rel="stylesheet" href="http://maindomain.tld:/var/www/opensondage/css/datepicker3.css"> 2020-12-06 21:44:49,627: DEBUG - <link rel="stylesheet" href="http://maindomain.tld:/var/www/opensondage/css/style.css"> 2020-12-06 21:44:49,627: DEBUG - <link rel="stylesheet" href="http://maindomain.tld:/var/www/opensondage/css/frama.css"> 2020-12-06 21:44:49,627: DEBUG - <link rel="stylesheet" href="http://maindomain.tld:/var/www/opensondage/css/print.css" media="print"> 2020-12-06 21:44:49,628: DEBUG - <link rel="stylesheet" href="http://maindomain.tld:/var/www/opensondage/css/fork-awesome.min.css"> 2020-12-06 21:44:49,628: DEBUG - <script type="text/javascript" src="http://maindomain.tld:/var/www/opensondage/js/jquery-1.12.4.min.js"></script> 2020-12-06 21:44:49,628: DEBUG - <script type="text/javascript" src="http://maindomain.tld:/var/www/opensondage/js/bootstrap.min.js"></script> 2020-12-06 21:44:49,628: DEBUG - <script type="text/javascript" src="http://maindomain.tld:/var/www/opensondage/js/bootstrap-datepicker.js"></script> 2020-12-06 21:44:49,628: DEBUG - <script type="text/javascript" src="http://maindomain.tld:/var/www/opensondage/js/locales/bootstrap-datepicker.fr.js"></script> 2020-12-06 21:44:49,628: DEBUG - <script type="text/javascript" src="http://maindomain.tld:/var/www/opensondage/js/core.js"></script> 2020-12-06 21:44:49,629: DEBUG - 2020-12-06 21:44:49,629: DEBUG - 2020-12-06 21:44:49,629: DEBUG - 2020-12-06 21:44:49,629: DEBUG - </head> 2020-12-06 21:44:49,629: DEBUG - <body> 2020-12-06 21:44:49,629: DEBUG - <div class="container ombre"> 2020-12-06 21:44:49,630: DEBUG - 2020-12-06 21:44:49,630: DEBUG - <header role="banner" class="clearfix"> 2020-12-06 21:44:49,630: DEBUG - <form method="post" action="" class="hidden-print"> 2020-12-06 21:44:49,630: DEBUG - <div class="input-group input-group-sm pull-right col-xs-12 col-sm-2"> 2020-12-06 21:44:49,630: DEBUG - <select name="lang" class="form-control" title="Choisir la langue" > 2020-12-06 21:44:49,630: DEBUG - <option lang="fr" selected value="fr">Français</option> 2020-12-06 21:44:49,630: DEBUG - <option lang="en" value="en">English</option> 2020-12-06 21:44:49,631: DEBUG - <option lang="oc" value="oc">Occitan</option> 2020-12-06 21:44:49,631: DEBUG - <option lang="es" value="es">Español</option> 2020-12-06 21:44:49,631: DEBUG - <option lang="de" value="de">Deutsch</option> 2020-12-06 21:44:49,631: DEBUG - <option lang="nl" value="nl">Dutch</option> 2020-12-06 21:44:49,631: DEBUG - <option lang="it" value="it">Italiano</option> 2020-12-06 21:44:49,631: DEBUG - <option lang="br" value="br">Brezhoneg</option> 2020-12-06 21:44:49,632: DEBUG - </select> 2020-12-06 21:44:49,632: DEBUG - <span class="input-group-btn"> 2020-12-06 21:44:49,632: DEBUG - <button type="submit" class="btn btn-default btn-sm" title="Changer la langue">OK</button> 2020-12-06 21:44:49,632: DEBUG - </span> 2020-12-06 21:44:49,632: DEBUG - </div> 2020-12-06 21:44:49,632: DEBUG - </form> 2020-12-06 21:44:49,633: DEBUG - 2020-12-06 21:44:49,633: DEBUG - <h1 class="row col-xs-12 col-sm-10"> 2020-12-06 21:44:49,633: DEBUG - <a href="http://yunodev.fr:/var/www/opensondage/" title="Accueil - OpenSondage" > 2020-12-06 21:44:49,633: DEBUG - <img src="http://maindomain.tld:/var/www/opensondage/images/logo.png" alt="OpenSondage" class="img-responsive"/> 2020-12-06 21:44:49,633: DEBUG - </a> 2020-12-06 21:44:49,633: DEBUG - </h1> 2020-12-06 21:44:49,633: DEBUG - <h2 class="lead col-xs-12"><i>Migration</i></h2> <div class="trait col-xs-12" role="presentation"></div> 2020-12-06 21:44:49,634: DEBUG - </header> 2020-12-06 21:44:49,634: DEBUG - <main role="main"> 2020-12-06 21:44:49,634: DEBUG - 2020-12-06 21:44:49,634: DEBUG - 2020-12-06 21:44:49,634: DEBUG - <div class="row"> 2020-12-06 21:44:49,634: DEBUG - <div class="col-xs-12 lead"> 2020-12-06 21:44:49,635: DEBUG - <a class="btn btn-default" href="http://maindomain.tld:/var/www/opensondage/admin">Retour à l'administration</a> 2020-12-06 21:44:49,635: DEBUG - </div> 2020-12-06 21:44:49,635: DEBUG - </div> 2020-12-06 21:44:49,635: DEBUG - 2020-12-06 21:44:49,635: DEBUG - <div class="row"> 2020-12-06 21:44:49,635: INFO - [################+...] > Configuring SSOwat... 2020-12-06 21:44:49,636: DEBUG - <div class="col-xs-12 col-md-4"> 2020-12-06 21:44:49,636: DEBUG - <h2>Résumé</h2> 2020-12-06 21:44:49,636: DEBUG - Succès : <span class="label label-warning">13 / 14</span> 2020-12-06 21:44:49,636: DEBUG - <br/> 2020-12-06 21:44:49,636: DEBUG - Échec : <span class="label label-danger">0 / 14</span> 2020-12-06 21:44:49,637: DEBUG - <br/> 2020-12-06 21:44:49,637: DEBUG - Passé : <span class="label label-info">1 / 14</span> 2020-12-06 21:44:49,637: DEBUG - </div> 2020-12-06 21:44:49,637: DEBUG - <div class="col-xs-12 col-md-4"> 2020-12-06 21:44:49,637: DEBUG - <h2>Réussite</h2> 2020-12-06 21:44:49,637: DEBUG - <ul> 2020-12-06 21:44:49,638: DEBUG - <li>First installation of the Framadate application (v0.8)</li> 2020-12-06 21:44:49,638: DEBUG - <li>From 0.8 to 0.9</li> 2020-12-06 21:44:49,638: DEBUG - <li>Add column "receiveNewComments" for version 0.9</li> 2020-12-06 21:44:49,638: DEBUG - <li>Add column "uniqId" in table "vote" for version 0.9</li> 2020-12-06 21:44:49,638: DEBUG - <li>Add column "hidden" in table "vote" for version 0.9</li> 2020-12-06 21:44:49,638: DEBUG - <li>Add column "ValueMax" in table "vote" for version 0.9</li> 2020-12-06 21:44:49,639: DEBUG - <li>Generate "uniqId" in "vote" table for all legacy votes</li> 2020-12-06 21:44:49,639: DEBUG - <li>RPad votes from version 0.8.</li> 2020-12-06 21:44:49,639: DEBUG - <li>Alter the comment table to set a length to the name column.</li> 2020-12-06 21:44:49,639: DEBUG - <li>Alter the comment table to add a date column.</li> 2020-12-06 21:44:49,639: DEBUG - <li>Add columns "password_hash" and "results_publicly_visible" in table "vote" for version 0.9</li> 2020-12-06 21:44:49,639: DEBUG - <li>Increase the size of id column in poll table</li> 2020-12-06 21:44:49,640: DEBUG - <li>Sets Poll end_date to NULL by default (work around MySQL NO_ZERO_DATE)</li> 2020-12-06 21:44:49,640: DEBUG - </ul> 2020-12-06 21:44:49,640: DEBUG - </div> 2020-12-06 21:44:49,640: DEBUG - 2020-12-06 21:44:49,640: DEBUG - <div class="col-xs-12 col-md-4"> 2020-12-06 21:44:49,640: DEBUG - <h2>Échec</h2> 2020-12-06 21:44:49,640: DEBUG - <ul> 2020-12-06 21:44:49,641: DEBUG - <li>Rien</li> 2020-12-06 21:44:49,641: DEBUG - </ul> 2020-12-06 21:44:49,641: DEBUG - </div> 2020-12-06 21:44:49,641: DEBUG - 2020-12-06 21:44:49,641: DEBUG - <div class="col-xs-12 well well-sm"> 2020-12-06 21:44:49,641: DEBUG - Page générée en 2.5469 secondes 2020-12-06 21:44:49,641: DEBUG - </div> 2020-12-06 21:44:49,642: DEBUG - </div> 2020-12-06 21:44:49,642: DEBUG - 2020-12-06 21:44:49,642: DEBUG - 2020-12-06 21:44:49,642: DEBUG - 2020-12-06 21:44:49,642: DEBUG - </main> 2020-12-06 21:44:49,642: DEBUG - </div> <!-- .container --> 2020-12-06 21:44:49,643: DEBUG - </body> 2020-12-06 21:44:49,643: DEBUG - </html> 2020-12-06 21:44:49,643: DEBUG - + chown -R root: /var/www/opensondage 2020-12-06 21:44:49,643: DEBUG - + chown -R opensondage: /var/www/opensondage/tpl_c /var/www/opensondage/admin/stdout.log 2020-12-06 21:44:49,644: DEBUG - + echo '[################+...] > Configuring SSOwat...' 2020-12-06 21:44:49,644: DEBUG - + '[' 1 -eq 1 ']' 2020-12-06 21:44:49,644: DEBUG - + ynh_app_setting_set --app=opensondage --key=skipped_uris --value=/ 2020-12-06 21:44:49,746: DEBUG - + [[ skipped_uris =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:49,746: DEBUG - + yunohost app setting opensondage skipped_uris -v / 2020-12-06 21:44:50,048: WARNING - /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. 2020-12-06 21:44:51,251: DEBUG - + '[' /date == / ']' 2020-12-06 21:44:51,251: DEBUG - ++ echo maindomain.tld 2020-12-06 21:44:51,251: DEBUG - ++ sed s@-@.@g 2020-12-06 21:44:51,251: DEBUG - + domain_regex=maindomain.tld 2020-12-06 21:44:51,251: DEBUG - + ynh_app_setting_set --app=opensondage --key=protected_regex --value=maindomain.tld/date/admin/ 2020-12-06 21:44:51,353: DEBUG - + [[ protected_regex =~ (unprotected|protected|skipped)_ ]] 2020-12-06 21:44:51,353: DEBUG - + yunohost app setting opensondage protected_regex -v maindomain.tld/date/admin/ 2020-12-06 21:44:51,654: WARNING - /!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism. 2020-12-06 21:44:52,657: DEBUG - + echo '[#################++.] > Reloading nginx web server...' 2020-12-06 21:44:52,658: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload 2020-12-06 21:44:52,760: DEBUG - + service_name=nginx 2020-12-06 21:44:52,760: INFO - [#################++.] > Reloading nginx web server... 2020-12-06 21:44:52,761: DEBUG - + action=reload 2020-12-06 21:44:52,761: DEBUG - + line_match= 2020-12-06 21:44:52,761: DEBUG - + length=20 2020-12-06 21:44:52,761: DEBUG - + log_path=/var/log/nginx/nginx.log 2020-12-06 21:44:52,761: DEBUG - + timeout=300 2020-12-06 21:44:52,762: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:52,762: DEBUG - + '[' reload == reload ']' 2020-12-06 21:44:52,762: DEBUG - + action=reload-or-restart 2020-12-06 21:44:52,762: DEBUG - + systemctl reload-or-restart nginx 2020-12-06 21:44:52,863: DEBUG - + [[ -n '' ]] 2020-12-06 21:44:52,864: DEBUG - + echo '[####################] > Installation of opensondage completed' 2020-12-06 21:44:52,864: DEBUG - + ynh_exit_properly 2020-12-06 21:44:52,864: DEBUG - + local exit_code=0 2020-12-06 21:44:52,864: DEBUG - + '[' 0 -eq 0 ']' 2020-12-06 21:44:52,864: DEBUG - + exit 0 2020-12-06 21:44:52,945: DEBUG - Checking that required services are up and running... 2020-12-06 21:44:53,384: ERROR - Impossible d’installer opensondage : Cette action semble avoir cassé des services importants : php7.3-fpm