YunoHost-Apps / discourse_ynh

Discourse package for YunoHost
https://www.discourse.org/
GNU General Public License v2.0
24 stars 12 forks source link

An error occurred while installing sassc (2.0.1), and Bundler cannot continu #47

Closed petitminion closed 4 years ago

petitminion commented 4 years ago

In a fresh yunohost install I get this error : An error occurred while installing sassc (2.0.1), and Bundler cannot continu

I'm running yunohost on an lxc container behind a reverse proxy.

full log :

args:
  app: https://github.com/YunoHost-Apps/discourse_ynh
  args: null
  force: false
  label: null
  no_remove_on_failure: false
ended_at: 2019-11-26 15:27:43.785190
env:
  YNH_APP_ARG_ADMIN: megaboss
  YNH_APP_ARG_DOMAIN: test.mentalcorps.site
  YNH_APP_ARG_IS_PUBLIC: 0
  YNH_APP_ARG_PATH: /forum
  YNH_APP_ID: discourse
  YNH_APP_INSTANCE_NAME: discourse
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_CWD: /var/cache/yunohost/from_file/discourse_ynh-master/scripts
  YNH_INTERFACE: cli
  YNH_STDINFO: /tmp/tmpTkWtib/stdinfo
  YNH_STDRETURN: /tmp/tmpvKk389/stdreturn
error: 'An unexpected error occured: shell command return code: 1'
operation: app_install
related_to:
- - app
  - discourse
started_at: 2019-11-26 15:20:44.337453
success: false

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

2019-11-26 15:20:44,347: INFO - Installing application discourse…
2019-11-26 15:20:44,404: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/discourse_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmpTkWtib/stdinfo YNH_APP_INSTANCE_NAME=discourse YNH_APP_ARG_ADMIN=megaboss YNH_INTERFACE=cli YNH_APP_ID=discourse YNH_APP_ARG_PATH=/forum YNH_STDRETURN=/tmp/tmpvKk389/stdreturn YNH_APP_ARG_DOMAIN=test.mentalcorps.site BASH_XTRACEFD=7 /bin/bash -x "./install" test.mentalcorps.site /forum megaboss 0 discourse 7>&1'…
2019-11-26 15:20:44,404: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/discourse_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=0 YNH_STDINFO=/tmp/tmpTkWtib/stdinfo YNH_APP_INSTANCE_NAME=discourse YNH_APP_ARG_ADMIN=megaboss YNH_INTERFACE=cli YNH_APP_ID=discourse YNH_APP_ARG_PATH=/forum YNH_STDRETURN=/tmp/tmpvKk389/stdreturn YNH_APP_ARG_DOMAIN=test.mentalcorps.site BASH_XTRACEFD=7 /bin/bash -x "./install" test.mentalcorps.site /forum megaboss 0 discourse 7>&1']'
2019-11-26 15:20:44,513: DEBUG - + shopt -s extglob
2019-11-26 15:20:44,513: DEBUG - + source /usr/share/yunohost/helpers
2019-11-26 15:20:44,513: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-11-26 15:20:44,513: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,513: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-11-26 15:20:44,513: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-11-26 15:20:44,513: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,514: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-11-26 15:20:44,514: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-11-26 15:20:44,514: DEBUG - +++ CAN_BIND=1
2019-11-26 15:20:44,514: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,514: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-11-26 15:20:44,514: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-11-26 15:20:44,514: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,514: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-11-26 15:20:44,514: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-11-26 15:20:44,514: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,514: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-11-26 15:20:44,514: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-11-26 15:20:44,515: DEBUG - +++ increment_progression=0
2019-11-26 15:20:44,515: DEBUG - +++ previous_weight=0
2019-11-26 15:20:44,515: DEBUG - +++ max_progression=-1
2019-11-26 15:20:44,515: DEBUG - +++ progress_scale=20
2019-11-26 15:20:44,515: DEBUG - +++ progress_string2='####################'
2019-11-26 15:20:44,515: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-11-26 15:20:44,515: DEBUG - +++ progress_string0=....................
2019-11-26 15:20:44,515: DEBUG - ++++ date +%s
2019-11-26 15:20:44,515: DEBUG - +++ base_time=1574781644
2019-11-26 15:20:44,515: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,515: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-11-26 15:20:44,515: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-11-26 15:20:44,515: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,515: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-11-26 15:20:44,516: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-11-26 15:20:44,516: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-11-26 15:20:44,516: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,516: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-11-26 15:20:44,516: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-11-26 15:20:44,516: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,516: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-11-26 15:20:44,516: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-11-26 15:20:44,516: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,516: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-11-26 15:20:44,516: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-11-26 15:20:44,516: DEBUG - +++ n_install_dir=/opt/node_n
2019-11-26 15:20:44,516: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-11-26 15:20:44,516: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-11-26 15:20:44,516: DEBUG - +++ N_PREFIX=/opt/node_n
2019-11-26 15:20:44,517: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,517: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-11-26 15:20:44,517: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-11-26 15:20:44,517: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,517: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-11-26 15:20:44,517: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-11-26 15:20:44,517: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-11-26 15:20:44,517: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,517: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-11-26 15:20:44,517: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-11-26 15:20:44,517: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,517: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-11-26 15:20:44,517: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-11-26 15:20:44,517: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,517: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-11-26 15:20:44,518: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-11-26 15:20:44,518: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,518: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-11-26 15:20:44,518: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-11-26 15:20:44,518: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-11-26 15:20:44,518: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-11-26 15:20:44,518: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-11-26 15:20:44,518: DEBUG - + source _common.sh
2019-11-26 15:20:44,518: 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'
2019-11-26 15:20:44,518: DEBUG - ++ RUBY_VERSION=2.6.0
2019-11-26 15:20:44,518: DEBUG - ++ rbenv_install_dir=/opt/rbenv
2019-11-26 15:20:44,518: DEBUG - ++ export RBENV_ROOT=/opt/rbenv
2019-11-26 15:20:44,518: DEBUG - ++ RBENV_ROOT=/opt/rbenv
2019-11-26 15:20:44,518: DEBUG - + ynh_abort_if_errors
2019-11-26 15:20:44,519: DEBUG - + set -eu
2019-11-26 15:20:44,519: DEBUG - + trap ynh_exit_properly EXIT
2019-11-26 15:20:44,519: DEBUG - + app=discourse
2019-11-26 15:20:44,519: DEBUG - + domain=test.mentalcorps.site
2019-11-26 15:20:44,519: DEBUG - + path_url=/forum
2019-11-26 15:20:44,519: DEBUG - + admin=megaboss
2019-11-26 15:20:44,519: DEBUG - + is_public=0
2019-11-26 15:20:44,519: DEBUG - ++ ynh_normalize_url_path /forum
2019-11-26 15:20:44,519: DEBUG - ++ local legacy_args=p
2019-11-26 15:20:44,519: DEBUG - ++ args_array=([p]=path_url=)
2019-11-26 15:20:44,519: DEBUG - ++ declare -Ar args_array
2019-11-26 15:20:44,519: DEBUG - ++ local path_url
2019-11-26 15:20:44,519: DEBUG - ++ ynh_handle_getopts_args /forum
2019-11-26 15:20:44,519: DEBUG - ++ set +x
2019-11-26 15:20:44,520: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-11-26 15:20:44,520: DEBUG - ++ set +x
2019-11-26 15:20:44,520: DEBUG - ++ test -n /forum
2019-11-26 15:20:44,520: DEBUG - ++ '[' / '!=' / ']'
2019-11-26 15:20:44,520: DEBUG - ++ '[' m == / ']'
2019-11-26 15:20:44,520: DEBUG - ++ echo /forum
2019-11-26 15:20:44,520: DEBUG - + path_url=/forum
2019-11-26 15:20:44,520: DEBUG - + final_path=/var/www/discourse
2019-11-26 15:20:44,520: DEBUG - + test '!' -e /var/www/discourse
2019-11-26 15:20:44,520: DEBUG - + ynh_webpath_available test.mentalcorps.site /forum
2019-11-26 15:20:44,520: DEBUG - + local legacy_args=dp
2019-11-26 15:20:44,520: DEBUG - + args_array=([d]=domain= [p]=path_url=)
2019-11-26 15:20:44,520: DEBUG - + declare -Ar args_array
2019-11-26 15:20:44,520: DEBUG - + local domain
2019-11-26 15:20:44,520: DEBUG - + local path_url
2019-11-26 15:20:44,521: DEBUG - + ynh_handle_getopts_args test.mentalcorps.site /forum
2019-11-26 15:20:44,521: DEBUG - + set +x
2019-11-26 15:20:44,521: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:20:44,521: DEBUG - + set +x
2019-11-26 15:20:44,521: DEBUG - + sudo yunohost domain url-available test.mentalcorps.site /forum
2019-11-26 15:20:44,721: DEBUG - True
2019-11-26 15:20:44,721: DEBUG - + ynh_webpath_register discourse test.mentalcorps.site /forum
2019-11-26 15:20:44,721: DEBUG - + local legacy_args=adp
2019-11-26 15:20:44,721: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-11-26 15:20:44,722: DEBUG - + declare -Ar args_array
2019-11-26 15:20:44,722: DEBUG - + local app
2019-11-26 15:20:44,722: DEBUG - + local domain
2019-11-26 15:20:44,722: DEBUG - + local path_url
2019-11-26 15:20:44,722: DEBUG - + ynh_handle_getopts_args discourse test.mentalcorps.site /forum
2019-11-26 15:20:44,722: DEBUG - + set +x
2019-11-26 15:20:44,722: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:20:44,722: DEBUG - + set +x
2019-11-26 15:20:44,722: DEBUG - + sudo yunohost app register-url discourse test.mentalcorps.site /forum
2019-11-26 15:20:44,923: DEBUG - + check_memory_requirements
2019-11-26 15:20:44,923: DEBUG - + is_swap_present
2019-11-26 15:20:44,923: DEBUG - ++ awk '/^SwapTotal:/{print $2}' /proc/meminfo
2019-11-26 15:20:44,923: DEBUG - + '[' 1048576 -gt 0 ']'
2019-11-26 15:20:44,923: DEBUG - + is_swappiness_sufficient
2019-11-26 15:20:44,923: DEBUG - ++ cat /proc/sys/vm/swappiness
2019-11-26 15:20:44,923: DEBUG - + '[' 60 -gt 50 ']'
2019-11-26 15:20:44,923: DEBUG - + is_memory_available 1000000
2019-11-26 15:20:44,923: DEBUG - + local needed_memory=1000000
2019-11-26 15:20:44,923: DEBUG - ++ awk '/^MemAvailable:/{print $2}' /proc/meminfo
2019-11-26 15:20:44,923: DEBUG - + local freemem=168920
2019-11-26 15:20:44,923: DEBUG - ++ awk '/^SwapFree:/{print $2}' /proc/meminfo
2019-11-26 15:20:44,923: DEBUG - + local freeswap=1041100
2019-11-26 15:20:44,924: DEBUG - + '[' 1210020 -gt 1000000 ']'
2019-11-26 15:20:44,924: DEBUG - + ynh_app_setting_set discourse admin megaboss
2019-11-26 15:20:44,924: DEBUG - + local legacy_args=akv
2019-11-26 15:20:44,924: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:20:44,924: DEBUG - + declare -Ar args_array
2019-11-26 15:20:44,924: DEBUG - + local app
2019-11-26 15:20:44,924: DEBUG - + local key
2019-11-26 15:20:44,924: DEBUG - + local value
2019-11-26 15:20:44,924: DEBUG - + ynh_handle_getopts_args discourse admin megaboss
2019-11-26 15:20:44,924: DEBUG - + set +x
2019-11-26 15:20:44,924: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:20:44,924: DEBUG - + set +x
2019-11-26 15:20:44,924: DEBUG - + ynh_app_setting set discourse admin megaboss
2019-11-26 15:20:44,924: DEBUG - + ACTION=set
2019-11-26 15:20:44,924: DEBUG - + APP=discourse
2019-11-26 15:20:44,925: DEBUG - + KEY=admin
2019-11-26 15:20:44,925: DEBUG - + VALUE=megaboss
2019-11-26 15:20:44,925: DEBUG - + python -
2019-11-26 15:20:45,025: DEBUG - + ynh_app_setting_set discourse is_public 0
2019-11-26 15:20:45,025: DEBUG - + local legacy_args=akv
2019-11-26 15:20:45,025: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:20:45,025: DEBUG - + declare -Ar args_array
2019-11-26 15:20:45,025: DEBUG - + local app
2019-11-26 15:20:45,025: DEBUG - + local key
2019-11-26 15:20:45,025: DEBUG - + local value
2019-11-26 15:20:45,025: DEBUG - + ynh_handle_getopts_args discourse is_public 0
2019-11-26 15:20:45,026: DEBUG - + set +x
2019-11-26 15:20:45,026: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:20:45,026: DEBUG - + set +x
2019-11-26 15:20:45,026: DEBUG - + ynh_app_setting set discourse is_public 0
2019-11-26 15:20:45,026: DEBUG - + ACTION=set
2019-11-26 15:20:45,026: DEBUG - + APP=discourse
2019-11-26 15:20:45,026: DEBUG - + KEY=is_public
2019-11-26 15:20:45,026: DEBUG - + VALUE=0
2019-11-26 15:20:45,026: DEBUG - + python -
2019-11-26 15:20:45,126: DEBUG - + ynh_app_setting_set discourse final_path /var/www/discourse
2019-11-26 15:20:45,127: DEBUG - + local legacy_args=akv
2019-11-26 15:20:45,127: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:20:45,127: DEBUG - + declare -Ar args_array
2019-11-26 15:20:45,127: DEBUG - + local app
2019-11-26 15:20:45,127: DEBUG - + local key
2019-11-26 15:20:45,127: DEBUG - + local value
2019-11-26 15:20:45,127: DEBUG - + ynh_handle_getopts_args discourse final_path /var/www/discourse
2019-11-26 15:20:45,127: DEBUG - + set +x
2019-11-26 15:20:45,127: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:20:45,127: DEBUG - + set +x
2019-11-26 15:20:45,127: DEBUG - + ynh_app_setting set discourse final_path /var/www/discourse
2019-11-26 15:20:45,127: DEBUG - + ACTION=set
2019-11-26 15:20:45,127: DEBUG - + APP=discourse
2019-11-26 15:20:45,127: DEBUG - + KEY=final_path
2019-11-26 15:20:45,127: DEBUG - + VALUE=/var/www/discourse
2019-11-26 15:20:45,128: DEBUG - + python -
2019-11-26 15:20:45,128: 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'
2019-11-26 15:20:45,128: 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'
2019-11-26 15:20:45,128: 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'
2019-11-26 15:20:45,128: 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'
2019-11-26 15:20:45,128: DEBUG - + local manifest_path=../manifest.json
2019-11-26 15:20:45,128: DEBUG - + '[' '!' -e ../manifest.json ']'
2019-11-26 15:20:45,128: DEBUG - ++ cut -d '"' -f 4
2019-11-26 15:20:45,128: DEBUG - ++ grep '\"version\": ' ../manifest.json
2019-11-26 15:20:45,128: DEBUG - + local version=2.3.6~ynh1
2019-11-26 15:20:45,128: DEBUG - + '[' 10 -eq 0 ']'
2019-11-26 15:20:45,128: DEBUG - + local dep_app=discourse
2019-11-26 15:20:45,128: DEBUG - + grep -q php
2019-11-26 15:20:45,128: DEBUG - + echo 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
2019-11-26 15:20:45,129: DEBUG - + cat
2019-11-26 15:20:45,129: DEBUG - + ynh_package_install_from_equivs /tmp/discourse-ynh-deps.control
2019-11-26 15:20:45,129: DEBUG - + local controlfile=/tmp/discourse-ynh-deps.control
2019-11-26 15:20:45,129: DEBUG - ++ cut '-d ' -f 2
2019-11-26 15:20:45,129: DEBUG - ++ grep '^Package: ' /tmp/discourse-ynh-deps.control
2019-11-26 15:20:45,129: DEBUG - + local pkgname=discourse-ynh-deps
2019-11-26 15:20:45,129: DEBUG - ++ cut '-d ' -f 2
2019-11-26 15:20:45,129: DEBUG - ++ grep '^Version: ' /tmp/discourse-ynh-deps.control
2019-11-26 15:20:45,129: DEBUG - + local pkgversion=2.3.6~ynh1
2019-11-26 15:20:45,129: DEBUG - + [[ -z discourse-ynh-deps ]]
2019-11-26 15:20:45,129: DEBUG - + [[ -z 2.3.6~ynh1 ]]
2019-11-26 15:20:45,129: DEBUG - + ynh_package_update
2019-11-26 15:20:45,129: DEBUG - + ynh_apt update
2019-11-26 15:20:45,129: DEBUG - + ynh_wait_dpkg_free
2019-11-26 15:20:45,129: DEBUG - + local try
2019-11-26 15:20:45,130: DEBUG - ++ seq 1 17
2019-11-26 15:20:45,130: DEBUG - + for try in `seq 1 17`
2019-11-26 15:20:45,130: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-11-26 15:20:45,230: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-11-26 15:20:45,230: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-11-26 15:20:45,230: DEBUG - + read dpkg_file
2019-11-26 15:20:45,230: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-11-26 15:20:45,230: DEBUG - + echo ''
2019-11-26 15:20:45,230: DEBUG - + read dpkg_file
2019-11-26 15:20:45,230: DEBUG - + return 0
2019-11-26 15:20:45,231: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-11-26 15:20:45,231: DEBUG - + apt-get -y update
2019-11-26 15:20:45,331: DEBUG - Hit:1 http://security.debian.org stretch/updates InRelease
2019-11-26 15:20:45,331: DEBUG - Hit:2 http://forge.yunohost.org/debian stretch InRelease
2019-11-26 15:20:45,331: DEBUG - Ign:3 http://ftp.debian.org/debian stretch InRelease
2019-11-26 15:20:45,331: DEBUG - Hit:4 http://ftp.debian.org/debian stretch-updates InRelease
2019-11-26 15:20:45,331: DEBUG - Hit:5 http://ftp.debian.org/debian stretch Release
2019-11-26 15:20:46,032: DEBUG - Reading package lists...
2019-11-26 15:20:46,032: DEBUG - ++ mktemp -d
2019-11-26 15:20:46,033: DEBUG - + local TMPDIR=/tmp/tmp.jNho4A8BKz
2019-11-26 15:20:46,033: DEBUG - + echo 10
2019-11-26 15:20:46,033: DEBUG - + ynh_wait_dpkg_free
2019-11-26 15:20:46,033: DEBUG - + local try
2019-11-26 15:20:46,033: DEBUG - ++ seq 1 17
2019-11-26 15:20:46,033: DEBUG - + for try in `seq 1 17`
2019-11-26 15:20:46,033: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-11-26 15:20:46,133: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-11-26 15:20:46,133: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-11-26 15:20:46,133: DEBUG - + read dpkg_file
2019-11-26 15:20:46,133: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-11-26 15:20:46,134: DEBUG - + echo ''
2019-11-26 15:20:46,134: DEBUG - + read dpkg_file
2019-11-26 15:20:46,134: DEBUG - + return 0
2019-11-26 15:20:46,134: DEBUG - + cp /tmp/discourse-ynh-deps.control /tmp/tmp.jNho4A8BKz/control
2019-11-26 15:20:46,134: DEBUG - + cd /tmp/tmp.jNho4A8BKz
2019-11-26 15:20:46,134: DEBUG - + equivs-build ./control
2019-11-26 15:20:46,635: DEBUG - + dpkg --force-depends -i ./discourse-ynh-deps_2.3.6~ynh1_all.deb
2019-11-26 15:20:46,735: DEBUG - Selecting previously unselected package discourse-ynh-deps.
2019-11-26 15:20:46,735: DEBUG - (Reading database ... 49408 files and directories currently installed.)
2019-11-26 15:20:46,735: DEBUG - Preparing to unpack .../discourse-ynh-deps_2.3.6~ynh1_all.deb ...
2019-11-26 15:20:46,735: DEBUG - Unpacking discourse-ynh-deps (2.3.6~ynh1) ...
2019-11-26 15:20:46,836: DEBUG - dpkg: discourse-ynh-deps: dependency problems, but configuring anyway as you requested:
2019-11-26 15:20:46,836: DEBUG -  discourse-ynh-deps depends on libjemalloc-dev; however:
2019-11-26 15:20:46,836: DEBUG -   Package libjemalloc-dev is not installed.
2019-11-26 15:20:46,836: DEBUG -  discourse-ynh-deps depends on zlib1g-dev; however:
2019-11-26 15:20:46,836: DEBUG -   Package zlib1g-dev is not installed.
2019-11-26 15:20:46,836: DEBUG -  discourse-ynh-deps depends on libreadline-dev; however:
2019-11-26 15:20:46,836: DEBUG -   Package libreadline-dev is not installed.
2019-11-26 15:20:46,836: DEBUG -  discourse-ynh-deps depends on libssl-dev; however:
2019-11-26 15:20:46,836: DEBUG -   Package libssl-dev is not installed.
2019-11-26 15:20:46,836: DEBUG -  discourse-ynh-deps depends on libyaml-dev; however:
2019-11-26 15:20:46,837: DEBUG -   Package libyaml-dev is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on libcurl4-openssl-dev; however:
2019-11-26 15:20:46,837: DEBUG -   Package libcurl4-openssl-dev is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on libapr1-dev; however:
2019-11-26 15:20:46,837: DEBUG -   Package libapr1-dev is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on libxslt1-dev; however:
2019-11-26 15:20:46,837: DEBUG -   Package libxslt1-dev is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on checkinstall; however:
2019-11-26 15:20:46,837: DEBUG -   Package checkinstall is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on libxml2-dev; however:
2019-11-26 15:20:46,837: DEBUG -   Package libxml2-dev is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on postgresql; however:
2019-11-26 15:20:46,837: DEBUG -   Package postgresql is not installed.
2019-11-26 15:20:46,837: DEBUG -  discourse-ynh-deps depends on optipng; however:
2019-11-26 15:20:46,838: DEBUG -   Package optipng is not installed.
2019-11-26 15:20:46,838: DEBUG -  discourse-ynh-deps depends on jhead; however:
2019-11-26 15:20:46,838: DEBUG -   Package jhead is not installed.
2019-11-26 15:20:46,838: DEBUG -  discourse-ynh-deps depends on jpegoptim; however:
2019-11-26 15:20:46,838: DEBUG -   Package jpegoptim is not installed.
2019-11-26 15:20:46,838: DEBUG -  discourse-ynh-deps depends on gifsicle; however:
2019-11-26 15:20:46,838: DEBUG -   Package gifsicle is not installed.
2019-11-26 15:20:46,838: DEBUG -  discourse-ynh-deps depends on brotli; however:
2019-11-26 15:20:46,838: DEBUG -   Package brotli is not installed.
2019-11-26 15:20:46,838: DEBUG - 
2019-11-26 15:20:46,838: DEBUG - Setting up discourse-ynh-deps (2.3.6~ynh1) ...
2019-11-26 15:20:46,939: DEBUG - + ynh_package_install -f
2019-11-26 15:20:46,939: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-11-26 15:20:46,939: DEBUG - + ynh_wait_dpkg_free
2019-11-26 15:20:46,939: DEBUG - + local try
2019-11-26 15:20:46,939: DEBUG - ++ seq 1 17
2019-11-26 15:20:46,939: DEBUG - + for try in `seq 1 17`
2019-11-26 15:20:46,939: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-11-26 15:20:47,039: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-11-26 15:20:47,040: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-11-26 15:20:47,040: DEBUG - + read dpkg_file
2019-11-26 15:20:47,040: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-11-26 15:20:47,040: DEBUG - + echo ''
2019-11-26 15:20:47,040: DEBUG - + read dpkg_file
2019-11-26 15:20:47,040: DEBUG - + return 0
2019-11-26 15:20:47,040: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-11-26 15:20:47,040: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-11-26 15:20:47,140: DEBUG - Reading package lists...
2019-11-26 15:20:47,241: DEBUG - Building dependency tree...
2019-11-26 15:20:47,241: DEBUG - Reading state information...
2019-11-26 15:20:47,341: DEBUG - Correcting dependencies... Done
2019-11-26 15:20:47,341: DEBUG - The following additional packages will be installed:
2019-11-26 15:20:47,341: DEBUG -   brotli checkinstall gifsicle icu-devtools jhead jpegoptim libapr1
2019-11-26 15:20:47,341: DEBUG -   libapr1-dev libcurl4-openssl-dev libicu-dev libjemalloc-dev
2019-11-26 15:20:47,342: DEBUG -   libjpeg-turbo-progs libreadline-dev libsctp-dev libsctp1 libssl-dev
2019-11-26 15:20:47,342: DEBUG -   libssl-doc libtinfo-dev libturbojpeg0 libxml2-dev libxslt1-dev libyaml-dev
2019-11-26 15:20:47,342: DEBUG -   optipng postgresql uuid-dev zlib1g-dev
2019-11-26 15:20:47,342: DEBUG - Suggested packages:
2019-11-26 15:20:47,342: DEBUG -   libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev libldap2-dev librtmp-dev
2019-11-26 15:20:47,342: DEBUG -   libssh2-1-dev libssl1.0-dev | libssl-dev pkg-config icu-doc readline-doc
2019-11-26 15:20:47,342: DEBUG -   lksctp-tools libyaml-doc postgresql-doc
2019-11-26 15:20:47,342: DEBUG - The following NEW packages will be installed:
2019-11-26 15:20:47,342: DEBUG -   brotli checkinstall gifsicle icu-devtools jhead jpegoptim libapr1
2019-11-26 15:20:47,342: DEBUG -   libapr1-dev libcurl4-openssl-dev libicu-dev libjemalloc-dev
2019-11-26 15:20:47,342: DEBUG -   libjpeg-turbo-progs libreadline-dev libsctp-dev libsctp1 libssl-dev
2019-11-26 15:20:47,342: DEBUG -   libssl-doc libtinfo-dev libturbojpeg0 libxml2-dev libxslt1-dev libyaml-dev
2019-11-26 15:20:47,342: DEBUG -   optipng postgresql uuid-dev zlib1g-dev
2019-11-26 15:20:47,943: DEBUG - 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
2019-11-26 15:20:48,030: DEBUG - Need to get 0 B/24.1 MB of archives.
2019-11-26 15:20:48,030: DEBUG - After this operation, 127 MB of additional disk space will be used.
2019-11-26 15:20:48,131: DEBUG - Selecting previously unselected package brotli.
2019-11-26 15:20:48,131: DEBUG - (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 49412 files and directories currently installed.)
2019-11-26 15:20:48,131: DEBUG - Preparing to unpack .../00-brotli_0.5.2+dfsg-2_amd64.deb ...
2019-11-26 15:20:48,132: DEBUG - Unpacking brotli (0.5.2+dfsg-2) ...
2019-11-26 15:20:48,332: DEBUG - Selecting previously unselected package checkinstall.
2019-11-26 15:20:48,332: DEBUG - Preparing to unpack .../01-checkinstall_1.6.2-4_amd64.deb ...
2019-11-26 15:20:48,332: DEBUG - Unpacking checkinstall (1.6.2-4) ...
2019-11-26 15:20:48,432: DEBUG - Selecting previously unselected package gifsicle.
2019-11-26 15:20:48,433: DEBUG - Preparing to unpack .../02-gifsicle_1.88-3+deb9u1_amd64.deb ...
2019-11-26 15:20:48,433: DEBUG - Unpacking gifsicle (1.88-3+deb9u1) ...
2019-11-26 15:20:48,633: DEBUG - Selecting previously unselected package icu-devtools.
2019-11-26 15:20:48,633: DEBUG - Preparing to unpack .../03-icu-devtools_57.1-6+deb9u3_amd64.deb ...
2019-11-26 15:20:48,633: DEBUG - Unpacking icu-devtools (57.1-6+deb9u3) ...
2019-11-26 15:20:48,834: DEBUG - Selecting previously unselected package libturbojpeg0:amd64.
2019-11-26 15:20:48,834: DEBUG - Preparing to unpack .../04-libturbojpeg0_1%3a1.5.1-2_amd64.deb ...
2019-11-26 15:20:48,834: DEBUG - Unpacking libturbojpeg0:amd64 (1:1.5.1-2) ...
2019-11-26 15:20:49,035: DEBUG - Selecting previously unselected package libjpeg-turbo-progs.
2019-11-26 15:20:49,035: DEBUG - Preparing to unpack .../05-libjpeg-turbo-progs_1%3a1.5.1-2_amd64.deb ...
2019-11-26 15:20:49,035: DEBUG - Unpacking libjpeg-turbo-progs (1:1.5.1-2) ...
2019-11-26 15:20:49,135: DEBUG - Selecting previously unselected package jhead.
2019-11-26 15:20:49,135: DEBUG - Preparing to unpack .../06-jhead_1%3a3.00-4+deb9u1_amd64.deb ...
2019-11-26 15:20:49,135: DEBUG - Unpacking jhead (1:3.00-4+deb9u1) ...
2019-11-26 15:20:49,336: DEBUG - Selecting previously unselected package jpegoptim.
2019-11-26 15:20:49,336: DEBUG - Preparing to unpack .../07-jpegoptim_1.4.4-1+b1_amd64.deb ...
2019-11-26 15:20:49,336: DEBUG - Unpacking jpegoptim (1.4.4-1+b1) ...
2019-11-26 15:20:49,436: DEBUG - Selecting previously unselected package libapr1:amd64.
2019-11-26 15:20:49,437: DEBUG - Preparing to unpack .../08-libapr1_1.5.2-5_amd64.deb ...
2019-11-26 15:20:49,437: DEBUG - Unpacking libapr1:amd64 (1.5.2-5) ...
2019-11-26 15:20:49,637: DEBUG - Selecting previously unselected package uuid-dev:amd64.
2019-11-26 15:20:49,637: DEBUG - Preparing to unpack .../09-uuid-dev_2.29.2-1+deb9u1_amd64.deb ...
2019-11-26 15:20:49,638: DEBUG - Unpacking uuid-dev:amd64 (2.29.2-1+deb9u1) ...
2019-11-26 15:20:49,838: DEBUG - Selecting previously unselected package libsctp1:amd64.
2019-11-26 15:20:49,838: DEBUG - Preparing to unpack .../10-libsctp1_1.0.17+dfsg-1+b1_amd64.deb ...
2019-11-26 15:20:49,838: DEBUG - Unpacking libsctp1:amd64 (1.0.17+dfsg-1+b1) ...
2019-11-26 15:20:49,938: DEBUG - Selecting previously unselected package libsctp-dev.
2019-11-26 15:20:49,939: DEBUG - Preparing to unpack .../11-libsctp-dev_1.0.17+dfsg-1+b1_amd64.deb ...
2019-11-26 15:20:49,939: DEBUG - Unpacking libsctp-dev (1.0.17+dfsg-1+b1) ...
2019-11-26 15:20:50,140: DEBUG - Selecting previously unselected package libapr1-dev.
2019-11-26 15:20:50,140: DEBUG - Preparing to unpack .../12-libapr1-dev_1.5.2-5_amd64.deb ...
2019-11-26 15:20:50,140: DEBUG - Unpacking libapr1-dev (1.5.2-5) ...
2019-11-26 15:20:50,441: DEBUG - Selecting previously unselected package libcurl4-openssl-dev:amd64.
2019-11-26 15:20:50,441: DEBUG - Preparing to unpack .../13-libcurl4-openssl-dev_7.52.1-5+deb9u9_amd64.deb ...
2019-11-26 15:20:50,541: DEBUG - Unpacking libcurl4-openssl-dev:amd64 (7.52.1-5+deb9u9) ...
2019-11-26 15:20:50,641: DEBUG - Selecting previously unselected package libicu-dev.
2019-11-26 15:20:50,642: DEBUG - Preparing to unpack .../14-libicu-dev_57.1-6+deb9u3_amd64.deb ...
2019-11-26 15:20:50,642: DEBUG - Unpacking libicu-dev (57.1-6+deb9u3) ...
2019-11-26 15:20:52,745: DEBUG - Selecting previously unselected package libtinfo-dev:amd64.
2019-11-26 15:20:52,750: DEBUG - Preparing to unpack .../15-libtinfo-dev_6.0+20161126-1+deb9u2_amd64.deb ...
2019-11-26 15:20:52,750: DEBUG - Unpacking libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ...
2019-11-26 15:20:52,850: DEBUG - Selecting previously unselected package libreadline-dev:amd64.
2019-11-26 15:20:52,851: DEBUG - Preparing to unpack .../16-libreadline-dev_7.0-3_amd64.deb ...
2019-11-26 15:20:52,951: DEBUG - Unpacking libreadline-dev:amd64 (7.0-3) ...
2019-11-26 15:20:53,051: DEBUG - Selecting previously unselected package libssl-dev:amd64.
2019-11-26 15:20:53,051: DEBUG - Preparing to unpack .../17-libssl-dev_1.1.0l-1~deb9u1_amd64.deb ...
2019-11-26 15:20:53,051: DEBUG - Unpacking libssl-dev:amd64 (1.1.0l-1~deb9u1) ...
2019-11-26 15:20:53,352: DEBUG - Selecting previously unselected package libssl-doc.
2019-11-26 15:20:53,352: DEBUG - Preparing to unpack .../18-libssl-doc_1.1.0l-1~deb9u1_all.deb ...
2019-11-26 15:20:53,352: DEBUG - Unpacking libssl-doc (1.1.0l-1~deb9u1) ...
2019-11-26 15:20:54,554: DEBUG - Selecting previously unselected package libxml2-dev:amd64.
2019-11-26 15:20:54,554: DEBUG - Preparing to unpack .../19-libxml2-dev_2.9.4+dfsg1-2.2+deb9u2_amd64.deb ...
2019-11-26 15:20:54,655: DEBUG - Unpacking libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
2019-11-26 15:20:55,356: DEBUG - Selecting previously unselected package libxslt1-dev:amd64.
2019-11-26 15:20:55,356: DEBUG - Preparing to unpack .../20-libxslt1-dev_1.1.29-2.1+deb9u1_amd64.deb ...
2019-11-26 15:20:55,456: DEBUG - Unpacking libxslt1-dev:amd64 (1.1.29-2.1+deb9u1) ...
2019-11-26 15:20:56,057: DEBUG - Selecting previously unselected package libyaml-dev:amd64.
2019-11-26 15:20:56,058: DEBUG - Preparing to unpack .../21-libyaml-dev_0.1.7-2_amd64.deb ...
2019-11-26 15:20:56,158: DEBUG - Unpacking libyaml-dev:amd64 (0.1.7-2) ...
2019-11-26 15:20:56,759: DEBUG - Selecting previously unselected package optipng.
2019-11-26 15:20:56,759: DEBUG - Preparing to unpack .../22-optipng_0.7.6-1+deb9u1_amd64.deb ...
2019-11-26 15:20:56,859: DEBUG - Unpacking optipng (0.7.6-1+deb9u1) ...
2019-11-26 15:20:57,360: DEBUG - Selecting previously unselected package postgresql.
2019-11-26 15:20:57,360: DEBUG - Preparing to unpack .../23-postgresql_9.6+181+deb9u3_all.deb ...
2019-11-26 15:20:57,461: DEBUG - Unpacking postgresql (9.6+181+deb9u3) ...
2019-11-26 15:20:57,962: DEBUG - Selecting previously unselected package zlib1g-dev:amd64.
2019-11-26 15:20:57,962: DEBUG - Preparing to unpack .../24-zlib1g-dev_1%3a1.2.8.dfsg-5_amd64.deb ...
2019-11-26 15:20:58,062: DEBUG - Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
2019-11-26 15:20:58,463: DEBUG - Selecting previously unselected package libjemalloc-dev.
2019-11-26 15:20:58,463: DEBUG - Preparing to unpack .../25-libjemalloc-dev_3.6.0-9.1_amd64.deb ...
2019-11-26 15:20:58,463: DEBUG - Unpacking libjemalloc-dev (3.6.0-9.1) ...
2019-11-26 15:20:58,664: DEBUG - Setting up libapr1:amd64 (1.5.2-5) ...
2019-11-26 15:20:58,764: DEBUG - Setting up jpegoptim (1.4.4-1+b1) ...
2019-11-26 15:20:58,864: DEBUG - Setting up libsctp1:amd64 (1.0.17+dfsg-1+b1) ...
2019-11-26 15:20:58,864: DEBUG - Setting up libturbojpeg0:amd64 (1:1.5.1-2) ...
2019-11-26 15:20:58,965: DEBUG - Setting up gifsicle (1.88-3+deb9u1) ...
2019-11-26 15:20:58,965: DEBUG - Setting up libssl-dev:amd64 (1.1.0l-1~deb9u1) ...
2019-11-26 15:20:59,065: DEBUG - Setting up uuid-dev:amd64 (2.29.2-1+deb9u1) ...
2019-11-26 15:20:59,165: DEBUG - Setting up libtinfo-dev:amd64 (6.0+20161126-1+deb9u2) ...
2019-11-26 15:20:59,165: DEBUG - Setting up libyaml-dev:amd64 (0.1.7-2) ...
2019-11-26 15:20:59,266: DEBUG - Setting up libjemalloc-dev (3.6.0-9.1) ...
2019-11-26 15:20:59,266: DEBUG - Setting up optipng (0.7.6-1+deb9u1) ...
2019-11-26 15:20:59,366: DEBUG - Processing triggers for libc-bin (2.24-11+deb9u4) ...
2019-11-26 15:20:59,467: DEBUG - Setting up postgresql (9.6+181+deb9u3) ...
2019-11-26 15:20:59,467: DEBUG - Setting up libreadline-dev:amd64 (7.0-3) ...
2019-11-26 15:20:59,567: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
2019-11-26 15:20:59,768: DEBUG - Setting up checkinstall (1.6.2-4) ...
2019-11-26 15:20:59,868: DEBUG - Setting up icu-devtools (57.1-6+deb9u3) ...
2019-11-26 15:20:59,968: DEBUG - Setting up libssl-doc (1.1.0l-1~deb9u1) ...
2019-11-26 15:20:59,968: DEBUG - Setting up libcurl4-openssl-dev:amd64 (7.52.1-5+deb9u9) ...
2019-11-26 15:21:00,069: DEBUG - Setting up brotli (0.5.2+dfsg-2) ...
2019-11-26 15:21:00,069: DEBUG - Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-5) ...
2019-11-26 15:21:00,169: DEBUG - Setting up libjpeg-turbo-progs (1:1.5.1-2) ...
2019-11-26 15:21:00,269: DEBUG - Setting up libsctp-dev (1.0.17+dfsg-1+b1) ...
2019-11-26 15:21:00,270: DEBUG - Setting up libapr1-dev (1.5.2-5) ...
2019-11-26 15:21:00,370: DEBUG - Setting up libicu-dev (57.1-6+deb9u3) ...
2019-11-26 15:21:00,370: DEBUG - Setting up libxml2-dev:amd64 (2.9.4+dfsg1-2.2+deb9u2) ...
2019-11-26 15:21:00,470: DEBUG - Setting up jhead (1:3.00-4+deb9u1) ...
2019-11-26 15:21:00,470: DEBUG - Setting up libxslt1-dev:amd64 (1.1.29-2.1+deb9u1) ...
2019-11-26 15:21:00,971: DEBUG - + [[ -n /tmp/tmp.jNho4A8BKz ]]
2019-11-26 15:21:00,971: DEBUG - + rm -rf /tmp/tmp.jNho4A8BKz
2019-11-26 15:21:00,971: DEBUG - + ynh_package_is_installed discourse-ynh-deps
2019-11-26 15:21:00,971: DEBUG - + local legacy_args=p
2019-11-26 15:21:00,972: DEBUG - + args_array=([p]=package=)
2019-11-26 15:21:00,972: DEBUG - + declare -Ar args_array
2019-11-26 15:21:00,972: DEBUG - + local package
2019-11-26 15:21:00,972: DEBUG - + ynh_handle_getopts_args discourse-ynh-deps
2019-11-26 15:21:00,972: DEBUG - + set +x
2019-11-26 15:21:00,972: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:00,972: DEBUG - + set +x
2019-11-26 15:21:00,972: DEBUG - + ynh_wait_dpkg_free
2019-11-26 15:21:00,972: DEBUG - + local try
2019-11-26 15:21:00,972: DEBUG - ++ seq 1 17
2019-11-26 15:21:00,972: DEBUG - + for try in `seq 1 17`
2019-11-26 15:21:00,972: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-11-26 15:21:01,073: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-11-26 15:21:01,073: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-11-26 15:21:01,073: DEBUG - + read dpkg_file
2019-11-26 15:21:01,073: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-11-26 15:21:01,073: DEBUG - + echo ''
2019-11-26 15:21:01,073: DEBUG - + read dpkg_file
2019-11-26 15:21:01,073: DEBUG - + return 0
2019-11-26 15:21:01,073: DEBUG - + grep -c 'ok installed'
2019-11-26 15:21:01,073: DEBUG - + dpkg-query -W -f '${Status}' discourse-ynh-deps
2019-11-26 15:21:01,073: DEBUG - + rm /tmp/discourse-ynh-deps.control
2019-11-26 15:21:01,073: DEBUG - + ynh_app_setting_set --app=discourse --key=apt_dependencies '--value=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'
2019-11-26 15:21:01,074: DEBUG - + local legacy_args=akv
2019-11-26 15:21:01,074: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:21:01,074: DEBUG - + declare -Ar args_array
2019-11-26 15:21:01,074: DEBUG - + local app
2019-11-26 15:21:01,074: DEBUG - + local key
2019-11-26 15:21:01,074: DEBUG - + local value
2019-11-26 15:21:01,074: DEBUG - + ynh_handle_getopts_args --app=discourse --key=apt_dependencies '--value=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'
2019-11-26 15:21:01,074: DEBUG - + set +x
2019-11-26 15:21:01,074: DEBUG - + ynh_app_setting set discourse apt_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'
2019-11-26 15:21:01,074: DEBUG - + ACTION=set
2019-11-26 15:21:01,074: DEBUG - + APP=discourse
2019-11-26 15:21:01,074: DEBUG - + KEY=apt_dependencies
2019-11-26 15:21:01,074: DEBUG - + VALUE='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'
2019-11-26 15:21:01,074: DEBUG - + python -
2019-11-26 15:21:01,175: DEBUG - + ynh_system_user_create discourse /var/www/discourse 1
2019-11-26 15:21:01,175: DEBUG - + ynh_system_user_exists discourse
2019-11-26 15:21:01,175: DEBUG - + local legacy_args=u
2019-11-26 15:21:01,175: DEBUG - + args_array=([u]=username=)
2019-11-26 15:21:01,175: DEBUG - + declare -Ar args_array
2019-11-26 15:21:01,175: DEBUG - + local username
2019-11-26 15:21:01,175: DEBUG - + ynh_handle_getopts_args discourse
2019-11-26 15:21:01,175: DEBUG - + set +x
2019-11-26 15:21:01,175: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:01,175: DEBUG - + set +x
2019-11-26 15:21:01,176: DEBUG - + getent passwd discourse
2019-11-26 15:21:01,176: DEBUG - + '[' 3 -ge 2 ']'
2019-11-26 15:21:01,176: DEBUG - + local 'user_home_dir=-d /var/www/discourse'
2019-11-26 15:21:01,176: DEBUG - + '[' 3 -ge 3 ']'
2019-11-26 15:21:01,176: DEBUG - + local shell=
2019-11-26 15:21:01,176: DEBUG - + useradd -d /var/www/discourse --system --user-group discourse
2019-11-26 15:21:01,977: DEBUG - ++ ynh_sanitize_dbid discourse
2019-11-26 15:21:01,977: DEBUG - ++ local legacy_args=n
2019-11-26 15:21:01,977: DEBUG - ++ args_array=([n]=db_name=)
2019-11-26 15:21:01,977: DEBUG - ++ declare -Ar args_array
2019-11-26 15:21:01,977: DEBUG - ++ local db_name
2019-11-26 15:21:01,977: DEBUG - ++ ynh_handle_getopts_args discourse
2019-11-26 15:21:01,978: DEBUG - ++ set +x
2019-11-26 15:21:01,978: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-11-26 15:21:01,978: DEBUG - ++ set +x
2019-11-26 15:21:01,978: DEBUG - ++ echo discourse
2019-11-26 15:21:01,978: DEBUG - + db_name=discourse
2019-11-26 15:21:01,978: DEBUG - ++ ynh_string_random
2019-11-26 15:21:01,978: DEBUG - ++ local legacy_args=l
2019-11-26 15:21:01,978: DEBUG - ++ args_array=([l]=length=)
2019-11-26 15:21:01,978: DEBUG - ++ declare -Ar args_array
2019-11-26 15:21:01,978: DEBUG - ++ local length
2019-11-26 15:21:01,978: DEBUG - ++ ynh_handle_getopts_args
2019-11-26 15:21:01,978: DEBUG - ++ set +x
2019-11-26 15:21:01,978: DEBUG - ++ length=24
2019-11-26 15:21:01,978: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
2019-11-26 15:21:01,979: DEBUG - ++ tr -c -d A-Za-z0-9
2019-11-26 15:21:01,979: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-11-26 15:21:01,979: DEBUG - + db_pwd=**********
2019-11-26 15:21:01,979: DEBUG - + ynh_app_setting_set discourse db_name discourse
2019-11-26 15:21:01,979: DEBUG - + local legacy_args=akv
2019-11-26 15:21:01,979: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:21:01,979: DEBUG - + declare -Ar args_array
2019-11-26 15:21:01,979: DEBUG - + local app
2019-11-26 15:21:01,979: DEBUG - + local key
2019-11-26 15:21:01,979: DEBUG - + local value
2019-11-26 15:21:01,979: DEBUG - + ynh_handle_getopts_args discourse db_name discourse
2019-11-26 15:21:01,979: DEBUG - + set +x
2019-11-26 15:21:01,979: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:01,979: DEBUG - + set +x
2019-11-26 15:21:01,979: DEBUG - + ynh_app_setting set discourse db_name discourse
2019-11-26 15:21:01,980: DEBUG - + ACTION=set
2019-11-26 15:21:01,980: DEBUG - + APP=discourse
2019-11-26 15:21:01,980: DEBUG - + KEY=db_name
2019-11-26 15:21:01,980: DEBUG - + VALUE=discourse
2019-11-26 15:21:01,980: DEBUG - + python -
2019-11-26 15:21:02,080: DEBUG - + ynh_app_setting_set discourse db_pwd **********
2019-11-26 15:21:02,080: DEBUG - + local legacy_args=akv
2019-11-26 15:21:02,080: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:21:02,080: DEBUG - + declare -Ar args_array
2019-11-26 15:21:02,080: DEBUG - + local app
2019-11-26 15:21:02,080: DEBUG - + local key
2019-11-26 15:21:02,081: DEBUG - + local value
2019-11-26 15:21:02,081: DEBUG - + ynh_handle_getopts_args discourse db_pwd **********
2019-11-26 15:21:02,081: DEBUG - + set +x
2019-11-26 15:21:02,081: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:02,081: DEBUG - + set +x
2019-11-26 15:21:02,081: DEBUG - + ynh_app_setting set discourse db_pwd **********
2019-11-26 15:21:02,081: DEBUG - + ACTION=set
2019-11-26 15:21:02,081: DEBUG - + APP=discourse
2019-11-26 15:21:02,081: DEBUG - + KEY=db_pwd
2019-11-26 15:21:02,081: DEBUG - + VALUE=**********
2019-11-26 15:21:02,081: DEBUG - + python -
2019-11-26 15:21:02,081: DEBUG - + ynh_psql_test_if_first_run
2019-11-26 15:21:02,081: DEBUG - + '[' -f /etc/yunohost/psql ']'
2019-11-26 15:21:02,081: DEBUG - + echo 'PostgreSQL is already installed, no need to create master password'
2019-11-26 15:21:02,082: DEBUG - PostgreSQL is already installed, no need to create master password
2019-11-26 15:21:02,082: DEBUG - + ynh_psql_create_db discourse discourse **********
2019-11-26 15:21:02,082: DEBUG - + db=discourse
2019-11-26 15:21:02,082: DEBUG - + user=discourse
2019-11-26 15:21:02,082: DEBUG - + pwd=**********
2019-11-26 15:21:02,082: DEBUG - + ynh_psql_create_user discourse **********
2019-11-26 15:21:02,082: DEBUG - + user=discourse
2019-11-26 15:21:02,082: DEBUG - + pwd=**********
2019-11-26 15:21:02,082: DEBUG - + sudo --login --user=postgres psql '-cCREATE USER discourse WITH PASSWORD '\''**********'\''' postgres
2019-11-26 15:21:02,182: DEBUG - CREATE ROLE
2019-11-26 15:21:02,182: DEBUG - + sudo --login --user=postgres createdb --owner=discourse discourse
2019-11-26 15:21:02,583: DEBUG - + ynh_psql_execute_as_root '\connect discourse
2019-11-26 15:21:02,583: DEBUG - CREATE EXTENSION IF NOT EXISTS hstore; CREATE EXTENSION IF NOT EXISTS pg_trgm;'
2019-11-26 15:21:02,583: DEBUG - + sql='\connect discourse
2019-11-26 15:21:02,584: DEBUG - CREATE EXTENSION IF NOT EXISTS hstore; CREATE EXTENSION IF NOT EXISTS pg_trgm;'
2019-11-26 15:21:02,584: DEBUG - + sudo --login --user=postgres psql
2019-11-26 15:21:02,584: DEBUG - You are now connected to database "discourse" as user "postgres".
2019-11-26 15:21:02,584: DEBUG - CREATE EXTENSION
2019-11-26 15:21:02,584: DEBUG - CREATE EXTENSION
2019-11-26 15:21:02,584: DEBUG - ++ grep arm
2019-11-26 15:21:02,584: DEBUG - ++ uname -m
2019-11-26 15:21:02,584: DEBUG - + '[' -n '' ']'
2019-11-26 15:21:02,584: DEBUG - + ynh_setup_source /var/www/discourse
2019-11-26 15:21:02,584: DEBUG - + local legacy_args=ds
2019-11-26 15:21:02,584: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-11-26 15:21:02,584: DEBUG - + declare -Ar args_array
2019-11-26 15:21:02,584: DEBUG - + local dest_dir
2019-11-26 15:21:02,584: DEBUG - + local source_id
2019-11-26 15:21:02,584: DEBUG - + ynh_handle_getopts_args /var/www/discourse
2019-11-26 15:21:02,585: DEBUG - + set +x
2019-11-26 15:21:02,585: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:02,585: DEBUG - + set +x
2019-11-26 15:21:02,685: DEBUG - + source_id=app
2019-11-26 15:21:02,685: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,685: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src ']'
2019-11-26 15:21:02,685: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,685: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,685: DEBUG - + local src_url=https://github.com/discourse/discourse/archive/v2.3.6.tar.gz
2019-11-26 15:21:02,685: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,685: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,686: DEBUG - + local src_sum=b722a9ddf37118e7c4f09190a4e549def6a8e0817a5c7dd9276f5ff46179c700
2019-11-26 15:21:02,686: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,686: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,686: DEBUG - + local src_sumprg=
2019-11-26 15:21:02,686: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,686: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,686: DEBUG - + local src_format=tar.gz
2019-11-26 15:21:02,686: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,686: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,686: DEBUG - + local src_extract=
2019-11-26 15:21:02,686: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,686: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,686: DEBUG - + local src_in_subdir=
2019-11-26 15:21:02,686: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:02,687: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/app.src
2019-11-26 15:21:02,687: DEBUG - + local src_filename=
2019-11-26 15:21:02,687: DEBUG - + src_sumprg=sha256sum
2019-11-26 15:21:02,687: DEBUG - + src_in_subdir=true
2019-11-26 15:21:02,687: DEBUG - + src_format=tar.gz
2019-11-26 15:21:02,687: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-11-26 15:21:02,687: DEBUG - ++ echo tar.gz
2019-11-26 15:21:02,687: DEBUG - + src_format=tar.gz
2019-11-26 15:21:02,687: DEBUG - + src_extract=true
2019-11-26 15:21:02,687: DEBUG - + '[' '' = '' ']'
2019-11-26 15:21:02,687: DEBUG - + src_filename=app.tar.gz
2019-11-26 15:21:02,687: DEBUG - + local local_src=/opt/yunohost-apps-src/discourse/app.tar.gz
2019-11-26 15:21:02,687: DEBUG - + test -e /opt/yunohost-apps-src/discourse/app.tar.gz
2019-11-26 15:21:02,687: DEBUG - ++ wget -nv -O app.tar.gz https://github.com/discourse/discourse/archive/v2.3.6.tar.gz
2019-11-26 15:21:06,793: DEBUG - + local 'out=2019-11-26 15:21:06 URL:https://codeload.github.com/discourse/discourse/tar.gz/v2.3.6 [43836646] -> "app.tar.gz" [1]'
2019-11-26 15:21:06,794: DEBUG - + sha256sum -c --status
2019-11-26 15:21:06,794: DEBUG - + echo 'b722a9ddf37118e7c4f09190a4e549def6a8e0817a5c7dd9276f5ff46179c700 app.tar.gz'
2019-11-26 15:21:06,994: DEBUG - + mkdir -p /var/www/discourse
2019-11-26 15:21:06,994: DEBUG - + true
2019-11-26 15:21:06,994: DEBUG - + '[' tar.gz = zip ']'
2019-11-26 15:21:06,994: DEBUG - + local strip=
2019-11-26 15:21:06,994: DEBUG - + '[' true '!=' false ']'
2019-11-26 15:21:06,995: DEBUG - + '[' true == true ']'
2019-11-26 15:21:06,995: DEBUG - + local sub_dirs=1
2019-11-26 15:21:06,995: DEBUG - + strip='--strip-components 1'
2019-11-26 15:21:06,995: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-11-26 15:21:06,995: DEBUG - + tar -xf app.tar.gz -C /var/www/discourse --strip-components 1
2019-11-26 15:21:08,397: DEBUG - ++ wc -l
2019-11-26 15:21:08,398: DEBUG - ++ find /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/patches/ -type f -name 'app-*.patch'
2019-11-26 15:21:08,398: DEBUG - + ((  3 > 0  ))
2019-11-26 15:21:08,398: DEBUG - ++ pwd
2019-11-26 15:21:08,398: DEBUG - + local old_dir=/var/cache/yunohost/from_file/discourse_ynh-master/scripts
2019-11-26 15:21:08,398: DEBUG - + cd /var/www/discourse
2019-11-26 15:21:08,398: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-11-26 15:21:08,398: DEBUG - + patch -p1
2019-11-26 15:21:08,398: DEBUG - patching file lib/tasks/assets.rake
2019-11-26 15:21:08,398: DEBUG - Hunk #1 succeeded at 102 (offset 8 lines).
2019-11-26 15:21:08,398: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-11-26 15:21:08,398: DEBUG - + patch -p1
2019-11-26 15:21:08,399: DEBUG - patching file lib/tasks/assets.rake
2019-11-26 15:21:08,399: DEBUG - Hunk #1 succeeded at 124 (offset 8 lines).
2019-11-26 15:21:08,399: DEBUG - + for p in $YNH_CWD/../sources/patches/${source_id}-*.patch
2019-11-26 15:21:08,399: DEBUG - + patch -p1
2019-11-26 15:21:08,399: DEBUG - patching file lib/discourse.rb
2019-11-26 15:21:08,399: DEBUG - + cd /var/cache/yunohost/from_file/discourse_ynh-master/scripts
2019-11-26 15:21:08,399: DEBUG - + test -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/extra_files/app
2019-11-26 15:21:08,399: DEBUG - + mkdir -p /var/www/discourse/plugins/discourse-ldap-auth
2019-11-26 15:21:08,399: DEBUG - + ynh_setup_source /var/www/discourse/plugins/discourse-ldap-auth ldap-auth
2019-11-26 15:21:08,399: DEBUG - + local legacy_args=ds
2019-11-26 15:21:08,399: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-11-26 15:21:08,399: DEBUG - + declare -Ar args_array
2019-11-26 15:21:08,399: DEBUG - + local dest_dir
2019-11-26 15:21:08,399: DEBUG - + local source_id
2019-11-26 15:21:08,399: DEBUG - + ynh_handle_getopts_args /var/www/discourse/plugins/discourse-ldap-auth ldap-auth
2019-11-26 15:21:08,400: DEBUG - + set +x
2019-11-26 15:21:08,400: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:08,400: DEBUG - + set +x
2019-11-26 15:21:08,400: DEBUG - + source_id=ldap-auth
2019-11-26 15:21:08,400: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,400: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src ']'
2019-11-26 15:21:08,400: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,400: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,400: DEBUG - + local src_url=https://github.com/jonmbake/discourse-ldap-auth/archive/v0.4.0.tar.gz
2019-11-26 15:21:08,400: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,400: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,400: DEBUG - + local src_sum=5fedfe5f287f0ec49e5acf0591fda38084024676de490c6c35e9194de3440185
2019-11-26 15:21:08,400: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,400: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,401: DEBUG - + local src_sumprg=
2019-11-26 15:21:08,401: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,401: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,401: DEBUG - + local src_format=tar.gz
2019-11-26 15:21:08,401: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,401: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,401: DEBUG - + local src_extract=
2019-11-26 15:21:08,401: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,401: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,401: DEBUG - + local src_in_subdir=
2019-11-26 15:21:08,401: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:08,401: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ldap-auth.src
2019-11-26 15:21:08,401: DEBUG - + local src_filename=
2019-11-26 15:21:08,401: DEBUG - + src_sumprg=sha256sum
2019-11-26 15:21:08,402: DEBUG - + src_in_subdir=true
2019-11-26 15:21:08,402: DEBUG - + src_format=tar.gz
2019-11-26 15:21:08,402: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-11-26 15:21:08,402: DEBUG - ++ echo tar.gz
2019-11-26 15:21:08,402: DEBUG - + src_format=tar.gz
2019-11-26 15:21:08,402: DEBUG - + src_extract=true
2019-11-26 15:21:08,402: DEBUG - + '[' '' = '' ']'
2019-11-26 15:21:08,402: DEBUG - + src_filename=ldap-auth.tar.gz
2019-11-26 15:21:08,402: DEBUG - + local local_src=/opt/yunohost-apps-src/discourse/ldap-auth.tar.gz
2019-11-26 15:21:08,402: DEBUG - + test -e /opt/yunohost-apps-src/discourse/ldap-auth.tar.gz
2019-11-26 15:21:08,402: DEBUG - ++ wget -nv -O ldap-auth.tar.gz https://github.com/jonmbake/discourse-ldap-auth/archive/v0.4.0.tar.gz
2019-11-26 15:21:09,003: DEBUG - + local 'out=2019-11-26 15:21:08 URL:https://codeload.github.com/jonmbake/discourse-ldap-auth/tar.gz/v0.4.0 [8014] -> "ldap-auth.tar.gz" [1]'
2019-11-26 15:21:09,003: WARNING - Installation of rbenv - ruby version management
2019-11-26 15:21:09,004: DEBUG - + sha256sum -c --status
2019-11-26 15:21:09,004: DEBUG - + echo '5fedfe5f287f0ec49e5acf0591fda38084024676de490c6c35e9194de3440185 ldap-auth.tar.gz'
2019-11-26 15:21:09,004: DEBUG - + mkdir -p /var/www/discourse/plugins/discourse-ldap-auth
2019-11-26 15:21:09,004: DEBUG - + true
2019-11-26 15:21:09,004: DEBUG - + '[' tar.gz = zip ']'
2019-11-26 15:21:09,004: DEBUG - + local strip=
2019-11-26 15:21:09,004: DEBUG - + '[' true '!=' false ']'
2019-11-26 15:21:09,005: DEBUG - + '[' true == true ']'
2019-11-26 15:21:09,005: DEBUG - + local sub_dirs=1
2019-11-26 15:21:09,005: DEBUG - + strip='--strip-components 1'
2019-11-26 15:21:09,005: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-11-26 15:21:09,005: DEBUG - + tar -xf ldap-auth.tar.gz -C /var/www/discourse/plugins/discourse-ldap-auth --strip-components 1
2019-11-26 15:21:09,005: DEBUG - ++ wc -l
2019-11-26 15:21:09,005: DEBUG - ++ find /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/patches/ -type f -name 'ldap-auth-*.patch'
2019-11-26 15:21:09,005: DEBUG - + ((  0 > 0  ))
2019-11-26 15:21:09,005: DEBUG - + test -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/extra_files/ldap-auth
2019-11-26 15:21:09,005: DEBUG - + ynh_install_ruby 2.6.0
2019-11-26 15:21:09,005: DEBUG - + local ruby_version=2.6.0
2019-11-26 15:21:09,005: DEBUG - + mkdir -p /opt/rbenv/plugins/ruby-build
2019-11-26 15:21:09,005: DEBUG - + CLEAR_PATH=/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-26 15:21:09,005: DEBUG - ++ sed s@/usr/local/bin:@@
2019-11-26 15:21:09,006: DEBUG - ++ echo /opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-26 15:21:09,006: DEBUG - + PATH=/opt/rbenv/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-26 15:21:09,006: DEBUG - + test -x /usr/bin/ruby
2019-11-26 15:21:09,006: DEBUG - + type rbenv
2019-11-26 15:21:09,006: DEBUG - + ynh_install_rbenv
2019-11-26 15:21:09,006: DEBUG - + echo 'Installation of rbenv - ruby version management'
2019-11-26 15:21:09,006: DEBUG - + mkdir -p ../conf
2019-11-26 15:21:09,106: DEBUG - + echo 'SOURCE_URL=https://github.com/rbenv/rbenv/archive/v1.1.1.tar.gz
2019-11-26 15:21:09,106: DEBUG - SOURCE_SUM=41f1a60714c55eceb21d692a469aee1ec4f46bba351d0dfcb0c660ff9cf1a1c9'
2019-11-26 15:21:09,106: DEBUG - + ynh_setup_source /opt/rbenv rbenv
2019-11-26 15:21:09,107: DEBUG - + local legacy_args=ds
2019-11-26 15:21:09,107: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-11-26 15:21:09,107: DEBUG - + declare -Ar args_array
2019-11-26 15:21:09,107: DEBUG - + local dest_dir
2019-11-26 15:21:09,107: DEBUG - + local source_id
2019-11-26 15:21:09,107: DEBUG - + ynh_handle_getopts_args /opt/rbenv rbenv
2019-11-26 15:21:09,107: DEBUG - + set +x
2019-11-26 15:21:09,107: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:09,107: DEBUG - + set +x
2019-11-26 15:21:09,107: DEBUG - + source_id=rbenv
2019-11-26 15:21:09,107: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,107: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src ']'
2019-11-26 15:21:09,107: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,107: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,107: DEBUG - + local src_url=https://github.com/rbenv/rbenv/archive/v1.1.1.tar.gz
2019-11-26 15:21:09,108: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,108: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,108: DEBUG - + local src_sum=41f1a60714c55eceb21d692a469aee1ec4f46bba351d0dfcb0c660ff9cf1a1c9
2019-11-26 15:21:09,108: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,108: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,108: DEBUG - + local src_sumprg=
2019-11-26 15:21:09,108: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,108: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,108: DEBUG - + local src_format=
2019-11-26 15:21:09,108: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,108: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,108: DEBUG - + local src_extract=
2019-11-26 15:21:09,108: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,108: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,108: DEBUG - + local src_in_subdir=
2019-11-26 15:21:09,109: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,109: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/rbenv.src
2019-11-26 15:21:09,109: DEBUG - + local src_filename=
2019-11-26 15:21:09,109: DEBUG - + src_sumprg=sha256sum
2019-11-26 15:21:09,109: DEBUG - + src_in_subdir=true
2019-11-26 15:21:09,109: DEBUG - + src_format=tar.gz
2019-11-26 15:21:09,109: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-11-26 15:21:09,109: DEBUG - ++ echo tar.gz
2019-11-26 15:21:09,109: DEBUG - + src_format=tar.gz
2019-11-26 15:21:09,109: DEBUG - + src_extract=true
2019-11-26 15:21:09,109: DEBUG - + '[' '' = '' ']'
2019-11-26 15:21:09,109: DEBUG - + src_filename=rbenv.tar.gz
2019-11-26 15:21:09,109: DEBUG - + local local_src=/opt/yunohost-apps-src/discourse/rbenv.tar.gz
2019-11-26 15:21:09,109: DEBUG - + test -e /opt/yunohost-apps-src/discourse/rbenv.tar.gz
2019-11-26 15:21:09,110: DEBUG - ++ wget -nv -O rbenv.tar.gz https://github.com/rbenv/rbenv/archive/v1.1.1.tar.gz
2019-11-26 15:21:09,811: DEBUG - + local 'out=2019-11-26 15:21:09 URL:https://codeload.github.com/rbenv/rbenv/tar.gz/v1.1.1 [31721] -> "rbenv.tar.gz" [1]'
2019-11-26 15:21:09,811: DEBUG - + sha256sum -c --status
2019-11-26 15:21:09,811: DEBUG - + echo '41f1a60714c55eceb21d692a469aee1ec4f46bba351d0dfcb0c660ff9cf1a1c9 rbenv.tar.gz'
2019-11-26 15:21:09,811: DEBUG - + mkdir -p /opt/rbenv
2019-11-26 15:21:09,811: DEBUG - + true
2019-11-26 15:21:09,811: DEBUG - + '[' tar.gz = zip ']'
2019-11-26 15:21:09,811: DEBUG - + local strip=
2019-11-26 15:21:09,811: DEBUG - + '[' true '!=' false ']'
2019-11-26 15:21:09,811: DEBUG - + '[' true == true ']'
2019-11-26 15:21:09,811: DEBUG - + local sub_dirs=1
2019-11-26 15:21:09,812: DEBUG - + strip='--strip-components 1'
2019-11-26 15:21:09,812: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-11-26 15:21:09,812: DEBUG - + tar -xf rbenv.tar.gz -C /opt/rbenv --strip-components 1
2019-11-26 15:21:09,812: DEBUG - ++ wc -l
2019-11-26 15:21:09,812: DEBUG - ++ find /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/patches/ -type f -name 'rbenv-*.patch'
2019-11-26 15:21:09,812: DEBUG - + ((  0 > 0  ))
2019-11-26 15:21:09,812: DEBUG - + test -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/extra_files/rbenv
2019-11-26 15:21:09,812: DEBUG - + cd /opt/rbenv
2019-11-26 15:21:09,812: DEBUG - + ./src/configure
2019-11-26 15:21:09,812: DEBUG - + make -C src
2019-11-26 15:21:09,812: DEBUG - make: Entering directory '/opt/rbenv/src'
2019-11-26 15:21:09,812: DEBUG - gcc -fPIC     -c -o realpath.o realpath.c
2019-11-26 15:21:09,913: DEBUG - gcc -shared -Wl,-soname,../libexec/rbenv-realpath.dylib  -o ../libexec/rbenv-realpath.dylib realpath.o
2019-11-26 15:21:09,913: DEBUG - make: Leaving directory '/opt/rbenv/src'
2019-11-26 15:21:09,913: DEBUG - + '[' '!' -d /opt/rbenv/shims ']'
2019-11-26 15:21:09,913: DEBUG - + mkdir /opt/rbenv/shims
2019-11-26 15:21:09,913: DEBUG - + '[' -d /opt/rbenv/plugins/ruby-build ']'
2019-11-26 15:21:09,913: DEBUG - + rm -Rf /opt/rbenv/plugins/ruby-build
2019-11-26 15:21:09,913: DEBUG - + mkdir -p ../conf
2019-11-26 15:21:09,913: DEBUG - + echo 'SOURCE_URL=https://github.com/rbenv/ruby-build/archive/v20181225.tar.gz
2019-11-26 15:21:09,913: DEBUG - SOURCE_SUM=5ace4787ace47384dc419b20f5eb5a59f1174e00bfabcfed74a175033cd0b18a'
2019-11-26 15:21:09,914: DEBUG - + ynh_setup_source /opt/rbenv/plugins/ruby-build ruby-build
2019-11-26 15:21:09,914: DEBUG - + local legacy_args=ds
2019-11-26 15:21:09,914: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-11-26 15:21:09,914: DEBUG - + declare -Ar args_array
2019-11-26 15:21:09,914: DEBUG - + local dest_dir
2019-11-26 15:21:09,914: DEBUG - + local source_id
2019-11-26 15:21:09,914: DEBUG - + ynh_handle_getopts_args /opt/rbenv/plugins/ruby-build ruby-build
2019-11-26 15:21:09,914: DEBUG - + set +x
2019-11-26 15:21:09,914: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:21:09,914: DEBUG - + set +x
2019-11-26 15:21:09,914: DEBUG - + source_id=ruby-build
2019-11-26 15:21:09,914: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,914: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src ']'
2019-11-26 15:21:09,915: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,915: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,915: DEBUG - + local src_url=https://github.com/rbenv/ruby-build/archive/v20181225.tar.gz
2019-11-26 15:21:09,915: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,915: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,915: DEBUG - + local src_sum=5ace4787ace47384dc419b20f5eb5a59f1174e00bfabcfed74a175033cd0b18a
2019-11-26 15:21:09,915: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,915: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,915: DEBUG - + local src_sumprg=
2019-11-26 15:21:09,915: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,915: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,915: DEBUG - + local src_format=
2019-11-26 15:21:09,915: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,915: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,916: DEBUG - + local src_extract=
2019-11-26 15:21:09,916: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,916: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,916: DEBUG - + local src_in_subdir=
2019-11-26 15:21:09,916: DEBUG - ++ cut -d= -f2-
2019-11-26 15:21:09,916: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../conf/ruby-build.src
2019-11-26 15:21:09,916: DEBUG - + local src_filename=
2019-11-26 15:21:09,916: DEBUG - + src_sumprg=sha256sum
2019-11-26 15:21:09,916: DEBUG - + src_in_subdir=true
2019-11-26 15:21:09,916: DEBUG - + src_format=tar.gz
2019-11-26 15:21:09,916: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-11-26 15:21:09,916: DEBUG - ++ echo tar.gz
2019-11-26 15:21:09,916: DEBUG - + src_format=tar.gz
2019-11-26 15:21:09,916: DEBUG - + src_extract=true
2019-11-26 15:21:09,917: DEBUG - + '[' '' = '' ']'
2019-11-26 15:21:09,917: DEBUG - + src_filename=ruby-build.tar.gz
2019-11-26 15:21:09,917: DEBUG - + local local_src=/opt/yunohost-apps-src/discourse/ruby-build.tar.gz
2019-11-26 15:21:09,917: DEBUG - + test -e /opt/yunohost-apps-src/discourse/ruby-build.tar.gz
2019-11-26 15:21:09,917: DEBUG - ++ wget -nv -O ruby-build.tar.gz https://github.com/rbenv/ruby-build/archive/v20181225.tar.gz
2019-11-26 15:21:11,119: DEBUG - + local 'out=2019-11-26 15:21:11 URL:https://codeload.github.com/rbenv/ruby-build/tar.gz/v20181225 [60411] -> "ruby-build.tar.gz" [1]'
2019-11-26 15:21:11,119: DEBUG - + sha256sum -c --status
2019-11-26 15:21:11,119: DEBUG - + echo '5ace4787ace47384dc419b20f5eb5a59f1174e00bfabcfed74a175033cd0b18a ruby-build.tar.gz'
2019-11-26 15:21:11,119: DEBUG - + mkdir -p /opt/rbenv/plugins/ruby-build
2019-11-26 15:21:11,119: DEBUG - + true
2019-11-26 15:21:11,119: DEBUG - + '[' tar.gz = zip ']'
2019-11-26 15:21:11,119: DEBUG - + local strip=
2019-11-26 15:21:11,119: DEBUG - + '[' true '!=' false ']'
2019-11-26 15:21:11,119: DEBUG - + '[' true == true ']'
2019-11-26 15:21:11,120: DEBUG - + local sub_dirs=1
2019-11-26 15:21:11,120: DEBUG - + strip='--strip-components 1'
2019-11-26 15:21:11,120: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-11-26 15:21:11,120: DEBUG - + tar -xf ruby-build.tar.gz -C /opt/rbenv/plugins/ruby-build --strip-components 1
2019-11-26 15:21:11,120: DEBUG - ++ wc -l
2019-11-26 15:21:11,120: DEBUG - ++ find /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/patches/ -type f -name 'ruby-build-*.patch'
2019-11-26 15:21:11,120: DEBUG - + ((  0 > 0  ))
2019-11-26 15:21:11,120: DEBUG - + test -e /var/cache/yunohost/from_file/discourse_ynh-master/scripts/../sources/extra_files/ruby-build
2019-11-26 15:21:11,120: DEBUG - + PATH=/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-26 15:21:11,120: DEBUG - + test -x /usr/bin/ruby_rbenv
2019-11-26 15:21:11,120: DEBUG - + CONFIGURE_OPTS='--disable-install-doc --with-jemalloc'
2019-11-26 15:21:11,120: DEBUG - + MAKE_OPTS=-j2
2019-11-26 15:21:11,120: DEBUG - + rbenv install --skip-existing 2.6.0
2019-11-26 15:21:11,221: WARNING - Downloading ruby-2.6.0.tar.bz2...
2019-11-26 15:21:11,221: WARNING - -> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.0.tar.bz2
2019-11-26 15:21:15,541: WARNING - Installing ruby-2.6.0...
2019-11-26 15:24:33,249: WARNING - Installed ruby-2.6.0 to /opt/rbenv/versions/2.6.0
2019-11-26 15:24:33,249: WARNING - 
2019-11-26 15:24:33,450: DEBUG - + tee --append /opt/rbenv/ynh_app_version
2019-11-26 15:24:33,450: DEBUG - + echo discourse:2.6.0
2019-11-26 15:24:33,450: DEBUG - discourse:2.6.0
2019-11-26 15:24:33,450: DEBUG - + ynh_app_setting_set discourse ruby_version 2.6.0
2019-11-26 15:24:33,450: DEBUG - + local legacy_args=akv
2019-11-26 15:24:33,450: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:33,450: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,451: DEBUG - + local app
2019-11-26 15:24:33,451: DEBUG - + local key
2019-11-26 15:24:33,451: DEBUG - + local value
2019-11-26 15:24:33,451: DEBUG - + ynh_handle_getopts_args discourse ruby_version 2.6.0
2019-11-26 15:24:33,451: DEBUG - + set +x
2019-11-26 15:24:33,451: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:33,451: DEBUG - + set +x
2019-11-26 15:24:33,451: DEBUG - + ynh_app_setting set discourse ruby_version 2.6.0
2019-11-26 15:24:33,451: DEBUG - + ACTION=set
2019-11-26 15:24:33,451: DEBUG - + APP=discourse
2019-11-26 15:24:33,451: DEBUG - + KEY=ruby_version
2019-11-26 15:24:33,451: DEBUG - + VALUE=2.6.0
2019-11-26 15:24:33,451: DEBUG - + python -
2019-11-26 15:24:33,552: DEBUG - + echo '#rbenv
2019-11-26 15:24:33,552: DEBUG - export RBENV_ROOT=/opt/rbenv
2019-11-26 15:24:33,552: DEBUG - export PATH="/opt/rbenv/bin:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
2019-11-26 15:24:33,552: DEBUG - eval "$(rbenv init -)"
2019-11-26 15:24:33,552: DEBUG - #rbenv'
2019-11-26 15:24:33,552: DEBUG - ++ rbenv init -
2019-11-26 15:24:33,552: DEBUG - + eval 'export PATH="/opt/rbenv/shims:${PATH}"
2019-11-26 15:24:33,552: DEBUG - export RBENV_SHELL=bash
2019-11-26 15:24:33,552: DEBUG - source '\''/opt/rbenv/libexec/../completions/rbenv.bash'\''
2019-11-26 15:24:33,552: DEBUG - command rbenv rehash 2>/dev/null
2019-11-26 15:24:33,553: DEBUG - rbenv() {
2019-11-26 15:24:33,553: DEBUG -   local command
2019-11-26 15:24:33,553: DEBUG -   command="$1"
2019-11-26 15:24:33,553: DEBUG -   if [ "$#" -gt 0 ]; then
2019-11-26 15:24:33,553: DEBUG -     shift
2019-11-26 15:24:33,553: DEBUG -   fi
2019-11-26 15:24:33,553: DEBUG - 
2019-11-26 15:24:33,553: DEBUG -   case "$command" in
2019-11-26 15:24:33,553: DEBUG -   rehash|shell)
2019-11-26 15:24:33,553: DEBUG -     eval "$(rbenv "sh-$command" "$@")";;
2019-11-26 15:24:33,553: DEBUG -   *)
2019-11-26 15:24:33,553: DEBUG -     command rbenv "$command" "$@";;
2019-11-26 15:24:33,553: DEBUG -   esac
2019-11-26 15:24:33,553: DEBUG - }'
2019-11-26 15:24:33,554: DEBUG - ++ export PATH=/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-26 15:24:33,554: DEBUG - ++ PATH=/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-11-26 15:24:33,554: DEBUG - ++ export RBENV_SHELL=bash
2019-11-26 15:24:33,554: DEBUG - ++ RBENV_SHELL=bash
2019-11-26 15:24:33,554: DEBUG - ++ source /opt/rbenv/libexec/../completions/rbenv.bash
2019-11-26 15:24:33,554: DEBUG - +++ complete -F _rbenv rbenv
2019-11-26 15:24:33,554: DEBUG - ++ command rbenv rehash
2019-11-26 15:24:33,554: DEBUG - ++ rbenv rehash
2019-11-26 15:24:33,554: DEBUG - + cd /var/www/discourse
2019-11-26 15:24:33,554: DEBUG - + rbenv local 2.6.0
2019-11-26 15:24:33,554: DEBUG - + local command
2019-11-26 15:24:33,554: DEBUG - + command=local
2019-11-26 15:24:33,554: DEBUG - + '[' 2 -gt 0 ']'
2019-11-26 15:24:33,554: DEBUG - + shift
2019-11-26 15:24:33,555: DEBUG - + case "$command" in
2019-11-26 15:24:33,555: DEBUG - + command rbenv local 2.6.0
2019-11-26 15:24:33,555: DEBUG - + rbenv local 2.6.0
2019-11-26 15:24:33,555: DEBUG - + ynh_add_nginx_config
2019-11-26 15:24:33,555: DEBUG - + finalnginxconf=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,555: DEBUG - + local others_var=
2019-11-26 15:24:33,555: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,555: DEBUG - + local legacy_args=f
2019-11-26 15:24:33,555: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:33,555: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,555: DEBUG - + local file
2019-11-26 15:24:33,555: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,555: DEBUG - + set +x
2019-11-26 15:24:33,555: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_test.mentalcorps.site.d_discourse.conf
2019-11-26 15:24:33,556: DEBUG - ++ ynh_app_setting_get --app=discourse --key=**********
2019-11-26 15:24:33,556: DEBUG - ++ local legacy_args=ak
2019-11-26 15:24:33,556: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-11-26 15:24:33,556: DEBUG - ++ declare -Ar args_array
2019-11-26 15:24:33,556: DEBUG - ++ local app
2019-11-26 15:24:33,556: DEBUG - ++ local key
2019-11-26 15:24:33,556: DEBUG - ++ ynh_handle_getopts_args --app=discourse --key=**********
2019-11-26 15:24:33,556: DEBUG - ++ set +x
2019-11-26 15:24:33,556: DEBUG - ++ ynh_app_setting get discourse **********
2019-11-26 15:24:33,556: DEBUG - ++ ACTION=get
2019-11-26 15:24:33,556: DEBUG - ++ APP=discourse
2019-11-26 15:24:33,556: DEBUG - ++ KEY=**********
2019-11-26 15:24:33,556: DEBUG - ++ VALUE=
2019-11-26 15:24:33,557: DEBUG - ++ python -
2019-11-26 15:24:33,657: DEBUG - + local checksum_value=
2019-11-26 15:24:33,657: DEBUG - + backup_file_checksum=
2019-11-26 15:24:33,657: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:33,657: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,657: DEBUG - + test -n /forum
2019-11-26 15:24:33,657: DEBUG - + local path_url_slash_less=/forum
2019-11-26 15:24:33,657: DEBUG - + ynh_replace_string --match_string=__PATH__/ --replace_string=/forum/ --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,657: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,657: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,657: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,658: DEBUG - + local match_string
2019-11-26 15:24:33,658: DEBUG - + local replace_string
2019-11-26 15:24:33,658: DEBUG - + local target_file
2019-11-26 15:24:33,658: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__/ --replace_string=/forum/ --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,658: DEBUG - + set +x
2019-11-26 15:24:33,658: DEBUG - + local delimit=@
2019-11-26 15:24:33,658: DEBUG - + match_string=__PATH__/
2019-11-26 15:24:33,658: DEBUG - + replace_string=/forum/
2019-11-26 15:24:33,658: DEBUG - + sudo sed --in-place s@__PATH__/@/forum/@g /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,658: DEBUG - + ynh_replace_string --match_string=__PATH__ --replace_string=/forum --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,658: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,658: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,658: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,659: DEBUG - + local match_string
2019-11-26 15:24:33,659: DEBUG - + local replace_string
2019-11-26 15:24:33,659: DEBUG - + local target_file
2019-11-26 15:24:33,659: DEBUG - + ynh_handle_getopts_args --match_string=__PATH__ --replace_string=/forum --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,659: DEBUG - + set +x
2019-11-26 15:24:33,659: DEBUG - + local delimit=@
2019-11-26 15:24:33,659: DEBUG - + match_string=__PATH__
2019-11-26 15:24:33,659: DEBUG - + replace_string=/forum
2019-11-26 15:24:33,659: DEBUG - + sudo sed --in-place s@__PATH__@/forum@g /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,659: DEBUG - + test -n test.mentalcorps.site
2019-11-26 15:24:33,659: DEBUG - + ynh_replace_string --match_string=__DOMAIN__ --replace_string=test.mentalcorps.site --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,659: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,659: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,659: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,660: DEBUG - + local match_string
2019-11-26 15:24:33,660: DEBUG - + local replace_string
2019-11-26 15:24:33,660: DEBUG - + local target_file
2019-11-26 15:24:33,660: DEBUG - + ynh_handle_getopts_args --match_string=__DOMAIN__ --replace_string=test.mentalcorps.site --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,660: DEBUG - + set +x
2019-11-26 15:24:33,660: DEBUG - + local delimit=@
2019-11-26 15:24:33,660: DEBUG - + match_string=__DOMAIN__
2019-11-26 15:24:33,660: DEBUG - + replace_string=test.mentalcorps.site
2019-11-26 15:24:33,660: DEBUG - + sudo sed --in-place s@__DOMAIN__@test.mentalcorps.site@g /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,760: DEBUG - + test -n ''
2019-11-26 15:24:33,760: DEBUG - + test -n discourse
2019-11-26 15:24:33,761: DEBUG - + ynh_replace_string --match_string=__NAME__ --replace_string=discourse --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,761: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,761: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,761: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,761: DEBUG - + local match_string
2019-11-26 15:24:33,761: DEBUG - + local replace_string
2019-11-26 15:24:33,761: DEBUG - + local target_file
2019-11-26 15:24:33,761: DEBUG - + ynh_handle_getopts_args --match_string=__NAME__ --replace_string=discourse --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,761: DEBUG - + set +x
2019-11-26 15:24:33,761: DEBUG - + local delimit=@
2019-11-26 15:24:33,761: DEBUG - + match_string=__NAME__
2019-11-26 15:24:33,761: DEBUG - + replace_string=discourse
2019-11-26 15:24:33,761: DEBUG - + sudo sed --in-place s@__NAME__@discourse@g /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,761: DEBUG - + test -n /var/www/discourse
2019-11-26 15:24:33,762: DEBUG - + ynh_replace_string --match_string=__FINALPATH__ --replace_string=/var/www/discourse --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,762: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,762: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,762: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,762: DEBUG - + local match_string
2019-11-26 15:24:33,762: DEBUG - + local replace_string
2019-11-26 15:24:33,762: DEBUG - + local target_file
2019-11-26 15:24:33,762: DEBUG - + ynh_handle_getopts_args --match_string=__FINALPATH__ --replace_string=/var/www/discourse --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,762: DEBUG - + set +x
2019-11-26 15:24:33,762: DEBUG - + local delimit=@
2019-11-26 15:24:33,762: DEBUG - + match_string=__FINALPATH__
2019-11-26 15:24:33,762: DEBUG - + replace_string=/var/www/discourse
2019-11-26 15:24:33,762: DEBUG - + sudo sed --in-place s@__FINALPATH__@/var/www/discourse@g /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,763: DEBUG - + '[' /forum '!=' / ']'
2019-11-26 15:24:33,763: DEBUG - + ynh_replace_string '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,763: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,763: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,763: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,763: DEBUG - + local match_string
2019-11-26 15:24:33,763: DEBUG - + local replace_string
2019-11-26 15:24:33,763: DEBUG - + local target_file
2019-11-26 15:24:33,763: DEBUG - + ynh_handle_getopts_args '--match_string=^#sub_path_only' --replace_string= --target_file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,763: DEBUG - + set +x
2019-11-26 15:24:33,763: DEBUG - + local delimit=@
2019-11-26 15:24:33,763: DEBUG - + match_string='^#sub_path_only'
2019-11-26 15:24:33,763: DEBUG - + replace_string=
2019-11-26 15:24:33,763: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,763: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,764: DEBUG - + local legacy_args=f
2019-11-26 15:24:33,764: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:33,764: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,764: DEBUG - + local file
2019-11-26 15:24:33,764: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,764: DEBUG - + set +x
2019-11-26 15:24:33,764: DEBUG - + local checksum_setting_name=**********
2019-11-26 15:24:33,764: DEBUG - ++ cut '-d ' -f1
2019-11-26 15:24:33,764: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,764: DEBUG - + ynh_app_setting_set --app=discourse --key=********** --value=304b35e2f2e5fad4037400b97bb05fe6
2019-11-26 15:24:33,764: DEBUG - + local legacy_args=akv
2019-11-26 15:24:33,764: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:33,764: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,764: DEBUG - + local app
2019-11-26 15:24:33,764: DEBUG - + local key
2019-11-26 15:24:33,765: DEBUG - + local value
2019-11-26 15:24:33,765: DEBUG - + ynh_handle_getopts_args --app=discourse --key=********** --value=304b35e2f2e5fad4037400b97bb05fe6
2019-11-26 15:24:33,765: DEBUG - + set +x
2019-11-26 15:24:33,765: DEBUG - + ynh_app_setting set discourse ********** 304b35e2f2e5fad4037400b97bb05fe6
2019-11-26 15:24:33,765: DEBUG - + ACTION=set
2019-11-26 15:24:33,765: DEBUG - + APP=discourse
2019-11-26 15:24:33,765: DEBUG - + KEY=**********
2019-11-26 15:24:33,765: DEBUG - + VALUE=304b35e2f2e5fad4037400b97bb05fe6
2019-11-26 15:24:33,765: DEBUG - + python -
2019-11-26 15:24:33,866: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:33,866: DEBUG - + unset backup_file_checksum
2019-11-26 15:24:33,866: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2019-11-26 15:24:33,866: DEBUG - + local legacy_args=nalpte
2019-11-26 15:24:33,866: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-11-26 15:24:33,866: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,867: DEBUG - + local service_name
2019-11-26 15:24:33,867: DEBUG - + local action
2019-11-26 15:24:33,867: DEBUG - + local line_match
2019-11-26 15:24:33,867: DEBUG - + local length
2019-11-26 15:24:33,867: DEBUG - + local log_path
2019-11-26 15:24:33,867: DEBUG - + local timeout
2019-11-26 15:24:33,867: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2019-11-26 15:24:33,867: DEBUG - + set +x
2019-11-26 15:24:33,867: DEBUG - + local service_name=nginx
2019-11-26 15:24:33,867: DEBUG - + local action=reload
2019-11-26 15:24:33,867: DEBUG - + local log_path=/var/log/nginx/nginx.log
2019-11-26 15:24:33,867: DEBUG - + local length=20
2019-11-26 15:24:33,867: DEBUG - + local timeout=300
2019-11-26 15:24:33,867: DEBUG - + [[ -n '' ]]
2019-11-26 15:24:33,867: DEBUG - + '[' reload == reload ']'
2019-11-26 15:24:33,868: DEBUG - + action=reload-or-restart
2019-11-26 15:24:33,868: DEBUG - + systemctl reload-or-restart nginx
2019-11-26 15:24:33,868: DEBUG - + [[ -n '' ]]
2019-11-26 15:24:33,868: DEBUG - + '[' /forum '!=' / ']'
2019-11-26 15:24:33,868: DEBUG - + ynh_replace_string '$proxy_add_x_forwarded_for' '$http_your_original_ip_header' /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,868: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:33,868: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:33,868: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,868: DEBUG - + local match_string
2019-11-26 15:24:33,868: DEBUG - + local replace_string
2019-11-26 15:24:33,868: DEBUG - + local target_file
2019-11-26 15:24:33,868: DEBUG - + ynh_handle_getopts_args '$proxy_add_x_forwarded_for' '$http_your_original_ip_header' /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,868: DEBUG - + set +x
2019-11-26 15:24:33,969: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:33,969: DEBUG - + set +x
2019-11-26 15:24:33,969: DEBUG - + local delimit=@
2019-11-26 15:24:33,969: DEBUG - + match_string='$proxy_add_x_forwarded_for'
2019-11-26 15:24:33,969: DEBUG - + replace_string='$http_your_original_ip_header'
2019-11-26 15:24:33,969: DEBUG - + sudo sed --in-place 's@$proxy_add_x_forwarded_for@$http_your_original_ip_header@g' /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,969: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,969: DEBUG - + local legacy_args=f
2019-11-26 15:24:33,969: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:33,969: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,969: DEBUG - + local file
2019-11-26 15:24:33,970: DEBUG - + ynh_handle_getopts_args /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,970: DEBUG - + set +x
2019-11-26 15:24:33,970: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:33,970: DEBUG - + set +x
2019-11-26 15:24:33,970: DEBUG - + local checksum_setting_name=**********
2019-11-26 15:24:33,970: DEBUG - ++ cut '-d ' -f1
2019-11-26 15:24:33,970: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/test.mentalcorps.site.d/discourse.conf
2019-11-26 15:24:33,970: DEBUG - + ynh_app_setting_set --app=discourse --key=********** --value=e4fd5efc2ec31c9d059ec8a75bce8270
2019-11-26 15:24:33,970: DEBUG - + local legacy_args=akv
2019-11-26 15:24:33,970: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:33,970: DEBUG - + declare -Ar args_array
2019-11-26 15:24:33,970: DEBUG - + local app
2019-11-26 15:24:33,970: DEBUG - + local key
2019-11-26 15:24:33,970: DEBUG - + local value
2019-11-26 15:24:33,971: DEBUG - + ynh_handle_getopts_args --app=discourse --key=********** --value=e4fd5efc2ec31c9d059ec8a75bce8270
2019-11-26 15:24:33,971: DEBUG - + set +x
2019-11-26 15:24:33,971: DEBUG - + ynh_app_setting set discourse ********** e4fd5efc2ec31c9d059ec8a75bce8270
2019-11-26 15:24:33,971: DEBUG - + ACTION=set
2019-11-26 15:24:33,971: DEBUG - + APP=discourse
2019-11-26 15:24:33,971: DEBUG - + KEY=**********
2019-11-26 15:24:33,971: DEBUG - + VALUE=e4fd5efc2ec31c9d059ec8a75bce8270
2019-11-26 15:24:33,971: DEBUG - + python -
2019-11-26 15:24:34,071: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:34,071: DEBUG - + unset backup_file_checksum
2019-11-26 15:24:34,071: DEBUG - + discourse_config_file=/var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,072: DEBUG - + cp /var/www/discourse/config/discourse_defaults.conf /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,072: DEBUG - + ynh_replace_string 'db_name = discourse' 'db_name = discourse' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,072: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,072: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,072: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,072: DEBUG - + local match_string
2019-11-26 15:24:34,072: DEBUG - + local replace_string
2019-11-26 15:24:34,072: DEBUG - + local target_file
2019-11-26 15:24:34,072: DEBUG - + ynh_handle_getopts_args 'db_name = discourse' 'db_name = discourse' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,072: DEBUG - + set +x
2019-11-26 15:24:34,072: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,072: DEBUG - + set +x
2019-11-26 15:24:34,072: DEBUG - + local delimit=@
2019-11-26 15:24:34,072: DEBUG - + match_string='db_name = discourse'
2019-11-26 15:24:34,073: DEBUG - + replace_string='db_name = discourse'
2019-11-26 15:24:34,073: DEBUG - + sudo sed --in-place 's@db_name = discourse@db_name = discourse@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,073: DEBUG - + ynh_replace_string 'db_username = discourse' 'db_username = discourse' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,073: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,073: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,073: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,073: DEBUG - + local match_string
2019-11-26 15:24:34,073: DEBUG - + local replace_string
2019-11-26 15:24:34,073: DEBUG - + local target_file
2019-11-26 15:24:34,073: DEBUG - + ynh_handle_getopts_args 'db_username = discourse' 'db_username = discourse' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,073: DEBUG - + set +x
2019-11-26 15:24:34,073: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,073: DEBUG - + set +x
2019-11-26 15:24:34,073: DEBUG - + local delimit=@
2019-11-26 15:24:34,073: DEBUG - + match_string='db_username = discourse'
2019-11-26 15:24:34,074: DEBUG - + replace_string='db_username = discourse'
2019-11-26 15:24:34,074: DEBUG - + sudo sed --in-place 's@db_username = discourse@db_username = discourse@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,074: DEBUG - + ynh_replace_string 'db_password =' 'db_password = **********' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,074: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,074: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,074: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,074: DEBUG - + local match_string
2019-11-26 15:24:34,074: DEBUG - + local replace_string
2019-11-26 15:24:34,074: DEBUG - + local target_file
2019-11-26 15:24:34,074: DEBUG - + ynh_handle_getopts_args 'db_password =' 'db_password = **********' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,074: DEBUG - + set +x
2019-11-26 15:24:34,074: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,074: DEBUG - + set +x
2019-11-26 15:24:34,074: DEBUG - + local delimit=@
2019-11-26 15:24:34,074: DEBUG - + match_string='db_password ='
2019-11-26 15:24:34,075: DEBUG - + replace_string='db_password = **********'
2019-11-26 15:24:34,075: DEBUG - + sudo sed --in-place 's@db_password =@db_password = **********@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,175: DEBUG - + ynh_replace_string 'hostname = "www.example.com"' 'hostname = "test.mentalcorps.site"' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,175: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,175: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,175: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,175: DEBUG - + local match_string
2019-11-26 15:24:34,175: DEBUG - + local replace_string
2019-11-26 15:24:34,175: DEBUG - + local target_file
2019-11-26 15:24:34,175: DEBUG - + ynh_handle_getopts_args 'hostname = "www.example.com"' 'hostname = "test.mentalcorps.site"' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,176: DEBUG - + set +x
2019-11-26 15:24:34,176: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,176: DEBUG - + set +x
2019-11-26 15:24:34,176: DEBUG - + local delimit=@
2019-11-26 15:24:34,176: DEBUG - + match_string='hostname = "www.example.com"'
2019-11-26 15:24:34,176: DEBUG - + replace_string='hostname = "test.mentalcorps.site"'
2019-11-26 15:24:34,176: DEBUG - + sudo sed --in-place 's@hostname = "www.example.com"@hostname = "test.mentalcorps.site"@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,176: DEBUG - + ynh_replace_string 'relative_url_root =' 'relative_url_root = /forum' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,176: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,176: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,176: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,176: DEBUG - + local match_string
2019-11-26 15:24:34,176: DEBUG - + local replace_string
2019-11-26 15:24:34,176: DEBUG - + local target_file
2019-11-26 15:24:34,176: DEBUG - + ynh_handle_getopts_args 'relative_url_root =' 'relative_url_root = /forum' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,177: DEBUG - + set +x
2019-11-26 15:24:34,177: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,177: DEBUG - + set +x
2019-11-26 15:24:34,177: DEBUG - + local delimit=@
2019-11-26 15:24:34,177: DEBUG - + match_string='relative_url_root ='
2019-11-26 15:24:34,177: DEBUG - + replace_string='relative_url_root = /forum'
2019-11-26 15:24:34,177: DEBUG - + sudo sed --in-place 's@relative_url_root =@relative_url_root = /forum@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,177: DEBUG - + ynh_replace_string 'serve_static_assets = false' 'serve_static_assets = true' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,177: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,177: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,177: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,177: DEBUG - + local match_string
2019-11-26 15:24:34,177: DEBUG - + local replace_string
2019-11-26 15:24:34,177: DEBUG - + local target_file
2019-11-26 15:24:34,177: DEBUG - + ynh_handle_getopts_args 'serve_static_assets = false' 'serve_static_assets = true' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,178: DEBUG - + set +x
2019-11-26 15:24:34,178: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,178: DEBUG - + set +x
2019-11-26 15:24:34,178: DEBUG - + local delimit=@
2019-11-26 15:24:34,178: DEBUG - + match_string='serve_static_assets = false'
2019-11-26 15:24:34,178: DEBUG - + replace_string='serve_static_assets = true'
2019-11-26 15:24:34,178: DEBUG - + sudo sed --in-place 's@serve_static_assets = false@serve_static_assets = true@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,178: DEBUG - + ynh_replace_string 'load_mini_profiler = true' 'load_mini_profiler = false' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,178: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,178: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,178: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,178: DEBUG - + local match_string
2019-11-26 15:24:34,178: DEBUG - + local replace_string
2019-11-26 15:24:34,178: DEBUG - + local target_file
2019-11-26 15:24:34,179: DEBUG - + ynh_handle_getopts_args 'load_mini_profiler = true' 'load_mini_profiler = false' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,179: DEBUG - + set +x
2019-11-26 15:24:34,179: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,179: DEBUG - + set +x
2019-11-26 15:24:34,179: DEBUG - + local delimit=@
2019-11-26 15:24:34,179: DEBUG - + match_string='load_mini_profiler = true'
2019-11-26 15:24:34,179: DEBUG - + replace_string='load_mini_profiler = false'
2019-11-26 15:24:34,179: DEBUG - + sudo sed --in-place 's@load_mini_profiler = true@load_mini_profiler = false@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,179: DEBUG - ++ ynh_user_get_info megaboss mail
2019-11-26 15:24:34,179: DEBUG - ++ local legacy_args=uk
2019-11-26 15:24:34,179: DEBUG - ++ args_array=([u]=username= [k]=key=)
2019-11-26 15:24:34,179: DEBUG - ++ declare -Ar args_array
2019-11-26 15:24:34,179: DEBUG - ++ local username
2019-11-26 15:24:34,179: DEBUG - ++ local key
2019-11-26 15:24:34,179: DEBUG - ++ ynh_handle_getopts_args megaboss mail
2019-11-26 15:24:34,180: DEBUG - ++ set +x
2019-11-26 15:24:34,180: DEBUG - ++ echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,180: DEBUG - ++ set +x
2019-11-26 15:24:34,180: DEBUG - ++ ynh_get_plain_key mail
2019-11-26 15:24:34,180: DEBUG - ++ local prefix=#
2019-11-26 15:24:34,180: DEBUG - ++ local founded=0
2019-11-26 15:24:34,180: DEBUG - ++ local key_=mail
2019-11-26 15:24:34,180: DEBUG - ++ shift
2019-11-26 15:24:34,180: DEBUG - ++ read line
2019-11-26 15:24:34,180: DEBUG - ++ sudo yunohost user info megaboss --output-as plain
2019-11-26 15:24:34,380: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,381: DEBUG - ++ [[ #username =~ ^#mail$ ]]
2019-11-26 15:24:34,381: DEBUG - ++ read line
2019-11-26 15:24:34,381: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,381: DEBUG - ++ [[ megaboss =~ ^#mail$ ]]
2019-11-26 15:24:34,381: DEBUG - ++ read line
2019-11-26 15:24:34,381: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,381: DEBUG - ++ [[ #firstname =~ ^#mail$ ]]
2019-11-26 15:24:34,381: DEBUG - ++ read line
2019-11-26 15:24:34,381: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,381: DEBUG - ++ [[ mega =~ ^#mail$ ]]
2019-11-26 15:24:34,381: DEBUG - ++ read line
2019-11-26 15:24:34,381: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,381: DEBUG - ++ [[ #lastname =~ ^#mail$ ]]
2019-11-26 15:24:34,382: DEBUG - ++ read line
2019-11-26 15:24:34,382: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,382: DEBUG - ++ [[ boss =~ ^#mail$ ]]
2019-11-26 15:24:34,382: DEBUG - ++ read line
2019-11-26 15:24:34,382: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,382: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]]
2019-11-26 15:24:34,382: DEBUG - ++ read line
2019-11-26 15:24:34,382: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,382: DEBUG - ++ [[ ##use =~ ^#mail$ ]]
2019-11-26 15:24:34,382: DEBUG - ++ read line
2019-11-26 15:24:34,382: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,382: DEBUG - ++ [[ 0.0K =~ ^#mail$ ]]
2019-11-26 15:24:34,382: DEBUG - ++ read line
2019-11-26 15:24:34,382: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,383: DEBUG - ++ [[ ##limit =~ ^#mail$ ]]
2019-11-26 15:24:34,383: DEBUG - ++ read line
2019-11-26 15:24:34,383: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,383: DEBUG - ++ [[ No quota =~ ^#mail$ ]]
2019-11-26 15:24:34,383: DEBUG - ++ read line
2019-11-26 15:24:34,383: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,383: DEBUG - ++ [[ #mail-aliases =~ ^#mail$ ]]
2019-11-26 15:24:34,383: DEBUG - ++ read line
2019-11-26 15:24:34,383: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,383: DEBUG - ++ [[ root@test.mentalcorps.site =~ ^#mail$ ]]
2019-11-26 15:24:34,383: DEBUG - ++ read line
2019-11-26 15:24:34,383: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,383: DEBUG - ++ [[ admin@test.mentalcorps.site =~ ^#mail$ ]]
2019-11-26 15:24:34,383: DEBUG - ++ read line
2019-11-26 15:24:34,383: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,384: DEBUG - ++ [[ webmaster@test.mentalcorps.site =~ ^#mail$ ]]
2019-11-26 15:24:34,384: DEBUG - ++ read line
2019-11-26 15:24:34,384: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,384: DEBUG - ++ [[ postmaster@test.mentalcorps.site =~ ^#mail$ ]]
2019-11-26 15:24:34,384: DEBUG - ++ read line
2019-11-26 15:24:34,384: DEBUG - ++ [[ 0 == \1 ]]
2019-11-26 15:24:34,384: DEBUG - ++ [[ #mail =~ ^#mail$ ]]
2019-11-26 15:24:34,384: DEBUG - ++ [[ -n '' ]]
2019-11-26 15:24:34,384: DEBUG - ++ founded=1
2019-11-26 15:24:34,384: DEBUG - ++ read line
2019-11-26 15:24:34,384: DEBUG - ++ [[ 1 == \1 ]]
2019-11-26 15:24:34,384: DEBUG - ++ [[ megaboss@test.mentalcorps.site =~ ^#[^#] ]]
2019-11-26 15:24:34,384: DEBUG - ++ echo megaboss@test.mentalcorps.site
2019-11-26 15:24:34,384: DEBUG - ++ read line
2019-11-26 15:24:34,384: DEBUG - ++ [[ 1 == \1 ]]
2019-11-26 15:24:34,384: DEBUG - ++ [[ #fullname =~ ^#[^#] ]]
2019-11-26 15:24:34,385: DEBUG - ++ return
2019-11-26 15:24:34,485: DEBUG - + admin_mail=megaboss@test.mentalcorps.site
2019-11-26 15:24:34,485: DEBUG - + ynh_replace_string 'developer_emails =' 'developer_emails = megaboss@test.mentalcorps.site' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,485: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,485: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,485: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,485: DEBUG - + local match_string
2019-11-26 15:24:34,485: DEBUG - + local replace_string
2019-11-26 15:24:34,485: DEBUG - + local target_file
2019-11-26 15:24:34,485: DEBUG - + ynh_handle_getopts_args 'developer_emails =' 'developer_emails = megaboss@test.mentalcorps.site' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,486: DEBUG - + set +x
2019-11-26 15:24:34,486: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,486: DEBUG - + set +x
2019-11-26 15:24:34,486: DEBUG - + local delimit=@
2019-11-26 15:24:34,486: DEBUG - + match_string='developer_emails ='
2019-11-26 15:24:34,486: DEBUG - + replace_string='developer_emails = megaboss\@test.mentalcorps.site'
2019-11-26 15:24:34,486: DEBUG - + sudo sed --in-place 's@developer_emails =@developer_emails = megaboss\@test.mentalcorps.site@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,486: DEBUG - + ynh_replace_string 'smtp_address =' 'smtp_address = localhost' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,486: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,486: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,486: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,486: DEBUG - + local match_string
2019-11-26 15:24:34,486: DEBUG - + local replace_string
2019-11-26 15:24:34,486: DEBUG - + local target_file
2019-11-26 15:24:34,487: DEBUG - + ynh_handle_getopts_args 'smtp_address =' 'smtp_address = localhost' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,487: DEBUG - + set +x
2019-11-26 15:24:34,487: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,487: DEBUG - + set +x
2019-11-26 15:24:34,487: DEBUG - + local delimit=@
2019-11-26 15:24:34,487: DEBUG - + match_string='smtp_address ='
2019-11-26 15:24:34,487: DEBUG - + replace_string='smtp_address = localhost'
2019-11-26 15:24:34,487: DEBUG - + sudo sed --in-place 's@smtp_address =@smtp_address = localhost@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,487: DEBUG - + ynh_replace_string 'smtp_domain =' 'smtp_domain = test.mentalcorps.site' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,487: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,487: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,487: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,487: DEBUG - + local match_string
2019-11-26 15:24:34,487: DEBUG - + local replace_string
2019-11-26 15:24:34,487: DEBUG - + local target_file
2019-11-26 15:24:34,488: DEBUG - + ynh_handle_getopts_args 'smtp_domain =' 'smtp_domain = test.mentalcorps.site' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,488: DEBUG - + set +x
2019-11-26 15:24:34,488: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,488: DEBUG - + set +x
2019-11-26 15:24:34,488: DEBUG - + local delimit=@
2019-11-26 15:24:34,488: DEBUG - + match_string='smtp_domain ='
2019-11-26 15:24:34,488: DEBUG - + replace_string='smtp_domain = test.mentalcorps.site'
2019-11-26 15:24:34,488: DEBUG - + sudo sed --in-place 's@smtp_domain =@smtp_domain = test.mentalcorps.site@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,488: DEBUG - + ynh_replace_string 'smtp_enable_start_tls = true' 'smtp_enable_start_tls = false' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,488: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,488: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,488: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,488: DEBUG - + local match_string
2019-11-26 15:24:34,488: DEBUG - + local replace_string
2019-11-26 15:24:34,488: DEBUG - + local target_file
2019-11-26 15:24:34,489: DEBUG - + ynh_handle_getopts_args 'smtp_enable_start_tls = true' 'smtp_enable_start_tls = false' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,489: DEBUG - + set +x
2019-11-26 15:24:34,489: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,489: DEBUG - + set +x
2019-11-26 15:24:34,489: DEBUG - + local delimit=@
2019-11-26 15:24:34,489: DEBUG - + match_string='smtp_enable_start_tls = true'
2019-11-26 15:24:34,489: DEBUG - + replace_string='smtp_enable_start_tls = false'
2019-11-26 15:24:34,489: DEBUG - + sudo sed --in-place 's@smtp_enable_start_tls = true@smtp_enable_start_tls = false@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,489: DEBUG - ++ ynh_redis_get_free_db
2019-11-26 15:24:34,489: DEBUG - ++ local result max db
2019-11-26 15:24:34,489: DEBUG - +++ redis-cli INFO keyspace
2019-11-26 15:24:34,489: DEBUG - ++ result='# Keyspace
'
2019-11-26 15:24:34,489: DEBUG - +++ grep -Eow '[0-9]+'
2019-11-26 15:24:34,489: DEBUG - +++ grep '^databases'
2019-11-26 15:24:34,489: DEBUG - +++ cat /etc/redis/redis.conf
2019-11-26 15:24:34,490: DEBUG - ++ max=16
2019-11-26 15:24:34,490: DEBUG - ++ db=0
2019-11-26 15:24:34,490: DEBUG - +++ seq 0 16
2019-11-26 15:24:34,490: DEBUG - ++ for i in $(seq 0 "$max")
2019-11-26 15:24:34,490: DEBUG - ++ grep -q db0
2019-11-26 15:24:34,490: DEBUG - ++ echo '# Keyspace
'
2019-11-26 15:24:34,490: DEBUG - ++ db=0
2019-11-26 15:24:34,490: DEBUG - ++ break 1
2019-11-26 15:24:34,490: DEBUG - ++ test 0 -eq -1
2019-11-26 15:24:34,490: DEBUG - ++ echo 0
2019-11-26 15:24:34,490: DEBUG - + redis_db=0
2019-11-26 15:24:34,490: DEBUG - + ynh_app_setting_set discourse redis_db 0
2019-11-26 15:24:34,491: DEBUG - + local legacy_args=akv
2019-11-26 15:24:34,491: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:34,491: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,491: DEBUG - + local app
2019-11-26 15:24:34,491: DEBUG - + local key
2019-11-26 15:24:34,491: DEBUG - + local value
2019-11-26 15:24:34,491: DEBUG - + ynh_handle_getopts_args discourse redis_db 0
2019-11-26 15:24:34,491: DEBUG - + set +x
2019-11-26 15:24:34,491: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,491: DEBUG - + set +x
2019-11-26 15:24:34,491: DEBUG - + ynh_app_setting set discourse redis_db 0
2019-11-26 15:24:34,491: DEBUG - + ACTION=set
2019-11-26 15:24:34,491: DEBUG - + APP=discourse
2019-11-26 15:24:34,491: DEBUG - + KEY=redis_db
2019-11-26 15:24:34,492: DEBUG - + VALUE=0
2019-11-26 15:24:34,492: DEBUG - + python -
2019-11-26 15:24:34,592: DEBUG - + ynh_replace_string 'redis_db = 0' 'redis_db = 0' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,592: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,592: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,592: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,592: DEBUG - + local match_string
2019-11-26 15:24:34,592: DEBUG - + local replace_string
2019-11-26 15:24:34,593: DEBUG - + local target_file
2019-11-26 15:24:34,593: DEBUG - + ynh_handle_getopts_args 'redis_db = 0' 'redis_db = 0' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,593: DEBUG - + set +x
2019-11-26 15:24:34,593: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,593: DEBUG - + set +x
2019-11-26 15:24:34,593: DEBUG - + local delimit=@
2019-11-26 15:24:34,593: DEBUG - + match_string='redis_db = 0'
2019-11-26 15:24:34,593: DEBUG - + replace_string='redis_db = 0'
2019-11-26 15:24:34,593: DEBUG - + sudo sed --in-place 's@redis_db = 0@redis_db = 0@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,593: DEBUG - + ynh_replace_string 'new_version_emails = true' 'new_version_emails = false' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,593: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,593: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,593: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,593: DEBUG - + local match_string
2019-11-26 15:24:34,593: DEBUG - + local replace_string
2019-11-26 15:24:34,594: DEBUG - + local target_file
2019-11-26 15:24:34,594: DEBUG - + ynh_handle_getopts_args 'new_version_emails = true' 'new_version_emails = false' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,595: DEBUG - + set +x
2019-11-26 15:24:34,595: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,595: DEBUG - + set +x
2019-11-26 15:24:34,595: DEBUG - + local delimit=@
2019-11-26 15:24:34,595: DEBUG - + match_string='new_version_emails = true'
2019-11-26 15:24:34,595: DEBUG - + replace_string='new_version_emails = false'
2019-11-26 15:24:34,596: DEBUG - + sudo sed --in-place 's@new_version_emails = true@new_version_emails = false@g' /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,596: DEBUG - + ynh_store_file_checksum /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,596: DEBUG - + local legacy_args=f
2019-11-26 15:24:34,596: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:34,596: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,596: DEBUG - + local file
2019-11-26 15:24:34,596: DEBUG - + ynh_handle_getopts_args /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,596: DEBUG - + set +x
2019-11-26 15:24:34,596: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,596: DEBUG - + set +x
2019-11-26 15:24:34,596: DEBUG - + local checksum_setting_name=checksum__var_www_discourse_config_discourse.conf
2019-11-26 15:24:34,596: DEBUG - ++ cut '-d ' -f1
2019-11-26 15:24:34,596: DEBUG - ++ sudo md5sum /var/www/discourse/config/discourse.conf
2019-11-26 15:24:34,596: DEBUG - + ynh_app_setting_set --app=discourse --key=checksum__var_www_discourse_config_discourse.conf --value=2972858a455b9cd12582083c67317d5e
2019-11-26 15:24:34,597: DEBUG - + local legacy_args=akv
2019-11-26 15:24:34,597: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:34,597: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,597: DEBUG - + local app
2019-11-26 15:24:34,597: DEBUG - + local key
2019-11-26 15:24:34,597: DEBUG - + local value
2019-11-26 15:24:34,597: DEBUG - + ynh_handle_getopts_args --app=discourse --key=checksum__var_www_discourse_config_discourse.conf --value=2972858a455b9cd12582083c67317d5e
2019-11-26 15:24:34,597: DEBUG - + set +x
2019-11-26 15:24:34,698: DEBUG - + ynh_app_setting set discourse checksum__var_www_discourse_config_discourse.conf 2972858a455b9cd12582083c67317d5e
2019-11-26 15:24:34,698: DEBUG - + ACTION=set
2019-11-26 15:24:34,698: DEBUG - + APP=discourse
2019-11-26 15:24:34,698: DEBUG - + KEY=checksum__var_www_discourse_config_discourse.conf
2019-11-26 15:24:34,698: DEBUG - + VALUE=2972858a455b9cd12582083c67317d5e
2019-11-26 15:24:34,698: DEBUG - + python -
2019-11-26 15:24:34,698: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:34,698: DEBUG - + unset backup_file_checksum
2019-11-26 15:24:34,698: DEBUG - + ldap_config_file=/var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,698: DEBUG - + ynh_replace_string adfs.example.com localhost /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,699: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,699: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,699: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,699: DEBUG - + local match_string
2019-11-26 15:24:34,699: DEBUG - + local replace_string
2019-11-26 15:24:34,699: DEBUG - + local target_file
2019-11-26 15:24:34,699: DEBUG - + ynh_handle_getopts_args adfs.example.com localhost /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,699: DEBUG - + set +x
2019-11-26 15:24:34,699: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,699: DEBUG - + set +x
2019-11-26 15:24:34,699: DEBUG - + local delimit=@
2019-11-26 15:24:34,699: DEBUG - + match_string=adfs.example.com
2019-11-26 15:24:34,699: DEBUG - + replace_string=localhost
2019-11-26 15:24:34,699: DEBUG - + sudo sed --in-place s@adfs.example.com@localhost@g /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,700: DEBUG - + ynh_replace_string dc=example,dc=com ou=users,dc=yunohost,dc=org /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,700: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,700: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,700: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,700: DEBUG - + local match_string
2019-11-26 15:24:34,700: DEBUG - + local replace_string
2019-11-26 15:24:34,700: DEBUG - + local target_file
2019-11-26 15:24:34,700: DEBUG - + ynh_handle_getopts_args dc=example,dc=com ou=users,dc=yunohost,dc=org /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,700: DEBUG - + set +x
2019-11-26 15:24:34,700: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,700: DEBUG - + set +x
2019-11-26 15:24:34,700: DEBUG - + local delimit=@
2019-11-26 15:24:34,700: DEBUG - + match_string=dc=example,dc=com
2019-11-26 15:24:34,700: DEBUG - + replace_string=ou=users,dc=yunohost,dc=org
2019-11-26 15:24:34,700: DEBUG - + sudo sed --in-place s@dc=example,dc=com@ou=users,dc=yunohost,dc=org@g /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,701: DEBUG - + ynh_replace_string sAMAccountName uid /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,701: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,701: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,701: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,701: DEBUG - + local match_string
2019-11-26 15:24:34,701: DEBUG - + local replace_string
2019-11-26 15:24:34,701: DEBUG - + local target_file
2019-11-26 15:24:34,701: DEBUG - + ynh_handle_getopts_args sAMAccountName uid /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,701: DEBUG - + set +x
2019-11-26 15:24:34,801: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,802: DEBUG - + set +x
2019-11-26 15:24:34,802: DEBUG - + local delimit=@
2019-11-26 15:24:34,802: DEBUG - + match_string=sAMAccountName
2019-11-26 15:24:34,802: DEBUG - + replace_string=uid
2019-11-26 15:24:34,802: DEBUG - + sudo sed --in-place s@sAMAccountName@uid@g /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,802: DEBUG - + ynh_store_file_checksum /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,802: DEBUG - + local legacy_args=f
2019-11-26 15:24:34,802: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:34,802: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,802: DEBUG - + local file
2019-11-26 15:24:34,802: DEBUG - + ynh_handle_getopts_args /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,802: DEBUG - + set +x
2019-11-26 15:24:34,802: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,803: DEBUG - + set +x
2019-11-26 15:24:34,803: DEBUG - + local checksum_setting_name=checksum__var_www_discourse_plugins_discourse-ldap-auth_config_settings.yml
2019-11-26 15:24:34,803: DEBUG - ++ cut '-d ' -f1
2019-11-26 15:24:34,803: DEBUG - ++ sudo md5sum /var/www/discourse/plugins/discourse-ldap-auth/config/settings.yml
2019-11-26 15:24:34,803: DEBUG - + ynh_app_setting_set --app=discourse --key=checksum__var_www_discourse_plugins_discourse-ldap-auth_config_settings.yml --value=61ff29ddee87f9b6baf50ba86eb3d420
2019-11-26 15:24:34,803: DEBUG - + local legacy_args=akv
2019-11-26 15:24:34,803: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:34,803: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,803: DEBUG - + local app
2019-11-26 15:24:34,803: DEBUG - + local key
2019-11-26 15:24:34,803: DEBUG - + local value
2019-11-26 15:24:34,803: DEBUG - + ynh_handle_getopts_args --app=discourse --key=checksum__var_www_discourse_plugins_discourse-ldap-auth_config_settings.yml --value=61ff29ddee87f9b6baf50ba86eb3d420
2019-11-26 15:24:34,803: DEBUG - + set +x
2019-11-26 15:24:34,803: DEBUG - + ynh_app_setting set discourse checksum__var_www_discourse_plugins_discourse-ldap-auth_config_settings.yml 61ff29ddee87f9b6baf50ba86eb3d420
2019-11-26 15:24:34,803: DEBUG - + ACTION=set
2019-11-26 15:24:34,804: DEBUG - + APP=discourse
2019-11-26 15:24:34,804: DEBUG - + KEY=checksum__var_www_discourse_plugins_discourse-ldap-auth_config_settings.yml
2019-11-26 15:24:34,804: DEBUG - + VALUE=61ff29ddee87f9b6baf50ba86eb3d420
2019-11-26 15:24:34,804: DEBUG - + python -
2019-11-26 15:24:34,804: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:34,804: DEBUG - + unset backup_file_checksum
2019-11-26 15:24:34,804: DEBUG - + echo 'svgo: false'
2019-11-26 15:24:34,804: DEBUG - + unicorn_config_file=/var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,804: DEBUG - + ynh_replace_string 'listen (ENV\["UNICORN_PORT"\] || 3000).to_i' '# listen (ENV["UNICORN_PORT"] || 3000).to_i' /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,804: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,804: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,804: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,804: DEBUG - + local match_string
2019-11-26 15:24:34,804: DEBUG - + local replace_string
2019-11-26 15:24:34,804: DEBUG - + local target_file
2019-11-26 15:24:34,805: DEBUG - + ynh_handle_getopts_args 'listen (ENV\["UNICORN_PORT"\] || 3000).to_i' '# listen (ENV["UNICORN_PORT"] || 3000).to_i' /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,805: DEBUG - + set +x
2019-11-26 15:24:34,805: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,805: DEBUG - + set +x
2019-11-26 15:24:34,905: DEBUG - + local delimit=@
2019-11-26 15:24:34,905: DEBUG - + match_string='listen (ENV\["UNICORN_PORT"\] || 3000).to_i'
2019-11-26 15:24:34,905: DEBUG - + replace_string='# listen (ENV["UNICORN_PORT"] || 3000).to_i'
2019-11-26 15:24:34,905: DEBUG - + sudo sed --in-place 's@listen (ENV\["UNICORN_PORT"\] || 3000).to_i@# listen (ENV["UNICORN_PORT"] || 3000).to_i@g' /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,905: DEBUG - + ynh_replace_string '# listen "#{discourse_path}/tmp/sockets/unicorn.sock"' 'listen "#{discourse_path}/tmp/sockets/unicorn.sock"' /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,905: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:34,906: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:34,906: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,906: DEBUG - + local match_string
2019-11-26 15:24:34,906: DEBUG - + local replace_string
2019-11-26 15:24:34,906: DEBUG - + local target_file
2019-11-26 15:24:34,906: DEBUG - + ynh_handle_getopts_args '# listen "#{discourse_path}/tmp/sockets/unicorn.sock"' 'listen "#{discourse_path}/tmp/sockets/unicorn.sock"' /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,906: DEBUG - + set +x
2019-11-26 15:24:34,906: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,906: DEBUG - + set +x
2019-11-26 15:24:34,906: DEBUG - + local delimit=@
2019-11-26 15:24:34,906: DEBUG - + match_string='# listen "#{discourse_path}/tmp/sockets/unicorn.sock"'
2019-11-26 15:24:34,906: DEBUG - + replace_string='listen "#{discourse_path}/tmp/sockets/unicorn.sock"'
2019-11-26 15:24:34,906: DEBUG - + sudo sed --in-place 's@# listen "#{discourse_path}/tmp/sockets/unicorn.sock"@listen "#{discourse_path}/tmp/sockets/unicorn.sock"@g' /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,906: DEBUG - + ynh_store_file_checksum /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,907: DEBUG - + local legacy_args=f
2019-11-26 15:24:34,907: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:34,907: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,907: DEBUG - + local file
2019-11-26 15:24:34,907: DEBUG - + ynh_handle_getopts_args /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,907: DEBUG - + set +x
2019-11-26 15:24:34,907: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:34,907: DEBUG - + set +x
2019-11-26 15:24:34,907: DEBUG - + local checksum_setting_name=checksum__var_www_discourse_config_unicorn.conf.rb
2019-11-26 15:24:34,907: DEBUG - ++ cut '-d ' -f1
2019-11-26 15:24:34,907: DEBUG - ++ sudo md5sum /var/www/discourse/config/unicorn.conf.rb
2019-11-26 15:24:34,907: DEBUG - + ynh_app_setting_set --app=discourse --key=checksum__var_www_discourse_config_unicorn.conf.rb --value=9e16feddaa284670e508a17c6c32a536
2019-11-26 15:24:34,907: DEBUG - + local legacy_args=akv
2019-11-26 15:24:34,907: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:34,907: DEBUG - + declare -Ar args_array
2019-11-26 15:24:34,908: DEBUG - + local app
2019-11-26 15:24:34,908: DEBUG - + local key
2019-11-26 15:24:34,908: DEBUG - + local value
2019-11-26 15:24:34,908: DEBUG - + ynh_handle_getopts_args --app=discourse --key=checksum__var_www_discourse_config_unicorn.conf.rb --value=9e16feddaa284670e508a17c6c32a536
2019-11-26 15:24:34,908: DEBUG - + set +x
2019-11-26 15:24:34,908: DEBUG - + ynh_app_setting set discourse checksum__var_www_discourse_config_unicorn.conf.rb 9e16feddaa284670e508a17c6c32a536
2019-11-26 15:24:34,908: DEBUG - + ACTION=set
2019-11-26 15:24:34,908: DEBUG - + APP=discourse
2019-11-26 15:24:34,908: DEBUG - + KEY=checksum__var_www_discourse_config_unicorn.conf.rb
2019-11-26 15:24:34,908: DEBUG - + VALUE=9e16feddaa284670e508a17c6c32a536
2019-11-26 15:24:34,908: DEBUG - + python -
2019-11-26 15:24:35,008: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:35,009: DEBUG - + unset backup_file_checksum
2019-11-26 15:24:35,009: DEBUG - + cp ../conf/secrets.yml /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,009: DEBUG - ++ ynh_string_random
2019-11-26 15:24:35,009: DEBUG - ++ local legacy_args=l
2019-11-26 15:24:35,009: DEBUG - ++ args_array=([l]=length=)
2019-11-26 15:24:35,009: DEBUG - ++ declare -Ar args_array
2019-11-26 15:24:35,009: DEBUG - ++ local length
2019-11-26 15:24:35,009: DEBUG - ++ ynh_handle_getopts_args
2019-11-26 15:24:35,009: DEBUG - ++ set +x
2019-11-26 15:24:35,009: DEBUG - ++ length=24
2019-11-26 15:24:35,009: DEBUG - ++ sed -n 's/\(.\{24\}\).*/\1/p'
2019-11-26 15:24:35,009: DEBUG - ++ tr -c -d A-Za-z0-9
2019-11-26 15:24:35,009: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-11-26 15:24:35,010: DEBUG - + ynh_replace_string __SECRET__ nxZwZdQtY5IEL0NTQaAKSopJ /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,010: DEBUG - + local legacy_args=mrf
2019-11-26 15:24:35,010: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-11-26 15:24:35,010: DEBUG - + declare -Ar args_array
2019-11-26 15:24:35,010: DEBUG - + local match_string
2019-11-26 15:24:35,010: DEBUG - + local replace_string
2019-11-26 15:24:35,010: DEBUG - + local target_file
2019-11-26 15:24:35,010: DEBUG - + ynh_handle_getopts_args __SECRET__ nxZwZdQtY5IEL0NTQaAKSopJ /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,010: DEBUG - + set +x
2019-11-26 15:24:35,010: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:35,010: DEBUG - + set +x
2019-11-26 15:24:35,010: DEBUG - + local delimit=@
2019-11-26 15:24:35,010: DEBUG - + match_string=__SECRET__
2019-11-26 15:24:35,010: DEBUG - + replace_string=nxZwZdQtY5IEL0NTQaAKSopJ
2019-11-26 15:24:35,011: DEBUG - + sudo sed --in-place s@__SECRET__@nxZwZdQtY5IEL0NTQaAKSopJ@g /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,011: DEBUG - + ynh_store_file_checksum /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,011: DEBUG - + local legacy_args=f
2019-11-26 15:24:35,011: DEBUG - + args_array=([f]=file=)
2019-11-26 15:24:35,011: DEBUG - + declare -Ar args_array
2019-11-26 15:24:35,011: DEBUG - + local file
2019-11-26 15:24:35,011: DEBUG - + ynh_handle_getopts_args /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,011: DEBUG - + set +x
2019-11-26 15:24:35,011: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:24:35,011: DEBUG - + set +x
2019-11-26 15:24:35,011: DEBUG - + local checksum_setting_name=checksum__var_www_discourse_config_secrets.yml
2019-11-26 15:24:35,011: DEBUG - ++ cut '-d ' -f1
2019-11-26 15:24:35,011: DEBUG - ++ sudo md5sum /var/www/discourse/config/secrets.yml
2019-11-26 15:24:35,011: DEBUG - + ynh_app_setting_set --app=discourse --key=checksum__var_www_discourse_config_secrets.yml --value=7b37c02864d7aa00a728bb8419d8c3e6
2019-11-26 15:24:35,012: DEBUG - + local legacy_args=akv
2019-11-26 15:24:35,012: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-11-26 15:24:35,012: DEBUG - + declare -Ar args_array
2019-11-26 15:24:35,012: DEBUG - + local app
2019-11-26 15:24:35,012: DEBUG - + local key
2019-11-26 15:24:35,012: DEBUG - + local value
2019-11-26 15:24:35,012: DEBUG - + ynh_handle_getopts_args --app=discourse --key=checksum__var_www_discourse_config_secrets.yml --value=7b37c02864d7aa00a728bb8419d8c3e6
2019-11-26 15:24:35,012: DEBUG - + set +x
2019-11-26 15:24:35,012: DEBUG - + ynh_app_setting set discourse checksum__var_www_discourse_config_secrets.yml 7b37c02864d7aa00a728bb8419d8c3e6
2019-11-26 15:24:35,012: DEBUG - + ACTION=set
2019-11-26 15:24:35,012: DEBUG - + APP=discourse
2019-11-26 15:24:35,012: DEBUG - + KEY=checksum__var_www_discourse_config_secrets.yml
2019-11-26 15:24:35,012: DEBUG - + VALUE=7b37c02864d7aa00a728bb8419d8c3e6
2019-11-26 15:24:35,012: DEBUG - + python -
2019-11-26 15:24:35,113: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:35,113: DEBUG - + unset backup_file_checksum
2019-11-26 15:24:35,113: DEBUG - + chown -R discourse: /var/www/discourse
2019-11-26 15:24:35,313: DEBUG - + cd /var/www/discourse
2019-11-26 15:24:35,313: DEBUG - + gem install bundler
2019-11-26 15:24:38,318: DEBUG - Successfully installed bundler-2.0.2
2019-11-26 15:24:38,318: DEBUG - Parsing documentation for bundler-2.0.2
2019-11-26 15:24:38,318: DEBUG - Installing ri documentation for bundler-2.0.2
2019-11-26 15:24:38,318: DEBUG - Done installing documentation for bundler after 1 seconds
2019-11-26 15:24:38,318: DEBUG - 1 gem installed
2019-11-26 15:24:38,318: DEBUG - + exec_as discourse echo 'gem: --no-ri --no-rdoc'
2019-11-26 15:24:38,318: DEBUG - + local user=discourse
2019-11-26 15:24:38,318: DEBUG - + shift 1
2019-11-26 15:24:38,318: DEBUG - ++ whoami
2019-11-26 15:24:38,319: DEBUG - + [[ discourse = root ]]
2019-11-26 15:24:38,319: DEBUG - + sudo -u discourse echo 'gem: --no-ri --no-rdoc'
2019-11-26 15:24:38,319: DEBUG - ++ grep arm
2019-11-26 15:24:38,419: DEBUG - ++ uname -m
2019-11-26 15:24:38,419: DEBUG - + '[' -n '' ']'
2019-11-26 15:24:38,419: DEBUG - + exec_login_as discourse MAKEFLAGS=-j2 bundle install --jobs 2 --path vendor/bundle --with development
2019-11-26 15:24:38,419: DEBUG - + local user=discourse
2019-11-26 15:24:38,419: DEBUG - + shift 1
2019-11-26 15:24:38,419: DEBUG - + exec_as discourse --login MAKEFLAGS=-j2 bundle install --jobs 2 --path vendor/bundle --with development
2019-11-26 15:24:38,419: DEBUG - + local user=discourse
2019-11-26 15:24:38,419: DEBUG - + shift 1
2019-11-26 15:24:38,420: DEBUG - ++ whoami
2019-11-26 15:24:38,420: DEBUG - + [[ discourse = root ]]
2019-11-26 15:24:38,420: DEBUG - + sudo -u discourse --login MAKEFLAGS=-j2 bundle install --jobs 2 --path vendor/bundle --with development
2019-11-26 15:24:38,620: DEBUG - Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
2019-11-26 15:24:45,833: DEBUG - Fetching gem metadata from https://rubygems.org/...........
2019-11-26 15:24:45,834: DEBUG - Fetching rake 12.3.2
2019-11-26 15:24:45,934: DEBUG - Installing rake 12.3.2
2019-11-26 15:24:45,934: DEBUG - Fetching concurrent-ruby 1.1.5
2019-11-26 15:24:46,035: DEBUG - Installing concurrent-ruby 1.1.5
2019-11-26 15:24:46,135: DEBUG - Fetching i18n 1.6.0
2019-11-26 15:24:46,135: DEBUG - Installing i18n 1.6.0
2019-11-26 15:24:46,135: DEBUG - Fetching minitest 5.11.3
2019-11-26 15:24:46,135: DEBUG - Installing minitest 5.11.3
2019-11-26 15:24:46,235: DEBUG - Fetching thread_safe 0.3.6
2019-11-26 15:24:46,236: DEBUG - Installing thread_safe 0.3.6
2019-11-26 15:24:46,336: DEBUG - Fetching tzinfo 1.2.5
2019-11-26 15:24:46,336: DEBUG - Installing tzinfo 1.2.5
2019-11-26 15:24:46,436: DEBUG - Fetching activesupport 5.2.3
2019-11-26 15:24:46,436: DEBUG - Installing activesupport 5.2.3
2019-11-26 15:24:46,537: DEBUG - Fetching builder 3.2.3
2019-11-26 15:24:46,537: DEBUG - Installing builder 3.2.3
2019-11-26 15:24:46,637: DEBUG - Fetching erubi 1.8.0
2019-11-26 15:24:46,637: DEBUG - Installing erubi 1.8.0
2019-11-26 15:24:46,637: DEBUG - Fetching mini_portile2 2.4.0
2019-11-26 15:24:46,637: DEBUG - Installing mini_portile2 2.4.0
2019-11-26 15:24:46,637: DEBUG - Fetching nokogiri 1.10.3
2019-11-26 15:24:47,138: DEBUG - Installing nokogiri 1.10.3 with native extensions
2019-11-26 15:25:17,192: DEBUG - Fetching rails-dom-testing 2.0.3
2019-11-26 15:25:17,192: DEBUG - Installing rails-dom-testing 2.0.3
2019-11-26 15:25:17,192: DEBUG - Fetching crass 1.0.4
2019-11-26 15:25:17,293: DEBUG - Installing crass 1.0.4
2019-11-26 15:25:17,293: DEBUG - Fetching loofah 2.2.3
2019-11-26 15:25:17,293: DEBUG - Installing loofah 2.2.3
2019-11-26 15:25:17,293: DEBUG - Fetching rails-html-sanitizer 1.0.4
2019-11-26 15:25:17,393: DEBUG - Installing rails-html-sanitizer 1.0.4
2019-11-26 15:25:17,393: DEBUG - Fetching actionview 5.2.3
2019-11-26 15:25:17,394: DEBUG - Installing actionview 5.2.3
2019-11-26 15:25:17,494: DEBUG - Fetching rack 2.0.7
2019-11-26 15:25:17,494: DEBUG - Installing rack 2.0.7
2019-11-26 15:25:17,594: DEBUG - Fetching rack-test 1.1.0
2019-11-26 15:25:17,594: DEBUG - Installing rack-test 1.1.0
2019-11-26 15:25:17,594: DEBUG - Fetching actionpack 5.2.3
2019-11-26 15:25:17,695: DEBUG - Installing actionpack 5.2.3
2019-11-26 15:25:17,695: DEBUG - Fetching globalid 0.4.2
2019-11-26 15:25:17,795: DEBUG - Installing globalid 0.4.2
2019-11-26 15:25:17,795: DEBUG - Fetching activejob 5.2.3
2019-11-26 15:25:17,795: DEBUG - Installing activejob 5.2.3
2019-11-26 15:25:17,795: DEBUG - Fetching mini_mime 1.0.1
2019-11-26 15:25:17,796: DEBUG - Installing mini_mime 1.0.1
2019-11-26 15:25:17,896: DEBUG - Fetching mail 2.7.1
2019-11-26 15:25:17,896: DEBUG - Installing mail 2.7.1
2019-11-26 15:25:17,996: DEBUG - Fetching actionmailer 5.2.3
2019-11-26 15:25:17,996: DEBUG - Installing actionmailer 5.2.3
2019-11-26 15:25:17,996: DEBUG - Fetching activemodel 5.2.3
2019-11-26 15:25:18,097: DEBUG - Installing activemodel 5.2.3
2019-11-26 15:25:18,097: DEBUG - Fetching active_model_serializers 0.8.4
2019-11-26 15:25:18,097: DEBUG - Installing active_model_serializers 0.8.4
2019-11-26 15:25:18,097: DEBUG - Fetching arel 9.0.0
2019-11-26 15:25:18,197: DEBUG - Installing arel 9.0.0
2019-11-26 15:25:18,197: DEBUG - Fetching activerecord 5.2.3
2019-11-26 15:25:18,298: DEBUG - Installing activerecord 5.2.3
2019-11-26 15:25:18,398: DEBUG - Fetching public_suffix 3.0.3
2019-11-26 15:25:18,398: DEBUG - Installing public_suffix 3.0.3
2019-11-26 15:25:18,398: DEBUG - Fetching addressable 2.5.2
2019-11-26 15:25:18,398: DEBUG - Installing addressable 2.5.2
2019-11-26 15:25:18,499: DEBUG - Fetching annotate 2.7.5
2019-11-26 15:25:18,499: DEBUG - Installing annotate 2.7.5
2019-11-26 15:25:18,499: DEBUG - Fetching ast 2.4.0
2019-11-26 15:25:18,499: DEBUG - Installing ast 2.4.0
2019-11-26 15:25:18,499: DEBUG - Fetching aws-eventstream 1.0.3
2019-11-26 15:25:18,599: DEBUG - Installing aws-eventstream 1.0.3
2019-11-26 15:25:18,600: DEBUG - Fetching aws-partitions 1.154.0
2019-11-26 15:25:18,600: DEBUG - Installing aws-partitions 1.154.0
2019-11-26 15:25:18,600: DEBUG - Fetching aws-sigv4 1.1.0
2019-11-26 15:25:18,600: DEBUG - Installing aws-sigv4 1.1.0
2019-11-26 15:25:18,700: DEBUG - Fetching jmespath 1.4.0
2019-11-26 15:25:18,700: DEBUG - Installing jmespath 1.4.0
2019-11-26 15:25:18,700: DEBUG - Fetching aws-sdk-core 3.48.6
2019-11-26 15:25:18,800: DEBUG - Installing aws-sdk-core 3.48.6
2019-11-26 15:25:18,801: DEBUG - Fetching aws-sdk-kms 1.17.0
2019-11-26 15:25:18,901: DEBUG - Installing aws-sdk-kms 1.17.0
2019-11-26 15:25:18,901: DEBUG - Fetching aws-sdk-s3 1.36.1
2019-11-26 15:25:18,901: DEBUG - Installing aws-sdk-s3 1.36.1
2019-11-26 15:25:18,901: DEBUG - Fetching aws-sdk-sns 1.13.0
2019-11-26 15:25:19,002: DEBUG - Installing aws-sdk-sns 1.13.0
2019-11-26 15:25:19,002: DEBUG - Fetching ember-source 2.18.2
2019-11-26 15:25:19,102: DEBUG - Installing ember-source 2.18.2
2019-11-26 15:25:19,202: DEBUG - Fetching execjs 2.7.0
2019-11-26 15:25:19,303: DEBUG - Installing execjs 2.7.0
2019-11-26 15:25:19,303: DEBUG - Fetching barber 0.12.2
2019-11-26 15:25:19,303: DEBUG - Installing barber 0.12.2
2019-11-26 15:25:19,303: DEBUG - Fetching coderay 1.1.2
2019-11-26 15:25:19,403: DEBUG - Installing coderay 1.1.2
2019-11-26 15:25:19,403: DEBUG - Fetching better_errors 2.5.1
2019-11-26 15:25:19,403: DEBUG - Installing better_errors 2.5.1
2019-11-26 15:25:19,504: DEBUG - Fetching debug_inspector 0.0.3
2019-11-26 15:25:19,504: DEBUG - Installing debug_inspector 0.0.3 with native extensions
2019-11-26 15:25:19,704: DEBUG - Fetching binding_of_caller 0.8.0
2019-11-26 15:25:19,704: DEBUG - Installing binding_of_caller 0.8.0 with native extensions
2019-11-26 15:25:19,805: DEBUG - Fetching msgpack 1.2.10
2019-11-26 15:25:19,805: DEBUG - Installing msgpack 1.2.10 with native extensions
2019-11-26 15:25:25,414: DEBUG - Fetching bootsnap 1.4.4
2019-11-26 15:25:25,414: DEBUG - Installing bootsnap 1.4.4 with native extensions
2019-11-26 15:25:25,715: DEBUG - Fetching uniform_notifier 1.12.1
2019-11-26 15:25:25,715: DEBUG - Installing uniform_notifier 1.12.1
2019-11-26 15:25:25,815: DEBUG - Fetching bullet 6.0.0
2019-11-26 15:25:25,816: DEBUG - Installing bullet 6.0.0
2019-11-26 15:25:25,916: DEBUG - Using bundler 1.17.2
2019-11-26 15:25:25,916: DEBUG - Fetching byebug 11.0.1
2019-11-26 15:25:25,916: DEBUG - Installing byebug 11.0.1 with native extensions
2019-11-26 15:25:26,918: DEBUG - Fetching certified 1.0.0
2019-11-26 15:25:27,018: DEBUG - Installing certified 1.0.0
2019-11-26 15:25:27,018: DEBUG - Fetching chunky_png 1.3.11
2019-11-26 15:25:27,118: DEBUG - Installing chunky_png 1.3.11
2019-11-26 15:25:27,219: DEBUG - Fetching colored2 3.1.2
2019-11-26 15:25:27,319: DEBUG - Installing colored2 3.1.2
2019-11-26 15:25:27,319: DEBUG - Fetching connection_pool 2.2.2
2019-11-26 15:25:27,319: DEBUG - Installing connection_pool 2.2.2
2019-11-26 15:25:27,420: DEBUG - Fetching cppjieba_rb 0.3.3
2019-11-26 15:25:27,820: DEBUG - Installing cppjieba_rb 0.3.3 with native extensions
2019-11-26 15:25:33,163: DEBUG - Fetching safe_yaml 1.0.5
2019-11-26 15:25:33,164: DEBUG - Installing safe_yaml 1.0.5
2019-11-26 15:25:33,164: DEBUG - Fetching crack 0.4.3
2019-11-26 15:25:33,465: DEBUG - Installing crack 0.4.3
2019-11-26 15:25:33,565: DEBUG - Fetching diff-lcs 1.3
2019-11-26 15:25:33,565: DEBUG - Installing diff-lcs 1.3
2019-11-26 15:25:33,565: DEBUG - Fetching diffy 3.3.0
2019-11-26 15:25:33,666: DEBUG - Installing diffy 3.3.0
2019-11-26 15:25:33,666: DEBUG - Fetching discourse-ember-source 3.8.0.1
2019-11-26 15:25:34,267: DEBUG - Installing discourse-ember-source 3.8.0.1
2019-11-26 15:25:34,568: DEBUG - Fetching exifr 1.3.6
2019-11-26 15:25:34,568: DEBUG - Installing exifr 1.3.6
2019-11-26 15:25:34,568: DEBUG - Fetching fspath 3.1.0
2019-11-26 15:25:34,568: DEBUG - Installing fspath 3.1.0
2019-11-26 15:25:34,668: DEBUG - Fetching image_size 1.5.0
2019-11-26 15:25:34,668: DEBUG - Installing image_size 1.5.0
2019-11-26 15:25:34,668: DEBUG - Fetching in_threads 1.5.1
2019-11-26 15:25:34,668: DEBUG - Installing in_threads 1.5.1
2019-11-26 15:25:34,669: DEBUG - Fetching progress 3.5.0
2019-11-26 15:25:34,769: DEBUG - Installing progress 3.5.0
2019-11-26 15:25:34,769: DEBUG - Fetching discourse_image_optim 0.26.2
2019-11-26 15:25:34,869: DEBUG - Installing discourse_image_optim 0.26.2
2019-11-26 15:25:34,970: DEBUG - Fetching docile 1.3.1
2019-11-26 15:25:34,970: DEBUG - Installing docile 1.3.1
2019-11-26 15:25:34,970: DEBUG - Fetching email_reply_trimmer 0.1.12
2019-11-26 15:25:34,970: DEBUG - Installing email_reply_trimmer 0.1.12
2019-11-26 15:25:35,070: DEBUG - Fetching ember-data-source 3.0.2
2019-11-26 15:25:35,070: DEBUG - Installing ember-data-source 3.0.2
2019-11-26 15:25:35,171: DEBUG - Fetching sprockets 3.7.2
2019-11-26 15:25:35,171: DEBUG - Installing sprockets 3.7.2
2019-11-26 15:25:35,171: DEBUG - Fetching ember-handlebars-template 0.8.0
2019-11-26 15:25:35,271: DEBUG - Installing ember-handlebars-template 0.8.0
2019-11-26 15:25:35,271: DEBUG - Fetching method_source 0.9.2
2019-11-26 15:25:35,271: DEBUG - Installing method_source 0.9.2
2019-11-26 15:25:35,271: DEBUG - Fetching thor 0.20.3
2019-11-26 15:25:35,272: DEBUG - Installing thor 0.20.3
2019-11-26 15:25:35,372: DEBUG - Fetching railties 5.2.3
2019-11-26 15:25:35,372: DEBUG - Installing railties 5.2.3
2019-11-26 15:25:35,472: DEBUG - Fetching jquery-rails 4.3.3
2019-11-26 15:25:35,573: DEBUG - Installing jquery-rails 4.3.3
2019-11-26 15:25:35,673: DEBUG - Fetching ember-rails 0.18.5
2019-11-26 15:25:35,673: DEBUG - Installing ember-rails 0.18.5
2019-11-26 15:25:35,673: DEBUG - Fetching excon 0.64.0
2019-11-26 15:25:35,773: DEBUG - Installing excon 0.64.0
2019-11-26 15:25:35,773: DEBUG - Fetching fabrication 2.20.1
2019-11-26 15:25:35,874: DEBUG - Installing fabrication 2.20.1
2019-11-26 15:25:35,874: DEBUG - Fetching fakeweb 1.3.0
2019-11-26 15:25:35,874: DEBUG - Installing fakeweb 1.3.0
2019-11-26 15:25:35,874: DEBUG - Fetching multipart-post 2.1.1
2019-11-26 15:25:35,974: DEBUG - Installing multipart-post 2.1.1
2019-11-26 15:25:35,975: DEBUG - Fetching faraday 0.15.4
2019-11-26 15:25:35,975: DEBUG - Installing faraday 0.15.4
2019-11-26 15:25:35,975: DEBUG - Fetching fast_blank 1.0.0
2019-11-26 15:25:36,075: DEBUG - Installing fast_blank 1.0.0 with native extensions
2019-11-26 15:25:36,275: DEBUG - Fetching rake-compiler 1.0.7
2019-11-26 15:25:36,276: DEBUG - Installing rake-compiler 1.0.7
2019-11-26 15:25:36,276: DEBUG - Fetching fast_xor 1.1.3
2019-11-26 15:25:36,276: DEBUG - Installing fast_xor 1.1.3 with native extensions
2019-11-26 15:25:36,576: DEBUG - Fetching fast_xs 0.8.0
2019-11-26 15:25:36,576: DEBUG - Installing fast_xs 0.8.0 with native extensions
2019-11-26 15:25:37,278: DEBUG - Fetching fastimage 2.1.5
2019-11-26 15:25:37,278: DEBUG - Installing fastimage 2.1.5
2019-11-26 15:25:37,278: DEBUG - Fetching ffi 1.10.0
2019-11-26 15:25:37,378: DEBUG - Installing ffi 1.10.0 with native extensions
2019-11-26 15:25:49,998: DEBUG - Fetching flamegraph 0.9.5
2019-11-26 15:25:49,998: DEBUG - Installing flamegraph 0.9.5
2019-11-26 15:25:49,998: DEBUG - Fetching gc_tracer 1.5.1
2019-11-26 15:25:49,998: DEBUG - Installing gc_tracer 1.5.1 with native extensions
2019-11-26 15:25:52,602: DEBUG - Fetching guess_html_encoding 0.0.11
2019-11-26 15:25:52,602: DEBUG - Installing guess_html_encoding 0.0.11
2019-11-26 15:25:52,602: DEBUG - Fetching hashdiff 0.3.9
2019-11-26 15:25:52,603: DEBUG - Installing hashdiff 0.3.9
2019-11-26 15:25:52,603: DEBUG - Fetching hashie 3.6.0
2019-11-26 15:25:52,703: DEBUG - Installing hashie 3.6.0
2019-11-26 15:25:52,703: DEBUG - Fetching highline 1.7.10
2019-11-26 15:25:52,703: DEBUG - Installing highline 1.7.10
2019-11-26 15:25:52,803: DEBUG - Fetching hiredis 0.6.3
2019-11-26 15:25:52,803: DEBUG - Installing hiredis 0.6.3 with native extensions
2019-11-26 15:25:54,906: DEBUG - Fetching hkdf 0.3.0
2019-11-26 15:25:54,907: DEBUG - Installing hkdf 0.3.0
2019-11-26 15:25:54,907: DEBUG - Fetching htmlentities 4.3.4
2019-11-26 15:25:55,007: DEBUG - Installing htmlentities 4.3.4
2019-11-26 15:25:55,007: DEBUG - Fetching http_accept_language 2.0.5
2019-11-26 15:25:55,007: DEBUG - Installing http_accept_language 2.0.5
2019-11-26 15:25:55,007: DEBUG - Fetching jaro_winkler 1.5.2
2019-11-26 15:25:55,007: DEBUG - Installing jaro_winkler 1.5.2 with native extensions
2019-11-26 15:25:55,508: DEBUG - Fetching json 2.2.0
2019-11-26 15:25:55,508: DEBUG - Installing json 2.2.0 with native extensions
2019-11-26 15:25:57,411: DEBUG - Fetching jwt 2.2.1
2019-11-26 15:25:57,411: DEBUG - Installing jwt 2.2.1
2019-11-26 15:25:57,512: DEBUG - Fetching kgio 2.11.2
2019-11-26 15:25:57,512: DEBUG - Installing kgio 2.11.2 with native extensions
2019-11-26 15:26:05,924: DEBUG - Fetching libv8 7.3.492.27.1 (x86_64-linux)
2019-11-26 15:26:06,325: DEBUG - Installing libv8 7.3.492.27.1 (x86_64-linux)
2019-11-26 15:26:06,826: DEBUG - Fetching rb-fsevent 0.10.3
2019-11-26 15:26:06,826: DEBUG - Installing rb-fsevent 0.10.3
2019-11-26 15:26:06,826: DEBUG - Fetching rb-inotify 0.10.0
2019-11-26 15:26:06,926: DEBUG - Installing rb-inotify 0.10.0
2019-11-26 15:26:06,926: DEBUG - Fetching ruby_dep 1.5.0
2019-11-26 15:26:06,926: DEBUG - Installing ruby_dep 1.5.0
2019-11-26 15:26:06,927: DEBUG - Fetching listen 3.1.5
2019-11-26 15:26:06,927: DEBUG - Installing listen 3.1.5
2019-11-26 15:26:07,027: DEBUG - Fetching request_store 1.4.1
2019-11-26 15:26:07,027: DEBUG - Installing request_store 1.4.1
2019-11-26 15:26:07,027: DEBUG - Fetching lograge 0.11.0
2019-11-26 15:26:07,027: DEBUG - Installing lograge 0.11.0
2019-11-26 15:26:07,027: DEBUG - Fetching logstash-event 1.2.02
2019-11-26 15:26:07,128: DEBUG - Installing logstash-event 1.2.02
2019-11-26 15:26:07,128: DEBUG - Fetching logstash-logger 0.26.1
2019-11-26 15:26:07,128: DEBUG - Installing logstash-logger 0.26.1
2019-11-26 15:26:07,128: DEBUG - Fetching logster 2.3.2
2019-11-26 15:26:07,228: DEBUG - Installing logster 2.3.2
2019-11-26 15:26:07,328: DEBUG - Fetching lru_redux 1.1.0
2019-11-26 15:26:07,329: DEBUG - Installing lru_redux 1.1.0
2019-11-26 15:26:07,429: DEBUG - Fetching maxminddb 0.1.22
2019-11-26 15:26:07,429: DEBUG - Installing maxminddb 0.1.22
2019-11-26 15:26:07,429: DEBUG - Fetching memory_profiler 0.9.13
2019-11-26 15:26:07,429: DEBUG - Installing memory_profiler 0.9.13
2019-11-26 15:26:07,429: DEBUG - Fetching message_bus 2.2.0
2019-11-26 15:26:07,529: DEBUG - Installing message_bus 2.2.0
2019-11-26 15:26:07,630: DEBUG - Fetching metaclass 0.0.4
2019-11-26 15:26:07,630: DEBUG - Installing metaclass 0.0.4
2019-11-26 15:26:07,630: DEBUG - Fetching mini_racer 0.2.6
2019-11-26 15:26:07,630: DEBUG - Installing mini_racer 0.2.6 with native extensions
2019-11-26 15:26:10,334: DEBUG - Fetching rack-protection 2.0.5
2019-11-26 15:26:10,335: DEBUG - Installing rack-protection 2.0.5
2019-11-26 15:26:10,335: DEBUG - Fetching redis 4.0.1
2019-11-26 15:26:10,435: DEBUG - Installing redis 4.0.1
2019-11-26 15:26:10,435: DEBUG - Fetching sidekiq 5.2.7
2019-11-26 15:26:10,535: DEBUG - Installing sidekiq 5.2.7
2019-11-26 15:26:10,536: DEBUG - Fetching mini_scheduler 0.11.0
2019-11-26 15:26:10,636: DEBUG - Installing mini_scheduler 0.11.0
2019-11-26 15:26:10,636: DEBUG - Fetching mini_sql 0.2.2
2019-11-26 15:26:10,636: DEBUG - Installing mini_sql 0.2.2
2019-11-26 15:26:10,636: DEBUG - Fetching mini_suffix 0.3.0
2019-11-26 15:26:10,837: DEBUG - Installing mini_suffix 0.3.0
2019-11-26 15:26:10,837: DEBUG - Fetching mocha 1.8.0
2019-11-26 15:26:10,837: DEBUG - Installing mocha 1.8.0
2019-11-26 15:26:10,937: DEBUG - Fetching mock_redis 0.19.0
2019-11-26 15:26:10,937: DEBUG - Installing mock_redis 0.19.0
2019-11-26 15:26:11,037: DEBUG - Fetching moneta 1.1.1
2019-11-26 15:26:11,038: DEBUG - Installing moneta 1.1.1
2019-11-26 15:26:11,238: DEBUG - Fetching multi_json 1.13.1
2019-11-26 15:26:11,238: DEBUG - Installing multi_json 1.13.1
2019-11-26 15:26:11,238: DEBUG - Fetching multi_xml 0.6.0
2019-11-26 15:26:11,238: DEBUG - Installing multi_xml 0.6.0
2019-11-26 15:26:11,238: DEBUG - Fetching mustache 1.1.0
2019-11-26 15:26:11,339: DEBUG - Installing mustache 1.1.0
2019-11-26 15:26:11,339: DEBUG - Fetching nokogumbo 2.0.1
2019-11-26 15:26:11,339: DEBUG - Installing nokogumbo 2.0.1 with native extensions
2019-11-26 15:26:22,955: DEBUG - Fetching oauth 0.5.4
2019-11-26 15:26:23,056: DEBUG - Installing oauth 0.5.4
2019-11-26 15:26:23,056: DEBUG - Fetching oauth2 1.4.1
2019-11-26 15:26:23,056: DEBUG - Installing oauth2 1.4.1
2019-11-26 15:26:23,056: DEBUG - Fetching oj 3.7.12
2019-11-26 15:26:23,156: DEBUG - Installing oj 3.7.12 with native extensions
2019-11-26 15:26:32,276: DEBUG - Fetching omniauth 1.9.0
2019-11-26 15:26:32,276: DEBUG - Installing omniauth 1.9.0
2019-11-26 15:26:32,276: DEBUG - Fetching omniauth-oauth2 1.6.0
2019-11-26 15:26:32,276: DEBUG - Installing omniauth-oauth2 1.6.0
2019-11-26 15:26:32,276: DEBUG - Fetching omniauth-facebook 5.0.0
2019-11-26 15:26:32,376: DEBUG - Installing omniauth-facebook 5.0.0
2019-11-26 15:26:32,377: DEBUG - Fetching omniauth-github 1.3.0
2019-11-26 15:26:32,377: DEBUG - Installing omniauth-github 1.3.0
2019-11-26 15:26:32,377: DEBUG - Fetching omniauth-google-oauth2 0.7.0
2019-11-26 15:26:32,477: DEBUG - Installing omniauth-google-oauth2 0.7.0
2019-11-26 15:26:32,477: DEBUG - Fetching omniauth-instagram 1.3.0
2019-11-26 15:26:32,477: DEBUG - Installing omniauth-instagram 1.3.0
2019-11-26 15:26:32,477: DEBUG - Fetching omniauth-oauth 1.1.0
2019-11-26 15:26:32,477: DEBUG - Installing omniauth-oauth 1.1.0
2019-11-26 15:26:32,578: DEBUG - Fetching ruby-openid 2.7.0
2019-11-26 15:26:32,578: DEBUG - Installing ruby-openid 2.7.0
2019-11-26 15:26:32,678: DEBUG - Fetching rack-openid 1.3.1
2019-11-26 15:26:32,678: DEBUG - Installing rack-openid 1.3.1
2019-11-26 15:26:32,678: DEBUG - Fetching omniauth-openid 1.0.1
2019-11-26 15:26:32,778: DEBUG - Installing omniauth-openid 1.0.1
2019-11-26 15:26:32,779: DEBUG - Fetching omniauth-twitter 1.4.0
2019-11-26 15:26:32,779: DEBUG - Installing omniauth-twitter 1.4.0
2019-11-26 15:26:32,779: DEBUG - Fetching sanitize 5.0.0
2019-11-26 15:26:32,779: DEBUG - Installing sanitize 5.0.0
2019-11-26 15:26:32,879: DEBUG - Fetching onebox 1.8.92
2019-11-26 15:26:32,879: DEBUG - Installing onebox 1.8.92
2019-11-26 15:26:32,879: DEBUG - Fetching openid-redis-store 0.0.2
2019-11-26 15:26:32,980: DEBUG - Installing openid-redis-store 0.0.2
2019-11-26 15:26:32,980: DEBUG - Fetching optimist 3.0.0
2019-11-26 15:26:32,980: DEBUG - Installing optimist 3.0.0
2019-11-26 15:26:32,980: DEBUG - Fetching parallel 1.17.0
2019-11-26 15:26:32,980: DEBUG - Installing parallel 1.17.0
2019-11-26 15:26:33,080: DEBUG - Fetching parallel_tests 2.28.0
2019-11-26 15:26:33,080: DEBUG - Installing parallel_tests 2.28.0
2019-11-26 15:26:33,081: DEBUG - Fetching parser 2.6.3.0
2019-11-26 15:26:33,181: DEBUG - Installing parser 2.6.3.0
2019-11-26 15:26:33,281: DEBUG - Fetching pg 1.1.4
2019-11-26 15:26:33,281: DEBUG - Installing pg 1.1.4 with native extensions
2019-11-26 15:26:38,989: DEBUG - Fetching pry 0.12.2
2019-11-26 15:26:38,990: DEBUG - Installing pry 0.12.2
2019-11-26 15:26:39,090: DEBUG - Fetching pry-nav 0.3.0
2019-11-26 15:26:39,090: DEBUG - Installing pry-nav 0.3.0
2019-11-26 15:26:39,090: DEBUG - Fetching pry-rails 0.3.9
2019-11-26 15:26:39,190: DEBUG - Installing pry-rails 0.3.9
2019-11-26 15:26:39,190: DEBUG - Fetching puma 3.12.1
2019-11-26 15:26:39,191: DEBUG - Installing puma 3.12.1 with native extensions
2019-11-26 15:26:40,392: DEBUG - Fetching r2 0.2.7
2019-11-26 15:26:40,392: DEBUG - Installing r2 0.2.7
2019-11-26 15:26:40,393: DEBUG - Fetching rack-mini-profiler 1.1.0
2019-11-26 15:26:40,493: DEBUG - Installing rack-mini-profiler 1.1.0
2019-11-26 15:26:40,493: DEBUG - Fetching rails_multisite 2.0.7
2019-11-26 15:26:40,493: DEBUG - Installing rails_multisite 2.0.7
2019-11-26 15:26:40,493: DEBUG - Fetching rainbow 3.0.0
2019-11-26 15:26:40,493: DEBUG - Installing rainbow 3.0.0
2019-11-26 15:26:40,593: DEBUG - Fetching raindrops 0.19.0
2019-11-26 15:26:40,594: DEBUG - Installing raindrops 0.19.0 with native extensions
2019-11-26 15:26:46,402: DEBUG - Fetching rbtrace 0.4.11
2019-11-26 15:26:46,402: DEBUG - Installing rbtrace 0.4.11 with native extensions
2019-11-26 15:26:50,810: DEBUG - Fetching rchardet 1.8.0
2019-11-26 15:26:50,910: DEBUG - Installing rchardet 1.8.0
2019-11-26 15:26:50,910: DEBUG - Fetching redis-namespace 1.6.0
2019-11-26 15:26:50,910: DEBUG - Installing redis-namespace 1.6.0
2019-11-26 15:26:50,910: DEBUG - Fetching rinku 2.0.6
2019-11-26 15:26:51,011: DEBUG - Installing rinku 2.0.6 with native extensions
2019-11-26 15:26:51,512: DEBUG - Fetching rotp 3.3.1
2019-11-26 15:26:51,612: DEBUG - Installing rotp 3.3.1
2019-11-26 15:26:51,612: DEBUG - Fetching rqrcode 0.10.1
2019-11-26 15:26:51,612: DEBUG - Installing rqrcode 0.10.1
2019-11-26 15:26:51,612: DEBUG - Fetching rspec-support 3.8.0
2019-11-26 15:26:51,612: DEBUG - Installing rspec-support 3.8.0
2019-11-26 15:26:51,713: DEBUG - Fetching rspec-core 3.8.0
2019-11-26 15:26:51,713: DEBUG - Installing rspec-core 3.8.0
2019-11-26 15:26:51,813: DEBUG - Fetching rspec-expectations 3.8.3
2019-11-26 15:26:51,813: DEBUG - Installing rspec-expectations 3.8.3
2019-11-26 15:26:51,813: DEBUG - Fetching rspec-mocks 3.8.0
2019-11-26 15:26:51,813: DEBUG - Installing rspec-mocks 3.8.0
2019-11-26 15:26:51,914: DEBUG - Fetching rspec 3.8.0
2019-11-26 15:26:51,914: DEBUG - Installing rspec 3.8.0
2019-11-26 15:26:51,914: DEBUG - Fetching rspec-html-matchers 0.9.1
2019-11-26 15:26:51,914: DEBUG - Installing rspec-html-matchers 0.9.1
2019-11-26 15:26:51,914: DEBUG - Fetching rspec-rails 3.8.2
2019-11-26 15:26:52,014: DEBUG - Installing rspec-rails 3.8.2
2019-11-26 15:26:52,014: DEBUG - Fetching rtlit 0.0.5
2019-11-26 15:26:52,014: DEBUG - Installing rtlit 0.0.5
2019-11-26 15:26:52,015: DEBUG - Fetching ruby-progressbar 1.10.0
2019-11-26 15:26:52,115: DEBUG - Installing ruby-progressbar 1.10.0
2019-11-26 15:26:52,115: DEBUG - Fetching unicode-display_width 1.6.0
2019-11-26 15:26:52,115: DEBUG - Installing unicode-display_width 1.6.0
2019-11-26 15:26:52,115: DEBUG - Fetching rubocop 0.69.0
2019-11-26 15:26:52,215: DEBUG - Installing rubocop 0.69.0
2019-11-26 15:26:52,416: DEBUG - Fetching ruby-prof 0.17.0
2019-11-26 15:26:52,516: DEBUG - Installing ruby-prof 0.17.0 with native extensions
2019-11-26 15:26:56,322: DEBUG - Fetching ruby-readability 0.7.0
2019-11-26 15:26:56,322: DEBUG - Installing ruby-readability 0.7.0
2019-11-26 15:26:56,322: DEBUG - Fetching sassc 2.0.1
2019-11-26 15:26:56,422: DEBUG - Installing sassc 2.0.1 with native extensions
2019-11-26 15:27:42,724: DEBUG - Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
2019-11-26 15:27:42,732: DEBUG - 
2019-11-26 15:27:42,733: DEBUG -     current directory: /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/ext
2019-11-26 15:27:42,734: DEBUG - /opt/rbenv/versions/2.6.0/bin/ruby -rrubygems /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake
2019-11-26 15:27:42,734: DEBUG - RUBYARCHDIR\=/var/www/discourse/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/sassc-2.0.1
2019-11-26 15:27:42,734: DEBUG - RUBYLIBDIR\=/var/www/discourse/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/sassc-2.0.1
2019-11-26 15:27:42,735: DEBUG - cd libsass
2019-11-26 15:27:42,735: DEBUG - make lib/libsass.so
2019-11-26 15:27:42,735: DEBUG - mkdir lib
2019-11-26 15:27:42,735: DEBUG - cc -Wall -O2 -I /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/include -fPIC -fPIC -c -o src/cencode.o src/cencode.c
2019-11-26 15:27:42,735: DEBUG - g++ -Wall -O2 -std=c++0x -I /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/include -fPIC -fPIC -c -o src/ast.o src/ast.cpp
2019-11-26 15:27:42,735: DEBUG - src/cencode.c: In function ‘base64_encode_block’:
2019-11-26 15:27:42,735: DEBUG - src/cencode.c:50:5: warning: empty declaration
2019-11-26 15:27:42,735: DEBUG -      __attribute__ ((fallthrough));
2019-11-26 15:27:42,736: DEBUG -      ^~~~~~~~~~~~~
2019-11-26 15:27:42,736: DEBUG - src/cencode.c:64:5: warning: empty declaration
2019-11-26 15:27:42,736: DEBUG -      __attribute__ ((fallthrough));
2019-11-26 15:27:42,736: DEBUG -      ^~~~~~~~~~~~~
2019-11-26 15:27:42,736: DEBUG - g++ -Wall -O2 -std=c++0x -I /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/include -fPIC -fPIC -c -o src/node.o src/node.cpp
2019-11-26 15:27:42,736: DEBUG - g++ -Wall -O2 -std=c++0x -I /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/include -fPIC -fPIC -c -o src/context.o src/context.cpp
2019-11-26 15:27:42,737: DEBUG - g++: internal compiler error: Killed (program cc1plus)
2019-11-26 15:27:42,737: DEBUG - Please submit a full bug report,
2019-11-26 15:27:42,737: DEBUG - with preprocessed source if appropriate.
2019-11-26 15:27:42,737: DEBUG - See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
2019-11-26 15:27:42,737: DEBUG - Makefile:249: recipe for target 'src/ast.o' failed
2019-11-26 15:27:42,737: DEBUG - make: *** [src/ast.o] Error 4
2019-11-26 15:27:42,737: DEBUG - make: *** Waiting for unfinished jobs....
2019-11-26 15:27:42,737: DEBUG - rake aborted!
2019-11-26 15:27:42,737: DEBUG - Command failed with status (2): [make lib/libsass.so...]
2019-11-26 15:27:42,737: DEBUG - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/tasks/libsass.rb:31:in `block (2 levels) in <top (required)>'
2019-11-26 15:27:42,738: DEBUG - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/tasks/libsass.rb:13:in `block (3 levels) in <top (required)>'
2019-11-26 15:27:42,738: DEBUG - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/tasks/libsass.rb:12:in `block (2 levels) in <top (required)>'
2019-11-26 15:27:42,738: DEBUG - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<main>'
2019-11-26 15:27:42,738: DEBUG - Tasks: TOP => lib/libsass.so
2019-11-26 15:27:42,738: DEBUG - (See full trace by running task with --trace)
2019-11-26 15:27:42,738: DEBUG - 
2019-11-26 15:27:42,738: DEBUG - rake failed, exit code 1
2019-11-26 15:27:42,738: DEBUG - 
2019-11-26 15:27:42,738: DEBUG - Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1 for inspection.
2019-11-26 15:27:42,738: DEBUG - Results logged to /var/www/discourse/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/sassc-2.0.1/gem_make.out
2019-11-26 15:27:42,738: DEBUG - 
2019-11-26 15:27:42,738: DEBUG - An error occurred while installing sassc (2.0.1), and Bundler cannot continue.
2019-11-26 15:27:42,738: DEBUG - Make sure that `gem install sassc -v '2.0.1' --source 'https://rubygems.org/'` succeeds before bundling.
2019-11-26 15:27:42,739: DEBUG - 
2019-11-26 15:27:42,739: DEBUG - In Gemfile:
2019-11-26 15:27:42,739: DEBUG -   sassc-rails was resolved to 2.1.1, which depends on
2019-11-26 15:27:42,739: DEBUG -     sassc
2019-11-26 15:27:43,139: DEBUG - + ynh_exit_properly
2019-11-26 15:27:43,140: DEBUG - + local exit_code=5
2019-11-26 15:27:43,140: DEBUG - + '[' 5 -eq 0 ']'
2019-11-26 15:27:43,140: DEBUG - + trap '' EXIT
2019-11-26 15:27:43,140: DEBUG - + set +eu
2019-11-26 15:27:43,140: DEBUG - + sleep 0.5
2019-11-26 15:27:43,641: DEBUG - + ynh_print_err '--message=!!\n  discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-26 15:27:43,641: WARNING - [ERR] !!
2019-11-26 15:27:43,644: DEBUG - + local legacy_args=m
2019-11-26 15:27:43,644: WARNING -  discourse's script has encountered an error. Its execution was cancelled.
2019-11-26 15:27:43,644: DEBUG - + args_array=([m]=message=)
2019-11-26 15:27:43,644: WARNING - !!
2019-11-26 15:27:43,644: DEBUG - + declare -Ar args_array
2019-11-26 15:27:43,644: WARNING - Please find here an extract of the log before the crash:
2019-11-26 15:27:43,644: DEBUG - + local message
2019-11-26 15:27:43,644: WARNING - [DEBUG]: DEBUG   - See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
2019-11-26 15:27:43,645: DEBUG - + ynh_handle_getopts_args '--message=!!\n  discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-26 15:27:43,645: WARNING - [DEBUG]: DEBUG   - Makefile:249: recipe for target 'src/ast.o' failed
2019-11-26 15:27:43,645: DEBUG - + set +x
2019-11-26 15:27:43,645: WARNING - [DEBUG]: DEBUG   - Error 4
2019-11-26 15:27:43,645: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-26 15:27:43,645: WARNING - [DEBUG]: DEBUG   - make: *** Waiting for unfinished jobs....
2019-11-26 15:27:43,645: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n discourse'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-11-26 15:27:43,645: WARNING - [DEBUG]: DEBUG   - rake aborted!
2019-11-26 15:27:43,645: DEBUG - + '[' cli == cli ']'
2019-11-26 15:27:43,645: WARNING - [DEBUG]: DEBUG   -
2019-11-26 15:27:43,645: DEBUG - + set +x
2019-11-26 15:27:43,646: WARNING - [DEBUG]: DEBUG   - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/tasks/libsass.rb:31:in `block (2 levels) in <top (required)>'
2019-11-26 15:27:43,646: DEBUG - + type -t ynh_clean_setup
2019-11-26 15:27:43,646: WARNING - [DEBUG]: DEBUG   - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/tasks/libsass.rb:13:in `block (3 levels) in <top (required)>'
2019-11-26 15:27:43,646: DEBUG - + ynh_clean_setup
2019-11-26 15:27:43,646: WARNING - [DEBUG]: DEBUG   - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/lib/tasks/libsass.rb:12:in `block (2 levels) in <top (required)>'
2019-11-26 15:27:43,646: DEBUG - + ynh_clean_check_starting
2019-11-26 15:27:43,646: WARNING - [DEBUG]: DEBUG   - /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/rake-12.3.2/exe/rake:27:in `<main>'
2019-11-26 15:27:43,646: DEBUG - + kill -s 15
2019-11-26 15:27:43,646: WARNING - [DEBUG]: DEBUG   - Tasks: TOP => lib/libsass.so
2019-11-26 15:27:43,647: DEBUG - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
2019-11-26 15:27:43,647: WARNING - [DEBUG]: DEBUG   - (See full trace by running task with --trace)
2019-11-26 15:27:43,647: DEBUG - + ynh_secure_remove ''
2019-11-26 15:27:43,647: WARNING - [DEBUG]: DEBUG   -
2019-11-26 15:27:43,647: DEBUG - + local legacy_args=f
2019-11-26 15:27:43,647: WARNING - [DEBUG]: DEBUG   - rake failed, exit code 1
2019-11-26 15:27:43,647: DEBUG - + args_array=([f]=file=)
2019-11-26 15:27:43,647: WARNING - [DEBUG]: DEBUG   -
2019-11-26 15:27:43,647: DEBUG - + declare -Ar args_array
2019-11-26 15:27:43,647: WARNING - [DEBUG]: DEBUG   - Gem files will remain installed in /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1 for inspection.
2019-11-26 15:27:43,647: DEBUG - + local file
2019-11-26 15:27:43,647: WARNING - [DEBUG]: DEBUG   - Results logged to /var/www/discourse/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/sassc-2.0.1/gem_make.out
2019-11-26 15:27:43,648: DEBUG - + ynh_handle_getopts_args ''
2019-11-26 15:27:43,648: WARNING - [DEBUG]: DEBUG   -
2019-11-26 15:27:43,648: DEBUG - + set +x
2019-11-26 15:27:43,648: WARNING - [DEBUG]: DEBUG   - An error occurred while installing sassc (2.0.1), and Bundler cannot continue.
2019-11-26 15:27:43,648: DEBUG - + echo '! Helper used in legacy mode !'
2019-11-26 15:27:43,648: WARNING - [DEBUG]: DEBUG   - Make sure that `gem install sassc -v '2.0.1' --source 'https://rubygems.org/'` succeeds before bundling.
2019-11-26 15:27:43,648: DEBUG - + set +x
2019-11-26 15:27:43,648: WARNING - [DEBUG]: DEBUG   -
2019-11-26 15:27:43,648: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2019-11-26 15:27:43,648: WARNING - [DEBUG]: DEBUG   - In Gemfile:
2019-11-26 15:27:43,649: DEBUG - + '[' 1 -ge 2 ']'
2019-11-26 15:27:43,649: WARNING - [DEBUG]: DEBUG   -   sassc-rails was resolved to 2.1.1, which depends on
2019-11-26 15:27:43,649: DEBUG - + [[      /var/www     /home/yunohost.app =~ '' ]]
2019-11-26 15:27:43,649: WARNING - [DEBUG]: DEBUG   -     sassc
2019-11-26 15:27:43,649: DEBUG - + ynh_print_warn '--message=Avoid deleting .'
2019-11-26 15:27:43,649: WARNING - [DEBUG]: DEBUG   - + ynh_exit_properly
2019-11-26 15:27:43,649: DEBUG - + local legacy_args=m
2019-11-26 15:27:43,649: WARNING - 
2019-11-26 15:27:43,649: DEBUG - + args_array=([m]=message=)
2019-11-26 15:27:43,649: DEBUG - + declare -Ar args_array
2019-11-26 15:27:43,649: DEBUG - + local message
2019-11-26 15:27:43,649: DEBUG - + ynh_handle_getopts_args '--message=Avoid deleting .'
2019-11-26 15:27:43,650: DEBUG - + set +x
2019-11-26 15:27:43,650: DEBUG - + ynh_print_log '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2019-11-26 15:27:43,650: DEBUG - + echo -e '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2019-11-26 15:27:43,650: DEBUG - [WARN] Avoid deleting .
2019-11-26 15:27:43,650: DEBUG - + ynh_die
2019-11-26 15:27:43,650: DEBUG - + local legacy_args=mc
2019-11-26 15:27:43,650: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-11-26 15:27:43,650: DEBUG - + declare -Ar args_array
2019-11-26 15:27:43,650: DEBUG - + local message
2019-11-26 15:27:43,650: DEBUG - + local ret_code
2019-11-26 15:27:43,650: DEBUG - + ynh_handle_getopts_args
2019-11-26 15:27:43,650: DEBUG - + set +x
2019-11-26 15:27:43,650: DEBUG - + echo ''
2019-11-26 15:27:43,650: DEBUG - + exit 1
JimboJoe commented 4 years ago

Looks like the compiler got killed:

2019-11-26 15:27:42,736: DEBUG - g++ -Wall -O2 -std=c++0x -I /var/www/discourse/vendor/bundle/ruby/2.6.0/gems/sassc-2.0.1/ext/libsass/include -fPIC -fPIC -c -o src/context.o src/context.cpp
2019-11-26 15:27:42,737: DEBUG - g++: internal compiler error: Killed (program cc1plus)

Maybe it got killed by the kernel because of a lack of memory...? Moreover I never tried in your precise setup...

petitminion commented 4 years ago

thx a lot, I add some memory and space and it worked perfectly ! :)

JimboJoe commented 4 years ago

Glad it helped!