I cannot achieve installation on my kimsufi server. I get the following log.
2020-02-20 13:44:17,107: INFO - Installing application kresus…
2020-02-20 13:44:17,185: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts YNH_STDINFO=/tmp/tmpLvolba/stdinfo YNH_APP_INSTANCE_NAME=kresus YNH_INTERFACE=api YNH_APP_ID=kresus YNH_APP_ARG_PATH=/ YNH_STDRETURN=/tmp/tmpodHJmW/stdreturn YNH_APP_ARG_DOMAIN=s.10qt.net BASH_XTRACEFD=7 /bin/bash -x "./install" s.10qt.net / kresus 7>&1'…
2020-02-20 13:44:17,185: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts YNH_STDINFO=/tmp/tmpLvolba/stdinfo YNH_APP_INSTANCE_NAME=kresus YNH_INTERFACE=api YNH_APP_ID=kresus YNH_APP_ARG_PATH=/ YNH_STDRETURN=/tmp/tmpodHJmW/stdreturn YNH_APP_ARG_DOMAIN=s.10qt.net BASH_XTRACEFD=7 /bin/bash -x "./install" s.10qt.net / kresus 7>&1']'
2020-02-20 13:44:17,295: DEBUG - + source _common.sh
2020-02-20 13:44:17,295: DEBUG - ++ pkg_dependencies='dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv'
2020-02-20 13:44:17,296: DEBUG - + source /usr/share/yunohost/helpers
2020-02-20 13:44:17,296: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-02-20 13:44:17,296: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,296: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-02-20 13:44:17,296: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-02-20 13:44:17,297: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,297: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-02-20 13:44:17,297: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-02-20 13:44:17,297: DEBUG - +++ CAN_BIND=1
2020-02-20 13:44:17,297: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,297: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-02-20 13:44:17,297: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-02-20 13:44:17,298: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,298: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-02-20 13:44:17,298: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-02-20 13:44:17,298: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,298: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-02-20 13:44:17,298: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-02-20 13:44:17,299: DEBUG - +++ increment_progression=0
2020-02-20 13:44:17,299: DEBUG - +++ previous_weight=0
2020-02-20 13:44:17,299: DEBUG - +++ max_progression=-1
2020-02-20 13:44:17,299: DEBUG - +++ progress_scale=20
2020-02-20 13:44:17,299: DEBUG - +++ progress_string2='####################'
2020-02-20 13:44:17,299: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-02-20 13:44:17,300: DEBUG - +++ progress_string0=....................
2020-02-20 13:44:17,300: DEBUG - ++++ date +%s
2020-02-20 13:44:17,300: DEBUG - +++ base_time=1582202657
2020-02-20 13:44:17,300: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,300: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-02-20 13:44:17,300: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-02-20 13:44:17,300: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,301: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-02-20 13:44:17,301: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-02-20 13:44:17,301: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-02-20 13:44:17,301: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,301: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-02-20 13:44:17,301: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-02-20 13:44:17,302: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,302: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-02-20 13:44:17,302: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-02-20 13:44:17,302: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,302: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-02-20 13:44:17,302: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-02-20 13:44:17,302: DEBUG - +++ n_install_dir=/opt/node_n
2020-02-20 13:44:17,303: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-02-20 13:44:17,303: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-02-20 13:44:17,303: DEBUG - +++ N_PREFIX=/opt/node_n
2020-02-20 13:44:17,303: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,303: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-02-20 13:44:17,303: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-02-20 13:44:17,303: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,304: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-02-20 13:44:17,304: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-02-20 13:44:17,304: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-02-20 13:44:17,304: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,304: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-02-20 13:44:17,304: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-02-20 13:44:17,305: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,305: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-02-20 13:44:17,305: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-02-20 13:44:17,305: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,305: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-02-20 13:44:17,305: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-02-20 13:44:17,305: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,306: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-02-20 13:44:17,306: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-02-20 13:44:17,306: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-02-20 13:44:17,306: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-02-20 13:44:17,306: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-02-20 13:44:17,306: DEBUG - + ynh_abort_if_errors
2020-02-20 13:44:17,306: DEBUG - + set -eu
2020-02-20 13:44:17,307: DEBUG - + trap ynh_exit_properly EXIT
2020-02-20 13:44:17,307: DEBUG - + domain=s.10qt.net
2020-02-20 13:44:17,307: DEBUG - + path_url=/
2020-02-20 13:44:17,307: DEBUG - + app=kresus
2020-02-20 13:44:17,307: DEBUG - + final_path=/var/www/kresus
2020-02-20 13:44:17,307: DEBUG - + test '!' -e /var/www/kresus
2020-02-20 13:44:17,308: DEBUG - ++ ynh_normalize_url_path /
2020-02-20 13:44:17,308: DEBUG - ++ local legacy_args=p
2020-02-20 13:44:17,308: DEBUG - ++ args_array=([p]=path_url=)
2020-02-20 13:44:17,308: DEBUG - ++ declare -Ar args_array
2020-02-20 13:44:17,308: DEBUG - ++ local path_url
2020-02-20 13:44:17,308: DEBUG - ++ ynh_handle_getopts_args /
2020-02-20 13:44:17,308: DEBUG - ++ set +x
2020-02-20 13:44:17,309: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-02-20 13:44:17,309: DEBUG - ++ set +x
2020-02-20 13:44:17,309: DEBUG - ++ test -n /
2020-02-20 13:44:17,309: DEBUG - ++ '[' / '!=' / ']'
2020-02-20 13:44:17,309: DEBUG - ++ '[' / == / ']'
2020-02-20 13:44:17,309: DEBUG - ++ '[' 1 -gt 1 ']'
2020-02-20 13:44:17,309: DEBUG - ++ echo /
2020-02-20 13:44:17,310: DEBUG - + path_url=/
2020-02-20 13:44:17,310: DEBUG - + ynh_webpath_available s.10qt.net /
2020-02-20 13:44:17,310: DEBUG - + local legacy_args=dp
2020-02-20 13:44:17,310: DEBUG - + args_array=([d]=domain= [p]=path_url=)
2020-02-20 13:44:17,310: DEBUG - + declare -Ar args_array
2020-02-20 13:44:17,310: DEBUG - + local domain
2020-02-20 13:44:17,310: DEBUG - + local path_url
2020-02-20 13:44:17,311: DEBUG - + ynh_handle_getopts_args s.10qt.net /
2020-02-20 13:44:17,311: DEBUG - + set +x
2020-02-20 13:44:17,311: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:17,311: DEBUG - + set +x
2020-02-20 13:44:17,311: DEBUG - + sudo yunohost domain url-available s.10qt.net /
2020-02-20 13:44:17,612: DEBUG - True
2020-02-20 13:44:17,712: DEBUG - + ynh_webpath_register kresus s.10qt.net /
2020-02-20 13:44:17,713: DEBUG - + local legacy_args=adp
2020-02-20 13:44:17,713: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2020-02-20 13:44:17,713: DEBUG - + declare -Ar args_array
2020-02-20 13:44:17,713: DEBUG - + local app
2020-02-20 13:44:17,713: DEBUG - + local domain
2020-02-20 13:44:17,713: DEBUG - + local path_url
2020-02-20 13:44:17,714: DEBUG - + ynh_handle_getopts_args kresus s.10qt.net /
2020-02-20 13:44:17,714: DEBUG - + set +x
2020-02-20 13:44:17,714: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:17,714: DEBUG - + set +x
2020-02-20 13:44:17,714: DEBUG - + sudo yunohost app register-url kresus s.10qt.net /
2020-02-20 13:44:18,015: DEBUG - + ynh_app_setting_set kresus domain s.10qt.net
2020-02-20 13:44:18,015: DEBUG - + local legacy_args=akv
2020-02-20 13:44:18,015: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:18,015: DEBUG - + declare -Ar args_array
2020-02-20 13:44:18,015: DEBUG - + local app
2020-02-20 13:44:18,015: DEBUG - + local key
2020-02-20 13:44:18,016: DEBUG - + local value
2020-02-20 13:44:18,016: DEBUG - + ynh_handle_getopts_args kresus domain s.10qt.net
2020-02-20 13:44:18,016: DEBUG - + set +x
2020-02-20 13:44:18,016: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:18,016: DEBUG - + set +x
2020-02-20 13:44:18,016: DEBUG - + ynh_app_setting set kresus domain s.10qt.net
2020-02-20 13:44:18,016: DEBUG - + ACTION=set
2020-02-20 13:44:18,016: DEBUG - + APP=kresus
2020-02-20 13:44:18,016: DEBUG - + KEY=domain
2020-02-20 13:44:18,016: DEBUG - + VALUE=s.10qt.net
2020-02-20 13:44:18,017: DEBUG - + python -
2020-02-20 13:44:18,117: DEBUG - + ynh_app_setting_set kresus path /
2020-02-20 13:44:18,117: DEBUG - + local legacy_args=akv
2020-02-20 13:44:18,117: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:18,118: DEBUG - + declare -Ar args_array
2020-02-20 13:44:18,118: DEBUG - + local app
2020-02-20 13:44:18,118: DEBUG - + local key
2020-02-20 13:44:18,118: DEBUG - + local value
2020-02-20 13:44:18,119: DEBUG - + ynh_handle_getopts_args kresus path /
2020-02-20 13:44:18,119: DEBUG - + set +x
2020-02-20 13:44:18,119: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:18,119: DEBUG - + set +x
2020-02-20 13:44:18,119: DEBUG - + ynh_app_setting set kresus path /
2020-02-20 13:44:18,119: DEBUG - + ACTION=set
2020-02-20 13:44:18,119: DEBUG - + APP=kresus
2020-02-20 13:44:18,119: DEBUG - + KEY=path
2020-02-20 13:44:18,119: DEBUG - + VALUE=/
2020-02-20 13:44:18,120: DEBUG - + python -
2020-02-20 13:44:18,120: DEBUG - ++ ynh_find_port 9876
2020-02-20 13:44:18,120: DEBUG - ++ local legacy_args=p
2020-02-20 13:44:18,120: DEBUG - ++ args_array=([p]=port=)
2020-02-20 13:44:18,120: DEBUG - ++ declare -Ar args_array
2020-02-20 13:44:18,120: DEBUG - ++ local port
2020-02-20 13:44:18,121: DEBUG - ++ ynh_handle_getopts_args 9876
2020-02-20 13:44:18,121: DEBUG - ++ set +x
2020-02-20 13:44:18,121: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-02-20 13:44:18,121: DEBUG - ++ set +x
2020-02-20 13:44:18,121: DEBUG - ++ test -n 9876
2020-02-20 13:44:18,122: DEBUG - ++ netcat -z 127.0.0.1 9876
2020-02-20 13:44:18,122: DEBUG - ++ echo 9876
2020-02-20 13:44:18,122: DEBUG - + port=9876
2020-02-20 13:44:18,122: DEBUG - ++ ynh_string_random 40
2020-02-20 13:44:18,122: DEBUG - ++ local legacy_args=l
2020-02-20 13:44:18,122: DEBUG - ++ args_array=([l]=length=)
2020-02-20 13:44:18,123: DEBUG - ++ declare -Ar args_array
2020-02-20 13:44:18,123: DEBUG - ++ local length
2020-02-20 13:44:18,123: DEBUG - ++ ynh_handle_getopts_args 40
2020-02-20 13:44:18,123: DEBUG - ++ set +x
2020-02-20 13:44:18,123: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-02-20 13:44:18,123: DEBUG - ++ set +x
2020-02-20 13:44:18,224: DEBUG - ++ length=40
2020-02-20 13:44:18,224: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2020-02-20 13:44:18,224: DEBUG - ++ tr -c -d A-Za-z0-9
2020-02-20 13:44:18,225: DEBUG - ++ sed -n 's/\(.\{40\}\).*/\1/p'
2020-02-20 13:44:18,225: DEBUG - + salt=LrI02YexxLDfk36xLaPjvDtpQK3HuxHhkTLutwvk
2020-02-20 13:44:18,225: DEBUG - + ynh_app_setting_set kresus port 9876
2020-02-20 13:44:18,226: DEBUG - + local legacy_args=akv
2020-02-20 13:44:18,226: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:18,226: DEBUG - + declare -Ar args_array
2020-02-20 13:44:18,226: DEBUG - + local app
2020-02-20 13:44:18,227: DEBUG - + local key
2020-02-20 13:44:18,227: DEBUG - + local value
2020-02-20 13:44:18,227: DEBUG - + ynh_handle_getopts_args kresus port 9876
2020-02-20 13:44:18,228: DEBUG - + set +x
2020-02-20 13:44:18,228: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:18,228: DEBUG - + set +x
2020-02-20 13:44:18,228: DEBUG - + ynh_app_setting set kresus port 9876
2020-02-20 13:44:18,228: DEBUG - + ACTION=set
2020-02-20 13:44:18,229: DEBUG - + APP=kresus
2020-02-20 13:44:18,229: DEBUG - + KEY=port
2020-02-20 13:44:18,229: DEBUG - + VALUE=9876
2020-02-20 13:44:18,229: DEBUG - + python -
2020-02-20 13:44:18,229: DEBUG - + ynh_app_setting_set kresus salt LrI02YexxLDfk36xLaPjvDtpQK3HuxHhkTLutwvk
2020-02-20 13:44:18,229: DEBUG - + local legacy_args=akv
2020-02-20 13:44:18,229: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:18,229: DEBUG - + declare -Ar args_array
2020-02-20 13:44:18,230: DEBUG - + local app
2020-02-20 13:44:18,230: DEBUG - + local key
2020-02-20 13:44:18,230: DEBUG - + local value
2020-02-20 13:44:18,230: DEBUG - + ynh_handle_getopts_args kresus salt LrI02YexxLDfk36xLaPjvDtpQK3HuxHhkTLutwvk
2020-02-20 13:44:18,230: DEBUG - + set +x
2020-02-20 13:44:18,230: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:18,230: DEBUG - + set +x
2020-02-20 13:44:18,230: DEBUG - + ynh_app_setting set kresus salt LrI02YexxLDfk36xLaPjvDtpQK3HuxHhkTLutwvk
2020-02-20 13:44:18,231: DEBUG - + ACTION=set
2020-02-20 13:44:18,231: DEBUG - + APP=kresus
2020-02-20 13:44:18,231: DEBUG - + KEY=salt
2020-02-20 13:44:18,231: DEBUG - + VALUE=LrI02YexxLDfk36xLaPjvDtpQK3HuxHhkTLutwvk
2020-02-20 13:44:18,231: DEBUG - + python -
2020-02-20 13:44:18,331: DEBUG - + ynh_install_app_dependencies dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv
2020-02-20 13:44:18,332: DEBUG - + local 'dependencies=dh-autoreconf python3-pip python3-dev python3-lxml python3-pillow virtualenv'
2020-02-20 13:44:18,332: DEBUG - + local 'dependencies=dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv'
2020-02-20 13:44:18,332: DEBUG - + local 'dependencies=dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv'
2020-02-20 13:44:18,332: DEBUG - + local manifest_path=../manifest.json
2020-02-20 13:44:18,332: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-02-20 13:44:18,332: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-02-20 13:44:18,332: DEBUG - ++ cut -d '"' -f 4
2020-02-20 13:44:18,332: DEBUG - + local version=0.15.2~ynh4
2020-02-20 13:44:18,332: DEBUG - + '[' 11 -eq 0 ']'
2020-02-20 13:44:18,333: DEBUG - + local dep_app=kresus
2020-02-20 13:44:18,333: DEBUG - + echo dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv
2020-02-20 13:44:18,333: DEBUG - + grep -q php
2020-02-20 13:44:18,333: DEBUG - + cat
2020-02-20 13:44:18,333: DEBUG - + ynh_package_install_from_equivs /tmp/kresus-ynh-deps.control
2020-02-20 13:44:18,333: DEBUG - + local controlfile=/tmp/kresus-ynh-deps.control
2020-02-20 13:44:18,333: DEBUG - ++ grep '^Package: ' /tmp/kresus-ynh-deps.control
2020-02-20 13:44:18,333: DEBUG - ++ cut '-d ' -f 2
2020-02-20 13:44:18,333: DEBUG - + local pkgname=kresus-ynh-deps
2020-02-20 13:44:18,333: DEBUG - ++ grep '^Version: ' /tmp/kresus-ynh-deps.control
2020-02-20 13:44:18,334: DEBUG - ++ cut '-d ' -f 2
2020-02-20 13:44:18,334: DEBUG - + local pkgversion=0.15.2~ynh4
2020-02-20 13:44:18,334: DEBUG - + [[ -z kresus-ynh-deps ]]
2020-02-20 13:44:18,334: DEBUG - + [[ -z 0.15.2~ynh4 ]]
2020-02-20 13:44:18,334: DEBUG - + ynh_package_update
2020-02-20 13:44:18,334: DEBUG - + ynh_apt update
2020-02-20 13:44:18,334: DEBUG - + ynh_wait_dpkg_free
2020-02-20 13:44:18,334: DEBUG - + local try
2020-02-20 13:44:18,334: DEBUG - ++ seq 1 17
2020-02-20 13:44:18,334: DEBUG - + for try in `seq 1 17`
2020-02-20 13:44:18,335: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-02-20 13:44:18,535: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-02-20 13:44:18,535: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-02-20 13:44:18,535: DEBUG - + read dpkg_file
2020-02-20 13:44:18,536: DEBUG - + echo ''
2020-02-20 13:44:18,536: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-02-20 13:44:18,536: DEBUG - + read dpkg_file
2020-02-20 13:44:18,536: DEBUG - + return 0
2020-02-20 13:44:18,536: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-02-20 13:44:18,536: DEBUG - + apt-get -y update
2020-02-20 13:44:18,637: DEBUG - Réception de:1 http://security.debian.org stretch/updates InRelease [94,3 kB]
2020-02-20 13:44:18,637: DEBUG - Réception de:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91,0 kB]
2020-02-20 13:44:18,737: DEBUG - Atteint:3 http://forge.yunohost.org/debian stretch InRelease
2020-02-20 13:44:18,737: DEBUG - Ign:4 http://debian.mirrors.ovh.net/debian stretch InRelease
2020-02-20 13:44:18,738: DEBUG - Réception de:5 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
2020-02-20 13:44:19,139: DEBUG - Atteint:6 https://packages.sury.org/php stretch InRelease
2020-02-20 13:44:19,239: DEBUG - Atteint:7 https://deb.nodesource.com/node_6.x stretch InRelease
2020-02-20 13:44:19,540: DEBUG - 303 ko réceptionnés en 0s (344 ko/s)
2020-02-20 13:44:21,245: DEBUG - Lecture des listes de paquets…
2020-02-20 13:44:21,246: DEBUG - ++ mktemp -d
2020-02-20 13:44:21,246: DEBUG - + local TMPDIR=/tmp/tmp.1LY0Z9IpLm
2020-02-20 13:44:21,246: DEBUG - + echo 10
2020-02-20 13:44:21,246: DEBUG - + ynh_wait_dpkg_free
2020-02-20 13:44:21,246: DEBUG - + local try
2020-02-20 13:44:21,247: DEBUG - ++ seq 1 17
2020-02-20 13:44:21,247: DEBUG - + for try in `seq 1 17`
2020-02-20 13:44:21,247: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-02-20 13:44:21,448: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-02-20 13:44:21,448: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-02-20 13:44:21,448: DEBUG - + read dpkg_file
2020-02-20 13:44:21,448: DEBUG - + echo ''
2020-02-20 13:44:21,448: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-02-20 13:44:21,449: DEBUG - + read dpkg_file
2020-02-20 13:44:21,449: DEBUG - + return 0
2020-02-20 13:44:21,449: DEBUG - + cp /tmp/kresus-ynh-deps.control /tmp/tmp.1LY0Z9IpLm/control
2020-02-20 13:44:21,449: DEBUG - + cd /tmp/tmp.1LY0Z9IpLm
2020-02-20 13:44:21,449: DEBUG - + equivs-build ./control
2020-02-20 13:44:22,952: DEBUG - + dpkg --force-depends -i ./kresus-ynh-deps_0.15.2~ynh4_all.deb
2020-02-20 13:44:23,052: DEBUG - Sélection du paquet kresus-ynh-deps précédemment désélectionné.
2020-02-20 13:44:26,659: DEBUG - (Lecture de la base de données... 83422 fichiers et répertoires déjà installés.)
2020-02-20 13:44:26,659: DEBUG - Préparation du dépaquetage de .../kresus-ynh-deps_0.15.2~ynh4_all.deb ...
2020-02-20 13:44:26,660: DEBUG - Dépaquetage de kresus-ynh-deps (0.15.2~ynh4) ...
2020-02-20 13:44:26,960: DEBUG - dpkg: kresus-ynh-deps : problèmes de dépendances, mais configuration comme demandé :
2020-02-20 13:44:26,961: DEBUG - kresus-ynh-deps dépend de python3-lxml ; cependant :
2020-02-20 13:44:26,961: DEBUG - Le paquet python3-lxml n'est pas installé.
2020-02-20 13:44:26,961: DEBUG -
2020-02-20 13:44:26,961: DEBUG - Paramétrage de kresus-ynh-deps (0.15.2~ynh4) ...
2020-02-20 13:44:27,162: DEBUG - + ynh_package_install -f
2020-02-20 13:44:27,162: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2020-02-20 13:44:27,162: DEBUG - + ynh_wait_dpkg_free
2020-02-20 13:44:27,163: DEBUG - + local try
2020-02-20 13:44:27,163: DEBUG - ++ seq 1 17
2020-02-20 13:44:27,163: DEBUG - + for try in `seq 1 17`
2020-02-20 13:44:27,163: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-02-20 13:44:27,263: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-02-20 13:44:27,264: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-02-20 13:44:27,264: DEBUG - + read dpkg_file
2020-02-20 13:44:27,264: DEBUG - + echo ''
2020-02-20 13:44:27,264: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-02-20 13:44:27,264: DEBUG - + read dpkg_file
2020-02-20 13:44:27,264: DEBUG - + return 0
2020-02-20 13:44:27,264: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-02-20 13:44:27,264: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2020-02-20 13:44:27,465: DEBUG - Lecture des listes de paquets…
2020-02-20 13:44:27,565: DEBUG - Construction de l'arbre des dépendances…
2020-02-20 13:44:27,565: DEBUG - Lecture des informations d'état…
2020-02-20 13:44:27,766: DEBUG - Correction des dépendances... Fait
2020-02-20 13:44:27,867: DEBUG - The following additional packages will be installed:
2020-02-20 13:44:27,867: DEBUG - python3-bs4 python3-html5lib python3-lxml python3-webencodings
2020-02-20 13:44:27,867: DEBUG - Paquets suggérés :
2020-02-20 13:44:27,867: DEBUG - python3-genshi python3-lxml-dbg python-lxml-doc
2020-02-20 13:44:27,967: DEBUG - Les NOUVEAUX paquets suivants seront installés :
2020-02-20 13:44:27,968: DEBUG - python3-bs4 python3-html5lib python3-lxml python3-webencodings
2020-02-20 13:44:28,068: DEBUG - 0 mis à jour, 4 nouvellement installés, 0 à enlever et 0 non mis à jour.
2020-02-20 13:44:28,068: DEBUG - Il est nécessaire de prendre 1 083 ko dans les archives.
2020-02-20 13:44:28,069: DEBUG - Après cette opération, 4 197 ko d'espace disque supplémentaires seront utilisés.
2020-02-20 13:44:28,069: DEBUG - Réception de:1 http://debian.mirrors.ovh.net/debian stretch/main amd64 python3-bs4 all 4.5.3-1 [86,6 kB]
2020-02-20 13:44:28,169: DEBUG - Réception de:2 http://debian.mirrors.ovh.net/debian stretch/main amd64 python3-webencodings all 0.5-2 [10,4 kB]
2020-02-20 13:44:28,170: DEBUG - Réception de:3 http://debian.mirrors.ovh.net/debian stretch/main amd64 python3-html5lib all 0.999999999-1 [86,3 kB]
2020-02-20 13:44:28,170: DEBUG - Réception de:4 http://debian.mirrors.ovh.net/debian stretch/main amd64 python3-lxml amd64 3.7.1-1 [900 kB]
2020-02-20 13:44:28,471: WARNING - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,471: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,472: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:28,472: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,472: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,472: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:28,472: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,473: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,473: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,473: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:28,573: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,574: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,574: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,574: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:28,575: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,575: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,575: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:28,575: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,575: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,676: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,676: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,677: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,677: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,677: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,678: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,678: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,678: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:28,678: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,779: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,779: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,780: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,880: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:28,880: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:29,482: DEBUG - 1 083 ko réceptionnés en 0s (3 605 ko/s)
2020-02-20 13:44:29,582: DEBUG - Sélection du paquet python3-bs4 précédemment désélectionné.
2020-02-20 13:44:29,583: DEBUG - (Lecture de la base de données...
(Lecture de la base de données... 5%
(Lecture de la base de données... 10%
(Lecture de la base de données... 15%
(Lecture de la base de données... 20%
(Lecture de la base de données... 25%
(Lecture de la base de données... 30%
(Lecture de la base de données... 35%
(Lecture de la base de données... 40%
(Lecture de la base de données... 45%
(Lecture de la base de données... 50%
(Lecture de la base de données... 55%
(Lecture de la base de données... 60%
(Lecture de la base de données... 65%
(Lecture de la base de données... 70%
(Lecture de la base de données... 75%
(Lecture de la base de données... 80%
(Lecture de la base de données... 85%
(Lecture de la base de données... 90%
(Lecture de la base de données... 95%
(Lecture de la base de données... 100%
(Lecture de la base de données... 83426 fichiers et répertoires déjà installés.)
2020-02-20 13:44:29,583: DEBUG - Préparation du dépaquetage de .../python3-bs4_4.5.3-1_all.deb ...
2020-02-20 13:44:29,683: DEBUG - Dépaquetage de python3-bs4 (4.5.3-1) ...
2020-02-20 13:44:29,984: DEBUG - Sélection du paquet python3-webencodings précédemment désélectionné.
2020-02-20 13:44:29,984: DEBUG - Préparation du dépaquetage de .../python3-webencodings_0.5-2_all.deb ...
2020-02-20 13:44:29,984: DEBUG - Dépaquetage de python3-webencodings (0.5-2) ...
2020-02-20 13:44:30,385: DEBUG - Sélection du paquet python3-html5lib précédemment désélectionné.
2020-02-20 13:44:30,385: DEBUG - Préparation du dépaquetage de .../python3-html5lib_0.999999999-1_all.deb ...
2020-02-20 13:44:30,385: DEBUG - Dépaquetage de python3-html5lib (0.999999999-1) ...
2020-02-20 13:44:30,686: DEBUG - Sélection du paquet python3-lxml précédemment désélectionné.
2020-02-20 13:44:30,686: DEBUG - Préparation du dépaquetage de .../python3-lxml_3.7.1-1_amd64.deb ...
2020-02-20 13:44:30,687: DEBUG - Dépaquetage de python3-lxml (3.7.1-1) ...
2020-02-20 13:44:31,087: DEBUG - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:31,088: DEBUG - Paramétrage de python3-webencodings (0.5-2) ...
2020-02-20 13:44:31,188: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:31,589: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:31,589: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:31,790: DEBUG - Paramétrage de python3-lxml (3.7.1-1) ...
2020-02-20 13:44:31,890: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:31,891: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:31,891: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,092: DEBUG - Paramétrage de python3-bs4 (4.5.3-1) ...
2020-02-20 13:44:32,192: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,192: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,193: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,493: DEBUG - Paramétrage de python3-html5lib (0.999999999-1) ...
2020-02-20 13:44:32,494: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,594: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,594: DEBUG - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:32,995: DEBUG - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:33,096: WARNING - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:33,096: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:33,097: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:33,097: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:33,097: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:33,098: WARNING - /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
2020-02-20 13:44:33,198: DEBUG - + [[ -n /tmp/tmp.1LY0Z9IpLm ]]
2020-02-20 13:44:33,199: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:33,199: DEBUG - + rm -rf /tmp/tmp.1LY0Z9IpLm
2020-02-20 13:44:33,199: DEBUG - + ynh_package_is_installed kresus-ynh-deps
2020-02-20 13:44:33,199: DEBUG - + local legacy_args=p
2020-02-20 13:44:33,199: DEBUG - + args_array=([p]=package=)
2020-02-20 13:44:33,199: DEBUG - + declare -Ar args_array
2020-02-20 13:44:33,200: DEBUG - + local package
2020-02-20 13:44:33,200: DEBUG - + ynh_handle_getopts_args kresus-ynh-deps
2020-02-20 13:44:33,200: DEBUG - + set +x
2020-02-20 13:44:33,200: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:33,200: DEBUG - + set +x
2020-02-20 13:44:33,200: DEBUG - + ynh_wait_dpkg_free
2020-02-20 13:44:33,200: DEBUG - + local try
2020-02-20 13:44:33,201: DEBUG - ++ seq 1 17
2020-02-20 13:44:33,201: DEBUG - + for try in `seq 1 17`
2020-02-20 13:44:33,201: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-02-20 13:44:33,301: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-02-20 13:44:33,302: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-02-20 13:44:33,302: DEBUG - + read dpkg_file
2020-02-20 13:44:33,302: DEBUG - + echo ''
2020-02-20 13:44:33,302: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-02-20 13:44:33,302: DEBUG - + read dpkg_file
2020-02-20 13:44:33,302: DEBUG - + return 0
2020-02-20 13:44:33,302: DEBUG - + dpkg-query -W -f '${Status}' kresus-ynh-deps
2020-02-20 13:44:33,303: DEBUG - + grep -c 'ok installed'
2020-02-20 13:44:33,403: DEBUG - + rm /tmp/kresus-ynh-deps.control
2020-02-20 13:44:33,403: DEBUG - + ynh_app_setting_set --app=kresus --key=apt_dependencies '--value=dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv'
2020-02-20 13:44:33,404: DEBUG - + local legacy_args=akv
2020-02-20 13:44:33,404: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:33,404: DEBUG - + declare -Ar args_array
2020-02-20 13:44:33,404: DEBUG - + local app
2020-02-20 13:44:33,404: DEBUG - + local key
2020-02-20 13:44:33,405: DEBUG - + local value
2020-02-20 13:44:33,405: DEBUG - + ynh_handle_getopts_args --app=kresus --key=apt_dependencies '--value=dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv'
2020-02-20 13:44:33,405: DEBUG - + set +x
2020-02-20 13:44:33,405: DEBUG - + ynh_app_setting set kresus apt_dependencies 'dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv'
2020-02-20 13:44:33,405: DEBUG - + ACTION=set
2020-02-20 13:44:33,405: DEBUG - + APP=kresus
2020-02-20 13:44:33,405: DEBUG - + KEY=apt_dependencies
2020-02-20 13:44:33,406: DEBUG - + VALUE='dh-autoreconf, python3-pip, python3-dev, python3-lxml, python3-pillow, virtualenv'
2020-02-20 13:44:33,406: DEBUG - + python -
2020-02-20 13:44:33,506: DEBUG - + ynh_app_setting_set kresus final_path /var/www/kresus
2020-02-20 13:44:33,507: DEBUG - + local legacy_args=akv
2020-02-20 13:44:33,507: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:33,507: DEBUG - + declare -Ar args_array
2020-02-20 13:44:33,507: DEBUG - + local app
2020-02-20 13:44:33,507: DEBUG - + local key
2020-02-20 13:44:33,508: DEBUG - + local value
2020-02-20 13:44:33,508: DEBUG - + ynh_handle_getopts_args kresus final_path /var/www/kresus
2020-02-20 13:44:33,508: DEBUG - + set +x
2020-02-20 13:44:33,508: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:33,508: DEBUG - + set +x
2020-02-20 13:44:33,508: DEBUG - + ynh_app_setting set kresus final_path /var/www/kresus
2020-02-20 13:44:33,509: DEBUG - + ACTION=set
2020-02-20 13:44:33,509: DEBUG - + APP=kresus
2020-02-20 13:44:33,509: DEBUG - + KEY=final_path
2020-02-20 13:44:33,509: DEBUG - + VALUE=/var/www/kresus
2020-02-20 13:44:33,509: DEBUG - + python -
2020-02-20 13:44:33,610: DEBUG - + ynh_setup_source /var/www/kresus
2020-02-20 13:44:33,610: DEBUG - + local legacy_args=ds
2020-02-20 13:44:33,610: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2020-02-20 13:44:33,610: DEBUG - + declare -Ar args_array
2020-02-20 13:44:33,610: DEBUG - + local dest_dir
2020-02-20 13:44:33,611: DEBUG - + local source_id
2020-02-20 13:44:33,611: DEBUG - + ynh_handle_getopts_args /var/www/kresus
2020-02-20 13:44:33,611: DEBUG - + set +x
2020-02-20 13:44:33,611: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:33,611: DEBUG - + set +x
2020-02-20 13:44:33,611: DEBUG - + source_id=app
2020-02-20 13:44:33,612: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,612: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src ']'
2020-02-20 13:44:33,612: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,612: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,612: DEBUG - + local src_url=https://framagit.org/kresusapp/kresus/-/archive/0.15.2/kresus-0.15.2.tar.bz2
2020-02-20 13:44:33,612: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,612: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,613: DEBUG - + local src_sum=420ed94313e3343f47d84095bd9adade166cc1e5d83f211d39cb2dd254bb63a6
2020-02-20 13:44:33,613: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,613: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,613: DEBUG - + local src_sumprg=sha256sum
2020-02-20 13:44:33,613: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,613: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,613: DEBUG - + local src_format=tar.bz2
2020-02-20 13:44:33,613: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,613: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,613: DEBUG - + local src_extract=
2020-02-20 13:44:33,613: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,614: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,614: DEBUG - + local src_in_subdir=true
2020-02-20 13:44:33,614: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/app.src
2020-02-20 13:44:33,614: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:33,614: DEBUG - + local src_filename=
2020-02-20 13:44:33,614: DEBUG - + src_sumprg=sha256sum
2020-02-20 13:44:33,614: DEBUG - + src_in_subdir=true
2020-02-20 13:44:33,614: DEBUG - + src_format=tar.bz2
2020-02-20 13:44:33,614: DEBUG - ++ echo tar.bz2
2020-02-20 13:44:33,614: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-02-20 13:44:33,615: DEBUG - + src_format=tar.bz2
2020-02-20 13:44:33,615: DEBUG - + src_extract=true
2020-02-20 13:44:33,615: DEBUG - + '[' '' = '' ']'
2020-02-20 13:44:33,615: DEBUG - + src_filename=app.tar.bz2
2020-02-20 13:44:33,615: DEBUG - + local local_src=/opt/yunohost-apps-src/kresus/app.tar.bz2
2020-02-20 13:44:33,615: DEBUG - + test -e /opt/yunohost-apps-src/kresus/app.tar.bz2
2020-02-20 13:44:33,615: DEBUG - ++ wget -nv -O app.tar.bz2 https://framagit.org/kresusapp/kresus/-/archive/0.15.2/kresus-0.15.2.tar.bz2
2020-02-20 13:44:34,917: DEBUG - + local 'out=2020-02-20 13:44:34 URL:https://framagit.org/kresusapp/kresus/-/archive/0.15.2/kresus-0.15.2.tar.bz2 [2190577] -> "app.tar.bz2" [1]'
2020-02-20 13:44:34,918: DEBUG - + echo '420ed94313e3343f47d84095bd9adade166cc1e5d83f211d39cb2dd254bb63a6 app.tar.bz2'
2020-02-20 13:44:34,918: DEBUG - + sha256sum -c --status
2020-02-20 13:44:35,018: DEBUG - + mkdir -p /var/www/kresus
2020-02-20 13:44:35,018: DEBUG - + true
2020-02-20 13:44:35,018: DEBUG - + '[' tar.bz2 = zip ']'
2020-02-20 13:44:35,019: DEBUG - + local strip=
2020-02-20 13:44:35,019: DEBUG - + '[' true '!=' false ']'
2020-02-20 13:44:35,019: DEBUG - + '[' true == true ']'
2020-02-20 13:44:35,019: DEBUG - + local sub_dirs=1
2020-02-20 13:44:35,019: DEBUG - + strip='--strip-components 1'
2020-02-20 13:44:35,019: DEBUG - + [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-02-20 13:44:35,019: DEBUG - + tar -xf app.tar.bz2 -C /var/www/kresus --strip-components 1
2020-02-20 13:44:35,320: DEBUG - ++ find /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../sources/patches/ -type f -name 'app-*.patch'
2020-02-20 13:44:35,320: DEBUG - ++ wc -l
2020-02-20 13:44:35,321: DEBUG - + (( 0 > 0 ))
2020-02-20 13:44:35,321: DEBUG - + test -e /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../sources/extra_files/app
2020-02-20 13:44:35,321: DEBUG - + mkdir /var/www/kresus/data
2020-02-20 13:44:35,321: DEBUG - + ynh_add_nginx_config
2020-02-20 13:44:35,321: DEBUG - + finalnginxconf=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,321: DEBUG - + local others_var=
2020-02-20 13:44:35,322: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,322: DEBUG - + local legacy_args=f
2020-02-20 13:44:35,322: DEBUG - + args_array=([f]=file=)
2020-02-20 13:44:35,322: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,322: DEBUG - + local file
2020-02-20 13:44:35,322: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,323: DEBUG - + set +x
2020-02-20 13:44:35,323: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_s.10qt.net.d_kresus.conf
2020-02-20 13:44:35,323: DEBUG - ++ ynh_app_setting_get --app=kresus --key=**********
2020-02-20 13:44:35,323: DEBUG - ++ local legacy_args=ak
2020-02-20 13:44:35,323: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-02-20 13:44:35,323: DEBUG - ++ declare -Ar args_array
2020-02-20 13:44:35,324: DEBUG - ++ local app
2020-02-20 13:44:35,324: DEBUG - ++ local key
2020-02-20 13:44:35,324: DEBUG - ++ ynh_handle_getopts_args --app=kresus --key=**********
2020-02-20 13:44:35,324: DEBUG - ++ set +x
2020-02-20 13:44:35,324: DEBUG - ++ ynh_app_setting get kresus **********
2020-02-20 13:44:35,324: DEBUG - ++ ACTION=get
2020-02-20 13:44:35,324: DEBUG - ++ APP=kresus
2020-02-20 13:44:35,325: DEBUG - ++ KEY=**********
2020-02-20 13:44:35,325: DEBUG - ++ VALUE=
2020-02-20 13:44:35,325: DEBUG - ++ python -
2020-02-20 13:44:35,425: DEBUG - + local checksum_value=
2020-02-20 13:44:35,426: DEBUG - + backup_file_checksum=
2020-02-20 13:44:35,426: DEBUG - + '[' -n '' ']'
2020-02-20 13:44:35,426: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,426: DEBUG - + test -n /
2020-02-20 13:44:35,426: DEBUG - + local path_url_slash_less=
2020-02-20 13:44:35,426: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,427: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,427: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,427: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,427: DEBUG - + local match_string
2020-02-20 13:44:35,427: DEBUG - + local replace_string
2020-02-20 13:44:35,427: DEBUG - + local target_file
2020-02-20 13:44:35,428: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/ --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,428: DEBUG - + set +x
2020-02-20 13:44:35,428: DEBUG - + local delimit=@
2020-02-20 13:44:35,428: DEBUG - + match_string=__PATH__/
2020-02-20 13:44:35,428: DEBUG - + replace_string=/
2020-02-20 13:44:35,428: DEBUG - + sudo sed --in-place s@__PATH__/@/@g /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,429: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,429: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,429: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,429: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,429: DEBUG - + local match_string
2020-02-20 13:44:35,429: DEBUG - + local replace_string
2020-02-20 13:44:35,429: DEBUG - + local target_file
2020-02-20 13:44:35,430: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/ --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,430: DEBUG - + set +x
2020-02-20 13:44:35,430: DEBUG - + local delimit=@
2020-02-20 13:44:35,430: DEBUG - + match_string=__PATH__
2020-02-20 13:44:35,430: DEBUG - + replace_string=/
2020-02-20 13:44:35,431: DEBUG - + sudo sed --in-place s@__PATH__@/@g /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,431: DEBUG - + test -n s.10qt.net
2020-02-20 13:44:35,431: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=s.10qt.net --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,431: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,431: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,432: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,432: DEBUG - + local match_string
2020-02-20 13:44:35,432: DEBUG - + local replace_string
2020-02-20 13:44:35,432: DEBUG - + local target_file
2020-02-20 13:44:35,432: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=s.10qt.net --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,432: DEBUG - + set +x
2020-02-20 13:44:35,433: DEBUG - + local delimit=@
2020-02-20 13:44:35,433: DEBUG - + match_string=__DOMAIN__
2020-02-20 13:44:35,433: DEBUG - + replace_string=s.10qt.net
2020-02-20 13:44:35,433: DEBUG - + sudo sed --in-place s@[email protected]@g /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,433: DEBUG - + test -n 9876
2020-02-20 13:44:35,433: DEBUG - + ynh_replace_string --match_string=__PORT__ --replace_string=9876 --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,434: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,434: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,434: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,434: DEBUG - + local match_string
2020-02-20 13:44:35,434: DEBUG - + local replace_string
2020-02-20 13:44:35,434: DEBUG - + local target_file
2020-02-20 13:44:35,434: DEBUG - + ynh_handle_getopts_args --match_string=__PORT__ --replace_string=9876 --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,435: DEBUG - + set +x
2020-02-20 13:44:35,435: DEBUG - + local delimit=@
2020-02-20 13:44:35,435: DEBUG - + match_string=__PORT__
2020-02-20 13:44:35,435: DEBUG - + replace_string=9876
2020-02-20 13:44:35,435: DEBUG - + sudo sed --in-place s@__PORT__@9876@g /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,435: DEBUG - + test -n kresus
2020-02-20 13:44:35,435: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=kresus --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,435: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,435: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,435: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,436: DEBUG - + local match_string
2020-02-20 13:44:35,436: DEBUG - + local replace_string
2020-02-20 13:44:35,436: DEBUG - + local target_file
2020-02-20 13:44:35,436: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=kresus --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,436: DEBUG - + set +x
2020-02-20 13:44:35,436: DEBUG - + local delimit=@
2020-02-20 13:44:35,436: DEBUG - + match_string=__NAME__
2020-02-20 13:44:35,436: DEBUG - + replace_string=kresus
2020-02-20 13:44:35,436: DEBUG - + sudo sed --in-place s@__NAME__@kresus@g /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,537: DEBUG - + test -n /var/www/kresus
2020-02-20 13:44:35,537: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/kresus --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,537: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,537: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,538: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,538: DEBUG - + local match_string
2020-02-20 13:44:35,538: DEBUG - + local replace_string
2020-02-20 13:44:35,538: DEBUG - + local target_file
2020-02-20 13:44:35,538: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/kresus --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,538: DEBUG - + set +x
2020-02-20 13:44:35,538: DEBUG - + local delimit=@
2020-02-20 13:44:35,539: DEBUG - + match_string=__FINALPATH__
2020-02-20 13:44:35,539: DEBUG - + replace_string=/var/www/kresus
2020-02-20 13:44:35,539: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/kresus@g /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,539: DEBUG - + '[' / '!=' / ']'
2020-02-20 13:44:35,539: DEBUG - + ynh_replace_string '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,539: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:35,539: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:35,540: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,540: DEBUG - + local match_string
2020-02-20 13:44:35,540: DEBUG - + local replace_string
2020-02-20 13:44:35,540: DEBUG - + local target_file
2020-02-20 13:44:35,540: DEBUG - + ynh_handle_getopts_args '--match_string=^#root_path_only' --replace_string= --target_file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,540: DEBUG - + set +x
2020-02-20 13:44:35,541: DEBUG - + local delimit=@
2020-02-20 13:44:35,541: DEBUG - + match_string='^#root_path_only'
2020-02-20 13:44:35,541: DEBUG - + replace_string=
2020-02-20 13:44:35,541: DEBUG - + sudo sed --in-place 's@^#root_path_only@@g' /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,541: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,541: DEBUG - + local legacy_args=f
2020-02-20 13:44:35,541: DEBUG - + args_array=([f]=file=)
2020-02-20 13:44:35,541: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,542: DEBUG - + local file
2020-02-20 13:44:35,542: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,542: DEBUG - + set +x
2020-02-20 13:44:35,542: DEBUG - + local checksum_setting_name=**********
2020-02-20 13:44:35,542: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,542: DEBUG - ++ cut '-d ' -f1
2020-02-20 13:44:35,542: DEBUG - + ynh_app_setting_set --app=kresus --key=********** --value=1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,543: DEBUG - + local legacy_args=akv
2020-02-20 13:44:35,543: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:35,543: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,543: DEBUG - + local app
2020-02-20 13:44:35,543: DEBUG - + local key
2020-02-20 13:44:35,543: DEBUG - + local value
2020-02-20 13:44:35,543: DEBUG - + ynh_handle_getopts_args --app=kresus --key=********** --value=1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,544: DEBUG - + set +x
2020-02-20 13:44:35,544: DEBUG - + ynh_app_setting set kresus ********** 1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,544: DEBUG - + ACTION=set
2020-02-20 13:44:35,544: DEBUG - + APP=kresus
2020-02-20 13:44:35,544: DEBUG - + KEY=**********
2020-02-20 13:44:35,544: DEBUG - + VALUE=1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,544: DEBUG - + python -
2020-02-20 13:44:35,645: DEBUG - + '[' -n '' ']'
2020-02-20 13:44:35,645: DEBUG - + unset backup_file_checksum
2020-02-20 13:44:35,645: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2020-02-20 13:44:35,645: DEBUG - + local legacy_args=nalpte
2020-02-20 13:44:35,646: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2020-02-20 13:44:35,646: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,646: DEBUG - + local service_name
2020-02-20 13:44:35,646: DEBUG - + local action
2020-02-20 13:44:35,646: DEBUG - + local line_match
2020-02-20 13:44:35,646: DEBUG - + local length
2020-02-20 13:44:35,646: DEBUG - + local log_path
2020-02-20 13:44:35,647: DEBUG - + local timeout
2020-02-20 13:44:35,647: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2020-02-20 13:44:35,647: DEBUG - + set +x
2020-02-20 13:44:35,647: DEBUG - + local service_name=nginx
2020-02-20 13:44:35,647: DEBUG - + local action=reload
2020-02-20 13:44:35,647: DEBUG - + local log_path=/var/log/nginx/nginx.log
2020-02-20 13:44:35,647: DEBUG - + local length=20
2020-02-20 13:44:35,648: DEBUG - + local timeout=300
2020-02-20 13:44:35,648: DEBUG - + [[ -n '' ]]
2020-02-20 13:44:35,648: DEBUG - + '[' reload == reload ']'
2020-02-20 13:44:35,648: DEBUG - + action=reload-or-restart
2020-02-20 13:44:35,648: DEBUG - + systemctl reload-or-restart nginx
2020-02-20 13:44:35,749: DEBUG - + [[ -n '' ]]
2020-02-20 13:44:35,749: DEBUG - + '[' / '!=' / ']'
2020-02-20 13:44:35,749: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,749: DEBUG - + local legacy_args=f
2020-02-20 13:44:35,749: DEBUG - + args_array=([f]=file=)
2020-02-20 13:44:35,750: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,750: DEBUG - + local file
2020-02-20 13:44:35,750: DEBUG - + ynh_handle_getopts_args /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,750: DEBUG - + set +x
2020-02-20 13:44:35,750: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:35,750: DEBUG - + set +x
2020-02-20 13:44:35,751: DEBUG - + local checksum_setting_name=**********
2020-02-20 13:44:35,751: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/s.10qt.net.d/kresus.conf
2020-02-20 13:44:35,751: DEBUG - ++ cut '-d ' -f1
2020-02-20 13:44:35,751: DEBUG - + ynh_app_setting_set --app=kresus --key=********** --value=1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,751: DEBUG - + local legacy_args=akv
2020-02-20 13:44:35,751: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:35,751: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,752: DEBUG - + local app
2020-02-20 13:44:35,752: DEBUG - + local key
2020-02-20 13:44:35,752: DEBUG - + local value
2020-02-20 13:44:35,752: DEBUG - + ynh_handle_getopts_args --app=kresus --key=********** --value=1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,752: DEBUG - + set +x
2020-02-20 13:44:35,752: DEBUG - + ynh_app_setting set kresus ********** 1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,753: DEBUG - + ACTION=set
2020-02-20 13:44:35,753: DEBUG - + APP=kresus
2020-02-20 13:44:35,753: DEBUG - + KEY=**********
2020-02-20 13:44:35,753: DEBUG - + VALUE=1930f85cd7cd4d2930a87a71cf2494b0
2020-02-20 13:44:35,753: DEBUG - + python -
2020-02-20 13:44:35,854: DEBUG - + '[' -n '' ']'
2020-02-20 13:44:35,854: DEBUG - + unset backup_file_checksum
2020-02-20 13:44:35,854: DEBUG - + ynh_system_user_create kresus
2020-02-20 13:44:35,854: DEBUG - + local legacy_args=uhs
2020-02-20 13:44:35,854: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2020-02-20 13:44:35,855: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,855: DEBUG - + local username
2020-02-20 13:44:35,855: DEBUG - + local home_dir
2020-02-20 13:44:35,855: DEBUG - + local use_shell
2020-02-20 13:44:35,855: DEBUG - + ynh_handle_getopts_args kresus
2020-02-20 13:44:35,855: DEBUG - + set +x
2020-02-20 13:44:35,855: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:35,856: DEBUG - + set +x
2020-02-20 13:44:35,856: DEBUG - + use_shell=0
2020-02-20 13:44:35,856: DEBUG - + home_dir=
2020-02-20 13:44:35,856: DEBUG - + ynh_system_user_exists kresus
2020-02-20 13:44:35,856: DEBUG - + local legacy_args=u
2020-02-20 13:44:35,857: DEBUG - + args_array=([u]=username=)
2020-02-20 13:44:35,857: DEBUG - + declare -Ar args_array
2020-02-20 13:44:35,857: DEBUG - + local username
2020-02-20 13:44:35,857: DEBUG - + ynh_handle_getopts_args kresus
2020-02-20 13:44:35,857: DEBUG - + set +x
2020-02-20 13:44:35,857: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:35,858: DEBUG - + set +x
2020-02-20 13:44:35,858: DEBUG - + getent passwd kresus
2020-02-20 13:44:35,858: DEBUG - + '[' -n '' ']'
2020-02-20 13:44:35,858: DEBUG - + local user_home_dir=--no-create-home
2020-02-20 13:44:35,858: DEBUG - + '[' 0 -eq 1 ']'
2020-02-20 13:44:35,858: DEBUG - + local 'shell=--shell /usr/sbin/nologin'
2020-02-20 13:44:35,859: DEBUG - + useradd --no-create-home --system --user-group kresus --shell /usr/sbin/nologin
2020-02-20 13:44:37,061: DEBUG - + ynh_install_nodejs 10
2020-02-20 13:44:37,061: INFO - Installation of N - Node.js version management
2020-02-20 13:44:37,061: DEBUG - + local legacy_args=n
2020-02-20 13:44:37,061: DEBUG - + args_array=([n]=nodejs_version=)
2020-02-20 13:44:37,061: DEBUG - + declare -Ar args_array
2020-02-20 13:44:37,062: DEBUG - + local nodejs_version
2020-02-20 13:44:37,062: DEBUG - + ynh_handle_getopts_args 10
2020-02-20 13:44:37,062: DEBUG - + set +x
2020-02-20 13:44:37,062: DEBUG - + echo '! Helper used in legacy mode !'
2020-02-20 13:44:37,062: DEBUG - + set +x
2020-02-20 13:44:37,062: DEBUG - + mkdir -p /opt/node_n
2020-02-20 13:44:37,062: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:37,062: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:37,062: DEBUG - ++ sed s@/usr/local/bin:@@
2020-02-20 13:44:37,063: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:37,063: DEBUG - + test -x /usr/bin/node
2020-02-20 13:44:37,063: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2020-02-20 13:44:37,063: DEBUG - + test -x /usr/bin/npm
2020-02-20 13:44:37,063: DEBUG - + mv /usr/bin/npm /usr/bin/npm_n
2020-02-20 13:44:37,063: DEBUG - ++ n --version
2020-02-20 13:44:37,063: DEBUG - + test
2020-02-20 13:44:37,063: DEBUG - + ynh_install_n
2020-02-20 13:44:37,063: DEBUG - + ynh_print_info '--message=Installation of N - Node.js version management'
2020-02-20 13:44:37,063: DEBUG - + local legacy_args=m
2020-02-20 13:44:37,063: DEBUG - + args_array=([m]=message=)
2020-02-20 13:44:37,064: DEBUG - + declare -Ar args_array
2020-02-20 13:44:37,064: DEBUG - + local message
2020-02-20 13:44:37,064: DEBUG - + ynh_handle_getopts_args '--message=Installation of N - Node.js version management'
2020-02-20 13:44:37,064: DEBUG - + set +x
2020-02-20 13:44:37,064: DEBUG - + echo 'Installation of N - Node.js version management'
2020-02-20 13:44:37,064: DEBUG - + mkdir -p ../conf
2020-02-20 13:44:37,064: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
2020-02-20 13:44:37,064: DEBUG - SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
2020-02-20 13:44:37,064: DEBUG - + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
2020-02-20 13:44:37,064: DEBUG - + local legacy_args=ds
2020-02-20 13:44:37,065: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2020-02-20 13:44:37,065: DEBUG - + declare -Ar args_array
2020-02-20 13:44:37,065: DEBUG - + local dest_dir
2020-02-20 13:44:37,065: DEBUG - + local source_id
2020-02-20 13:44:37,065: DEBUG - + ynh_handle_getopts_args --dest_dir=/opt/node_n/git --source_id=n
2020-02-20 13:44:37,065: DEBUG - + set +x
2020-02-20 13:44:37,065: DEBUG - + source_id=n
2020-02-20 13:44:37,065: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,065: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src ']'
2020-02-20 13:44:37,065: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,066: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,066: DEBUG - + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
2020-02-20 13:44:37,066: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,066: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,066: DEBUG - + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
2020-02-20 13:44:37,066: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,066: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,066: DEBUG - + local src_sumprg=
2020-02-20 13:44:37,066: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,066: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,067: DEBUG - + local src_format=
2020-02-20 13:44:37,067: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,067: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,067: DEBUG - + local src_extract=
2020-02-20 13:44:37,067: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,067: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,067: DEBUG - + local src_in_subdir=
2020-02-20 13:44:37,067: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../conf/n.src
2020-02-20 13:44:37,067: DEBUG - ++ cut -d= -f2-
2020-02-20 13:44:37,067: DEBUG - + local src_filename=
2020-02-20 13:44:37,067: DEBUG - + src_sumprg=sha256sum
2020-02-20 13:44:37,068: DEBUG - + src_in_subdir=true
2020-02-20 13:44:37,068: DEBUG - + src_format=tar.gz
2020-02-20 13:44:37,068: DEBUG - ++ echo tar.gz
2020-02-20 13:44:37,068: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2020-02-20 13:44:37,068: DEBUG - + src_format=tar.gz
2020-02-20 13:44:37,068: DEBUG - + src_extract=true
2020-02-20 13:44:37,068: DEBUG - + '[' '' = '' ']'
2020-02-20 13:44:37,068: DEBUG - + src_filename=n.tar.gz
2020-02-20 13:44:37,068: DEBUG - + local local_src=/opt/yunohost-apps-src/kresus/n.tar.gz
2020-02-20 13:44:37,068: DEBUG - + test -e /opt/yunohost-apps-src/kresus/n.tar.gz
2020-02-20 13:44:37,069: DEBUG - ++ wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
2020-02-20 13:44:37,770: DEBUG - + local 'out=2020-02-20 13:44:37 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]'
2020-02-20 13:44:37,770: DEBUG - + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
2020-02-20 13:44:37,770: DEBUG - + sha256sum -c --status
2020-02-20 13:44:37,770: DEBUG - + mkdir -p /opt/node_n/git
2020-02-20 13:44:37,770: DEBUG - + true
2020-02-20 13:44:37,771: DEBUG - + '[' tar.gz = zip ']'
2020-02-20 13:44:37,771: DEBUG - + local strip=
2020-02-20 13:44:37,771: DEBUG - + '[' true '!=' false ']'
2020-02-20 13:44:37,771: DEBUG - + '[' true == true ']'
2020-02-20 13:44:37,771: DEBUG - + local sub_dirs=1
2020-02-20 13:44:37,771: DEBUG - + strip='--strip-components 1'
2020-02-20 13:44:37,771: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2020-02-20 13:44:37,771: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
2020-02-20 13:44:37,872: DEBUG - ++ find /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../sources/patches/ -type f -name 'n-*.patch'
2020-02-20 13:44:37,872: DEBUG - ++ wc -l
2020-02-20 13:44:37,872: DEBUG - + (( 0 > 0 ))
2020-02-20 13:44:37,872: DEBUG - + test -e /var/cache/yunohost/from_file/kresus_ynh-a78bfe6b890bd6d69fd9ef6d64324f2138bbf7c9/scripts/../sources/extra_files/n
2020-02-20 13:44:37,872: DEBUG - + cd /opt/node_n/git
2020-02-20 13:44:37,872: DEBUG - + PREFIX=/opt/node_n
2020-02-20 13:44:37,873: DEBUG - + make install
2020-02-20 13:44:37,873: DEBUG - mkdir -p /opt/node_n/bin/
2020-02-20 13:44:37,873: DEBUG - cp bin/n /opt/node_n/bin/n
2020-02-20 13:44:37,873: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2020-02-20 13:44:37,873: DEBUG - + local legacy_args=mrf
2020-02-20 13:44:37,873: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2020-02-20 13:44:37,873: DEBUG - + declare -Ar args_array
2020-02-20 13:44:37,873: DEBUG - + local match_string
2020-02-20 13:44:37,874: DEBUG - + local replace_string
2020-02-20 13:44:37,874: DEBUG - + local target_file
2020-02-20 13:44:37,874: DEBUG - + ynh_handle_getopts_args '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2020-02-20 13:44:37,874: DEBUG - + set +x
2020-02-20 13:44:37,874: DEBUG - + local delimit=@
2020-02-20 13:44:37,874: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
2020-02-20 13:44:37,874: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
2020-02-20 13:44:37,874: DEBUG - + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2020-02-20 13:44:37,875: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:37,875: DEBUG - + test -x /usr/bin/node_n
2020-02-20 13:44:37,875: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2020-02-20 13:44:37,875: DEBUG - + test -x /usr/bin/npm_n
2020-02-20 13:44:37,875: DEBUG - + mv /usr/bin/npm_n /usr/bin/npm
2020-02-20 13:44:37,875: DEBUG - ++ uname -m
2020-02-20 13:44:37,875: DEBUG - + uname=x86_64
2020-02-20 13:44:37,875: DEBUG - + [[ x86_64 =~ aarch64 ]]
2020-02-20 13:44:37,875: DEBUG - + [[ x86_64 =~ arm64 ]]
2020-02-20 13:44:37,876: DEBUG - + n 10
2020-02-20 13:44:38,076: DEBUG -
2020-02-20 13:44:38,076: DEBUG - �[36m install�[0m : �[2mnode-v10.19.0�[22m�[0m
2020-02-20 13:44:38,077: DEBUG - �[36m mkdir�[0m : �[2m/opt/node_n/n/versions/node/10.19.0�[22m�[0m
2020-02-20 13:44:38,177: DEBUG - �[36m fetch�[0m : �[2mhttps://nodejs.org/dist/v10.19.0/node-v10.19.0-linux-x64.tar.gz�[22m�[0m
2020-02-20 13:44:40,185: WARNING -
### 4,5%
####### 9,9%
########## 15,0%
############### 21,7%
################### 27,2%
####################### 32,7%
########################### 38,1%
############################## 43,0%
################################## 47,7%
###################################### 53,2%
######################################### 57,8%
############################################# 63,2%
################################################# 68,7%
##################################################### 74,1%
######################################################## 78,0%
############################################################ 83,4%
############################################################### 88,7%
################################################################### 94,2%
######################################################################## 100,0%
2020-02-20 13:44:41,388: DEBUG - �[36m installed�[0m : �[2mv10.19.0�[22m�[0m
2020-02-20 13:44:41,388: DEBUG -
2020-02-20 13:44:41,388: DEBUG - ++ sort --version-sort
2020-02-20 13:44:41,388: DEBUG - ++ find /opt/node_n/n/versions/node/10.19.0 -maxdepth 0
2020-02-20 13:44:41,389: DEBUG - ++ tail --lines=1
2020-02-20 13:44:41,389: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/10.19.0
2020-02-20 13:44:41,389: DEBUG - ++ basename /opt/node_n/n/versions/node/10.19.0
2020-02-20 13:44:41,389: DEBUG - + real_nodejs_version=10.19.0
2020-02-20 13:44:41,389: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/10 ']'
2020-02-20 13:44:41,389: DEBUG - + ln --symbolic --force --no-target-directory /opt/node_n/n/versions/node/10.19.0 /opt/node_n/n/versions/node/10
2020-02-20 13:44:41,390: DEBUG - + echo kresus:10
2020-02-20 13:44:41,390: DEBUG - + tee --append /opt/node_n/ynh_app_version
2020-02-20 13:44:41,390: DEBUG - kresus:10
2020-02-20 13:44:41,390: DEBUG - + ynh_app_setting_set --app=kresus --key=nodejs_version --value=10
2020-02-20 13:44:41,390: DEBUG - + local legacy_args=akv
2020-02-20 13:44:41,390: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-02-20 13:44:41,390: DEBUG - + declare -Ar args_array
2020-02-20 13:44:41,390: DEBUG - + local app
2020-02-20 13:44:41,391: DEBUG - + local key
2020-02-20 13:44:41,391: DEBUG - + local value
2020-02-20 13:44:41,391: DEBUG - + ynh_handle_getopts_args --app=kresus --key=nodejs_version --value=10
2020-02-20 13:44:41,391: DEBUG - + set +x
2020-02-20 13:44:41,391: DEBUG - + ynh_app_setting set kresus nodejs_version 10
2020-02-20 13:44:41,391: DEBUG - + ACTION=set
2020-02-20 13:44:41,391: DEBUG - + APP=kresus
2020-02-20 13:44:41,392: DEBUG - + KEY=nodejs_version
2020-02-20 13:44:41,392: DEBUG - + VALUE=10
2020-02-20 13:44:41,392: DEBUG - + python -
2020-02-20 13:44:41,492: DEBUG - + ynh_cron_upgrade_node
2020-02-20 13:44:41,493: DEBUG - + cat
2020-02-20 13:44:41,493: DEBUG - + chmod +x /opt/node_n/node_update.sh
2020-02-20 13:44:41,493: DEBUG - + cat
2020-02-20 13:44:41,493: DEBUG - + chmod +x /etc/cron.daily/node_update
2020-02-20 13:44:41,493: DEBUG - + ynh_use_nodejs
2020-02-20 13:44:41,493: DEBUG - ++ ynh_app_setting_get --app=kresus --key=**********
2020-02-20 13:44:41,493: DEBUG - ++ local legacy_args=ak
2020-02-20 13:44:41,493: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-02-20 13:44:41,493: DEBUG - ++ declare -Ar args_array
2020-02-20 13:44:41,494: DEBUG - ++ local app
2020-02-20 13:44:41,494: DEBUG - ++ local key
2020-02-20 13:44:41,494: DEBUG - ++ ynh_handle_getopts_args --app=kresus --key=**********
2020-02-20 13:44:41,494: DEBUG - ++ set +x
2020-02-20 13:44:41,494: DEBUG - ++ ynh_app_setting get kresus **********
2020-02-20 13:44:41,494: DEBUG - ++ ACTION=get
2020-02-20 13:44:41,494: DEBUG - ++ APP=kresus
2020-02-20 13:44:41,494: DEBUG - ++ KEY=**********
2020-02-20 13:44:41,495: DEBUG - ++ VALUE=
2020-02-20 13:44:41,495: DEBUG - ++ python -
2020-02-20 13:44:41,595: DEBUG - + **********=10
2020-02-20 13:44:41,595: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
2020-02-20 13:44:41,595: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/10/bin
2020-02-20 13:44:41,595: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\1\0\/\b\i\n* ]]
2020-02-20 13:44:41,596: DEBUG - + PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:41,596: DEBUG - + virtualenv --python=python3 --system-site-packages /var/www/kresus/venv
2020-02-20 13:44:43,399: DEBUG - Already using interpreter /usr/bin/python3
2020-02-20 13:44:43,399: DEBUG - Using base prefix '/usr'
2020-02-20 13:44:43,399: DEBUG - New python executable in /var/www/kresus/venv/bin/python3
2020-02-20 13:44:43,399: DEBUG - Also creating executable in /var/www/kresus/venv/bin/python
2020-02-20 13:44:48,412: DEBUG - Installing setuptools, pkg_resources, pip, wheel...done.
2020-02-20 13:44:48,412: DEBUG - + set +o nounset
2020-02-20 13:44:48,412: DEBUG - + source /var/www/kresus/venv/bin/activate
2020-02-20 13:44:48,413: DEBUG - ++ deactivate nondestructive
2020-02-20 13:44:48,413: DEBUG - ++ unset -f pydoc
2020-02-20 13:44:48,413: DEBUG - ++ '[' -z '' ']'
2020-02-20 13:44:48,413: DEBUG - ++ '[' -z '' ']'
2020-02-20 13:44:48,413: DEBUG - ++ '[' -n /bin/bash ']'
2020-02-20 13:44:48,413: DEBUG - ++ hash -r
2020-02-20 13:44:48,414: DEBUG - ++ '[' -z '' ']'
2020-02-20 13:44:48,414: DEBUG - ++ unset VIRTUAL_ENV
2020-02-20 13:44:48,414: DEBUG - ++ '[' '!' nondestructive = nondestructive ']'
2020-02-20 13:44:48,414: DEBUG - ++ VIRTUAL_ENV=/var/www/kresus/venv
2020-02-20 13:44:48,414: DEBUG - ++ export VIRTUAL_ENV
2020-02-20 13:44:48,414: DEBUG - ++ _OLD_VIRTUAL_PATH=/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:48,415: DEBUG - ++ PATH=/var/www/kresus/venv/bin:/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-02-20 13:44:48,415: DEBUG - ++ export PATH
2020-02-20 13:44:48,415: DEBUG - ++ '[' -z '' ']'
2020-02-20 13:44:48,415: DEBUG - ++ '[' -z '' ']'
2020-02-20 13:44:48,415: DEBUG - ++ _OLD_VIRTUAL_PS1=
2020-02-20 13:44:48,415: DEBUG - ++ '[' x '!=' x ']'
2020-02-20 13:44:48,416: DEBUG - +++ basename /var/www/kresus/venv
2020-02-20 13:44:48,416: DEBUG - ++ PS1='(venv) '
2020-02-20 13:44:48,416: DEBUG - ++ export PS1
2020-02-20 13:44:48,416: DEBUG - ++ alias pydoc
2020-02-20 13:44:48,416: DEBUG - ++ '[' -n /bin/bash ']'
2020-02-20 13:44:48,416: DEBUG - ++ hash -r
2020-02-20 13:44:48,417: DEBUG - + set -o nounset
2020-02-20 13:44:48,417: DEBUG - + pip install --upgrade pip
2020-02-20 13:44:49,018: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:50,020: DEBUG - Requirement already up-to-date: pip in /var/www/kresus/venv/lib/python3.5/site-packages (20.0.2)
2020-02-20 13:44:50,521: DEBUG - + pip install weboob html2text simplejson BeautifulSoup4 PyExecJS pdfminer
2020-02-20 13:44:50,922: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:44:51,424: DEBUG - Collecting weboob
2020-02-20 13:44:51,424: DEBUG - Downloading weboob-2.0-py2.py3-none-any.whl (611 kB)
2020-02-20 13:44:51,725: DEBUG - Collecting html2text
2020-02-20 13:44:51,725: DEBUG - Downloading html2text-2020.1.16-py3-none-any.whl (32 kB)
2020-02-20 13:44:51,926: DEBUG - Collecting simplejson
2020-02-20 13:44:52,026: DEBUG - Downloading simplejson-3.17.0.tar.gz (83 kB)
2020-02-20 13:44:52,627: DEBUG - Requirement already satisfied: BeautifulSoup4 in /usr/lib/python3/dist-packages (4.5.3)
2020-02-20 13:44:52,728: DEBUG - Collecting PyExecJS
2020-02-20 13:44:52,728: DEBUG - Downloading PyExecJS-1.5.1.tar.gz (13 kB)
2020-02-20 13:44:53,229: DEBUG - Collecting pdfminer
2020-02-20 13:44:53,230: DEBUG - Downloading pdfminer-20191016.tar.gz (4.2 MB)
2020-02-20 13:44:54,632: DEBUG - Collecting unidecode
2020-02-20 13:44:54,633: DEBUG - Downloading Unidecode-1.1.1-py2.py3-none-any.whl (238 kB)
2020-02-20 13:44:54,733: DEBUG - Requirement already satisfied: python-dateutil in /usr/lib/python3/dist-packages (from weboob) (2.5.3)
2020-02-20 13:44:54,833: DEBUG - Collecting cssselect
2020-02-20 13:44:54,834: DEBUG - Downloading cssselect-1.1.0-py2.py3-none-any.whl (16 kB)
2020-02-20 13:44:54,834: DEBUG - Requirement already satisfied: requests>=2.0.0 in /usr/lib/python3/dist-packages (from weboob) (2.12.4)
2020-02-20 13:44:54,934: DEBUG - Collecting Babel
2020-02-20 13:44:54,935: DEBUG - Downloading Babel-2.8.0-py2.py3-none-any.whl (8.6 MB)
2020-02-20 13:44:56,437: DEBUG - Collecting PyYAML
2020-02-20 13:44:56,438: DEBUG - Downloading PyYAML-5.3.tar.gz (268 kB)
2020-02-20 13:44:57,139: DEBUG - Requirement already satisfied: Pillow in /usr/local/lib/python3.5/dist-packages (from weboob) (6.2.1)
2020-02-20 13:44:57,139: DEBUG - Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (from weboob) (3.7.1)
2020-02-20 13:44:57,139: DEBUG - Requirement already satisfied: six in /usr/lib/python3/dist-packages (from weboob) (1.10.0)
2020-02-20 13:44:57,440: DEBUG - Collecting pycryptodome
2020-02-20 13:44:57,440: DEBUG - Downloading pycryptodome-3.9.6-cp35-cp35m-manylinux1_x86_64.whl (13.7 MB)
2020-02-20 13:44:59,344: DEBUG - Requirement already satisfied: pytz>=2015.7 in /usr/lib/python3/dist-packages (from Babel->weboob) (2016.7)
2020-02-20 13:44:59,344: DEBUG - Building wheels for collected packages: simplejson, PyExecJS, pdfminer, PyYAML
2020-02-20 13:44:59,344: DEBUG - Building wheel for simplejson (setup.py): started
2020-02-20 13:45:01,949: DEBUG - Building wheel for simplejson (setup.py): finished with status 'done'
2020-02-20 13:45:01,949: DEBUG - Created wheel for simplejson: filename=simplejson-3.17.0-cp35-cp35m-linux_x86_64.whl size=115675 sha256=7d6dc10f8ddc724ed2fc1ba035e208e9e67c12edd3f00756f6cd3d3f66b7a23a
2020-02-20 13:45:01,949: DEBUG - Stored in directory: /root/.cache/pip/wheels/a0/be/35/ff5bcba1b2a600e3fd964678944e9ec568801c6b186208eac1
2020-02-20 13:45:01,949: DEBUG - Building wheel for PyExecJS (setup.py): started
2020-02-20 13:45:02,451: DEBUG - Building wheel for PyExecJS (setup.py): finished with status 'done'
2020-02-20 13:45:02,451: DEBUG - Created wheel for PyExecJS: filename=PyExecJS-1.5.1-py3-none-any.whl size=14588 sha256=993026556926c5703a96f66ccee4b49928231dfa9ca40cdcbd718c35c55b1956
2020-02-20 13:45:02,451: DEBUG - Stored in directory: /root/.cache/pip/wheels/5c/31/53/10d40bf679d7d93bdbe3e14d381e00de5b0fa6854ccea7bb41
2020-02-20 13:45:02,451: DEBUG - Building wheel for pdfminer (setup.py): started
2020-02-20 13:45:27,794: DEBUG - Building wheel for pdfminer (setup.py): finished with status 'done'
2020-02-20 13:45:27,794: DEBUG - Created wheel for pdfminer: filename=pdfminer-20191016-py3-none-any.whl size=5447905 sha256=d53ef83c43264ea5c0f8c9828a53c919819a08a04ce2e1ac7de587d88e3f91ad
2020-02-20 13:45:27,794: DEBUG - Stored in directory: /root/.cache/pip/wheels/9f/59/b5/09fcd391b937439da8402f3959d99577176ad357d5e50dcbc8
2020-02-20 13:45:27,794: DEBUG - Building wheel for PyYAML (setup.py): started
2020-02-20 13:45:34,405: DEBUG - Building wheel for PyYAML (setup.py): finished with status 'done'
2020-02-20 13:45:34,406: DEBUG - Created wheel for PyYAML: filename=PyYAML-5.3-cp35-cp35m-linux_x86_64.whl size=382547 sha256=3768f74c0191e8dffec9ca0e5cb9d04cee18e2f3838d30bde961a8fd5cfb5978
2020-02-20 13:45:34,406: DEBUG - Stored in directory: /root/.cache/pip/wheels/4d/28/ad/d9c3d2a22dbe17b0d7019bbe876af34feabf61a214973481e9
2020-02-20 13:45:34,406: DEBUG - Successfully built simplejson PyExecJS pdfminer PyYAML
2020-02-20 13:45:34,506: DEBUG - Installing collected packages: unidecode, cssselect, html2text, Babel, PyYAML, weboob, simplejson, PyExecJS, pycryptodome, pdfminer
2020-02-20 13:45:37,011: DEBUG - Successfully installed Babel-2.8.0 PyExecJS-1.5.1 PyYAML-5.3 cssselect-1.1.0 html2text-2020.1.16 pdfminer-20191016 pycryptodome-3.9.6 simplejson-3.17.0 unidecode-1.1.1 weboob-2.0
2020-02-20 13:45:37,211: DEBUG - + ynh_use_nodejs
2020-02-20 13:45:37,212: DEBUG - ++ ynh_app_setting_get --app=kresus --key=**********
2020-02-20 13:45:37,212: DEBUG - ++ local legacy_args=ak
2020-02-20 13:45:37,212: DEBUG - ++ args_array=([a]=app= [k]=key=)
2020-02-20 13:45:37,212: DEBUG - ++ declare -Ar args_array
2020-02-20 13:45:37,212: DEBUG - ++ local app
2020-02-20 13:45:37,213: DEBUG - ++ local key
2020-02-20 13:45:37,213: DEBUG - ++ ynh_handle_getopts_args --app=kresus --key=**********
2020-02-20 13:45:37,213: DEBUG - ++ set +x
2020-02-20 13:45:37,213: DEBUG - ++ ynh_app_setting get kresus **********
2020-02-20 13:45:37,213: DEBUG - ++ ACTION=get
2020-02-20 13:45:37,213: DEBUG - ++ APP=kresus
2020-02-20 13:45:37,214: DEBUG - ++ KEY=**********
2020-02-20 13:45:37,214: DEBUG - ++ VALUE=
2020-02-20 13:45:37,214: DEBUG - ++ python -
2020-02-20 13:45:37,314: DEBUG - + **********=10
2020-02-20 13:45:37,315: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
2020-02-20 13:45:37,315: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/10/bin
2020-02-20 13:45:37,315: DEBUG - + [[ :/opt/node_n/n/versions/node/10/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\1\0\/\b\i\n* ]]
2020-02-20 13:45:37,315: DEBUG - + cd /var/www/kresus
2020-02-20 13:45:37,315: DEBUG - + chown -R kresus: /var/www/kresus
2020-02-20 13:45:37,416: DEBUG - + npm install --production --unsafe-perm
2020-02-20 13:45:46,231: WARNING - npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-02-20 13:45:47,133: WARNING - npm WARN deprecated [email protected]: Use uuid module instead
2020-02-20 13:45:48,536: WARNING - npm WARN deprecated [email protected]: no longer maintained
2020-02-20 13:45:52,243: WARNING - npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2020-02-20 13:45:52,444: WARNING - npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2020-02-20 13:45:54,748: WARNING - npm WARN deprecated [email protected]: This module has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version of hapi to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2020-02-20 13:45:54,749: WARNING - npm WARN deprecated [email protected]: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
2020-02-20 13:45:56,252: WARNING - npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
2020-02-20 13:45:56,453: WARNING - npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-02-20 13:45:57,455: WARNING - npm WARN deprecated @types/[email protected]: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
2020-02-20 13:46:06,070: DEBUG -
2020-02-20 13:46:06,070: WARNING - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:46:06,071: DEBUG - > [email protected] install /var/www/kresus/node_modules/node-expat
2020-02-20 13:46:06,071: WARNING - sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:46:06,071: DEBUG - > node-gyp rebuild
2020-02-20 13:46:06,071: DEBUG -
2020-02-20 13:46:07,073: WARNING - /bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace
2020-02-20 13:46:07,074: WARNING - gyp: Call to 'node -e "require('nan')"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp
2020-02-20 13:46:07,074: WARNING - gyp ERR! configure error
2020-02-20 13:46:07,075: WARNING - gyp ERR! stack Error: `gyp` failed with exit code: 1
2020-02-20 13:46:07,075: WARNING - gyp ERR! stack at ChildProcess.onCpExit (/opt/node_n/n/versions/node/10.19.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
2020-02-20 13:46:07,075: WARNING - gyp ERR! stack at ChildProcess.emit (events.js:198:13)
2020-02-20 13:46:07,076: WARNING - gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
2020-02-20 13:46:07,076: WARNING - gyp ERR! System Linux 3.14.32-xxxx-grs-ipv6-64
2020-02-20 13:46:07,076: WARNING - gyp ERR! command "/opt/node_n/n/versions/node/10.19.0/bin/node" "/opt/node_n/n/versions/node/10.19.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2020-02-20 13:46:07,077: WARNING - gyp ERR! cwd /var/www/kresus/node_modules/node-expat
2020-02-20 13:46:07,077: WARNING - gyp ERR! node -v v10.19.0
2020-02-20 13:46:07,077: WARNING - gyp ERR! node-gyp -v v5.0.5
2020-02-20 13:46:07,078: WARNING - gyp ERR! not ok
2020-02-20 13:46:08,080: WARNING - npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 (node_modules/chokidar/node_modules/fsevents):
2020-02-20 13:46:08,080: WARNING - npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2020-02-20 13:46:08,081: WARNING - npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/onchange/node_modules/chokidar/node_modules/fsevents):
2020-02-20 13:46:08,081: WARNING - npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2020-02-20 13:46:08,082: WARNING -
2020-02-20 13:46:08,182: WARNING - npm ERR! code ELIFECYCLE
2020-02-20 13:46:08,183: WARNING - npm ERR! errno 1
2020-02-20 13:46:08,183: WARNING - npm ERR! [email protected] install: `node-gyp rebuild`
2020-02-20 13:46:08,184: WARNING - npm ERR! Exit status 1
2020-02-20 13:46:08,184: WARNING - npm ERR!
2020-02-20 13:46:08,185: WARNING - npm ERR! Failed at the [email protected] install script.
2020-02-20 13:46:08,185: WARNING - npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-02-20 13:46:08,286: DEBUG - + ynh_exit_properly
2020-02-20 13:46:08,286: WARNING -
2020-02-20 13:46:08,286: DEBUG - + local exit_code=1
2020-02-20 13:46:08,286: WARNING - npm ERR! A complete log of this run can be found in:
2020-02-20 13:46:08,286: DEBUG - + '[' 1 -eq 0 ']'
2020-02-20 13:46:08,287: WARNING - npm ERR! /root/.npm/_logs/2020-02-20T12_46_08_197Z-debug.log
2020-02-20 13:46:08,287: DEBUG - + trap '' EXIT
2020-02-20 13:46:08,287: DEBUG - + set +eu
2020-02-20 13:46:08,287: DEBUG - + sleep 0.5
2020-02-20 13:46:08,788: DEBUG - + ynh_print_err '--message=!!\n kresus'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-20 13:46:08,788: WARNING - �[91m�[1m[ERR]�[0m !!
2020-02-20 13:46:08,789: DEBUG - + local legacy_args=m
2020-02-20 13:46:08,789: WARNING - kresus's script has encountered an error. Its execution was cancelled.
2020-02-20 13:46:08,789: DEBUG - + args_array=([m]=message=)
2020-02-20 13:46:08,789: WARNING - !!
2020-02-20 13:46:08,789: DEBUG - + declare -Ar args_array
2020-02-20 13:46:08,789: WARNING -
2020-02-20 13:46:08,790: DEBUG - + local message
2020-02-20 13:46:08,790: DEBUG - + ynh_handle_getopts_args '--message=!!\n kresus'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-20 13:46:08,790: DEBUG - + set +x
2020-02-20 13:46:08,790: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n kresus'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-20 13:46:08,790: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n kresus'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-02-20 13:46:08,790: DEBUG - + '[' api == cli ']'
2020-02-20 13:46:08,790: DEBUG - + type -t ynh_clean_setup
2020-02-20 13:46:08,790: DEBUG - + ynh_die
2020-02-20 13:46:08,790: DEBUG - + local legacy_args=mc
2020-02-20 13:46:08,790: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-02-20 13:46:08,791: DEBUG - + declare -Ar args_array
2020-02-20 13:46:08,791: DEBUG - + local message
2020-02-20 13:46:08,791: DEBUG - + local ret_code
2020-02-20 13:46:08,791: DEBUG - + ynh_handle_getopts_args
2020-02-20 13:46:08,791: DEBUG - + set +x
2020-02-20 13:46:08,791: DEBUG - + echo ''
2020-02-20 13:46:08,791: DEBUG - + exit 1