Okay, I installed Webtrees. The logs show no errors (see below). But I never get an email with the user password to the user name I used. Used my gmail account.
args:
app: webtrees
args: domain=maindomain.tld&path=%2Fwebtrees1&username=admin&name=Ralph%20Shinevar&email=ralph.shinevar%40gmail.com&is_public=1
force: false
label: Webtrees1
no_remove_on_failure: false
ended_at: 2020-11-10 13:20:25.304739
env:
YNH_APP_ARG_DOMAIN: maindomain.tld
YNH_APP_ARG_EMAIL: ralph.shinevar@gmail.com
YNH_APP_ARG_IS_PUBLIC: 1
YNH_APP_ARG_NAME: Ralph Shinevar
YNH_APP_ARG_PATH: /webtrees1
YNH_APP_ARG_USERNAME: admin
YNH_APP_ID: webtrees
YNH_APP_INSTANCE_NAME: webtrees
YNH_APP_INSTANCE_NUMBER: '1'
YNH_CWD: /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmpI49cpP/stdinfo
YNH_STDRETURN: /tmp/tmpAcnBWL/stdreturn
error: null
operation: app_install
related_to:
- - app
- webtrees
started_at: 2020-11-10 13:19:12.081843
success: true
yunohost_version: 4.0.8
============
2020-11-10 07:19:12,089: INFO - Installing webtrees...
2020-11-10 07:19:12,120: DEBUG - The permission database has been resynchronized
2020-11-10 07:19:12,168: DEBUG - SSOwat configuration generated
2020-11-10 07:19:12,174: DEBUG - No default hook for action 'post_app_addaccess' in /usr/share/yunohost/hooks/
2020-11-10 07:19:12,174: DEBUG - No custom hook for action 'post_app_addaccess' in /etc/yunohost/hooks.d/
2020-11-10 07:19:12,174: DEBUG - Permission 'webtrees.main' created
2020-11-10 07:19:12,175: DEBUG - Full log of this operation: '<a href="#/tools/logs/20201110-131912-permission_create-webtrees" style="text-decoration:underline">Create permission 'webtrees'</a>'
2020-11-10 07:19:12,183: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts YNH_APP_INSTANCE_NAME=webtrees YNH_STDRETURN=/tmp/tmpAcnBWL/stdreturn YNH_STDINFO=/tmp/tmpI49cpP/stdinfo YNH_APP_ARG_USERNAME=admin YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_NAME='Ralph Shinevar' YNH_APP_ARG_EMAIL=ralph.shinevar@gmail.com YNH_APP_ID=webtrees YNH_APP_ARG_PATH=/webtrees1 YNH_INTERFACE=api YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /webtrees1 admin 'Ralph Shinevar' ralph.shinevar@gmail.com 1 webtrees 7>&1'...
2020-11-10 07:19:12,184: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts YNH_APP_INSTANCE_NAME=webtrees YNH_STDRETURN=/tmp/tmpAcnBWL/stdreturn YNH_STDINFO=/tmp/tmpI49cpP/stdinfo YNH_APP_ARG_USERNAME=admin YNH_APP_ARG_IS_PUBLIC=1 YNH_APP_ARG_NAME=\'Ralph Shinevar\' YNH_APP_ARG_EMAIL=ralph.shinevar@gmail.com YNH_APP_ID=webtrees YNH_APP_ARG_PATH=/webtrees1 YNH_INTERFACE=api YNH_APP_ARG_DOMAIN=maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" maindomain.tld /webtrees1 admin \'Ralph Shinevar\' ralph.shinevar@gmail.com 1 webtrees 7>&1']'
2020-11-10 07:19:12,205: DEBUG - + source _common.sh
2020-11-10 07:19:12,206: DEBUG - ++ YNH_PHP_VERSION=7.3
2020-11-10 07:19:12,206: DEBUG - ++ pkg_dependencies='php7.3-gd php7.3-xml mailutils'
2020-11-10 07:19:12,206: DEBUG - + source /usr/share/yunohost/helpers
2020-11-10 07:19:12,206: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-11-10 07:19:12,206: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,207: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-11-10 07:19:12,207: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-11-10 07:19:12,207: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,207: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-11-10 07:19:12,207: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-11-10 07:19:12,207: DEBUG - +++ CAN_BIND=1
2020-11-10 07:19:12,207: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,207: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-11-10 07:19:12,207: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-11-10 07:19:12,207: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,208: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-11-10 07:19:12,208: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-11-10 07:19:12,208: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,208: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/hardware ']'
2020-11-10 07:19:12,208: DEBUG - ++ . /usr/share/yunohost/helpers.d/hardware
2020-11-10 07:19:12,208: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,208: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-11-10 07:19:12,208: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-11-10 07:19:12,208: DEBUG - +++ increment_progression=0
2020-11-10 07:19:12,208: DEBUG - +++ previous_weight=0
2020-11-10 07:19:12,208: DEBUG - +++ max_progression=-1
2020-11-10 07:19:12,208: DEBUG - +++ progress_scale=20
2020-11-10 07:19:12,209: DEBUG - +++ progress_string2='####################'
2020-11-10 07:19:12,209: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-11-10 07:19:12,209: DEBUG - +++ progress_string0=....................
2020-11-10 07:19:12,209: DEBUG - ++++ date +%s
2020-11-10 07:19:12,209: DEBUG - +++ base_time=1605014352
2020-11-10 07:19:12,209: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,209: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-11-10 07:19:12,209: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-11-10 07:19:12,209: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,209: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-11-10 07:19:12,209: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-11-10 07:19:12,210: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-11-10 07:19:12,210: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,210: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-11-10 07:19:12,210: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-11-10 07:19:12,210: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,210: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-11-10 07:19:12,210: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-11-10 07:19:12,210: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,210: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-11-10 07:19:12,210: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-11-10 07:19:12,210: DEBUG - +++ n_version=6.5.1
2020-11-10 07:19:12,210: DEBUG - +++ n_install_dir=/opt/node_n
2020-11-10 07:19:12,211: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-11-10 07:19:12,211: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-11-10 07:19:12,211: DEBUG - +++ N_PREFIX=/opt/node_n
2020-11-10 07:19:12,211: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,211: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-11-10 07:19:12,211: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-11-10 07:19:12,211: DEBUG - +++ readonly YNH_DEFAULT_PHP_VERSION=7.3
2020-11-10 07:19:12,211: DEBUG - +++ YNH_DEFAULT_PHP_VERSION=7.3
2020-11-10 07:19:12,211: DEBUG - +++ YNH_PHP_VERSION=7.3
2020-11-10 07:19:12,211: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,211: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-11-10 07:19:12,212: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-11-10 07:19:12,212: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-11-10 07:19:12,212: DEBUG - +++ PSQL_VERSION=11
2020-11-10 07:19:12,212: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,212: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-11-10 07:19:12,212: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-11-10 07:19:12,212: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,212: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-11-10 07:19:12,212: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-11-10 07:19:12,212: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,212: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-11-10 07:19:12,213: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-11-10 07:19:12,213: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,213: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-11-10 07:19:12,213: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-11-10 07:19:12,213: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-11-10 07:19:12,213: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-11-10 07:19:12,213: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-11-10 07:19:12,213: DEBUG - + ynh_abort_if_errors
2020-11-10 07:19:12,213: DEBUG - + set -o errexit
2020-11-10 07:19:12,214: DEBUG - + set -o nounset
2020-11-10 07:19:12,214: DEBUG - + trap ynh_exit_properly EXIT
2020-11-10 07:19:12,214: DEBUG - + domain=maindomain.tld
2020-11-10 07:19:12,214: DEBUG - + path_url=/webtrees1
2020-11-10 07:19:12,214: DEBUG - + is_public=1
2020-11-10 07:19:12,214: DEBUG - + admin_username=admin
2020-11-10 07:19:12,214: DEBUG - + admin_name='Ralph Shinevar'
2020-11-10 07:19:12,214: DEBUG - + admin_email=ralph.shinevar@gmail.com
2020-11-10 07:19:12,215: DEBUG - ++ ynh_string_random 24
2020-11-10 07:19:12,316: DEBUG - ++ length=24
2020-11-10 07:19:12,316: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-11-10 07:19:12,317: DEBUG - ++ tr --complement --delete A-Za-z0-9
2020-11-10 07:19:12,317: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2020-11-10 07:19:12,317: DEBUG - + password=**********
2020-11-10 07:19:12,317: DEBUG - ++ openssl passwd -1 -salt xyz **********
2020-11-10 07:19:12,318: DEBUG - + admin_password=**********
2020-11-10 07:19:12,318: DEBUG - + app=webtrees
2020-11-10 07:19:12,319: DEBUG - + echo '[+...................] > Validating installation parameters...'
2020-11-10 07:19:12,319: DEBUG - + final_path=/var/www/webtrees
2020-11-10 07:19:12,320: DEBUG - + test '!' -e /var/www/webtrees
2020-11-10 07:19:12,320: DEBUG - + ynh_webpath_register --app=webtrees --domain=maindomain.tld --path_url=/webtrees1
2020-11-10 07:19:12,322: DEBUG - + yunohost app register-url webtrees maindomain.tld /webtrees1
2020-11-10 07:19:12,623: INFO - [+...................] > Validating installation parameters...
2020-11-10 07:19:12,625: DEBUG - + echo '[#++.................] > Storing installation settings...'
2020-11-10 07:19:12,625: DEBUG - + ynh_app_setting_set --app=webtrees --key=is_public --value=1
2020-11-10 07:19:12,626: DEBUG - + ynh_app_setting set webtrees is_public 1
2020-11-10 07:19:12,627: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:12,627: DEBUG - + ACTION=set
2020-11-10 07:19:12,627: DEBUG - + APP=webtrees
2020-11-10 07:19:12,627: DEBUG - + KEY=is_public
2020-11-10 07:19:12,627: DEBUG - + VALUE=1
2020-11-10 07:19:12,627: DEBUG - + python2.7 -
2020-11-10 07:19:12,728: DEBUG - + [[ is_public =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:12,728: INFO - [#++.................] > Storing installation settings...
2020-11-10 07:19:12,729: DEBUG - + ynh_app_setting_set --app=webtrees --key=domain --value=maindomain.tld
2020-11-10 07:19:12,831: DEBUG - + ynh_app_setting set webtrees domain maindomain.tld
2020-11-10 07:19:12,832: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:12,832: DEBUG - + ACTION=set
2020-11-10 07:19:12,832: DEBUG - + APP=webtrees
2020-11-10 07:19:12,832: DEBUG - + KEY=domain
2020-11-10 07:19:12,832: DEBUG - + VALUE=maindomain.tld
2020-11-10 07:19:12,832: DEBUG - + python2.7 -
2020-11-10 07:19:12,833: DEBUG - + [[ domain =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:12,833: DEBUG - + ynh_app_setting_set --app=webtrees --key=path --value=/webtrees1
2020-11-10 07:19:12,935: DEBUG - + ynh_app_setting set webtrees path /webtrees1
2020-11-10 07:19:12,935: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:12,936: DEBUG - + ACTION=set
2020-11-10 07:19:12,936: DEBUG - + APP=webtrees
2020-11-10 07:19:12,936: DEBUG - + KEY=path
2020-11-10 07:19:12,936: DEBUG - + VALUE=/webtrees1
2020-11-10 07:19:12,936: DEBUG - + python2.7 -
2020-11-10 07:19:12,936: DEBUG - + [[ path =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:13,038: DEBUG - + echo '[###++...............] > Installing dependencies...'
2020-11-10 07:19:13,038: INFO - [###++...............] > Installing dependencies...
2020-11-10 07:19:13,038: DEBUG - + ynh_install_app_dependencies php7.3-gd php7.3-xml mailutils
2020-11-10 07:19:13,038: DEBUG - + local 'dependencies=php7.3-gd php7.3-xml mailutils'
2020-11-10 07:19:13,039: DEBUG - ++ echo 'php7.3-gd php7.3-xml mailutils'
2020-11-10 07:19:13,039: DEBUG - ++ sed 's/\([^\<=\>]\)\ \([^(]\)/\1, \2/g'
2020-11-10 07:19:13,039: DEBUG - + dependencies='php7.3-gd, php7.3-xml, mailutils'
2020-11-10 07:19:13,039: DEBUG - + local 'dependencies=php7.3-gd, php7.3-xml, mailutils'
2020-11-10 07:19:13,039: DEBUG - + local manifest_path=../manifest.json
2020-11-10 07:19:13,039: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-11-10 07:19:13,039: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-11-10 07:19:13,039: DEBUG - ++ cut '--delimiter="' --fields=4
2020-11-10 07:19:13,039: DEBUG - + local version=
2020-11-10 07:19:13,039: DEBUG - + '[' 0 -eq 0 ']'
2020-11-10 07:19:13,039: DEBUG - + version=1.0
2020-11-10 07:19:13,040: DEBUG - + local dep_app=webtrees
2020-11-10 07:19:13,040: DEBUG - + [[ php7.3-gd, php7.3-xml, mailutils =~ [<=>] ]]
2020-11-10 07:19:13,040: DEBUG - + echo php7.3-gd, php7.3-xml, mailutils
2020-11-10 07:19:13,040: DEBUG - + grep --quiet php
2020-11-10 07:19:13,040: DEBUG - + dpkg --list
2020-11-10 07:19:13,040: DEBUG - + grep php7.0
2020-11-10 07:19:13,040: DEBUG - + grep --quiet --invert-match 7.0.33-0+deb9
2020-11-10 07:19:13,040: DEBUG - + cat
2020-11-10 07:19:13,040: DEBUG - + ynh_package_install_from_equivs /tmp/webtrees-ynh-deps.control
2020-11-10 07:19:13,040: DEBUG - + local controlfile=/tmp/webtrees-ynh-deps.control
2020-11-10 07:19:13,040: DEBUG - ++ grep '^Package: ' /tmp/webtrees-ynh-deps.control
2020-11-10 07:19:13,040: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-11-10 07:19:13,041: DEBUG - + local pkgname=webtrees-ynh-deps
2020-11-10 07:19:13,041: DEBUG - ++ grep '^Version: ' /tmp/webtrees-ynh-deps.control
2020-11-10 07:19:13,041: DEBUG - ++ cut '--delimiter= ' --fields=2
2020-11-10 07:19:13,041: DEBUG - + local pkgversion=1.0
2020-11-10 07:19:13,041: DEBUG - + [[ -z webtrees-ynh-deps ]]
2020-11-10 07:19:13,041: DEBUG - + [[ -z 1.0 ]]
2020-11-10 07:19:13,041: DEBUG - + ynh_package_update
2020-11-10 07:19:13,041: DEBUG - + ynh_apt update
2020-11-10 07:19:13,041: DEBUG - + ynh_wait_dpkg_free
2020-11-10 07:19:13,142: DEBUG - + return 0
2020-11-10 07:19:13,142: DEBUG - + LC_ALL=C
2020-11-10 07:19:13,143: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-11-10 07:19:13,143: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 update
2020-11-10 07:19:13,343: DEBUG - Hit:1 http://security.debian.org/debian-security buster/updates InRelease
2020-11-10 07:19:13,544: DEBUG - Hit:2 http://ftp.debian.org/debian buster InRelease
2020-11-10 07:19:14,146: DEBUG - Hit:3 http://forge.yunohost.org/debian buster InRelease
2020-11-10 07:19:14,848: DEBUG - Reading package lists...
2020-11-10 07:19:14,848: WARNING - W: Skipping acquire of configured file 'InRelease/binary-amd64/Packages' as repository 'http://security.debian.org/debian-security buster/updates InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
2020-11-10 07:19:14,848: DEBUG - ++ mktemp --directory
2020-11-10 07:19:14,848: WARNING - W: Skipping acquire of configured file 'InRelease/i18n/Translation-en' as repository 'http://security.debian.org/debian-security buster/updates InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
2020-11-10 07:19:14,849: DEBUG - + local TMPDIR=/tmp/tmp.ds2Ayyn2vj
2020-11-10 07:19:14,849: WARNING - W: Skipping acquire of configured file 'InRelease/binary-amd64/Packages' as repository 'http://ftp.debian.org/debian buster InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
2020-11-10 07:19:14,849: DEBUG - + echo 10
2020-11-10 07:19:14,849: WARNING - W: Skipping acquire of configured file 'InRelease/i18n/Translation-en' as repository 'http://ftp.debian.org/debian buster InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
2020-11-10 07:19:14,850: DEBUG - + ynh_wait_dpkg_free
2020-11-10 07:19:14,850: WARNING - W: Skipping acquire of configured file 'InRelease/binary-amd64/Packages' as repository 'http://forge.yunohost.org/debian buster InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
2020-11-10 07:19:14,850: WARNING - W: Skipping acquire of configured file 'InRelease/i18n/Translation-en' as repository 'http://forge.yunohost.org/debian buster InRelease' doesn't have the component 'InRelease' (component misspelt in sources.list?)
2020-11-10 07:19:14,951: DEBUG - + return 0
2020-11-10 07:19:14,951: DEBUG - + cp /tmp/webtrees-ynh-deps.control /tmp/tmp.ds2Ayyn2vj/control
2020-11-10 07:19:14,951: DEBUG - + cd /tmp/tmp.ds2Ayyn2vj
2020-11-10 07:19:14,951: DEBUG - + LC_ALL=C
2020-11-10 07:19:14,951: DEBUG - + equivs-build ./control
2020-11-10 07:19:15,452: DEBUG - + LC_ALL=C
2020-11-10 07:19:15,453: DEBUG - + dpkg --force-depends --install ./webtrees-ynh-deps_1.0_all.deb
2020-11-10 07:19:15,453: DEBUG - + tee ./dpkg_log
2020-11-10 07:19:15,654: DEBUG - Selecting previously unselected package webtrees-ynh-deps.
2020-11-10 07:19:15,654: DEBUG - (Reading database ... 57644 files and directories currently installed.)
2020-11-10 07:19:15,655: DEBUG - Preparing to unpack .../webtrees-ynh-deps_1.0_all.deb ...
2020-11-10 07:19:15,755: DEBUG - Unpacking webtrees-ynh-deps (1.0) ...
2020-11-10 07:19:15,956: DEBUG - Setting up webtrees-ynh-deps (1.0) ...
2020-11-10 07:19:16,157: DEBUG - + ynh_package_install --fix-broken
2020-11-10 07:19:16,158: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2020-11-10 07:19:16,158: DEBUG - + ynh_wait_dpkg_free
2020-11-10 07:19:16,258: DEBUG - + return 0
2020-11-10 07:19:16,259: DEBUG - + LC_ALL=C
2020-11-10 07:19:16,259: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-11-10 07:19:16,259: 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-11-10 07:19:16,560: DEBUG - Reading package lists...
2020-11-10 07:19:16,660: DEBUG - Building dependency tree...
2020-11-10 07:19:16,660: DEBUG - Reading state information...
2020-11-10 07:19:16,861: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2020-11-10 07:19:16,861: DEBUG - + [[ -n /tmp/tmp.ds2Ayyn2vj ]]
2020-11-10 07:19:16,861: DEBUG - + rm --recursive --force /tmp/tmp.ds2Ayyn2vj
2020-11-10 07:19:16,861: DEBUG - + ynh_package_is_installed webtrees-ynh-deps
2020-11-10 07:19:16,862: DEBUG - + ynh_wait_dpkg_free
2020-11-10 07:19:16,962: DEBUG - + return 0
2020-11-10 07:19:16,963: DEBUG - + dpkg-query --show '--showformat=${Status}' webtrees-ynh-deps
2020-11-10 07:19:16,963: DEBUG - + grep --count 'ok installed'
2020-11-10 07:19:16,963: DEBUG - + rm /tmp/webtrees-ynh-deps.control
2020-11-10 07:19:16,964: DEBUG - + ynh_app_setting_set --app=webtrees --key=apt_dependencies '--value=php7.3-gd, php7.3-xml, mailutils'
2020-11-10 07:19:16,966: DEBUG - + ynh_app_setting set webtrees apt_dependencies 'php7.3-gd, php7.3-xml, mailutils'
2020-11-10 07:19:16,966: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:16,966: DEBUG - + ACTION=set
2020-11-10 07:19:16,966: DEBUG - + APP=webtrees
2020-11-10 07:19:16,966: DEBUG - + KEY=apt_dependencies
2020-11-10 07:19:16,967: DEBUG - + VALUE='php7.3-gd, php7.3-xml, mailutils'
2020-11-10 07:19:16,967: DEBUG - + python2.7 -
2020-11-10 07:19:17,067: DEBUG - + [[ apt_dependencies =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:17,069: DEBUG - + echo '[#####++.............] > Creating a MySQL database...'
2020-11-10 07:19:17,070: DEBUG - ++ ynh_sanitize_dbid --db_name=webtrees
2020-11-10 07:19:17,071: DEBUG - ++ echo webtrees
2020-11-10 07:19:17,071: DEBUG - + db_name=webtrees
2020-11-10 07:19:17,071: DEBUG - + ynh_app_setting_set --app=webtrees --key=db_name --value=webtrees
2020-11-10 07:19:17,173: DEBUG - + ynh_app_setting set webtrees db_name webtrees
2020-11-10 07:19:17,174: INFO - [#####++.............] > Creating a MySQL database...
2020-11-10 07:19:17,174: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:17,174: DEBUG - + ACTION=set
2020-11-10 07:19:17,174: DEBUG - + APP=webtrees
2020-11-10 07:19:17,174: DEBUG - + KEY=db_name
2020-11-10 07:19:17,174: DEBUG - + VALUE=webtrees
2020-11-10 07:19:17,174: DEBUG - + python2.7 -
2020-11-10 07:19:17,275: DEBUG - + [[ db_name =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:17,275: DEBUG - + ynh_mysql_setup_db --db_user=webtrees --db_name=webtrees
2020-11-10 07:19:17,276: DEBUG - + db_pwd=
2020-11-10 07:19:17,276: DEBUG - ++ ynh_string_random
2020-11-10 07:19:17,277: DEBUG - ++ length=24
2020-11-10 07:19:17,277: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-11-10 07:19:17,277: DEBUG - ++ tr --complement --delete A-Za-z0-9
2020-11-10 07:19:17,277: DEBUG - ++ sed --quiet 's/\(.\{24\}\).*/\1/p'
2020-11-10 07:19:17,277: DEBUG - + local new_db_pwd=**********
2020-11-10 07:19:17,277: DEBUG - + db_pwd=**********
2020-11-10 07:19:17,277: DEBUG - + ynh_mysql_create_db webtrees webtrees **********
2020-11-10 07:19:17,277: DEBUG - + local db=webtrees
2020-11-10 07:19:17,278: DEBUG - + local 'sql=CREATE DATABASE webtrees;'
2020-11-10 07:19:17,278: DEBUG - + [[ 3 -gt 1 ]]
2020-11-10 07:19:17,278: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON webtrees.* TO '\''webtrees'\''@'\''localhost'\'''
2020-11-10 07:19:17,278: DEBUG - + [[ -n ********** ]]
2020-11-10 07:19:17,278: DEBUG - + sql+=' IDENTIFIED BY '\''**********'\'''
2020-11-10 07:19:17,278: DEBUG - + sql+=' WITH GRANT OPTION;'
2020-11-10 07:19:17,278: DEBUG - + ynh_mysql_execute_as_root '--sql=CREATE DATABASE webtrees; GRANT ALL PRIVILEGES ON webtrees.* TO '\''webtrees'\''@'\''localhost'\'' IDENTIFIED BY '\''**********'\'' WITH GRANT OPTION;'
2020-11-10 07:19:17,279: DEBUG - + database=
2020-11-10 07:19:17,279: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:17,279: DEBUG - ++ cat /etc/yunohost/mysql
2020-11-10 07:19:17,280: DEBUG - + ynh_mysql_connect_as --user=root --password=**********
2020-11-10 07:19:17,281: DEBUG - + database=
2020-11-10 07:19:17,281: DEBUG - + mysql --user=root --password=********** --batch ''
2020-11-10 07:19:17,381: DEBUG - + ynh_app_setting_set --app=webtrees --key=mysqlpwd --value=**********
2020-11-10 07:19:17,382: DEBUG - + ynh_app_setting set webtrees mysqlpwd **********
2020-11-10 07:19:17,382: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:17,382: DEBUG - + ACTION=set
2020-11-10 07:19:17,382: DEBUG - + APP=webtrees
2020-11-10 07:19:17,382: DEBUG - + KEY=mysqlpwd
2020-11-10 07:19:17,383: DEBUG - + VALUE=**********
2020-11-10 07:19:17,383: DEBUG - + python2.7 -
2020-11-10 07:19:17,483: DEBUG - + [[ mysqlpwd =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:17,485: DEBUG - + echo '[#######++...........] > Setting up source files...'
2020-11-10 07:19:17,485: DEBUG - + ynh_app_setting_set --app=webtrees --key=final_path --value=/var/www/webtrees
2020-11-10 07:19:17,588: DEBUG - + ynh_app_setting set webtrees final_path /var/www/webtrees
2020-11-10 07:19:17,588: INFO - [#######++...........] > Setting up source files...
2020-11-10 07:19:17,589: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:17,589: DEBUG - + ACTION=set
2020-11-10 07:19:17,589: DEBUG - + APP=webtrees
2020-11-10 07:19:17,589: DEBUG - + KEY=final_path
2020-11-10 07:19:17,590: DEBUG - + VALUE=/var/www/webtrees
2020-11-10 07:19:17,590: DEBUG - + python2.7 -
2020-11-10 07:19:17,590: DEBUG - + [[ final_path =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:17,590: DEBUG - + ynh_setup_source --dest_dir=/var/www/webtrees
2020-11-10 07:19:17,592: DEBUG - + source_id=app
2020-11-10 07:19:17,592: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,592: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src ']'
2020-11-10 07:19:17,592: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,592: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,592: DEBUG - + local src_url=https://github.com/fisharebest/webtrees/releases/download/2.0.9/webtrees-2.0.9.zip
2020-11-10 07:19:17,593: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,593: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,593: DEBUG - + local src_sum=65d8e51706f91ea9e376bad8a0d2bf48c9c15bf399bf2e4874392b12dba30cf8
2020-11-10 07:19:17,593: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,593: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,594: DEBUG - + local src_sumprg=sha256sum
2020-11-10 07:19:17,594: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,594: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,594: DEBUG - + local src_format=zip
2020-11-10 07:19:17,594: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,594: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,594: DEBUG - + local src_extract=
2020-11-10 07:19:17,594: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,594: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,594: DEBUG - + local src_in_subdir=true
2020-11-10 07:19:17,595: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../conf/app.src
2020-11-10 07:19:17,595: DEBUG - ++ cut --delimiter== --fields=2-
2020-11-10 07:19:17,595: DEBUG - + local src_filename=
2020-11-10 07:19:17,595: DEBUG - + src_sumprg=sha256sum
2020-11-10 07:19:17,595: DEBUG - + src_in_subdir=true
2020-11-10 07:19:17,595: DEBUG - + src_format=zip
2020-11-10 07:19:17,595: DEBUG - ++ echo zip
2020-11-10 07:19:17,595: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-11-10 07:19:17,595: DEBUG - + src_format=zip
2020-11-10 07:19:17,595: DEBUG - + src_extract=true
2020-11-10 07:19:17,595: DEBUG - + '[' '' = '' ']'
2020-11-10 07:19:17,596: DEBUG - + src_filename=app.zip
2020-11-10 07:19:17,596: DEBUG - + local local_src=/opt/yunohost-apps-src/webtrees/app.zip
2020-11-10 07:19:17,596: DEBUG - + test -e /opt/yunohost-apps-src/webtrees/app.zip
2020-11-10 07:19:17,596: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=app.zip https://github.com/fisharebest/webtrees/releases/download/2.0.9/webtrees-2.0.9.zip
2020-11-10 07:19:19,901: DEBUG - + out='2020-11-10 07:19:19 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/11836349/10465780-0b1b-11eb-8690-10ed78863250?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201110%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201110T131917Z&X-Amz-Expires=300&X-Amz-Signature=26d20f651ab5e3bfa528fffd965a622edaee37da2300f4555babee468d8d48d3&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=11836349&response-content-disposition=attachment%3B%20filename%3Dwebtrees-2.0.9.zip&response-content-type=application%2Foctet-stream [30497473/30497473] -> "app.zip" [1]'
2020-11-10 07:19:19,901: DEBUG - + echo '65d8e51706f91ea9e376bad8a0d2bf48c9c15bf399bf2e4874392b12dba30cf8 app.zip'
2020-11-10 07:19:19,902: DEBUG - + sha256sum --check --status
2020-11-10 07:19:20,002: DEBUG - + mkdir --parents /var/www/webtrees
2020-11-10 07:19:20,002: DEBUG - + true
2020-11-10 07:19:20,002: DEBUG - + '[' zip = zip ']'
2020-11-10 07:19:20,002: DEBUG - + true
2020-11-10 07:19:20,002: DEBUG - ++ mktemp --directory
2020-11-10 07:19:20,002: DEBUG - + local tmp_dir=/tmp/tmp.0vyaKegA5E
2020-11-10 07:19:20,002: DEBUG - + unzip -quo app.zip -d /tmp/tmp.0vyaKegA5E
2020-11-10 07:19:20,704: DEBUG - + cp --archive /tmp/tmp.0vyaKegA5E/webtrees/. /var/www/webtrees
2020-11-10 07:19:20,904: DEBUG - + ynh_secure_remove --file=/tmp/tmp.0vyaKegA5E
2020-11-10 07:19:20,905: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
2020-11-10 07:19:20,905: DEBUG - + '[' 1 -ge 2 ']'
2020-11-10 07:19:20,905: DEBUG - + [[ -z /tmp/tmp.0vyaKegA5E ]]
2020-11-10 07:19:20,905: DEBUG - + [[ /var/www /home/yunohost.app =~ /tmp/tmp\.0vyaKegA5E ]]
2020-11-10 07:19:20,905: DEBUG - + [[ /tmp/tmp.0vyaKegA5E =~ ^/[[:alnum:]]+$ ]]
2020-11-10 07:19:20,906: DEBUG - + [[ E = \/ ]]
2020-11-10 07:19:20,906: DEBUG - + '[' -e /tmp/tmp.0vyaKegA5E ']'
2020-11-10 07:19:20,906: DEBUG - + rm --recursive /tmp/tmp.0vyaKegA5E
2020-11-10 07:19:21,006: DEBUG - ++ find /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../sources/patches/ -type f -name 'app-*.patch'
2020-11-10 07:19:21,006: DEBUG - ++ wc --lines
2020-11-10 07:19:21,007: DEBUG - + (( 0 > 0 ))
2020-11-10 07:19:21,007: DEBUG - + test -e /var/cache/yunohost/from_file/webtrees_ynh-86f27857b97e5cc743ffa3311b139f10d51af798/scripts/../sources/extra_files/app
2020-11-10 07:19:21,008: DEBUG - + echo '[#########+..........] > Configuring NGINX web server...'
2020-11-10 07:19:21,008: DEBUG - + ynh_add_nginx_config
2020-11-10 07:19:21,008: DEBUG - + finalnginxconf=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,008: DEBUG - + local others_var=
2020-11-10 07:19:21,009: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,009: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf
2020-11-10 07:19:21,009: DEBUG - ++ ynh_app_setting_get --app=webtrees --key=checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf
2020-11-10 07:19:21,111: DEBUG - ++ ynh_app_setting get webtrees checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf
2020-11-10 07:19:21,114: INFO - [#########+..........] > Configuring NGINX web server...
2020-11-10 07:19:21,114: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-11-10 07:19:21,115: DEBUG - ++ ACTION=get
2020-11-10 07:19:21,115: DEBUG - ++ APP=webtrees
2020-11-10 07:19:21,115: DEBUG - ++ KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf
2020-11-10 07:19:21,115: DEBUG - ++ VALUE=
2020-11-10 07:19:21,115: DEBUG - ++ python2.7 -
2020-11-10 07:19:21,115: DEBUG - ++ [[ checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:21,116: DEBUG - + local checksum_value=
2020-11-10 07:19:21,116: DEBUG - + backup_file_checksum=
2020-11-10 07:19:21,116: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:21,116: DEBUG - + cp ../conf/nginx.conf /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,116: DEBUG - + test -n /webtrees1
2020-11-10 07:19:21,117: DEBUG - + local path_url_slash_less=/webtrees1
2020-11-10 07:19:21,117: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/webtrees1/ --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,218: DEBUG - + local delimit=@
2020-11-10 07:19:21,219: DEBUG - + match_string=__PATH__/
2020-11-10 07:19:21,219: DEBUG - + replace_string=/webtrees1/
2020-11-10 07:19:21,219: DEBUG - + sed --in-place s@__PATH__/@/webtrees1/@g /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,219: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/webtrees1 --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,322: DEBUG - + local delimit=@
2020-11-10 07:19:21,322: DEBUG - + match_string=__PATH__
2020-11-10 07:19:21,322: DEBUG - + replace_string=/webtrees1
2020-11-10 07:19:21,322: DEBUG - + sed --in-place s@__PATH__@/webtrees1@g /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,322: DEBUG - + test -n maindomain.tld
2020-11-10 07:19:21,323: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=maindomain.tld --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,324: DEBUG - + local delimit=@
2020-11-10 07:19:21,324: DEBUG - + match_string=__DOMAIN__
2020-11-10 07:19:21,324: DEBUG - + replace_string=maindomain.tld
2020-11-10 07:19:21,324: DEBUG - + sed --in-place s@__DOMAIN__@maindomain.tld@g /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,324: DEBUG - + test -n ''
2020-11-10 07:19:21,325: DEBUG - + test -n webtrees
2020-11-10 07:19:21,325: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=webtrees --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,426: DEBUG - + local delimit=@
2020-11-10 07:19:21,426: DEBUG - + match_string=__NAME__
2020-11-10 07:19:21,427: DEBUG - + replace_string=webtrees
2020-11-10 07:19:21,427: DEBUG - + sed --in-place s@__NAME__@webtrees@g /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,427: DEBUG - + test -n /var/www/webtrees
2020-11-10 07:19:21,427: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/webtrees --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,429: DEBUG - + local delimit=@
2020-11-10 07:19:21,430: DEBUG - + match_string=__FINALPATH__
2020-11-10 07:19:21,430: DEBUG - + replace_string=/var/www/webtrees
2020-11-10 07:19:21,431: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/webtrees@g /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,431: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,533: DEBUG - + local delimit=@
2020-11-10 07:19:21,534: DEBUG - + match_string=__PHPVERSION__
2020-11-10 07:19:21,534: DEBUG - + replace_string=7.3
2020-11-10 07:19:21,535: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,535: DEBUG - + '[' /webtrees1 '!=' / ']'
2020-11-10 07:19:21,535: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,538: DEBUG - + local delimit=@
2020-11-10 07:19:21,538: DEBUG - + match_string='^#sub_path_only'
2020-11-10 07:19:21,538: DEBUG - + replace_string=
2020-11-10 07:19:21,538: DEBUG - + sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,538: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,539: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf
2020-11-10 07:19:21,539: DEBUG - ++ md5sum /etc/nginx/conf.d/maindomain.tld.d/webtrees.conf
2020-11-10 07:19:21,540: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-11-10 07:19:21,540: DEBUG - + ynh_app_setting_set --app=webtrees --key=checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf --value=f8548c7cf29f162f7dcfa7631439d511
2020-11-10 07:19:21,641: DEBUG - + ynh_app_setting set webtrees checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf f8548c7cf29f162f7dcfa7631439d511
2020-11-10 07:19:21,642: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:21,642: DEBUG - + ACTION=set
2020-11-10 07:19:21,642: DEBUG - + APP=webtrees
2020-11-10 07:19:21,642: DEBUG - + KEY=checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf
2020-11-10 07:19:21,643: DEBUG - + VALUE=f8548c7cf29f162f7dcfa7631439d511
2020-11-10 07:19:21,643: DEBUG - + python2.7 -
2020-11-10 07:19:21,743: DEBUG - + [[ checksum__etc_nginx_conf.d_maindomain.tld.d_webtrees.conf =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:21,743: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:21,743: DEBUG - + unset backup_file_checksum
2020-11-10 07:19:21,744: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-11-10 07:19:21,745: DEBUG - + service_name=nginx
2020-11-10 07:19:21,745: DEBUG - + action=reload
2020-11-10 07:19:21,745: DEBUG - + line_match=
2020-11-10 07:19:21,745: DEBUG - + length=20
2020-11-10 07:19:21,745: DEBUG - + log_path=/var/log/nginx/nginx.log
2020-11-10 07:19:21,745: DEBUG - + timeout=300
2020-11-10 07:19:21,745: DEBUG - + [[ -n '' ]]
2020-11-10 07:19:21,745: DEBUG - + '[' reload == reload ']'
2020-11-10 07:19:21,745: DEBUG - + action=reload-or-restart
2020-11-10 07:19:21,745: DEBUG - + systemctl reload-or-restart nginx
2020-11-10 07:19:21,846: DEBUG - + [[ -n '' ]]
2020-11-10 07:19:21,846: DEBUG - + echo '[##########++........] > Configuring system user...'
2020-11-10 07:19:21,847: DEBUG - + ynh_system_user_create --username=webtrees
2020-11-10 07:19:21,847: DEBUG - + use_shell=0
2020-11-10 07:19:21,848: DEBUG - + home_dir=
2020-11-10 07:19:21,848: DEBUG - + ynh_system_user_exists webtrees
2020-11-10 07:19:21,848: DEBUG - + getent passwd webtrees
2020-11-10 07:19:21,848: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:21,849: DEBUG - + local user_home_dir=--no-create-home
2020-11-10 07:19:21,849: DEBUG - + '[' 0 -eq 1 ']'
2020-11-10 07:19:21,849: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2020-11-10 07:19:21,849: DEBUG - + useradd --no-create-home --system --user-group webtrees --shell /usr/sbin/nologin
2020-11-10 07:19:22,250: INFO - [##########++........] > Configuring system user...
2020-11-10 07:19:22,251: INFO - [############++......] > Configuring PHP-FPM...
2020-11-10 07:19:22,251: DEBUG - + echo '[############++......] > Configuring PHP-FPM...'
2020-11-10 07:19:22,252: DEBUG - + ynh_add_fpm_config --phpversion=7.3
2020-11-10 07:19:22,254: DEBUG - + package=
2020-11-10 07:19:22,254: DEBUG - + use_template=1
2020-11-10 07:19:22,254: DEBUG - + usage=
2020-11-10 07:19:22,254: DEBUG - + footprint=
2020-11-10 07:19:22,254: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:22,255: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:22,255: DEBUG - + dedicated_service=0
2020-11-10 07:19:22,255: DEBUG - + phpversion=7.3
2020-11-10 07:19:22,255: DEBUG - + '[' 7.3 '!=' 7.3 ']'
2020-11-10 07:19:22,255: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:22,255: DEBUG - + '[' 0 -eq 1 ']'
2020-11-10 07:19:22,256: DEBUG - + local fpm_service=php7.3-fpm
2020-11-10 07:19:22,256: DEBUG - + local fpm_config_dir=/etc/php/7.3/fpm
2020-11-10 07:19:22,256: DEBUG - ++ ynh_get_debian_release
2020-11-10 07:19:22,256: DEBUG - +++ lsb_release --codename --short
2020-11-10 07:19:22,356: DEBUG - ++ echo buster
2020-11-10 07:19:22,357: DEBUG - + '[' buster == jessie ']'
2020-11-10 07:19:22,357: DEBUG - + mkdir --parents /etc/php/7.3/fpm/pool.d
2020-11-10 07:19:22,357: DEBUG - + ynh_app_setting_set --app=webtrees --key=fpm_config_dir --value=/etc/php/7.3/fpm
2020-11-10 07:19:22,359: DEBUG - + ynh_app_setting set webtrees fpm_config_dir /etc/php/7.3/fpm
2020-11-10 07:19:22,359: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:22,359: DEBUG - + ACTION=set
2020-11-10 07:19:22,359: DEBUG - + APP=webtrees
2020-11-10 07:19:22,359: DEBUG - + KEY=fpm_config_dir
2020-11-10 07:19:22,360: DEBUG - + VALUE=/etc/php/7.3/fpm
2020-11-10 07:19:22,360: DEBUG - + python2.7 -
2020-11-10 07:19:22,460: DEBUG - + [[ fpm_config_dir =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:22,460: DEBUG - + ynh_app_setting_set --app=webtrees --key=fpm_service --value=php7.3-fpm
2020-11-10 07:19:22,461: DEBUG - + ynh_app_setting set webtrees fpm_service php7.3-fpm
2020-11-10 07:19:22,462: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:22,462: DEBUG - + ACTION=set
2020-11-10 07:19:22,462: DEBUG - + APP=webtrees
2020-11-10 07:19:22,462: DEBUG - + KEY=fpm_service
2020-11-10 07:19:22,462: DEBUG - + VALUE=php7.3-fpm
2020-11-10 07:19:22,462: DEBUG - + python2.7 -
2020-11-10 07:19:22,562: DEBUG - + [[ fpm_service =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:22,563: DEBUG - + ynh_app_setting_set --app=webtrees --key=fpm_dedicated_service --value=0
2020-11-10 07:19:22,564: DEBUG - + ynh_app_setting set webtrees fpm_dedicated_service 0
2020-11-10 07:19:22,564: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:22,565: DEBUG - + ACTION=set
2020-11-10 07:19:22,565: DEBUG - + APP=webtrees
2020-11-10 07:19:22,565: DEBUG - + KEY=fpm_dedicated_service
2020-11-10 07:19:22,565: DEBUG - + VALUE=0
2020-11-10 07:19:22,565: DEBUG - + python2.7 -
2020-11-10 07:19:22,665: DEBUG - + [[ fpm_dedicated_service =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:22,666: DEBUG - + ynh_app_setting_set --app=webtrees --key=phpversion --value=7.3
2020-11-10 07:19:22,667: DEBUG - + ynh_app_setting set webtrees phpversion 7.3
2020-11-10 07:19:22,667: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:22,667: DEBUG - + ACTION=set
2020-11-10 07:19:22,668: DEBUG - + APP=webtrees
2020-11-10 07:19:22,668: DEBUG - + KEY=phpversion
2020-11-10 07:19:22,668: DEBUG - + VALUE=7.3
2020-11-10 07:19:22,668: DEBUG - + python2.7 -
2020-11-10 07:19:22,768: DEBUG - + [[ phpversion =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:22,769: DEBUG - + finalphpconf=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,769: DEBUG - + '[' 0 -eq 1 ']'
2020-11-10 07:19:22,769: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,770: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_webtrees.conf
2020-11-10 07:19:22,770: DEBUG - ++ ynh_app_setting_get --app=webtrees --key=checksum__etc_php_7.3_fpm_pool.d_webtrees.conf
2020-11-10 07:19:22,771: DEBUG - ++ ynh_app_setting get webtrees checksum__etc_php_7.3_fpm_pool.d_webtrees.conf
2020-11-10 07:19:22,771: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-11-10 07:19:22,771: DEBUG - ++ ACTION=get
2020-11-10 07:19:22,771: DEBUG - ++ APP=webtrees
2020-11-10 07:19:22,771: DEBUG - ++ KEY=checksum__etc_php_7.3_fpm_pool.d_webtrees.conf
2020-11-10 07:19:22,771: DEBUG - ++ VALUE=
2020-11-10 07:19:22,772: DEBUG - ++ python2.7 -
2020-11-10 07:19:22,872: DEBUG - ++ [[ checksum__etc_php_7.3_fpm_pool.d_webtrees.conf =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:22,872: DEBUG - + local checksum_value=
2020-11-10 07:19:22,872: DEBUG - + backup_file_checksum=
2020-11-10 07:19:22,873: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:22,873: DEBUG - + '[' 1 -eq 1 ']'
2020-11-10 07:19:22,873: DEBUG - + local phpfpm_path=../conf/php-fpm.conf
2020-11-10 07:19:22,873: DEBUG - + '[' '!' -e ../conf/php-fpm.conf ']'
2020-11-10 07:19:22,874: DEBUG - + '[' -e ../conf/php-fpm.conf ']'
2020-11-10 07:19:22,874: DEBUG - + cp ../conf/php-fpm.conf /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,874: DEBUG - + ynh_replace_string --match_string=__NAMETOCHANGE__ --replace_string=webtrees --target_file=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,876: DEBUG - + local delimit=@
2020-11-10 07:19:22,876: DEBUG - + match_string=__NAMETOCHANGE__
2020-11-10 07:19:22,876: DEBUG - + replace_string=webtrees
2020-11-10 07:19:22,876: DEBUG - + sed --in-place s@__NAMETOCHANGE__@webtrees@g /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,877: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/webtrees --target_file=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,978: DEBUG - + local delimit=@
2020-11-10 07:19:22,979: DEBUG - + match_string=__FINALPATH__
2020-11-10 07:19:22,979: DEBUG - + replace_string=/var/www/webtrees
2020-11-10 07:19:22,979: DEBUG - + sed --in-place s@__FINALPATH__@/var/www/webtrees@g /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,980: DEBUG - + ynh_replace_string --match_string=__USER__ --replace_string=webtrees --target_file=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,982: DEBUG - + local delimit=@
2020-11-10 07:19:22,982: DEBUG - + match_string=__USER__
2020-11-10 07:19:22,982: DEBUG - + replace_string=webtrees
2020-11-10 07:19:22,982: DEBUG - + sed --in-place s@__USER__@webtrees@g /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:22,983: DEBUG - + ynh_replace_string --match_string=__PHPVERSION__ --replace_string=7.3 --target_file=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:23,084: DEBUG - + local delimit=@
2020-11-10 07:19:23,085: DEBUG - + match_string=__PHPVERSION__
2020-11-10 07:19:23,085: DEBUG - + replace_string=7.3
2020-11-10 07:19:23,085: DEBUG - + sed --in-place s@__PHPVERSION__@7.3@g /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:23,085: DEBUG - + chown root: /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:23,085: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:23,087: DEBUG - + local checksum_setting_name=checksum__etc_php_7.3_fpm_pool.d_webtrees.conf
2020-11-10 07:19:23,087: DEBUG - ++ md5sum /etc/php/7.3/fpm/pool.d/webtrees.conf
2020-11-10 07:19:23,087: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-11-10 07:19:23,088: DEBUG - + ynh_app_setting_set --app=webtrees --key=checksum__etc_php_7.3_fpm_pool.d_webtrees.conf --value=ee25c6622c37c644eed96c4f04cf8e71
2020-11-10 07:19:23,190: DEBUG - + ynh_app_setting set webtrees checksum__etc_php_7.3_fpm_pool.d_webtrees.conf ee25c6622c37c644eed96c4f04cf8e71
2020-11-10 07:19:23,191: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:19:23,191: DEBUG - + ACTION=set
2020-11-10 07:19:23,191: DEBUG - + APP=webtrees
2020-11-10 07:19:23,192: DEBUG - + KEY=checksum__etc_php_7.3_fpm_pool.d_webtrees.conf
2020-11-10 07:19:23,192: DEBUG - + VALUE=ee25c6622c37c644eed96c4f04cf8e71
2020-11-10 07:19:23,192: DEBUG - + python2.7 -
2020-11-10 07:19:23,193: DEBUG - + [[ checksum__etc_php_7.3_fpm_pool.d_webtrees.conf =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:23,193: DEBUG - + '[' -n '' ']'
2020-11-10 07:19:23,193: DEBUG - + unset backup_file_checksum
2020-11-10 07:19:23,193: DEBUG - + '[' -e ../conf/php-fpm.ini ']'
2020-11-10 07:19:23,194: DEBUG - + '[' 0 -eq 1 ']'
2020-11-10 07:19:23,194: DEBUG - + ynh_systemd_action --service_name=php7.3-fpm --action=reload
2020-11-10 07:19:23,297: DEBUG - + service_name=php7.3-fpm
2020-11-10 07:19:23,297: DEBUG - + action=reload
2020-11-10 07:19:23,297: DEBUG - + line_match=
2020-11-10 07:19:23,297: DEBUG - + length=20
2020-11-10 07:19:23,297: DEBUG - + log_path=/var/log/php7.3-fpm/php7.3-fpm.log
2020-11-10 07:19:23,298: DEBUG - + timeout=300
2020-11-10 07:19:23,298: DEBUG - + [[ -n '' ]]
2020-11-10 07:19:23,298: DEBUG - + '[' reload == reload ']'
2020-11-10 07:19:23,298: DEBUG - + action=reload-or-restart
2020-11-10 07:19:23,298: DEBUG - + systemctl reload-or-restart php7.3-fpm
2020-11-10 07:19:23,298: DEBUG - + [[ -n '' ]]
2020-11-10 07:19:23,298: DEBUG - ++ ynh_app_setting_get --app=webtrees --key=phpversion
2020-11-10 07:19:23,300: DEBUG - ++ ynh_app_setting get webtrees phpversion
2020-11-10 07:19:23,300: DEBUG - ++ [[ get == \d\e\l\e\t\e ]]
2020-11-10 07:19:23,300: DEBUG - ++ ACTION=get
2020-11-10 07:19:23,300: DEBUG - ++ APP=webtrees
2020-11-10 07:19:23,300: DEBUG - ++ KEY=phpversion
2020-11-10 07:19:23,300: DEBUG - ++ VALUE=
2020-11-10 07:19:23,300: DEBUG - ++ python2.7 -
2020-11-10 07:19:23,401: DEBUG - ++ [[ phpversion =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:19:23,401: DEBUG - + phpversion=7.3
2020-11-10 07:19:23,401: DEBUG - + ynh_replace_string __dbuser__ webtrees ../conf/config.ini.php
2020-11-10 07:19:23,403: DEBUG - + local delimit=@
2020-11-10 07:19:23,404: DEBUG - + match_string=__dbuser__
2020-11-10 07:19:23,404: DEBUG - + replace_string=webtrees
2020-11-10 07:19:23,404: DEBUG - + sed --in-place s@__dbuser__@webtrees@g ../conf/config.ini.php
2020-11-10 07:19:23,404: DEBUG - + ynh_replace_string __dbpass__ ********** ../conf/config.ini.php
2020-11-10 07:19:23,506: DEBUG - + local delimit=@
2020-11-10 07:19:23,506: DEBUG - + match_string=__dbpass__
2020-11-10 07:19:23,507: DEBUG - + replace_string=**********
2020-11-10 07:19:23,507: DEBUG - + sed --in-place s@__dbpass__@**********@g ../conf/config.ini.php
2020-11-10 07:19:23,507: DEBUG - + ynh_replace_string __dbname__ webtrees ../conf/config.ini.php
2020-11-10 07:19:23,510: DEBUG - + local delimit=@
2020-11-10 07:19:23,510: DEBUG - + match_string=__dbname__
2020-11-10 07:19:23,510: DEBUG - + replace_string=webtrees
2020-11-10 07:19:23,511: DEBUG - + sed --in-place s@__dbname__@webtrees@g ../conf/config.ini.php
2020-11-10 07:19:23,511: DEBUG - + cp ../conf/config.ini.php /var/www/webtrees/data/.
2020-11-10 07:19:23,511: DEBUG - + ynh_mysql_connect_as webtrees ********** webtrees
2020-11-10 07:19:23,614: DEBUG - + database=webtrees
2020-11-10 07:19:23,614: DEBUG - + mysql --user=webtrees --password=********** --batch webtrees
2020-11-10 07:20:23,547: DEBUG - + ynh_replace_string __USER_NAME__ admin ../conf/sql/admin.sql
2020-11-10 07:20:23,650: DEBUG - + local delimit=@
2020-11-10 07:20:23,650: DEBUG - + match_string=__USER_NAME__
2020-11-10 07:20:23,650: DEBUG - + replace_string=admin
2020-11-10 07:20:23,650: DEBUG - + sed --in-place s@__USER_NAME__@admin@g ../conf/sql/admin.sql
2020-11-10 07:20:23,650: DEBUG - + ynh_replace_string __NAME__ 'Ralph Shinevar' ../conf/sql/admin.sql
2020-11-10 07:20:23,653: DEBUG - + local delimit=@
2020-11-10 07:20:23,653: DEBUG - + match_string=__NAME__
2020-11-10 07:20:23,654: DEBUG - + replace_string='Ralph Shinevar'
2020-11-10 07:20:23,654: DEBUG - + sed --in-place 's@__NAME__@Ralph Shinevar@g' ../conf/sql/admin.sql
2020-11-10 07:20:23,654: DEBUG - + ynh_replace_string __USER_EMAIL__ ralph.shinevar@gmail.com ../conf/sql/admin.sql
2020-11-10 07:20:23,757: DEBUG - + local delimit=@
2020-11-10 07:20:23,757: DEBUG - + match_string=__USER_EMAIL__
2020-11-10 07:20:23,757: DEBUG - + replace_string='ralph.shinevar\@gmail.com'
2020-11-10 07:20:23,757: DEBUG - + sed --in-place 's@__USER_EMAIL__@ralph.shinevar\@gmail.com@g' ../conf/sql/admin.sql
2020-11-10 07:20:23,757: DEBUG - + ynh_replace_string __PASSWORD__ ********** ../conf/sql/admin.sql
2020-11-10 07:20:23,760: DEBUG - + local delimit=@
2020-11-10 07:20:23,760: DEBUG - + match_string=__PASSWORD__
2020-11-10 07:20:23,760: DEBUG - + replace_string=**********
2020-11-10 07:20:23,760: DEBUG - + sed --in-place 's@__PASSWORD__@$1$xyz$Z0GvWcXlC4Zm4yoWLqnQ51@g' ../conf/sql/admin.sql
2020-11-10 07:20:23,761: DEBUG - + ynh_mysql_connect_as webtrees ********** webtrees
2020-11-10 07:20:23,863: DEBUG - + database=webtrees
2020-11-10 07:20:23,864: DEBUG - + mysql --user=webtrees --password=********** --batch webtrees
2020-11-10 07:20:23,964: DEBUG - + ynh_store_file_checksum --file=/var/www/webtrees/data/config.ini.php
2020-11-10 07:20:23,966: DEBUG - + local checksum_setting_name=checksum__var_www_webtrees_data_config.ini.php
2020-11-10 07:20:23,966: DEBUG - ++ md5sum /var/www/webtrees/data/config.ini.php
2020-11-10 07:20:23,966: DEBUG - ++ cut '--delimiter= ' --fields=1
2020-11-10 07:20:23,966: DEBUG - + ynh_app_setting_set --app=webtrees --key=checksum__var_www_webtrees_data_config.ini.php --value=566636e43891e609f133b13af84309d5
2020-11-10 07:20:23,967: DEBUG - + ynh_app_setting set webtrees checksum__var_www_webtrees_data_config.ini.php 566636e43891e609f133b13af84309d5
2020-11-10 07:20:23,968: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:20:23,968: DEBUG - + ACTION=set
2020-11-10 07:20:23,968: DEBUG - + APP=webtrees
2020-11-10 07:20:23,968: DEBUG - + KEY=checksum__var_www_webtrees_data_config.ini.php
2020-11-10 07:20:23,968: DEBUG - + VALUE=566636e43891e609f133b13af84309d5
2020-11-10 07:20:23,968: DEBUG - + python2.7 -
2020-11-10 07:20:24,069: DEBUG - + [[ checksum__var_www_webtrees_data_config.ini.php =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:20:24,069: INFO - [##############++....] > Configuring SSOwat...
2020-11-10 07:20:24,069: DEBUG - + '[' -n '' ']'
2020-11-10 07:20:24,070: DEBUG - + unset backup_file_checksum
2020-11-10 07:20:24,070: DEBUG - + chown -R webtrees: /var/www/webtrees
2020-11-10 07:20:24,070: DEBUG - + chmod -R 700 /var/www/webtrees/data
2020-11-10 07:20:24,071: DEBUG - + echo '[##############++....] > Configuring SSOwat...'
2020-11-10 07:20:24,072: DEBUG - + '[' 1 -eq 1 ']'
2020-11-10 07:20:24,072: DEBUG - + ynh_app_setting_set --app=webtrees --key=unprotected_uris --value=/
2020-11-10 07:20:24,175: DEBUG - + ynh_app_setting set webtrees unprotected_uris /
2020-11-10 07:20:24,175: 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-11-10 07:20:24,175: DEBUG - + [[ set == \d\e\l\e\t\e ]]
2020-11-10 07:20:24,176: DEBUG - + ACTION=set
2020-11-10 07:20:24,176: DEBUG - + APP=webtrees
2020-11-10 07:20:24,176: DEBUG - + KEY=unprotected_uris
2020-11-10 07:20:24,176: DEBUG - + VALUE=/
2020-11-10 07:20:24,176: DEBUG - + python2.7 -
2020-11-10 07:20:24,276: DEBUG - + [[ unprotected_uris =~ ^(unprotected|skipped)_ ]]
2020-11-10 07:20:24,277: DEBUG - + [[ set == \s\e\t ]]
2020-11-10 07:20:24,277: DEBUG - + [[ / == \/ ]]
2020-11-10 07:20:24,277: DEBUG - + ynh_permission_update --permission main --add visitors
2020-11-10 07:20:24,278: DEBUG - + add=visitors
2020-11-10 07:20:24,278: DEBUG - + remove=
2020-11-10 07:20:24,278: DEBUG - + [[ -n visitors ]]
2020-11-10 07:20:24,278: DEBUG - + add='--add visitors'
2020-11-10 07:20:24,278: DEBUG - + [[ -n '' ]]
2020-11-10 07:20:24,278: DEBUG - + yunohost user permission update webtrees.main --add visitors
2020-11-10 07:20:24,579: DEBUG - allowed:
2020-11-10 07:20:24,579: DEBUG - - visitors
2020-11-10 07:20:24,579: DEBUG - - all_users
2020-11-10 07:20:24,580: DEBUG - corresponding_users: ralphshinevar
2020-11-10 07:20:24,580: DEBUG - url: /
2020-11-10 07:20:24,580: DEBUG - + echo '[################++..] > Reloading NGINX web server...'
2020-11-10 07:20:24,581: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-11-10 07:20:24,683: DEBUG - + service_name=nginx
2020-11-10 07:20:24,684: INFO - [################++..] > Reloading NGINX web server...
2020-11-10 07:20:24,684: DEBUG - + action=reload
2020-11-10 07:20:24,684: DEBUG - + line_match=
2020-11-10 07:20:24,684: DEBUG - + length=20
2020-11-10 07:20:24,685: DEBUG - + log_path=/var/log/nginx/nginx.log
2020-11-10 07:20:24,685: DEBUG - + timeout=300
2020-11-10 07:20:24,685: DEBUG - + [[ -n '' ]]
2020-11-10 07:20:24,685: DEBUG - + '[' reload == reload ']'
2020-11-10 07:20:24,685: DEBUG - + action=reload-or-restart
2020-11-10 07:20:24,686: DEBUG - + systemctl reload-or-restart nginx
2020-11-10 07:20:24,786: DEBUG - + [[ -n '' ]]
2020-11-10 07:20:24,786: DEBUG - + message='Webtrees was successfully installed :)
2020-11-10 07:20:24,787: DEBUG -
2020-11-10 07:20:24,787: DEBUG - Please open https://maindomain.tld/webtrees1
2020-11-10 07:20:24,787: DEBUG -
2020-11-10 07:20:24,787: DEBUG - Your credentials for the admin panel are:
2020-11-10 07:20:24,787: DEBUG - - admin username: admin
2020-11-10 07:20:24,787: DEBUG - - admin password: **********
2020-11-10 07:20:24,788: DEBUG -
2020-11-10 07:20:24,788: DEBUG - If you facing an issue or want to improve Webtrees, please open a new issue in this project: https://github.com/YunoHost-Apps/webtrees_ynh'
2020-11-10 07:20:24,788: DEBUG - + ynh_send_readme_to_admin 'Webtrees was successfully installed :)
2020-11-10 07:20:24,788: DEBUG -
2020-11-10 07:20:24,788: DEBUG - Please open https://maindomain.tld/webtrees1
2020-11-10 07:20:24,788: DEBUG -
2020-11-10 07:20:24,788: DEBUG - Your credentials for the admin panel are:
2020-11-10 07:20:24,789: DEBUG - - admin username: admin
2020-11-10 07:20:24,789: DEBUG - - admin password: **********
2020-11-10 07:20:24,789: DEBUG -
2020-11-10 07:20:24,789: DEBUG - If you facing an issue or want to improve Webtrees, please open a new issue in this project: https://github.com/YunoHost-Apps/webtrees_ynh'
2020-11-10 07:20:24,789: DEBUG - + local 'app_message=Webtrees was successfully installed :)
2020-11-10 07:20:24,789: DEBUG -
2020-11-10 07:20:24,790: DEBUG - Please open https://maindomain.tld/webtrees1
2020-11-10 07:20:24,790: DEBUG -
2020-11-10 07:20:24,790: DEBUG - Your credentials for the admin panel are:
2020-11-10 07:20:24,790: DEBUG - - admin username: admin
2020-11-10 07:20:24,790: DEBUG - - admin password: **********
2020-11-10 07:20:24,790: DEBUG -
2020-11-10 07:20:24,790: DEBUG - If you facing an issue or want to improve Webtrees, please open a new issue in this project: https://github.com/YunoHost-Apps/webtrees_ynh'
2020-11-10 07:20:24,791: DEBUG - + local recipients=root
2020-11-10 07:20:24,791: DEBUG - ++ find_mails root
2020-11-10 07:20:24,791: DEBUG - ++ local list_mails=root
2020-11-10 07:20:24,791: DEBUG - ++ local 'recipients= '
2020-11-10 07:20:24,791: DEBUG - ++ for mail in $list_mails
2020-11-10 07:20:24,792: DEBUG - ++ '[' root = root ']'
2020-11-10 07:20:24,792: DEBUG - ++ recipients=' root'
2020-11-10 07:20:24,792: DEBUG - ++ echo ' root'
2020-11-10 07:20:24,792: DEBUG - + recipients=' root'
2020-11-10 07:20:24,792: DEBUG - + local 'mail_subject=☁️🆈🅽🅷☁️: `webtrees` has important message for you'
2020-11-10 07:20:24,792: DEBUG - + local 'mail_message=This is an automated message from your beloved YunoHost server. Specific information for webtrees.
2020-11-10 07:20:24,792: DEBUG - Webtrees was successfully installed :)
2020-11-10 07:20:24,793: DEBUG -
2020-11-10 07:20:24,793: DEBUG - Please open https://maindomain.tld/webtrees1
2020-11-10 07:20:24,793: DEBUG -
2020-11-10 07:20:24,793: DEBUG - Your credentials for the admin panel are:
2020-11-10 07:20:24,793: DEBUG - - admin username: admin
2020-11-10 07:20:24,793: DEBUG - - admin password: **********
2020-11-10 07:20:24,794: DEBUG -
2020-11-10 07:20:24,794: DEBUG - If you facing an issue or want to improve Webtrees, please open a new issue in this project: https://github.com/YunoHost-Apps/webtrees_ynh'
2020-11-10 07:20:24,794: DEBUG - + '[' -e /usr/bin/bsd-mailx ']'
2020-11-10 07:20:24,794: DEBUG - + local mail_bin=/usr/bin/mail.mailutils
2020-11-10 07:20:24,794: DEBUG - + echo 'This is an automated message from your beloved YunoHost server. Specific information for webtrees.
2020-11-10 07:20:24,794: DEBUG - Webtrees was successfully installed :)
2020-11-10 07:20:24,794: DEBUG -
2020-11-10 07:20:24,794: DEBUG - Please open https://maindomain.tld/webtrees1
2020-11-10 07:20:24,795: DEBUG -
2020-11-10 07:20:24,795: DEBUG - Your credentials for the admin panel are:
2020-11-10 07:20:24,795: DEBUG - - admin username: admin
2020-11-10 07:20:24,795: DEBUG - - admin password: **********
2020-11-10 07:20:24,795: DEBUG -
2020-11-10 07:20:24,795: DEBUG - If you facing an issue or want to improve Webtrees, please open a new issue in this project: https://github.com/YunoHost-Apps/webtrees_ynh'
2020-11-10 07:20:24,795: DEBUG - + /usr/bin/mail.mailutils -a 'Content-Type: text/plain; charset=UTF-8' -s '☁️🆈🅽🅷☁️: `webtrees` has important message for you' ' root'
2020-11-10 07:20:24,897: DEBUG - + echo '[##################++] > Installation of Webtrees completed'
2020-11-10 07:20:24,897: DEBUG - + ynh_exit_properly
2020-11-10 07:20:24,897: DEBUG - + local exit_code=0
2020-11-10 07:20:24,897: DEBUG - + '[' 0 -eq 0 ']'
2020-11-10 07:20:24,897: DEBUG - + exit 0
2020-11-10 07:20:24,973: DEBUG - Checking that required services are up and running...
2020-11-10 07:20:25,246: DEBUG - The permission database has been resynchronized
2020-11-10 07:20:25,296: DEBUG - SSOwat configuration generated
2020-11-10 07:20:25,301: SUCCESS - Installation completed
2020-11-10 07:20:25,302: DEBUG - No default hook for action 'post_app_install' in /usr/share/yunohost/hooks/
2020-11-10 07:20:25,302: DEBUG - No custom hook for action 'post_app_install' in