Bonjour,
Je ne parviens pas à installer Discourse :
020-04-15 00:08:23,588: INFO - Installation de l'application discourse …
2020-04-15 00:08:24,678: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/discourse_ynh-086de718f49a506c66498d2f7610f5fd0ce07d50/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpC_L9pJ/stdinfo YNH_APP_INSTANCE_NAME=discourse YNH_APP_ARG_ADMIN=leo YNH_INTERFACE=api YNH_APP_ID=discourse YNH_APP_ARG_PATH=/ YNH_STDRETURN=/tmp/tmpCCETb4/stdreturn YNH_APP_ARG_DOMAIN=xxx.xxxxx.com BASH_XTRACEFD=7 /bin/bash -x "./install" xxx.xxxxx.com / leo 1 discourse 7>&1' …
2020-04-15 00:08:24,679: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/discourse_ynh-086de718f49a506c66498d2f7610f5fd0ce07d50/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpC_L9pJ/stdinfo YNH_APP_INSTANCE_NAME=discourse YNH_APP_ARG_ADMIN=leo YNH_INTERFACE=api YNH_APP_ID=discourse YNH_APP_ARG_PATH=/ YNH_STDRETURN=/tmp/tmpCCETb4/stdreturn YNH_APP_ARG_DOMAIN=xxx.xxxxx.com BASH_XTRACEFD=7 /bin/bash -x "./install" xxx.xxxxx.com / leo 1 discourse 7>&1']'
2020-04-15 00:08:24,854: DEBUG - + shopt -s extglob
2020-04-15 00:08:24,855: DEBUG - + source /usr/share/yunohost/helpers
2020-04-15 00:08:24,855: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2020-04-15 00:08:24,855: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,856: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2020-04-15 00:08:24,856: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2020-04-15 00:08:24,856: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,856: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2020-04-15 00:08:24,856: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2020-04-15 00:08:24,856: DEBUG - +++ CAN_BIND=1
2020-04-15 00:08:24,857: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,857: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2020-04-15 00:08:24,857: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2020-04-15 00:08:24,857: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,857: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2020-04-15 00:08:24,857: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2020-04-15 00:08:24,857: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,858: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2020-04-15 00:08:24,858: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2020-04-15 00:08:24,858: DEBUG - +++ increment_progression=0
2020-04-15 00:08:24,858: DEBUG - +++ previous_weight=0
2020-04-15 00:08:24,858: DEBUG - +++ max_progression=-1
2020-04-15 00:08:24,858: DEBUG - +++ progress_scale=20
2020-04-15 00:08:24,858: DEBUG - +++ progress_string2='####################'
2020-04-15 00:08:24,859: DEBUG - +++ progress_string1=++++++++++++++++++++
2020-04-15 00:08:24,859: DEBUG - +++ progress_string0=....................
2020-04-15 00:08:24,859: DEBUG - ++++ date +%s
2020-04-15 00:08:24,859: DEBUG - +++ base_time=1586902104
2020-04-15 00:08:24,859: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,859: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2020-04-15 00:08:24,859: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2020-04-15 00:08:24,860: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,860: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2020-04-15 00:08:24,860: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2020-04-15 00:08:24,860: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2020-04-15 00:08:24,860: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,860: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2020-04-15 00:08:24,860: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2020-04-15 00:08:24,861: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,861: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2020-04-15 00:08:24,861: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2020-04-15 00:08:24,861: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,861: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2020-04-15 00:08:24,861: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2020-04-15 00:08:24,861: DEBUG - +++ n_install_dir=/opt/node_n
2020-04-15 00:08:24,862: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2020-04-15 00:08:24,862: DEBUG - +++ export N_PREFIX=/opt/node_n
2020-04-15 00:08:24,862: DEBUG - +++ N_PREFIX=/opt/node_n
2020-04-15 00:08:24,862: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,862: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2020-04-15 00:08:24,862: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2020-04-15 00:08:24,862: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,863: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2020-04-15 00:08:24,863: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2020-04-15 00:08:24,863: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2020-04-15 00:08:24,863: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,863: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2020-04-15 00:08:24,863: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2020-04-15 00:08:24,863: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,863: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2020-04-15 00:08:24,864: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2020-04-15 00:08:24,864: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,864: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2020-04-15 00:08:24,864: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2020-04-15 00:08:24,864: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,864: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2020-04-15 00:08:24,864: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2020-04-15 00:08:24,865: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2020-04-15 00:08:24,865: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2020-04-15 00:08:24,865: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2020-04-15 00:08:24,865: DEBUG - + source _common.sh
2020-04-15 00:08:24,865: DEBUG - ++ pkg_dependencies='g++ libjemalloc1 libjemalloc-dev zlib1g-dev libreadline-dev libpq-dev libssl-dev libyaml-dev libcurl4-openssl-dev libapr1-dev libxslt1-dev checkinstall libxml2-dev vim imagemagick postgresql postgresql-server-dev-all postgresql-contrib optipng jhead jpegoptim gifsicle brotli'
2020-04-15 00:08:24,865: DEBUG - ++ RUBY_VERSION=2.6.5
2020-04-15 00:08:24,866: DEBUG - ++ rbenv_install_dir=/opt/rbenv
2020-04-15 00:08:24,866: DEBUG - ++ export RBENV_ROOT=/opt/rbenv
2020-04-15 00:08:24,866: DEBUG - ++ RBENV_ROOT=/opt/rbenv
2020-04-15 00:08:24,866: DEBUG - + ynh_abort_if_errors
2020-04-15 00:08:24,866: DEBUG - + set -eu
2020-04-15 00:08:24,866: DEBUG - + trap ynh_exit_properly EXIT
2020-04-15 00:08:24,866: DEBUG - + app=discourse
2020-04-15 00:08:24,867: DEBUG - + domain=xxx.xxxxx.com
2020-04-15 00:08:24,867: DEBUG - + path_url=/
2020-04-15 00:08:24,867: DEBUG - + admin=leo
2020-04-15 00:08:24,867: DEBUG - + is_public=1
2020-04-15 00:08:24,867: DEBUG - ++ ynh_normalize_url_path /
2020-04-15 00:08:24,867: DEBUG - ++ local legacy_args=p
2020-04-15 00:08:24,867: DEBUG - ++ args_array=([p]=path_url=)
2020-04-15 00:08:24,867: DEBUG - ++ declare -Ar args_array
2020-04-15 00:08:24,868: DEBUG - ++ local path_url
2020-04-15 00:08:24,868: DEBUG - ++ ynh_handle_getopts_args /
2020-04-15 00:08:24,868: DEBUG - ++ set +x
2020-04-15 00:08:24,868: DEBUG - ++ echo '! Helper used in legacy mode !'
2020-04-15 00:08:24,868: DEBUG - ++ set +x
2020-04-15 00:08:24,868: DEBUG - ++ test -n /
2020-04-15 00:08:24,868: DEBUG - ++ '[' / '!=' / ']'
2020-04-15 00:08:24,869: DEBUG - ++ '[' / == / ']'
2020-04-15 00:08:24,869: DEBUG - ++ '[' 1 -gt 1 ']'
2020-04-15 00:08:24,869: DEBUG - ++ echo /
2020-04-15 00:08:24,869: DEBUG - + path_url=/
2020-04-15 00:08:24,869: DEBUG - + final_path=/var/www/discourse
2020-04-15 00:08:24,869: DEBUG - + test '!' -e /var/www/discourse
2020-04-15 00:08:24,869: DEBUG - + ynh_webpath_available xxx.xxxxx.com /
2020-04-15 00:08:24,870: DEBUG - + local legacy_args=dp
2020-04-15 00:08:24,870: DEBUG - + args_array=([d]=domain= [p]=path_url=)
2020-04-15 00:08:24,870: DEBUG - + declare -Ar args_array
2020-04-15 00:08:24,870: DEBUG - + local domain
2020-04-15 00:08:24,870: DEBUG - + local path_url
2020-04-15 00:08:24,870: DEBUG - + ynh_handle_getopts_args xxx.xxxxx.com /
2020-04-15 00:08:24,870: DEBUG - + set +x
2020-04-15 00:08:24,871: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-15 00:08:24,871: DEBUG - + set +x
2020-04-15 00:08:24,871: DEBUG - + sudo yunohost domain url-available xxx.xxxxx.com /
2020-04-15 00:08:25,272: DEBUG - True
2020-04-15 00:08:25,373: DEBUG - + ynh_webpath_register discourse xxx.xxxxx.com /
2020-04-15 00:08:25,374: DEBUG - + local legacy_args=adp
2020-04-15 00:08:25,374: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2020-04-15 00:08:25,374: DEBUG - + declare -Ar args_array
2020-04-15 00:08:25,375: DEBUG - + local app
2020-04-15 00:08:25,375: DEBUG - + local domain
2020-04-15 00:08:25,375: DEBUG - + local path_url
2020-04-15 00:08:25,376: DEBUG - + ynh_handle_getopts_args discourse xxx.xxxxx.com /
2020-04-15 00:08:25,376: DEBUG - + set +x
2020-04-15 00:08:25,376: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-15 00:08:25,376: DEBUG - + set +x
2020-04-15 00:08:25,377: DEBUG - + sudo yunohost app register-url discourse xxx.xxxxx.com /
2020-04-15 00:08:25,778: DEBUG - + check_memory_requirements
2020-04-15 00:08:25,778: DEBUG - + is_swap_present
2020-04-15 00:08:25,779: DEBUG - ++ awk '/^SwapTotal:/{print $2}' /proc/meminfo
2020-04-15 00:08:25,779: DEBUG - + '[' 524284 -gt 0 ']'
2020-04-15 00:08:25,779: DEBUG - + is_swappiness_sufficient
2020-04-15 00:08:25,780: DEBUG - ++ cat /proc/sys/vm/swappiness
2020-04-15 00:08:25,780: DEBUG - + '[' 60 -gt 50 ']'
2020-04-15 00:08:25,780: DEBUG - + is_memory_available 1000000
2020-04-15 00:08:25,781: DEBUG - + local needed_memory=1000000
2020-04-15 00:08:25,781: DEBUG - ++ awk '/^MemAvailable:/{print $2}' /proc/meminfo
2020-04-15 00:08:25,882: DEBUG - + local freemem=2175276
2020-04-15 00:08:25,882: DEBUG - ++ awk '/^SwapFree:/{print $2}' /proc/meminfo
2020-04-15 00:08:25,882: DEBUG - + local freeswap=524284
2020-04-15 00:08:25,883: DEBUG - + '[' 2699560 -gt 1000000 ']'
2020-04-15 00:08:25,883: DEBUG - + ynh_app_setting_set discourse admin leo
2020-04-15 00:08:25,883: DEBUG - + local legacy_args=akv
2020-04-15 00:08:25,883: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-15 00:08:25,884: DEBUG - + declare -Ar args_array
2020-04-15 00:08:25,884: DEBUG - + local app
2020-04-15 00:08:25,884: DEBUG - + local key
2020-04-15 00:08:25,885: DEBUG - + local value
2020-04-15 00:08:25,885: DEBUG - + ynh_handle_getopts_args discourse admin leo
2020-04-15 00:08:25,885: DEBUG - + set +x
2020-04-15 00:08:25,885: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-15 00:08:25,886: DEBUG - + set +x
2020-04-15 00:08:25,886: DEBUG - + ynh_app_setting set discourse admin leo
2020-04-15 00:08:25,886: DEBUG - + ACTION=set
2020-04-15 00:08:25,886: DEBUG - + APP=discourse
2020-04-15 00:08:25,887: DEBUG - + KEY=admin
2020-04-15 00:08:25,887: DEBUG - + VALUE=leo
2020-04-15 00:08:25,887: DEBUG - + python -
2020-04-15 00:08:25,988: DEBUG - + ynh_app_setting_set discourse is_public 1
2020-04-15 00:08:25,988: DEBUG - + local legacy_args=akv
2020-04-15 00:08:25,989: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-15 00:08:25,989: DEBUG - + declare -Ar args_array
2020-04-15 00:08:25,989: DEBUG - + local app
2020-04-15 00:08:25,989: DEBUG - + local key
2020-04-15 00:08:25,990: DEBUG - + local value
2020-04-15 00:08:25,990: DEBUG - + ynh_handle_getopts_args discourse is_public 1
2020-04-15 00:08:25,990: DEBUG - + set +x
2020-04-15 00:08:26,091: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-15 00:08:26,092: DEBUG - + set +x
2020-04-15 00:08:26,092: DEBUG - + ynh_app_setting set discourse is_public 1
2020-04-15 00:08:26,092: DEBUG - + ACTION=set
2020-04-15 00:08:26,092: DEBUG - + APP=discourse
2020-04-15 00:08:26,093: DEBUG - + KEY=is_public
2020-04-15 00:08:26,093: DEBUG - + VALUE=1
2020-04-15 00:08:26,093: DEBUG - + python -
2020-04-15 00:08:26,194: DEBUG - + ynh_app_setting_set discourse final_path /var/www/discourse
2020-04-15 00:08:26,194: DEBUG - + local legacy_args=akv
2020-04-15 00:08:26,195: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2020-04-15 00:08:26,195: DEBUG - + declare -Ar args_array
2020-04-15 00:08:26,195: DEBUG - + local app
2020-04-15 00:08:26,196: DEBUG - + local key
2020-04-15 00:08:26,196: DEBUG - + local value
2020-04-15 00:08:26,196: DEBUG - + ynh_handle_getopts_args discourse final_path /var/www/discourse
2020-04-15 00:08:26,197: DEBUG - + set +x
2020-04-15 00:08:26,197: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-15 00:08:26,197: DEBUG - + set +x
2020-04-15 00:08:26,198: DEBUG - + ynh_app_setting set discourse final_path /var/www/discourse
2020-04-15 00:08:26,198: DEBUG - + ACTION=set
2020-04-15 00:08:26,198: DEBUG - + APP=discourse
2020-04-15 00:08:26,198: DEBUG - + KEY=final_path
2020-04-15 00:08:26,199: DEBUG - + VALUE=/var/www/discourse
2020-04-15 00:08:26,199: DEBUG - + python -
2020-04-15 00:08:26,400: DEBUG - + ynh_install_app_dependencies 'g++ libjemalloc1 libjemalloc-dev zlib1g-dev libreadline-dev libpq-dev libssl-dev libyaml-dev libcurl4-openssl-dev libapr1-dev libxslt1-dev checkinstall libxml2-dev vim imagemagick postgresql postgresql-server-dev-all postgresql-contrib optipng jhead jpegoptim gifsicle brotli'
2020-04-15 00:08:26,400: DEBUG - + local 'dependencies=g++ libjemalloc1 libjemalloc-dev zlib1g-dev libreadline-dev libpq-dev libssl-dev libyaml-dev libcurl4-openssl-dev libapr1-dev libxslt1-dev checkinstall libxml2-dev vim imagemagick postgresql postgresql-server-dev-all postgresql-contrib optipng jhead jpegoptim gifsicle brotli'
2020-04-15 00:08:26,400: DEBUG - + local 'dependencies=g++, libjemalloc1, libjemalloc-dev, zlib1g-dev, libreadline-dev, libpq-dev, libssl-dev, libyaml-dev, libcurl4-openssl-dev, libapr1-dev, libxslt1-dev, checkinstall, libxml2-dev, vim, imagemagick, postgresql, postgresql-server-dev-all, postgresql-contrib, optipng, jhead, jpegoptim, gifsicle, brotli'
2020-04-15 00:08:26,401: DEBUG - + local 'dependencies=g++, libjemalloc1, libjemalloc-dev, zlib1g-dev, libreadline-dev, libpq-dev, libssl-dev, libyaml-dev, libcurl4-openssl-dev, libapr1-dev, libxslt1-dev, checkinstall, libxml2-dev, vim, imagemagick, postgresql, postgresql-server-dev-all, postgresql-contrib, optipng, jhead, jpegoptim, gifsicle, brotli'
2020-04-15 00:08:26,401: DEBUG - + local manifest_path=../manifest.json
2020-04-15 00:08:26,401: DEBUG - + '[' '!' -e ../manifest.json ']'
2020-04-15 00:08:26,401: DEBUG - ++ grep '\"version\": ' ../manifest.json
2020-04-15 00:08:26,402: DEBUG - ++ cut -d '"' -f 4
2020-04-15 00:08:26,402: DEBUG - + local version=2.3.10~ynh1
2020-04-15 00:08:26,402: DEBUG - + '[' 11 -eq 0 ']'
2020-04-15 00:08:26,402: DEBUG - + local dep_app=discourse
2020-04-15 00:08:26,402: DEBUG - + cat
2020-04-15 00:08:26,402: DEBUG - + ynh_package_install_from_equivs /tmp/discourse-ynh-deps.control
2020-04-15 00:08:26,403: DEBUG - + local controlfile=/tmp/discourse-ynh-deps.control
2020-04-15 00:08:26,403: DEBUG - ++ grep '^Package: ' /tmp/discourse-ynh-deps.control
2020-04-15 00:08:26,403: DEBUG - ++ cut '-d ' -f 2
2020-04-15 00:08:26,403: DEBUG - + local pkgname=discourse-ynh-deps
2020-04-15 00:08:26,403: DEBUG - ++ grep '^Version: ' /tmp/discourse-ynh-deps.control
2020-04-15 00:08:26,404: DEBUG - ++ cut '-d ' -f 2
2020-04-15 00:08:26,404: DEBUG - + local pkgversion=2.3.10~ynh1
2020-04-15 00:08:26,404: DEBUG - + [[ -z discourse-ynh-deps ]]
2020-04-15 00:08:26,404: DEBUG - + [[ -z 2.3.10~ynh1 ]]
2020-04-15 00:08:26,404: DEBUG - + ynh_package_update
2020-04-15 00:08:26,404: DEBUG - + ynh_apt update
2020-04-15 00:08:26,405: DEBUG - + ynh_wait_dpkg_free
2020-04-15 00:08:26,405: DEBUG - + local try
2020-04-15 00:08:26,405: DEBUG - ++ seq 1 17
2020-04-15 00:08:26,405: DEBUG - + for try in `seq 1 17`
2020-04-15 00:08:26,405: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-15 00:08:26,706: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-15 00:08:26,707: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-15 00:08:26,707: DEBUG - + read dpkg_file
2020-04-15 00:08:26,707: DEBUG - + echo ''
2020-04-15 00:08:26,708: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-15 00:08:26,708: DEBUG - + read dpkg_file
2020-04-15 00:08:26,708: DEBUG - + return 0
2020-04-15 00:08:26,708: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-04-15 00:08:26,709: DEBUG - + apt-get -y update
2020-04-15 00:08:26,909: DEBUG - Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
2020-04-15 00:08:26,910: DEBUG - Get:2 http://forge.yunohost.org/debian stretch InRelease [18.2 kB]
2020-04-15 00:08:26,910: DEBUG - Get:3 http://ftp.debian.org/debian stretch-backports InRelease [91.8 kB]
2020-04-15 00:08:26,911: DEBUG - Ign:4 https://mirrors.gandi.net/gandi/debian stretch InRelease
2020-04-15 00:08:26,911: DEBUG - Ign:5 https://mirrors.gandi.net/debian stretch InRelease
2020-04-15 00:08:26,911: DEBUG - Get:6 https://mirrors.gandi.net/debian stretch-updates InRelease [91.0 kB]
2020-04-15 00:08:27,012: DEBUG - Hit:7 https://mirrors.gandi.net/gandi/debian stretch Release
2020-04-15 00:08:27,012: DEBUG - Hit:8 https://mirrors.gandi.net/debian stretch Release
2020-04-15 00:08:27,213: DEBUG - Get:9 http://security.debian.org stretch/updates/main amd64 Packages [521 kB]
2020-04-15 00:08:29,119: DEBUG - Fetched 816 kB in 2s (364 kB/s)
2020-04-15 00:08:30,022: DEBUG - Reading package lists...
2020-04-15 00:08:30,123: DEBUG - ++ mktemp -d
2020-04-15 00:08:30,124: DEBUG - + local TMPDIR=/tmp/tmp.YR9F58864U
2020-04-15 00:08:30,124: DEBUG - + echo 10
2020-04-15 00:08:30,124: DEBUG - + ynh_wait_dpkg_free
2020-04-15 00:08:30,125: DEBUG - + local try
2020-04-15 00:08:30,125: DEBUG - ++ seq 1 17
2020-04-15 00:08:30,125: DEBUG - + for try in `seq 1 17`
2020-04-15 00:08:30,125: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-15 00:08:30,326: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-15 00:08:30,327: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-15 00:08:30,327: DEBUG - + read dpkg_file
2020-04-15 00:08:30,327: DEBUG - + echo ''
2020-04-15 00:08:30,328: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-15 00:08:30,328: DEBUG - + read dpkg_file
2020-04-15 00:08:30,328: DEBUG - + return 0
2020-04-15 00:08:30,328: DEBUG - + cp /tmp/discourse-ynh-deps.control /tmp/tmp.YR9F58864U/control
2020-04-15 00:08:30,429: DEBUG - + cd /tmp/tmp.YR9F58864U
2020-04-15 00:08:30,429: DEBUG - + equivs-build ./control
2020-04-15 00:08:32,335: DEBUG - + dpkg --force-depends -i ./discourse-ynh-deps_2.3.10~ynh1_all.deb
2020-04-15 00:08:32,537: DEBUG - Selecting previously unselected package discourse-ynh-deps.
2020-04-15 00:08:32,637: DEBUG - (Reading database ... 58484 files and directories currently installed.)
2020-04-15 00:08:32,638: DEBUG - Preparing to unpack .../discourse-ynh-deps_2.3.10~ynh1_all.deb ...
2020-04-15 00:08:32,638: DEBUG - Unpacking discourse-ynh-deps (2.3.10~ynh1) ...
2020-04-15 00:08:32,739: DEBUG - dpkg: discourse-ynh-deps: dependency problems, but configuring anyway as you requested:
2020-04-15 00:08:32,739: DEBUG - discourse-ynh-deps depends on libjemalloc-dev; however:
2020-04-15 00:08:32,740: DEBUG - Package libjemalloc-dev is not installed.
2020-04-15 00:08:32,740: DEBUG - discourse-ynh-deps depends on libreadline-dev; however:
2020-04-15 00:08:32,740: DEBUG - Package libreadline-dev is not installed.
2020-04-15 00:08:32,740: DEBUG - discourse-ynh-deps depends on libpq-dev; however:
2020-04-15 00:08:32,741: DEBUG - Package libpq-dev is not installed.
2020-04-15 00:08:32,741: DEBUG - discourse-ynh-deps depends on libyaml-dev; however:
2020-04-15 00:08:32,741: DEBUG - Package libyaml-dev is not installed.
2020-04-15 00:08:32,741: DEBUG - discourse-ynh-deps depends on libcurl4-openssl-dev; however:
2020-04-15 00:08:32,742: DEBUG - Package libcurl4-openssl-dev is not installed.
2020-04-15 00:08:32,742: DEBUG - discourse-ynh-deps depends on libapr1-dev; however:
2020-04-15 00:08:32,742: DEBUG - Package libapr1-dev is not installed.
2020-04-15 00:08:32,742: DEBUG - discourse-ynh-deps depends on libxslt1-dev; however:
2020-04-15 00:08:32,743: DEBUG - Package libxslt1-dev is not installed.
2020-04-15 00:08:32,743: DEBUG - discourse-ynh-deps depends on checkinstall; however:
2020-04-15 00:08:32,744: DEBUG - Package checkinstall is not installed.
2020-04-15 00:08:32,744: DEBUG - discourse-ynh-deps depends on libxml2-dev; however:
2020-04-15 00:08:32,744: DEBUG - Package libxml2-dev is not installed.
2020-04-15 00:08:32,744: DEBUG - discourse-ynh-deps depends on postgresql-server-dev-all; however:
2020-04-15 00:08:32,745: DEBUG - Package postgresql-server-dev-all is not installed.
2020-04-15 00:08:32,745: DEBUG - discourse-ynh-deps depends on optipng; however:
2020-04-15 00:08:32,745: DEBUG - Package optipng is not installed.
2020-04-15 00:08:32,746: DEBUG - discourse-ynh-deps depends on jhead; however:
2020-04-15 00:08:32,746: DEBUG - Package jhead is not installed.
2020-04-15 00:08:32,746: DEBUG - discourse-ynh-deps depends on jpegoptim; however:
2020-04-15 00:08:32,747: DEBUG - Package jpegoptim is not installed.
2020-04-15 00:08:32,747: DEBUG - discourse-ynh-deps depends on gifsicle; however:
2020-04-15 00:08:32,747: DEBUG - Package gifsicle is not installed.
2020-04-15 00:08:32,747: DEBUG - discourse-ynh-deps depends on brotli; however:
2020-04-15 00:08:32,748: DEBUG - Package brotli is not installed.
2020-04-15 00:08:32,748: DEBUG -
2020-04-15 00:08:32,748: DEBUG - Setting up discourse-ynh-deps (2.3.10~ynh1) ...
2020-04-15 00:08:32,748: DEBUG - + ynh_package_install -f
2020-04-15 00:08:32,749: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2020-04-15 00:08:32,749: DEBUG - + ynh_wait_dpkg_free
2020-04-15 00:08:32,749: DEBUG - + local try
2020-04-15 00:08:32,749: DEBUG - ++ seq 1 17
2020-04-15 00:08:32,750: DEBUG - + for try in `seq 1 17`
2020-04-15 00:08:32,750: DEBUG - + sudo lsof /var/lib/dpkg/lock
2020-04-15 00:08:33,051: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2020-04-15 00:08:33,051: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2020-04-15 00:08:33,052: DEBUG - + read dpkg_file
2020-04-15 00:08:33,052: DEBUG - + echo ''
2020-04-15 00:08:33,052: DEBUG - + grep -Pq '^[[:digit:]]+$'
2020-04-15 00:08:33,053: DEBUG - + read dpkg_file
2020-04-15 00:08:33,053: DEBUG - + return 0
2020-04-15 00:08:33,053: DEBUG - + DEBIAN_FRONTEND=noninteractive
2020-04-15 00:08:33,053: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2020-04-15 00:08:33,355: DEBUG - Reading package lists...
2020-04-15 00:08:33,556: DEBUG - Building dependency tree...
2020-04-15 00:08:33,557: DEBUG - Reading state information...
2020-04-15 00:08:33,657: DEBUG - Correcting dependencies... Done
2020-04-15 00:08:33,758: DEBUG - The following additional packages will be installed:
2020-04-15 00:08:33,758: DEBUG - dctrl-tools libpq-dev libxslt1.1 postgresql-server-dev-9.6
2020-04-15 00:08:33,759: DEBUG - postgresql-server-dev-all
2020-04-15 00:08:33,759: DEBUG - Suggested packages:
2020-04-15 00:08:33,759: DEBUG - debtags postgresql-doc-9.6
2020-04-15 00:08:33,860: DEBUG - The following packages will be REMOVED:
2020-04-15 00:08:33,860: DEBUG - discourse-ynh-deps
2020-04-15 00:08:33,860: DEBUG - The following NEW packages will be installed:
2020-04-15 00:08:33,860: DEBUG - dctrl-tools libpq-dev postgresql-server-dev-9.6 postgresql-server-dev-all
2020-04-15 00:08:33,861: DEBUG - The following packages will be upgraded:
2020-04-15 00:08:33,861: DEBUG - libxslt1.1
2020-04-15 00:08:33,961: DEBUG - 1 upgraded, 4 newly installed, 1 to remove and 52 not upgraded.
2020-04-15 00:08:33,962: WARNING - E: Packages need to be removed but remove is disabled.
2020-04-15 00:08:33,965: DEBUG - + ynh_die '--message=Unable to install dependencies'
2020-04-15 00:08:33,965: WARNING - Unable to install dependencies
2020-04-15 00:08:33,966: DEBUG - + local legacy_args=mc
2020-04-15 00:08:33,966: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-04-15 00:08:33,967: DEBUG - + declare -Ar args_array
2020-04-15 00:08:33,967: DEBUG - + local message
2020-04-15 00:08:33,967: DEBUG - + local ret_code
2020-04-15 00:08:33,967: DEBUG - + ynh_handle_getopts_args '--message=Unable to install dependencies'
2020-04-15 00:08:33,968: DEBUG - + set +x
2020-04-15 00:08:33,968: DEBUG - + echo 'Unable to install dependencies'
2020-04-15 00:08:33,968: DEBUG - + exit 1
2020-04-15 00:08:33,968: DEBUG - + ynh_exit_properly
2020-04-15 00:08:33,969: DEBUG - + local exit_code=1
2020-04-15 00:08:33,969: DEBUG - + '[' 1 -eq 0 ']'
2020-04-15 00:08:33,969: DEBUG - + trap '' EXIT
2020-04-15 00:08:33,969: DEBUG - + set +eu
2020-04-15 00:08:33,970: DEBUG - + sleep 0.5
2020-04-15 00:08:34,471: DEBUG - + ynh_print_err '--message=!!\n discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-04-15 00:08:34,472: WARNING - e[91me[1m[ERR]e[0m !!
2020-04-15 00:08:34,472: DEBUG - + local legacy_args=m
2020-04-15 00:08:34,473: WARNING - discourse's script has encountered an error. Its execution was cancelled.
2020-04-15 00:08:34,473: DEBUG - + args_array=([m]=message=)
2020-04-15 00:08:34,473: WARNING - !!
2020-04-15 00:08:34,474: DEBUG - + declare -Ar args_array
2020-04-15 00:08:34,474: WARNING -
2020-04-15 00:08:34,475: DEBUG - + local message
2020-04-15 00:08:34,475: DEBUG - + ynh_handle_getopts_args '--message=!!\n discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-04-15 00:08:34,475: DEBUG - + set +x
2020-04-15 00:08:34,476: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-04-15 00:08:34,476: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2020-04-15 00:08:34,476: DEBUG - + '[' api == cli ']'
2020-04-15 00:08:34,477: DEBUG - + type -t ynh_clean_setup
2020-04-15 00:08:34,477: DEBUG - + ynh_clean_setup
2020-04-15 00:08:34,478: DEBUG - + ynh_clean_check_starting
2020-04-15 00:08:34,478: DEBUG - + kill -s 15
2020-04-15 00:08:34,479: DEBUG - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
2020-04-15 00:08:34,479: DEBUG - + ynh_secure_remove ''
2020-04-15 00:08:34,479: DEBUG - + local legacy_args=f
2020-04-15 00:08:34,479: DEBUG - + args_array=([f]=file=)
2020-04-15 00:08:34,480: DEBUG - + declare -Ar args_array
2020-04-15 00:08:34,480: DEBUG - + local file
2020-04-15 00:08:34,480: DEBUG - + ynh_handle_getopts_args ''
2020-04-15 00:08:34,480: DEBUG - + set +x
2020-04-15 00:08:34,481: DEBUG - + echo '! Helper used in legacy mode !'
2020-04-15 00:08:34,481: DEBUG - + set +x
2020-04-15 00:08:34,481: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
2020-04-15 00:08:34,481: DEBUG - + '[' 1 -ge 2 ']'
2020-04-15 00:08:34,482: DEBUG - + [[ /var/www /home/yunohost.app =~ '' ]]
2020-04-15 00:08:34,482: DEBUG - + ynh_print_warn '--message=Avoid deleting .'
2020-04-15 00:08:34,482: DEBUG - + local legacy_args=m
2020-04-15 00:08:34,482: DEBUG - + args_array=([m]=message=)
2020-04-15 00:08:34,483: DEBUG - + declare -Ar args_array
2020-04-15 00:08:34,483: DEBUG - + local message
2020-04-15 00:08:34,483: DEBUG - + ynh_handle_getopts_args '--message=Avoid deleting .'
2020-04-15 00:08:34,483: DEBUG - + set +x
2020-04-15 00:08:34,484: DEBUG - + ynh_print_log '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2020-04-15 00:08:34,484: DEBUG - + echo -e '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2020-04-15 00:08:34,484: DEBUG - e[93me[1m[WARN]e[0m Avoid deleting .
2020-04-15 00:08:34,484: DEBUG - + ynh_die
2020-04-15 00:08:34,485: DEBUG - + local legacy_args=mc
2020-04-15 00:08:34,485: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2020-04-15 00:08:34,485: DEBUG - + declare -Ar args_array
2020-04-15 00:08:34,485: DEBUG - + local message
2020-04-15 00:08:34,486: DEBUG - + local ret_code
2020-04-15 00:08:34,486: DEBUG - + ynh_handle_getopts_args
2020-04-15 00:08:34,486: DEBUG - + set +x
2020-04-15 00:08:34,486: DEBUG - + echo ''
2020-04-15 00:08:34,487: DEBUG - + exit 1
J’ai mis la swapiness au-dessus de 50 mais ça ne change rien. Il y a un problème signalé au sujet du paquet discourse-ynh-deps. Quelqu’un a-t-il déjà vu ce type de beugue ?