There is the log below.
args:
app: roundcube
args: domain=myapp.example.com&path=%2Fwebmail&with_carddav=1&with_enigma=1
force: false
label: Roundcube
no_remove_on_failure: false
ended_at: 2019-12-30 18:57:53.790938
env:
YNH_APP_ARG_DOMAIN: myapp.example.com
YNH_APP_ARG_PATH: /webmail
YNH_APP_ARG_WITH_CARDDAV: 1
YNH_APP_ARG_WITH_ENIGMA: 1
YNH_APP_ID: roundcube
YNH_APP_INSTANCE_NAME: roundcube
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_CWD: /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmph_tsxz/stdinfo
YNH_STDRETURN: /tmp/tmpZ9fiKS/stdreturn
error: ‘An unexpected error occured: shell command return code: 1’
operation: app_install
related_to:
-
- app
- roundcube
started_at: 2019-12-30 18:56:00.397266
success: false
============
2019-12-30 18:56:00,399: INFO - Installing application roundcube…
2019-12-30 18:56:00,454: DEBUG - Executing command ‘sh -c YNH_APP_ARG_WITH_ENIGMA=1 YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts YNH_STDINFO=/tmp/tmph_tsxz/stdinfo YNH_APP_INSTANCE_NAME=roundcube YNH_APP_ARG_WITH_CARDDAV=1 YNH_INTERFACE=api YNH_APP_ID=roundcube YNH_APP_ARG_PATH=/webmail YNH_STDRETURN=/tmp/tmpZ9fiKS/stdreturn YNH_APP_ARG_DOMAIN=myapp.example.com BASH_XTRACEFD=7 /bin/bash -x “./install” myapp.example.com /webmail 1 1 roundcube 7>&1’…
2019-12-30 18:56:00,455: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_APP_ARG_WITH_ENIGMA=1 YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts YNH_STDINFO=/tmp/tmph_tsxz/stdinfo YNH_APP_INSTANCE_NAME=roundcube YNH_APP_ARG_WITH_CARDDAV=1 YNH_INTERFACE=api YNH_APP_ID=roundcube YNH_APP_ARG_PATH=/webmail YNH_STDRETURN=/tmp/tmpZ9fiKS/stdreturn YNH_APP_ARG_DOMAIN=myapp.example.com BASH_XTRACEFD=7 /bin/bash -x “./install” myapp.example.com /webmail 1 1 roundcube 7>&1’]’
2019-12-30 18:56:00,495: DEBUG - + source _common.sh
2019-12-30 18:56:00,496: DEBUG - ++ pkg_dependencies=‘php-cli php-common php-intl php-json php-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3 php-zip php-gd php-mbstring php-curl’
2019-12-30 18:56:00,503: DEBUG - ++ contextmenu_version=2.3
2019-12-30 18:56:00,503: DEBUG - ++ automatic_addressbook_version=v0.4.3
2019-12-30 18:56:00,504: DEBUG - ++ carddav_version=3.0.3
2019-12-30 18:56:00,504: DEBUG - + source /usr/share/yunohost/helpers
2019-12-30 18:56:00,504: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-12-30 18:56:00,505: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,505: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/apt ‘]’
2019-12-30 18:56:00,505: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-12-30 18:56:00,505: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,506: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/backup ‘]’
2019-12-30 18:56:00,506: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-12-30 18:56:00,506: DEBUG - +++ CAN_BIND=1
2019-12-30 18:56:00,506: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,506: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/fail2ban ‘]’
2019-12-30 18:56:00,506: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-12-30 18:56:00,506: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,507: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/getopts ‘]’
2019-12-30 18:56:00,507: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-12-30 18:56:00,507: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,607: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logging ‘]’
2019-12-30 18:56:00,608: INFO - […] > Validating installation parameters…
2019-12-30 18:56:00,609: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-12-30 18:56:00,609: DEBUG - +++ increment_progression=0
2019-12-30 18:56:00,609: DEBUG - +++ previous_weight=0
2019-12-30 18:56:00,609: DEBUG - +++ max_progression=-1
2019-12-30 18:56:00,609: DEBUG - +++ progress_scale=20
2019-12-30 18:56:00,609: DEBUG - +++ progress_string2=’####################’
2019-12-30 18:56:00,609: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-12-30 18:56:00,610: DEBUG - +++ progress_string0=…
2019-12-30 18:56:00,610: DEBUG - ++++ date +%s
2019-12-30 18:56:00,610: DEBUG - +++ base_time=1577732160
2019-12-30 18:56:00,610: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,610: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/logrotate ‘]’
2019-12-30 18:56:00,610: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-12-30 18:56:00,610: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,610: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
2019-12-30 18:56:00,611: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-12-30 18:56:00,611: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-12-30 18:56:00,611: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,611: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
2019-12-30 18:56:00,611: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-12-30 18:56:00,611: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,611: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nginx ‘]’
2019-12-30 18:56:00,611: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-12-30 18:56:00,612: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,612: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/nodejs ‘]’
2019-12-30 18:56:00,612: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-12-30 18:56:00,612: DEBUG - +++ n_install_dir=/opt/node_n
2019-12-30 18:56:00,612: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-12-30 18:56:00,612: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-12-30 18:56:00,612: DEBUG - +++ N_PREFIX=/opt/node_n
2019-12-30 18:56:00,612: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,613: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/php ‘]’
2019-12-30 18:56:00,613: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-12-30 18:56:00,613: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,613: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/postgresql ‘]’
2019-12-30 18:56:00,613: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-12-30 18:56:00,613: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-12-30 18:56:00,613: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,613: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
2019-12-30 18:56:00,614: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-12-30 18:56:00,614: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,614: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
2019-12-30 18:56:00,614: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-12-30 18:56:00,614: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,614: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/systemd ‘]’
2019-12-30 18:56:00,614: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-12-30 18:56:00,614: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,615: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
2019-12-30 18:56:00,615: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-12-30 18:56:00,615: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-12-30 18:56:00,615: DEBUG - ++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
2019-12-30 18:56:00,615: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-12-30 18:56:00,615: DEBUG - + ynh_abort_if_errors
2019-12-30 18:56:00,615: DEBUG - + set -eu
2019-12-30 18:56:00,615: DEBUG - + trap ynh_exit_properly EXIT
2019-12-30 18:56:00,615: DEBUG - + domain=myapp.example.com
2019-12-30 18:56:00,616: DEBUG - + path_url=/webmail
2019-12-30 18:56:00,616: DEBUG - + with_carddav=1
2019-12-30 18:56:00,616: DEBUG - + with_enigma=1
2019-12-30 18:56:00,616: DEBUG - + app=roundcube
2019-12-30 18:56:00,616: DEBUG - + ynh_script_progression ‘–message=Validating installation parameters…’
2019-12-30 18:56:00,616: DEBUG - + set +x
2019-12-30 18:56:00,616: DEBUG - + set +x
2019-12-30 18:56:00,616: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:00,616: DEBUG - + set +x
2019-12-30 18:56:00,617: DEBUG - + echo ‘[…] > Validating installation parameters…’
2019-12-30 18:56:00,617: DEBUG - + set -x
2019-12-30 18:56:00,617: DEBUG - + final_path=/var/www/roundcube
2019-12-30 18:56:00,617: DEBUG - + test ‘!’ -e /var/www/roundcube
2019-12-30 18:56:00,617: DEBUG - + ynh_webpath_register --app=roundcube --domain=myapp.example.com --path_url=/webmail
2019-12-30 18:56:00,617: DEBUG - + local legacy_args=adp
2019-12-30 18:56:00,617: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-12-30 18:56:00,617: DEBUG - + declare -Ar args_array
2019-12-30 18:56:00,618: DEBUG - + local app
2019-12-30 18:56:00,618: DEBUG - + local domain
2019-12-30 18:56:00,618: DEBUG - + local path_url
2019-12-30 18:56:00,618: DEBUG - + ynh_handle_getopts_args --app=roundcube --domain=myapp.example.com --path_url=/webmail
2019-12-30 18:56:00,618: DEBUG - + set +x
2019-12-30 18:56:00,618: DEBUG - + sudo yunohost app register-url roundcube myapp.example.com /webmail
2019-12-30 18:56:02,725: DEBUG - + ynh_script_progression ‘–message=Storing installation settings…’ --weight=2
2019-12-30 18:56:02,726: INFO - […] > Storing installation settings…
2019-12-30 18:56:02,726: DEBUG - + set +x
2019-12-30 18:56:02,726: DEBUG - + set +x
2019-12-30 18:56:02,726: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:02,726: DEBUG - + set +x
2019-12-30 18:56:02,727: DEBUG - + echo ‘[…] > Storing installation settings…’
2019-12-30 18:56:02,727: DEBUG - + set -x
2019-12-30 18:56:02,727: DEBUG - + ynh_app_setting_set --app=roundcube --key=domain --value=myapp.example.com
2019-12-30 18:56:02,727: DEBUG - + local legacy_args=akv
2019-12-30 18:56:02,727: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:02,727: DEBUG - + declare -Ar args_array
2019-12-30 18:56:02,727: DEBUG - + local app
2019-12-30 18:56:02,728: DEBUG - + local key
2019-12-30 18:56:02,728: DEBUG - + local value
2019-12-30 18:56:02,728: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=domain --value=myapp.example.com
2019-12-30 18:56:02,728: DEBUG - + set +x
2019-12-30 18:56:02,728: DEBUG - + ynh_app_setting set roundcube domain myapp.example.com
2019-12-30 18:56:02,728: DEBUG - + ACTION=set
2019-12-30 18:56:02,729: DEBUG - + APP=roundcube
2019-12-30 18:56:02,729: DEBUG - + KEY=domain
2019-12-30 18:56:02,729: DEBUG - + VALUE=myapp.example.com
2019-12-30 18:56:02,729: DEBUG - + python -
2019-12-30 18:56:02,829: DEBUG - + ynh_app_setting_set --app=roundcube --key=path --value=/webmail
2019-12-30 18:56:02,829: DEBUG - + local legacy_args=akv
2019-12-30 18:56:02,829: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:02,830: DEBUG - + declare -Ar args_array
2019-12-30 18:56:02,830: DEBUG - + local app
2019-12-30 18:56:02,830: DEBUG - + local key
2019-12-30 18:56:02,830: DEBUG - + local value
2019-12-30 18:56:02,830: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=path --value=/webmail
2019-12-30 18:56:02,830: DEBUG - + set +x
2019-12-30 18:56:02,830: DEBUG - + ynh_app_setting set roundcube path /webmail
2019-12-30 18:56:02,830: DEBUG - + ACTION=set
2019-12-30 18:56:02,831: DEBUG - + APP=roundcube
2019-12-30 18:56:02,831: DEBUG - + KEY=path
2019-12-30 18:56:02,831: DEBUG - + VALUE=/webmail
2019-12-30 18:56:02,831: DEBUG - + python -
2019-12-30 18:56:02,831: DEBUG - + ynh_app_setting_set --app=roundcube --key=with_carddav --value=1
2019-12-30 18:56:02,831: DEBUG - + local legacy_args=akv
2019-12-30 18:56:02,831: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:02,831: DEBUG - + declare -Ar args_array
2019-12-30 18:56:02,831: DEBUG - + local app
2019-12-30 18:56:02,831: DEBUG - + local key
2019-12-30 18:56:02,832: DEBUG - + local value
2019-12-30 18:56:02,832: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=with_carddav --value=1
2019-12-30 18:56:02,832: DEBUG - + set +x
2019-12-30 18:56:02,832: DEBUG - + ynh_app_setting set roundcube with_carddav 1
2019-12-30 18:56:02,832: DEBUG - + ACTION=set
2019-12-30 18:56:02,832: DEBUG - + APP=roundcube
2019-12-30 18:56:02,832: DEBUG - + KEY=with_carddav
2019-12-30 18:56:02,832: DEBUG - + VALUE=1
2019-12-30 18:56:02,832: DEBUG - + python -
2019-12-30 18:56:02,933: DEBUG - + ynh_app_setting_set --app=roundcube --key=with_enigma --value=1
2019-12-30 18:56:02,933: DEBUG - + local legacy_args=akv
2019-12-30 18:56:02,933: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:02,933: DEBUG - + declare -Ar args_array
2019-12-30 18:56:02,933: DEBUG - + local app
2019-12-30 18:56:02,934: DEBUG - + local key
2019-12-30 18:56:02,934: DEBUG - + local value
2019-12-30 18:56:02,934: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=with_enigma --value=1
2019-12-30 18:56:02,934: DEBUG - + set +x
2019-12-30 18:56:02,934: DEBUG - + ynh_app_setting set roundcube with_enigma 1
2019-12-30 18:56:02,934: DEBUG - + ACTION=set
2019-12-30 18:56:02,934: DEBUG - + APP=roundcube
2019-12-30 18:56:02,934: DEBUG - + KEY=with_enigma
2019-12-30 18:56:02,935: DEBUG - + VALUE=1
2019-12-30 18:56:02,935: DEBUG - + python -
2019-12-30 18:56:03,035: DEBUG - + ynh_script_progression ‘–message=Installing dependencies…5’
2019-12-30 18:56:03,035: DEBUG - + set +x
2019-12-30 18:56:03,035: DEBUG - + set +x
2019-12-30 18:56:03,036: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:03,036: DEBUG - + set +x
2019-12-30 18:56:03,036: DEBUG - + echo ‘[…] > Installing dependencies…5’
2019-12-30 18:56:03,036: DEBUG - + set -x
2019-12-30 18:56:03,036: DEBUG - + ynh_install_app_dependencies ‘php-cli php-common php-intl php-json php-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3 php-zip php-gd php-mbstring php-curl’
2019-12-30 18:56:03,036: DEBUG - + local ‘dependencies=php-cli php-common php-intl php-json php-mcrypt php-pear php-auth-sasl php-mail-mime php-patchwork-utf8 php-net-smtp php-net-socket php-net-ldap2 php-net-ldap3 php-zip php-gd php-mbstring php-curl’
2019-12-30 18:56:03,036: DEBUG - + local ‘dependencies=php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl’
2019-12-30 18:56:03,036: DEBUG - + local ‘dependencies=php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl’
2019-12-30 18:56:03,037: DEBUG - + local manifest_path=…/manifest.json
2019-12-30 18:56:03,037: DEBUG - + ‘[’ ‘!’ -e …/manifest.json ‘]’
2019-12-30 18:56:03,037: DEBUG - ++ cut -d ‘"’ -f 4
2019-12-30 18:56:03,037: DEBUG - ++ grep ‘"version": ’ …/manifest.json
2019-12-30 18:56:03,037: DEBUG - + local version=1.4.1~ynh1
2019-12-30 18:56:03,037: DEBUG - + ‘[’ 10 -eq 0 ‘]’
2019-12-30 18:56:03,037: DEBUG - + local dep_app=roundcube
2019-12-30 18:56:03,037: DEBUG - + grep -q php
2019-12-30 18:56:03,037: DEBUG - + echo php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl
2019-12-30 18:56:03,038: DEBUG - + grep -q -v 7.0.33-0+deb9
2019-12-30 18:56:03,038: DEBUG - + grep php7.0
2019-12-30 18:56:03,038: DEBUG - + dpkg --list
2019-12-30 18:56:03,138: DEBUG - + cat
2019-12-30 18:56:03,139: INFO - […] > Installing dependencies…5
2019-12-30 18:56:03,139: DEBUG - + ynh_package_install_from_equivs /tmp/roundcube-ynh-deps.control
2019-12-30 18:56:03,139: DEBUG - + local controlfile=/tmp/roundcube-ynh-deps.control
2019-12-30 18:56:03,139: DEBUG - ++ cut ‘-d ’ -f 2
2019-12-30 18:56:03,139: DEBUG - ++ grep ‘^Package: ’ /tmp/roundcube-ynh-deps.control
2019-12-30 18:56:03,140: DEBUG - + local pkgname=roundcube-ynh-deps
2019-12-30 18:56:03,140: DEBUG - ++ cut ‘-d ’ -f 2
2019-12-30 18:56:03,140: DEBUG - ++ grep ‘^Version: ’ /tmp/roundcube-ynh-deps.control
2019-12-30 18:56:03,140: DEBUG - + local pkgversion=1.4.1~ynh1
2019-12-30 18:56:03,140: DEBUG - + [[ -z roundcube-ynh-deps ]]
2019-12-30 18:56:03,140: DEBUG - + [[ -z 1.4.1~ynh1 ]]
2019-12-30 18:56:03,140: DEBUG - + ynh_package_update
2019-12-30 18:56:03,141: DEBUG - + ynh_apt update
2019-12-30 18:56:03,141: DEBUG - + ynh_wait_dpkg_free
2019-12-30 18:56:03,141: DEBUG - + local try
2019-12-30 18:56:03,141: DEBUG - ++ seq 1 17
2019-12-30 18:56:03,142: DEBUG - + for try in seq 1 17
2019-12-30 18:56:03,142: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-30 18:56:03,243: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-30 18:56:03,243: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-30 18:56:03,243: DEBUG - + read dpkg_file
2019-12-30 18:56:03,243: DEBUG - + grep -Pq ‘+$’
2019-12-30 18:56:03,243: DEBUG - + echo ‘’
2019-12-30 18:56:03,243: DEBUG - + read dpkg_file
2019-12-30 18:56:03,244: DEBUG - + return 0
2019-12-30 18:56:03,244: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-12-30 18:56:03,244: DEBUG - + apt-get -y update
2019-12-30 18:56:03,444: DEBUG - Hit:1 Index of /debian/ stretch InRelease
2019-12-30 18:56:03,445: DEBUG - Ign:2 Index of /debian/ stretch InRelease
2019-12-30 18:56:03,445: DEBUG - Hit:3 Index of /debian-security/ stretch/updates InRelease
2019-12-30 18:56:03,545: DEBUG - Hit:4 Index of /debian/ stretch-updates InRelease
2019-12-30 18:56:03,545: DEBUG - Hit:5 Index of /debian/ stretch-backports InRelease
2019-12-30 18:56:03,545: DEBUG - Hit:6 Index of /debian/ stretch Release
2019-12-30 18:56:07,655: DEBUG - Reading package lists…
2019-12-30 18:56:08,339: DEBUG - ++ mktemp -d
2019-12-30 18:56:08,640: DEBUG - + local TMPDIR=/tmp/tmp.3JMIBLOnrf
2019-12-30 18:56:08,641: DEBUG - + echo 10
2019-12-30 18:56:08,741: DEBUG - + ynh_wait_dpkg_free
2019-12-30 18:56:08,741: DEBUG - + local try
2019-12-30 18:56:08,741: DEBUG - ++ seq 1 17
2019-12-30 18:56:08,742: DEBUG - + for try in seq 1 17
2019-12-30 18:56:08,742: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-30 18:56:08,942: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-30 18:56:08,943: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-30 18:56:08,943: DEBUG - + read dpkg_file
2019-12-30 18:56:08,943: DEBUG - + grep -Pq ‘+$’
2019-12-30 18:56:08,943: DEBUG - + echo ‘’
2019-12-30 18:56:08,943: DEBUG - + read dpkg_file
2019-12-30 18:56:08,943: DEBUG - + return 0
2019-12-30 18:56:08,943: DEBUG - + cp /tmp/roundcube-ynh-deps.control /tmp/tmp.3JMIBLOnrf/control
2019-12-30 18:56:08,943: DEBUG - + cd /tmp/tmp.3JMIBLOnrf
2019-12-30 18:56:08,944: DEBUG - + equivs-build ./control
2019-12-30 18:56:11,849: DEBUG - + dpkg --force-depends -i ./roundcube-ynh-deps_1.4.1~ynh1_all.deb
2019-12-30 18:56:11,949: DEBUG - Selecting previously unselected package roundcube-ynh-deps.
2019-12-30 18:56:13,553: DEBUG - (Reading database … 53731 files and directories currently installed.)
2019-12-30 18:56:13,553: DEBUG - Preparing to unpack …/roundcube-ynh-deps_1.4.1~ynh1_all.deb …
2019-12-30 18:56:13,854: DEBUG - Unpacking roundcube-ynh-deps (1.4.1~ynh1) …
2019-12-30 18:56:14,054: DEBUG - dpkg: roundcube-ynh-deps: dependency problems, but configuring anyway as you requested:
2019-12-30 18:56:14,055: DEBUG - roundcube-ynh-deps depends on php-auth-sasl; however:
2019-12-30 18:56:14,055: DEBUG - Package php-auth-sasl is not installed.
2019-12-30 18:56:14,055: DEBUG - roundcube-ynh-deps depends on php-mail-mime; however:
2019-12-30 18:56:14,055: DEBUG - Package php-mail-mime is not installed.
2019-12-30 18:56:14,055: DEBUG - roundcube-ynh-deps depends on php-patchwork-utf8; however:
2019-12-30 18:56:14,055: DEBUG - Package php-patchwork-utf8 is not installed.
2019-12-30 18:56:14,055: DEBUG - roundcube-ynh-deps depends on php-net-smtp; however:
2019-12-30 18:56:14,055: DEBUG - Package php-net-smtp is not installed.
2019-12-30 18:56:14,056: DEBUG - roundcube-ynh-deps depends on php-net-socket; however:
2019-12-30 18:56:14,056: DEBUG - Package php-net-socket is not installed.
2019-12-30 18:56:14,056: DEBUG - roundcube-ynh-deps depends on php-net-ldap2; however:
2019-12-30 18:56:14,056: DEBUG - Package php-net-ldap2 is not installed.
2019-12-30 18:56:14,056: DEBUG - roundcube-ynh-deps depends on php-net-ldap3; however:
2019-12-30 18:56:14,056: DEBUG - Package php-net-ldap3 is not installed.
2019-12-30 18:56:14,056: DEBUG -
2019-12-30 18:56:14,056: DEBUG - Setting up roundcube-ynh-deps (1.4.1~ynh1) …
2019-12-30 18:56:14,257: DEBUG - + ynh_package_install -f
2019-12-30 18:56:14,257: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install -f
2019-12-30 18:56:14,257: DEBUG - + ynh_wait_dpkg_free
2019-12-30 18:56:14,257: DEBUG - + local try
2019-12-30 18:56:14,258: DEBUG - ++ seq 1 17
2019-12-30 18:56:14,258: DEBUG - + for try in seq 1 17
2019-12-30 18:56:14,258: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-30 18:56:14,358: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-30 18:56:14,359: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-30 18:56:14,359: DEBUG - + read dpkg_file
2019-12-30 18:56:14,359: DEBUG - + grep -Pq ‘+$’
2019-12-30 18:56:14,359: DEBUG - + echo ‘’
2019-12-30 18:56:14,359: DEBUG - + read dpkg_file
2019-12-30 18:56:14,359: DEBUG - + return 0
2019-12-30 18:56:14,359: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-12-30 18:56:14,360: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=–force-confdef -o Dpkg::Options::=–force-confold install -f
2019-12-30 18:56:15,462: DEBUG - Reading package lists…
2019-12-30 18:56:15,663: DEBUG - Building dependency tree…
2019-12-30 18:56:15,663: DEBUG - Reading state information…
2019-12-30 18:56:15,763: DEBUG - Correcting dependencies… Done
2019-12-30 18:56:15,764: DEBUG - The following additional packages will be installed:
2019-12-30 18:56:15,764: DEBUG - php-auth-sasl php-mail-mime php-net-ldap2 php-net-ldap3 php-net-smtp
2019-12-30 18:56:15,764: DEBUG - php-net-socket php-patchwork-utf8
2019-12-30 18:56:15,864: DEBUG - Suggested packages:
2019-12-30 18:56:15,865: DEBUG - php-wfio
2019-12-30 18:56:15,865: DEBUG - The following NEW packages will be installed:
2019-12-30 18:56:15,865: DEBUG - php-auth-sasl php-mail-mime php-net-ldap2 php-net-ldap3 php-net-smtp
2019-12-30 18:56:15,865: DEBUG - php-net-socket php-patchwork-utf8
2019-12-30 18:56:16,166: DEBUG - 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
2019-12-30 18:56:16,166: DEBUG - Need to get 479 kB of archives.
2019-12-30 18:56:16,166: DEBUG - After this operation, 4496 kB of additional disk space will be used.
2019-12-30 18:56:16,167: DEBUG - Get:1 Index of /debian/ stretch/main amd64 php-auth-sasl all 1.0.6-3 [13.4 kB]
2019-12-30 18:56:16,467: DEBUG - Get:2 Index of /debian/ stretch/main amd64 php-mail-mime all 1.10.0-2 [38.0 kB]
2019-12-30 18:56:16,868: DEBUG - Get:3 Index of /debian/ stretch/main amd64 php-net-ldap2 all 2.2.0-3 [82.6 kB]
2019-12-30 18:56:16,969: DEBUG - Get:4 Index of /debian/ stretch/main amd64 php-net-ldap3 all 1.0.4-1 [25.7 kB]
2019-12-30 18:56:16,969: DEBUG - Get:5 Index of /debian/ stretch/main amd64 php-net-socket all 1.0.14-2 [10.3 kB]
2019-12-30 18:56:16,969: DEBUG - Get:6 Index of /debian/ stretch/main amd64 php-net-smtp all 1.7.1-2 [20.1 kB]
2019-12-30 18:56:16,969: DEBUG - Get:7 Index of /debian/ stretch/main amd64 php-patchwork-utf8 all 1.3.1-1 [289 kB]
2019-12-30 18:56:20,977: DEBUG - Fetched 479 kB in 1s (412 kB/s)
2019-12-30 18:56:21,178: DEBUG - Selecting previously unselected package php-auth-sasl.
2019-12-30 18:56:22,889: 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 … 53735 files and directories currently installed.)
2019-12-30 18:56:22,889: DEBUG - Preparing to unpack …/0-php-auth-sasl_1.0.6-3_all.deb …
2019-12-30 18:56:22,889: DEBUG - Unpacking php-auth-sasl (1.0.6-3) …
2019-12-30 18:56:23,791: DEBUG - Selecting previously unselected package php-mail-mime.
2019-12-30 18:56:23,791: DEBUG - Preparing to unpack …/1-php-mail-mime_1.10.0-2_all.deb …
2019-12-30 18:56:23,792: DEBUG - Unpacking php-mail-mime (1.10.0-2) …
2019-12-30 18:56:23,992: DEBUG - Selecting previously unselected package php-net-ldap2.
2019-12-30 18:56:23,992: DEBUG - Preparing to unpack …/2-php-net-ldap2_2.2.0-3_all.deb …
2019-12-30 18:56:24,093: DEBUG - Unpacking php-net-ldap2 (2.2.0-3) …
2019-12-30 18:56:24,294: DEBUG - Selecting previously unselected package php-net-ldap3.
2019-12-30 18:56:24,294: DEBUG - Preparing to unpack …/3-php-net-ldap3_1.0.4-1_all.deb …
2019-12-30 18:56:24,394: DEBUG - Unpacking php-net-ldap3 (1.0.4-1) …
2019-12-30 18:56:24,595: DEBUG - Selecting previously unselected package php-net-socket.
2019-12-30 18:56:24,596: DEBUG - Preparing to unpack …/4-php-net-socket_1.0.14-2_all.deb …
2019-12-30 18:56:24,596: DEBUG - Unpacking php-net-socket (1.0.14-2) …
2019-12-30 18:56:24,898: DEBUG - Selecting previously unselected package php-net-smtp.
2019-12-30 18:56:24,898: DEBUG - Preparing to unpack …/5-php-net-smtp_1.7.1-2_all.deb …
2019-12-30 18:56:24,898: DEBUG - Unpacking php-net-smtp (1.7.1-2) …
2019-12-30 18:56:25,099: DEBUG - Selecting previously unselected package php-patchwork-utf8.
2019-12-30 18:56:25,099: DEBUG - Preparing to unpack …/6-php-patchwork-utf8_1.3.1-1_all.deb …
2019-12-30 18:56:25,200: DEBUG - Unpacking php-patchwork-utf8 (1.3.1-1) …
2019-12-30 18:56:25,901: DEBUG - Setting up php-auth-sasl (1.0.6-3) …
2019-12-30 18:56:26,002: DEBUG - Setting up php-mail-mime (1.10.0-2) …
2019-12-30 18:56:26,102: DEBUG - Setting up php-net-ldap2 (2.2.0-3) …
2019-12-30 18:56:26,202: DEBUG - Setting up php-net-socket (1.0.14-2) …
2019-12-30 18:56:26,303: DEBUG - Setting up php-patchwork-utf8 (1.3.1-1) …
2019-12-30 18:56:26,504: DEBUG - Setting up php-net-ldap3 (1.0.4-1) …
2019-12-30 18:56:26,604: DEBUG - Setting up php-net-smtp (1.7.1-2) …
2019-12-30 18:56:32,216: DEBUG - + [[ -n /tmp/tmp.3JMIBLOnrf ]]
2019-12-30 18:56:32,239: DEBUG - + rm -rf /tmp/tmp.3JMIBLOnrf
2019-12-30 18:56:32,339: DEBUG - + ynh_package_is_installed roundcube-ynh-deps
2019-12-30 18:56:32,339: DEBUG - + local legacy_args=p
2019-12-30 18:56:32,340: DEBUG - + args_array=([p]=package=)
2019-12-30 18:56:32,340: DEBUG - + declare -Ar args_array
2019-12-30 18:56:32,340: DEBUG - + local package
2019-12-30 18:56:32,340: DEBUG - + ynh_handle_getopts_args roundcube-ynh-deps
2019-12-30 18:56:32,340: DEBUG - + set +x
2019-12-30 18:56:32,340: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:32,341: DEBUG - + set +x
2019-12-30 18:56:32,341: DEBUG - + ynh_wait_dpkg_free
2019-12-30 18:56:32,341: DEBUG - + local try
2019-12-30 18:56:32,341: DEBUG - ++ seq 1 17
2019-12-30 18:56:32,341: DEBUG - + for try in seq 1 17
2019-12-30 18:56:32,341: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-12-30 18:56:32,844: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-12-30 18:56:32,844: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-12-30 18:56:32,844: DEBUG - + read dpkg_file
2019-12-30 18:56:32,845: DEBUG - + grep -Pq ‘+$’
2019-12-30 18:56:32,845: DEBUG - + echo ‘’
2019-12-30 18:56:32,845: DEBUG - + read dpkg_file
2019-12-30 18:56:32,845: DEBUG - + return 0
2019-12-30 18:56:32,845: DEBUG - + grep -c ‘ok installed’
2019-12-30 18:56:32,845: DEBUG - + dpkg-query -W -f ‘${Status}’ roundcube-ynh-deps
2019-12-30 18:56:32,845: DEBUG - + rm /tmp/roundcube-ynh-deps.control
2019-12-30 18:56:32,845: DEBUG - + ynh_app_setting_set --app=roundcube --key=apt_dependencies ‘–value=php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl’
2019-12-30 18:56:32,889: DEBUG - + local legacy_args=akv
2019-12-30 18:56:32,889: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:32,890: DEBUG - + declare -Ar args_array
2019-12-30 18:56:32,890: DEBUG - + local app
2019-12-30 18:56:32,890: DEBUG - + local key
2019-12-30 18:56:32,890: DEBUG - + local value
2019-12-30 18:56:32,890: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=apt_dependencies ‘–value=php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl’
2019-12-30 18:56:32,890: DEBUG - + set +x
2019-12-30 18:56:32,890: DEBUG - + ynh_app_setting set roundcube apt_dependencies ‘php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl’
2019-12-30 18:56:32,890: DEBUG - + ACTION=set
2019-12-30 18:56:32,891: DEBUG - + APP=roundcube
2019-12-30 18:56:32,891: DEBUG - + KEY=apt_dependencies
2019-12-30 18:56:32,891: DEBUG - + VALUE=‘php-cli, php-common, php-intl, php-json, php-mcrypt, php-pear, php-auth-sasl, php-mail-mime, php-patchwork-utf8, php-net-smtp, php-net-socket, php-net-ldap2, php-net-ldap3, php-zip, php-gd, php-mbstring, php-curl’
2019-12-30 18:56:32,891: DEBUG - + python -
2019-12-30 18:56:33,693: DEBUG - + ynh_script_progression ‘–message=Creating a MySQL database…’
2019-12-30 18:56:33,693: DEBUG - + set +x
2019-12-30 18:56:33,693: DEBUG - + set +x
2019-12-30 18:56:33,693: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:33,694: DEBUG - + set +x
2019-12-30 18:56:33,694: DEBUG - + echo ‘[…] > Creating a MySQL database…’
2019-12-30 18:56:33,694: DEBUG - + set -x
2019-12-30 18:56:33,694: DEBUG - ++ ynh_sanitize_dbid --db_name=roundcube
2019-12-30 18:56:33,694: DEBUG - ++ local legacy_args=n
2019-12-30 18:56:33,694: DEBUG - ++ args_array=([n]=db_name=)
2019-12-30 18:56:33,694: DEBUG - ++ declare -Ar args_array
2019-12-30 18:56:33,694: DEBUG - ++ local db_name
2019-12-30 18:56:33,695: DEBUG - ++ ynh_handle_getopts_args --db_name=roundcube
2019-12-30 18:56:33,695: DEBUG - ++ set +x
2019-12-30 18:56:33,695: DEBUG - ++ echo roundcube
2019-12-30 18:56:33,695: DEBUG - + db_name=roundcube
2019-12-30 18:56:33,695: DEBUG - + ynh_app_setting_set --app=roundcube --key=db_name --value=roundcube
2019-12-30 18:56:33,695: DEBUG - + local legacy_args=akv
2019-12-30 18:56:33,695: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:33,696: DEBUG - + declare -Ar args_array
2019-12-30 18:56:33,696: DEBUG - + local app
2019-12-30 18:56:33,696: DEBUG - + local key
2019-12-30 18:56:33,699: DEBUG - + local value
2019-12-30 18:56:33,699: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=db_name --value=roundcube
2019-12-30 18:56:33,699: DEBUG - + set +x
2019-12-30 18:56:33,699: DEBUG - + ynh_app_setting set roundcube db_name roundcube
2019-12-30 18:56:33,699: DEBUG - + ACTION=set
2019-12-30 18:56:33,699: DEBUG - + APP=roundcube
2019-12-30 18:56:33,699: DEBUG - + KEY=db_name
2019-12-30 18:56:33,700: DEBUG - + VALUE=roundcube
2019-12-30 18:56:33,700: DEBUG - + python -
2019-12-30 18:56:33,800: DEBUG - + ynh_mysql_setup_db --db_user=roundcube --db_name=roundcube
2019-12-30 18:56:33,800: INFO - […] > Creating a MySQL database…
2019-12-30 18:56:33,804: DEBUG - + local legacy_args=unp
2019-12-30 18:56:33,804: DEBUG - + args_array=([u]=db_user= [n]=db_name= [p]=db_pwd=)
2019-12-30 18:56:33,804: DEBUG - + declare -Ar args_array
2019-12-30 18:56:33,804: DEBUG - + local db_user
2019-12-30 18:56:33,804: DEBUG - + local db_name
2019-12-30 18:56:33,804: DEBUG - + db_pwd=
2019-12-30 18:56:33,804: DEBUG - + ynh_handle_getopts_args --db_user=roundcube --db_name=roundcube
2019-12-30 18:56:33,805: DEBUG - + set +x
2019-12-30 18:56:33,805: DEBUG - ++ ynh_string_random
2019-12-30 18:56:33,805: DEBUG - ++ local legacy_args=l
2019-12-30 18:56:33,805: DEBUG - ++ args_array=([l]=length=)
2019-12-30 18:56:33,805: DEBUG - ++ declare -Ar args_array
2019-12-30 18:56:33,805: DEBUG - ++ local length
2019-12-30 18:56:33,805: DEBUG - ++ ynh_handle_getopts_args
2019-12-30 18:56:33,805: DEBUG - ++ set +x
2019-12-30 18:56:33,805: DEBUG - ++ length=24
2019-12-30 18:56:33,806: DEBUG - ++ sed -n ‘s/(.{24})./\1/p’
2019-12-30 18:56:33,806: DEBUG - ++ tr -c -d A-Za-z0-9
2019-12-30 18:56:33,806: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2019-12-30 18:56:33,806: DEBUG - + local new_db_pwd=*********
2019-12-30 18:56:33,806: DEBUG - + db_pwd=**********
2019-12-30 18:56:33,806: DEBUG - + ynh_mysql_create_db roundcube roundcube **********
2019-12-30 18:56:33,806: DEBUG - + local db=roundcube
2019-12-30 18:56:33,806: DEBUG - + local ‘sql=CREATE DATABASE roundcube;’
2019-12-30 18:56:33,807: DEBUG - + [[ 3 -gt 1 ]]
2019-12-30 18:56:33,807: DEBUG - + sql+=’ GRANT ALL PRIVILEGES ON roundcube.* TO ‘'‘roundcube’'’@’'‘localhost’'’’
2019-12-30 18:56:33,807: DEBUG - + [[ -n ********** ]]
2019-12-30 18:56:33,807: DEBUG - + sql+=’ IDENTIFIED BY ‘'’‘'’’
2019-12-30 18:56:33,807: DEBUG - + sql+=’ WITH GRANT OPTION;’
2019-12-30 18:56:33,807: DEBUG - + ynh_mysql_execute_as_root '–sql=CREATE DATABASE roundcube; GRANT ALL PRIVILEGES ON roundcube. TO ‘'‘roundcube’'’@‘'‘localhost’'’ IDENTIFIED BY ‘'’‘'’ WITH GRANT OPTION;’
2019-12-30 18:56:33,807: DEBUG - + local legacy_args=sd
2019-12-30 18:56:33,807: DEBUG - + args_array=([s]=sql= [d]=database=)
2019-12-30 18:56:33,808: DEBUG - + declare -Ar args_array
2019-12-30 18:56:33,808: DEBUG - + local sql
2019-12-30 18:56:33,808: DEBUG - + local database
2019-12-30 18:56:33,816: DEBUG - + ynh_handle_getopts_args '–sql=CREATE DATABASE roundcube; GRANT ALL PRIVILEGES ON roundcube. TO ‘'‘roundcube’'’@’'‘localhost’'’ IDENTIFIED BY ‘'’‘'’ WITH GRANT OPTION;’
2019-12-30 18:56:33,816: DEBUG - + set +x
2019-12-30 18:56:33,816: DEBUG - + database=
2019-12-30 18:56:33,816: DEBUG - ++ sudo cat /etc/yunohost/mysql
2019-12-30 18:56:33,817: DEBUG - + ynh_mysql_connect_as --user=root --password= --database=
2019-12-30 18:56:33,817: DEBUG - + local legacy_args=upd
2019-12-30 18:56:33,817: DEBUG - + args_array=([u]=user= [p]=password= [d]=database=)
2019-12-30 18:56:33,817: DEBUG - + declare -Ar args_array
2019-12-30 18:56:33,817: DEBUG - + local user
2019-12-30 18:56:33,817: DEBUG - + local password
2019-12-30 18:56:33,817: DEBUG - + local database
2019-12-30 18:56:33,817: DEBUG - + ynh_handle_getopts_args --user=root --password=********** --database=
2019-12-30 18:56:33,818: DEBUG - + set +x
2019-12-30 18:56:33,918: DEBUG - + database=
2019-12-30 18:56:33,918: DEBUG - + mysql -u root --password=********** -B ‘’
2019-12-30 18:56:34,319: DEBUG - + ynh_app_setting_set --app=roundcube --key=mysqlpwd --value=**********
2019-12-30 18:56:34,319: DEBUG - + local legacy_args=akv
2019-12-30 18:56:34,320: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:34,320: DEBUG - + declare -Ar args_array
2019-12-30 18:56:34,320: DEBUG - + local app
2019-12-30 18:56:34,320: DEBUG - + local key
2019-12-30 18:56:34,320: DEBUG - + local value
2019-12-30 18:56:34,320: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=mysqlpwd --value=**********
2019-12-30 18:56:34,320: DEBUG - + set +x
2019-12-30 18:56:34,320: DEBUG - + ynh_app_setting set roundcube mysqlpwd **********
2019-12-30 18:56:34,321: DEBUG - + ACTION=set
2019-12-30 18:56:34,321: DEBUG - + APP=roundcube
2019-12-30 18:56:34,321: DEBUG - + KEY=mysqlpwd
2019-12-30 18:56:34,321: DEBUG - + VALUE=**********
2019-12-30 18:56:34,321: DEBUG - + python -
2019-12-30 18:56:34,421: DEBUG - + ynh_script_progression ‘–message=Setting up source files…’ --weight=7
2019-12-30 18:56:34,422: DEBUG - + set +x
2019-12-30 18:56:34,422: DEBUG - + set +x
2019-12-30 18:56:34,422: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:34,422: DEBUG - + set +x
2019-12-30 18:56:34,422: DEBUG - + echo ‘[++…] > Setting up source files…’
2019-12-30 18:56:34,422: DEBUG - + set -x
2019-12-30 18:56:34,422: DEBUG - + ynh_app_setting_set --app=roundcube --key=final_path --value=/var/www/roundcube
2019-12-30 18:56:34,422: DEBUG - + local legacy_args=akv
2019-12-30 18:56:34,423: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:34,423: DEBUG - + declare -Ar args_array
2019-12-30 18:56:34,423: DEBUG - + local app
2019-12-30 18:56:34,423: DEBUG - + local key
2019-12-30 18:56:34,423: DEBUG - + local value
2019-12-30 18:56:34,423: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=final_path --value=/var/www/roundcube
2019-12-30 18:56:34,423: DEBUG - + set +x
2019-12-30 18:56:34,423: DEBUG - + ynh_app_setting set roundcube final_path /var/www/roundcube
2019-12-30 18:56:34,423: DEBUG - + ACTION=set
2019-12-30 18:56:34,424: DEBUG - + APP=roundcube
2019-12-30 18:56:34,424: DEBUG - + KEY=final_path
2019-12-30 18:56:34,424: DEBUG - + VALUE=/var/www/roundcube
2019-12-30 18:56:34,424: DEBUG - + python -
2019-12-30 18:56:34,524: DEBUG - + ynh_setup_source --dest_dir=/var/www/roundcube
2019-12-30 18:56:34,525: INFO - [++…] > Setting up source files…
2019-12-30 18:56:34,526: DEBUG - + local legacy_args=ds
2019-12-30 18:56:34,526: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-12-30 18:56:34,527: DEBUG - + declare -Ar args_array
2019-12-30 18:56:34,527: DEBUG - + local dest_dir
2019-12-30 18:56:34,527: DEBUG - + local source_id
2019-12-30 18:56:34,527: DEBUG - + ynh_handle_getopts_args --dest_dir=/var/www/roundcube
2019-12-30 18:56:34,528: DEBUG - + set +x
2019-12-30 18:56:34,528: DEBUG - + source_id=app
2019-12-30 18:56:34,528: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,528: DEBUG - + ‘[’ ‘!’ -e /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src ‘]’
2019-12-30 18:56:34,529: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,529: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,529: DEBUG - + local src_url=https://github.com/roundcube/roundcubemail/releases/download/1.4.1/roundcubemail-1.4.1.tar.gz
2019-12-30 18:56:34,529: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,529: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,530: DEBUG - + local src_sum=33100013a8eacbc23082c8601cf370ac7701ae0e0778c4a960a23d0edfa0a7bc
2019-12-30 18:56:34,530: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,530: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,530: DEBUG - + local src_sumprg=sha256sum
2019-12-30 18:56:34,530: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,530: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,530: DEBUG - + local src_format=tar.gz
2019-12-30 18:56:34,531: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,531: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,531: DEBUG - + local src_extract=
2019-12-30 18:56:34,531: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,531: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,531: DEBUG - + local src_in_subdir=true
2019-12-30 18:56:34,531: DEBUG - ++ cut -d= -f2-
2019-12-30 18:56:34,531: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/conf/app.src
2019-12-30 18:56:34,532: DEBUG - + local src_filename=
2019-12-30 18:56:34,532: DEBUG - + src_sumprg=sha256sum
2019-12-30 18:56:34,532: DEBUG - + src_in_subdir=true
2019-12-30 18:56:34,532: DEBUG - + src_format=tar.gz
2019-12-30 18:56:34,532: DEBUG - ++ tr ‘[:upper:]’ ‘[:lower:]’
2019-12-30 18:56:34,532: DEBUG - ++ echo tar.gz
2019-12-30 18:56:34,532: DEBUG - + src_format=tar.gz
2019-12-30 18:56:34,533: DEBUG - + src_extract=true
2019-12-30 18:56:34,533: DEBUG - + ‘[’ ‘’ = ‘’ ‘]’
2019-12-30 18:56:34,533: DEBUG - + src_filename=app.tar.gz
2019-12-30 18:56:34,533: DEBUG - + local local_src=/opt/yunohost-apps-src/roundcube/app.tar.gz
2019-12-30 18:56:34,533: DEBUG - + test -e /opt/yunohost-apps-src/roundcube/app.tar.gz
2019-12-30 18:56:34,533: DEBUG - ++ wget -nv -O app.tar.gz https://github.com/roundcube/roundcubemail/releases/download/1.4.1/roundcubemail-1.4.1.tar.gz
2019-12-30 18:56:35,836: DEBUG - + local ‘out=2019-12-30 18:56:35 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/4224042/ffd19680-0d28-11ea-9466-e8098107beed?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191230%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191230T185634Z&X-Amz-Expires=300&X-Amz-Signature=1a6dab882832a7f490d929e8d7f6d44996e4d2c9de330c616a6103ce3eb4292c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Droundcubemail-1.4.1.tar.gz&response-content-type=application%2Foctet-stream [4321902/4321902] → “app.tar.gz” [1]’
2019-12-30 18:56:35,836: DEBUG - + sha256sum -c --status
2019-12-30 18:56:35,837: DEBUG - + echo ‘33100013a8eacbc23082c8601cf370ac7701ae0e0778c4a960a23d0edfa0a7bc app.tar.gz’
2019-12-30 18:56:35,837: DEBUG - + mkdir -p /var/www/roundcube
2019-12-30 18:56:35,837: DEBUG - + true
2019-12-30 18:56:35,837: DEBUG - + ‘[’ tar.gz = zip ‘]’
2019-12-30 18:56:35,837: DEBUG - + local strip=
2019-12-30 18:56:35,837: DEBUG - + ‘[’ true ‘!=’ false ‘]’
2019-12-30 18:56:35,837: DEBUG - + ‘[’ true == true ‘]’
2019-12-30 18:56:35,837: DEBUG - + local sub_dirs=1
2019-12-30 18:56:35,838: DEBUG - + strip=‘–strip-components 1’
2019-12-30 18:56:35,838: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-12-30 18:56:35,838: DEBUG - + tar -xf app.tar.gz -C /var/www/roundcube --strip-components 1
2019-12-30 18:56:36,138: DEBUG - ++ wc -l
2019-12-30 18:56:36,139: DEBUG - ++ find /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/sources/patches/ -type f -name ‘app-.patch’
2019-12-30 18:56:36,540: DEBUG - + (( 0 > 0 ))
2019-12-30 18:56:36,540: DEBUG - + test -e /var/cache/yunohost/from_file/roundcube_ynh-ea63e4f154878d049552a01e1b109aabb98e9f14/scripts/…/sources/extra_files/app
2019-12-30 18:56:36,540: DEBUG - + ynh_script_progression ‘–message=Configuring nginx web server…’
2019-12-30 18:56:36,541: DEBUG - + set +x
2019-12-30 18:56:36,541: DEBUG - + set +x
2019-12-30 18:56:36,541: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:36,541: DEBUG - + set +x
2019-12-30 18:56:36,541: DEBUG - + echo ‘[##…] > Configuring nginx web server…’
2019-12-30 18:56:36,541: DEBUG - + set -x
2019-12-30 18:56:36,541: DEBUG - + ynh_add_nginx_config
2019-12-30 18:56:36,541: DEBUG - + finalnginxconf=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,542: DEBUG - + local others_var=
2019-12-30 18:56:36,542: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,542: DEBUG - + local legacy_args=f
2019-12-30 18:56:36,542: DEBUG - + args_array=([f]=file=)
2019-12-30 18:56:36,542: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,542: DEBUG - + local file
2019-12-30 18:56:36,542: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,542: DEBUG - + set +x
2019-12-30 18:56:36,543: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_myapp.example.com.d_roundcube.conf
2019-12-30 18:56:36,543: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=*********
2019-12-30 18:56:36,543: DEBUG - ++ local legacy_args=ak
2019-12-30 18:56:36,543: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-12-30 18:56:36,543: DEBUG - ++ declare -Ar args_array
2019-12-30 18:56:36,543: DEBUG - ++ local app
2019-12-30 18:56:36,543: DEBUG - ++ local key
2019-12-30 18:56:36,543: DEBUG - ++ ynh_handle_getopts_args --app=roundcube --key=**********
2019-12-30 18:56:36,543: DEBUG - ++ set +x
2019-12-30 18:56:36,544: DEBUG - ++ ynh_app_setting get roundcube **********
2019-12-30 18:56:36,544: DEBUG - ++ ACTION=get
2019-12-30 18:56:36,544: DEBUG - ++ APP=roundcube
2019-12-30 18:56:36,547: DEBUG - ++ KEY=**********
2019-12-30 18:56:36,547: DEBUG - ++ VALUE=
2019-12-30 18:56:36,547: DEBUG - ++ python -
2019-12-30 18:56:36,648: DEBUG - + local checksum_value=
2019-12-30 18:56:36,648: INFO - [##…] > Configuring nginx web server…
2019-12-30 18:56:36,648: DEBUG - + backup_file_checksum=
2019-12-30 18:56:36,649: DEBUG - + ‘[’ -n ‘’ ‘]’
2019-12-30 18:56:36,649: DEBUG - + sudo cp …/conf/nginx.conf /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,649: DEBUG - + test -n /webmail
2019-12-30 18:56:36,649: DEBUG - + local path_url_slash_less=/webmail
2019-12-30 18:56:36,649: DEBUG - + ynh_replace_string --match_string=PATH/ --replace_string=/webmail/ --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,649: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:36,649: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:36,649: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,649: DEBUG - + local match_string
2019-12-30 18:56:36,650: DEBUG - + local replace_string
2019-12-30 18:56:36,650: DEBUG - + local target_file
2019-12-30 18:56:36,650: DEBUG - + ynh_handle_getopts_args --match_string=PATH/ --replace_string=/webmail/ --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,650: DEBUG - + set +x
2019-12-30 18:56:36,650: DEBUG - + local delimit=@
2019-12-30 18:56:36,650: DEBUG - + match_string=PATH/
2019-12-30 18:56:36,650: DEBUG - + replace_string=/webmail/
2019-12-30 18:56:36,650: DEBUG - + sudo sed --in-place s@PATH/@/webmail/@g /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,751: DEBUG - + ynh_replace_string --match_string=PATH --replace_string=/webmail --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,751: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:36,751: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:36,751: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,751: DEBUG - + local match_string
2019-12-30 18:56:36,752: DEBUG - + local replace_string
2019-12-30 18:56:36,752: DEBUG - + local target_file
2019-12-30 18:56:36,752: DEBUG - + ynh_handle_getopts_args --match_string=PATH --replace_string=/webmail --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,752: DEBUG - + set +x
2019-12-30 18:56:36,752: DEBUG - + local delimit=@
2019-12-30 18:56:36,752: DEBUG - + match_string=PATH
2019-12-30 18:56:36,753: DEBUG - + replace_string=/webmail
2019-12-30 18:56:36,753: DEBUG - + sudo sed --in-place s@PATH@/webmail@g /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,753: DEBUG - + test -n myapp.example.com
2019-12-30 18:56:36,753: DEBUG - + ynh_replace_string --match_string=DOMAIN --replace_string=myapp.example.com --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,753: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:36,753: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:36,753: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,753: DEBUG - + local match_string
2019-12-30 18:56:36,754: DEBUG - + local replace_string
2019-12-30 18:56:36,754: DEBUG - + local target_file
2019-12-30 18:56:36,754: DEBUG - + ynh_handle_getopts_args --match_string=DOMAIN --replace_string=myapp.example.com --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,754: DEBUG - + set +x
2019-12-30 18:56:36,754: DEBUG - + local delimit=@
2019-12-30 18:56:36,754: DEBUG - + match_string=DOMAIN
2019-12-30 18:56:36,754: DEBUG - + replace_string=myapp.example.com
2019-12-30 18:56:36,754: DEBUG - + sudo sed --in-place s@DOMAIN@myapp.example.com@g /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,754: DEBUG - + test -n ‘’
2019-12-30 18:56:36,755: DEBUG - + test -n roundcube
2019-12-30 18:56:36,755: DEBUG - + ynh_replace_string --match_string=NAME --replace_string=roundcube --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,755: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:36,755: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:36,755: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,755: DEBUG - + local match_string
2019-12-30 18:56:36,755: DEBUG - + local replace_string
2019-12-30 18:56:36,756: DEBUG - + local target_file
2019-12-30 18:56:36,756: DEBUG - + ynh_handle_getopts_args --match_string=NAME --replace_string=roundcube --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,756: DEBUG - + set +x
2019-12-30 18:56:36,757: DEBUG - + local delimit=@
2019-12-30 18:56:36,757: DEBUG - + match_string=NAME
2019-12-30 18:56:36,757: DEBUG - + replace_string=roundcube
2019-12-30 18:56:36,757: DEBUG - + sudo sed --in-place s@NAME@roundcube@g /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,757: DEBUG - + test -n /var/www/roundcube
2019-12-30 18:56:36,757: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/roundcube --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,757: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:36,758: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:36,758: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,758: DEBUG - + local match_string
2019-12-30 18:56:36,758: DEBUG - + local replace_string
2019-12-30 18:56:36,758: DEBUG - + local target_file
2019-12-30 18:56:36,758: DEBUG - + ynh_handle_getopts_args --match_string=FINALPATH --replace_string=/var/www/roundcube --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,758: DEBUG - + set +x
2019-12-30 18:56:36,759: DEBUG - + local delimit=@
2019-12-30 18:56:36,759: DEBUG - + match_string=FINALPATH
2019-12-30 18:56:36,759: DEBUG - + replace_string=/var/www/roundcube
2019-12-30 18:56:36,759: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/roundcube@g /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,859: DEBUG - + ‘[’ /webmail ‘!=’ / ‘]’
2019-12-30 18:56:36,859: DEBUG - + ynh_replace_string ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,860: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:36,860: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:36,860: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,860: DEBUG - + local match_string
2019-12-30 18:56:36,860: DEBUG - + local replace_string
2019-12-30 18:56:36,860: DEBUG - + local target_file
2019-12-30 18:56:36,861: DEBUG - + ynh_handle_getopts_args ‘–match_string=^#sub_path_only’ --replace_string= --target_file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,861: DEBUG - + set +x
2019-12-30 18:56:36,861: DEBUG - + local delimit=@
2019-12-30 18:56:36,861: DEBUG - + match_string=’^#sub_path_only’
2019-12-30 18:56:36,861: DEBUG - + replace_string=
2019-12-30 18:56:36,861: DEBUG - + sudo sed --in-place ‘s@^#sub_path_only@@g’ /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,861: DEBUG - + ynh_store_file_checksum --file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,861: DEBUG - + local legacy_args=f
2019-12-30 18:56:36,862: DEBUG - + args_array=([f]=file=)
2019-12-30 18:56:36,862: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,862: DEBUG - + local file
2019-12-30 18:56:36,862: DEBUG - + ynh_handle_getopts_args --file=/etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,862: DEBUG - + set +x
2019-12-30 18:56:36,862: DEBUG - + local checksum_setting_name=**********
2019-12-30 18:56:36,862: DEBUG - ++ cut '-d ’ -f1
2019-12-30 18:56:36,862: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/myapp.example.com.d/roundcube.conf
2019-12-30 18:56:36,862: DEBUG - + ynh_app_setting_set --app=roundcube --key=********** --value=6c8b0d602a46cbb8bb6b1d1e6d9bba3f
2019-12-30 18:56:36,863: DEBUG - + local legacy_args=akv
2019-12-30 18:56:36,863: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:36,863: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,863: DEBUG - + local app
2019-12-30 18:56:36,863: DEBUG - + local key
2019-12-30 18:56:36,863: DEBUG - + local value
2019-12-30 18:56:36,863: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=********** --value=6c8b0d602a46cbb8bb6b1d1e6d9bba3f
2019-12-30 18:56:36,863: DEBUG - + set +x
2019-12-30 18:56:36,864: DEBUG - + ynh_app_setting set roundcube ********** 6c8b0d602a46cbb8bb6b1d1e6d9bba3f
2019-12-30 18:56:36,864: DEBUG - + ACTION=set
2019-12-30 18:56:36,864: DEBUG - + APP=roundcube
2019-12-30 18:56:36,868: DEBUG - + KEY=**********
2019-12-30 18:56:36,868: DEBUG - + VALUE=6c8b0d602a46cbb8bb6b1d1e6d9bba3f
2019-12-30 18:56:36,868: DEBUG - + python -
2019-12-30 18:56:36,969: DEBUG - + ‘[’ -n ‘’ ‘]’
2019-12-30 18:56:36,969: DEBUG - + unset backup_file_checksum
2019-12-30 18:56:36,969: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2019-12-30 18:56:36,969: DEBUG - + local legacy_args=nalpte
2019-12-30 18:56:36,969: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-12-30 18:56:36,970: DEBUG - + declare -Ar args_array
2019-12-30 18:56:36,970: DEBUG - + local service_name
2019-12-30 18:56:36,970: DEBUG - + local action
2019-12-30 18:56:36,970: DEBUG - + local line_match
2019-12-30 18:56:36,970: DEBUG - + local length
2019-12-30 18:56:36,970: DEBUG - + local log_path
2019-12-30 18:56:36,970: DEBUG - + local timeout
2019-12-30 18:56:36,970: DEBUG - + ynh_handle_getopts_args --service_name=nginx --action=reload
2019-12-30 18:56:36,971: DEBUG - + set +x
2019-12-30 18:56:36,971: DEBUG - + local service_name=nginx
2019-12-30 18:56:36,971: DEBUG - + local action=reload
2019-12-30 18:56:36,971: DEBUG - + local log_path=/var/log/nginx/nginx.log
2019-12-30 18:56:36,971: DEBUG - + local length=20
2019-12-30 18:56:36,971: DEBUG - + local timeout=300
2019-12-30 18:56:36,971: DEBUG - + [[ -n ‘’ ]]
2019-12-30 18:56:36,972: DEBUG - + ‘[’ reload == reload ‘]’
2019-12-30 18:56:36,972: DEBUG - + action=reload-or-restart
2019-12-30 18:56:36,972: DEBUG - + systemctl reload-or-restart nginx
2019-12-30 18:56:37,974: DEBUG - + [[ -n ‘’ ]]
2019-12-30 18:56:37,974: DEBUG - + ynh_script_progression ‘–message=Configuring system user…’ --weight=3
2019-12-30 18:56:37,975: DEBUG - + set +x
2019-12-30 18:56:37,975: DEBUG - + set +x
2019-12-30 18:56:37,975: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:37,975: DEBUG - + set +x
2019-12-30 18:56:37,975: DEBUG - + echo ‘[##…] > Configuring system user…’
2019-12-30 18:56:37,975: DEBUG - + set -x
2019-12-30 18:56:37,975: DEBUG - + ynh_system_user_create --username=roundcube
2019-12-30 18:56:37,975: DEBUG - + local legacy_args=uhs
2019-12-30 18:56:37,976: DEBUG - + args_array=([u]=username= [h]=home_dir= [s]=use_shell)
2019-12-30 18:56:37,976: DEBUG - + declare -Ar args_array
2019-12-30 18:56:37,976: DEBUG - + local username
2019-12-30 18:56:37,976: DEBUG - + local home_dir
2019-12-30 18:56:37,976: DEBUG - + local use_shell
2019-12-30 18:56:37,976: DEBUG - + ynh_handle_getopts_args --username=roundcube
2019-12-30 18:56:37,976: DEBUG - + set +x
2019-12-30 18:56:37,976: DEBUG - + use_shell=0
2019-12-30 18:56:37,977: DEBUG - + home_dir=
2019-12-30 18:56:37,977: DEBUG - + ynh_system_user_exists roundcube
2019-12-30 18:56:37,977: DEBUG - + local legacy_args=u
2019-12-30 18:56:37,977: DEBUG - + args_array=([u]=username=)
2019-12-30 18:56:37,977: DEBUG - + declare -Ar args_array
2019-12-30 18:56:37,977: DEBUG - + local username
2019-12-30 18:56:37,977: DEBUG - + ynh_handle_getopts_args roundcube
2019-12-30 18:56:37,977: DEBUG - + set +x
2019-12-30 18:56:37,977: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:37,978: DEBUG - + set +x
2019-12-30 18:56:37,978: DEBUG - + getent passwd roundcube
2019-12-30 18:56:37,978: DEBUG - + ‘[’ -n ‘’ ‘]’
2019-12-30 18:56:37,978: DEBUG - + local user_home_dir=–no-create-home
2019-12-30 18:56:37,978: DEBUG - + ‘[’ 0 -eq 1 ‘]’
2019-12-30 18:56:37,978: DEBUG - + local ‘shell=–shell /usr/sbin/nologin’
2019-12-30 18:56:37,978: DEBUG - + useradd --no-create-home --system --user-group roundcube --shell /usr/sbin/nologin
2019-12-30 18:56:39,481: DEBUG - + ynh_script_progression ‘–message=Configuring php-fpm…’ --weight=2
2019-12-30 18:56:39,481: INFO - [##…] > Configuring system user…
2019-12-30 18:56:39,482: DEBUG - + set +x
2019-12-30 18:56:39,482: INFO - [##+…] > Configuring php-fpm…
2019-12-30 18:56:39,482: DEBUG - + set +x
2019-12-30 18:56:39,482: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:39,482: DEBUG - + set +x
2019-12-30 18:56:39,482: DEBUG - + echo ‘[##+…] > Configuring php-fpm…’
2019-12-30 18:56:39,483: DEBUG - + set -x
2019-12-30 18:56:39,483: DEBUG - + ynh_add_fpm_config
2019-12-30 18:56:39,483: DEBUG - + local legacy_args=v
2019-12-30 18:56:39,483: DEBUG - + args_array=([v]=phpversion=)
2019-12-30 18:56:39,483: DEBUG - + declare -Ar args_array
2019-12-30 18:56:39,483: DEBUG - + local phpversion
2019-12-30 18:56:39,483: DEBUG - + ynh_handle_getopts_args
2019-12-30 18:56:39,483: DEBUG - + set +x
2019-12-30 18:56:39,483: DEBUG - + phpversion=7.0
2019-12-30 18:56:39,483: DEBUG - + local fpm_config_dir=/etc/php/7.0/fpm
2019-12-30 18:56:39,484: DEBUG - + local fpm_service=php7.0-fpm
2019-12-30 18:56:39,484: DEBUG - ++ ynh_get_debian_release
2019-12-30 18:56:39,484: DEBUG - +++ lsb_release --codename --short
2019-12-30 18:56:40,085: DEBUG - ++ echo stretch
2019-12-30 18:56:40,086: DEBUG - + ‘[’ stretch == jessie ‘]’
2019-12-30 18:56:40,086: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-12-30 18:56:40,086: DEBUG - + local legacy_args=akv
2019-12-30 18:56:40,086: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:40,086: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,086: DEBUG - + local app
2019-12-30 18:56:40,086: DEBUG - + local key
2019-12-30 18:56:40,087: DEBUG - + local value
2019-12-30 18:56:40,087: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=fpm_config_dir --value=/etc/php/7.0/fpm
2019-12-30 18:56:40,087: DEBUG - + set +x
2019-12-30 18:56:40,092: DEBUG - + ynh_app_setting set roundcube fpm_config_dir /etc/php/7.0/fpm
2019-12-30 18:56:40,092: DEBUG - + ACTION=set
2019-12-30 18:56:40,093: DEBUG - + APP=roundcube
2019-12-30 18:56:40,093: DEBUG - + KEY=fpm_config_dir
2019-12-30 18:56:40,093: DEBUG - + VALUE=/etc/php/7.0/fpm
2019-12-30 18:56:40,093: DEBUG - + python -
2019-12-30 18:56:40,494: DEBUG - + ynh_app_setting_set --app=roundcube --key=fpm_service --value=php7.0-fpm
2019-12-30 18:56:40,494: DEBUG - + local legacy_args=akv
2019-12-30 18:56:40,494: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:40,494: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,495: DEBUG - + local app
2019-12-30 18:56:40,495: DEBUG - + local key
2019-12-30 18:56:40,495: DEBUG - + local value
2019-12-30 18:56:40,495: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=fpm_service --value=php7.0-fpm
2019-12-30 18:56:40,495: DEBUG - + set +x
2019-12-30 18:56:40,495: DEBUG - + ynh_app_setting set roundcube fpm_service php7.0-fpm
2019-12-30 18:56:40,495: DEBUG - + ACTION=set
2019-12-30 18:56:40,495: DEBUG - + APP=roundcube
2019-12-30 18:56:40,496: DEBUG - + KEY=fpm_service
2019-12-30 18:56:40,496: DEBUG - + VALUE=php7.0-fpm
2019-12-30 18:56:40,496: DEBUG - + python -
2019-12-30 18:56:40,596: DEBUG - + finalphpconf=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,596: DEBUG - + ynh_backup_if_checksum_is_different --file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,596: DEBUG - + local legacy_args=f
2019-12-30 18:56:40,597: DEBUG - + args_array=([f]=file=)
2019-12-30 18:56:40,597: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,597: DEBUG - + local file
2019-12-30 18:56:40,597: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,597: DEBUG - + set +x
2019-12-30 18:56:40,597: DEBUG - + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_roundcube.conf
2019-12-30 18:56:40,597: DEBUG - ++ ynh_app_setting_get --app=roundcube --key=**********
2019-12-30 18:56:40,598: DEBUG - ++ local legacy_args=ak
2019-12-30 18:56:40,598: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-12-30 18:56:40,598: DEBUG - ++ declare -Ar args_array
2019-12-30 18:56:40,598: DEBUG - ++ local app
2019-12-30 18:56:40,598: DEBUG - ++ local key
2019-12-30 18:56:40,598: DEBUG - ++ ynh_handle_getopts_args --app=roundcube --key=**********
2019-12-30 18:56:40,598: DEBUG - ++ set +x
2019-12-30 18:56:40,598: DEBUG - ++ ynh_app_setting get roundcube **********
2019-12-30 18:56:40,598: DEBUG - ++ ACTION=get
2019-12-30 18:56:40,599: DEBUG - ++ APP=roundcube
2019-12-30 18:56:40,599: DEBUG - ++ KEY=**********
2019-12-30 18:56:40,599: DEBUG - ++ VALUE=
2019-12-30 18:56:40,599: DEBUG - ++ python -
2019-12-30 18:56:40,699: DEBUG - + local checksum_value=
2019-12-30 18:56:40,699: DEBUG - + backup_file_checksum=
2019-12-30 18:56:40,700: DEBUG - + ‘[’ -n ‘’ ‘]’
2019-12-30 18:56:40,700: DEBUG - + sudo cp …/conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,700: DEBUG - + ynh_replace_string --match_string=NAMETOCHANGE --replace_string=roundcube --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,700: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:40,700: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:40,700: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,700: DEBUG - + local match_string
2019-12-30 18:56:40,701: DEBUG - + local replace_string
2019-12-30 18:56:40,701: DEBUG - + local target_file
2019-12-30 18:56:40,701: DEBUG - + ynh_handle_getopts_args --match_string=NAMETOCHANGE --replace_string=roundcube --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,701: DEBUG - + set +x
2019-12-30 18:56:40,701: DEBUG - + local delimit=@
2019-12-30 18:56:40,701: DEBUG - + match_string=NAMETOCHANGE
2019-12-30 18:56:40,701: DEBUG - + replace_string=roundcube
2019-12-30 18:56:40,701: DEBUG - + sudo sed --in-place s@NAMETOCHANGE@roundcube@g /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,702: DEBUG - + ynh_replace_string --match_string=FINALPATH --replace_string=/var/www/roundcube --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,702: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:40,702: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:40,702: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,702: DEBUG - + local match_string
2019-12-30 18:56:40,702: DEBUG - + local replace_string
2019-12-30 18:56:40,702: DEBUG - + local target_file
2019-12-30 18:56:40,702: DEBUG - + ynh_handle_getopts_args --match_string=FINALPATH --replace_string=/var/www/roundcube --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,703: DEBUG - + set +x
2019-12-30 18:56:40,703: DEBUG - + local delimit=@
2019-12-30 18:56:40,703: DEBUG - + match_string=FINALPATH
2019-12-30 18:56:40,703: DEBUG - + replace_string=/var/www/roundcube
2019-12-30 18:56:40,703: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/roundcube@g /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,803: DEBUG - + ynh_replace_string --match_string=USER --replace_string=roundcube --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,804: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:40,804: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:40,804: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,804: DEBUG - + local match_string
2019-12-30 18:56:40,804: DEBUG - + local replace_string
2019-12-30 18:56:40,804: DEBUG - + local target_file
2019-12-30 18:56:40,804: DEBUG - + ynh_handle_getopts_args --match_string=USER --replace_string=roundcube --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,805: DEBUG - + set +x
2019-12-30 18:56:40,805: DEBUG - + local delimit=@
2019-12-30 18:56:40,805: DEBUG - + match_string=USER
2019-12-30 18:56:40,805: DEBUG - + replace_string=roundcube
2019-12-30 18:56:40,805: DEBUG - + sudo sed --in-place s@USER@roundcube@g /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,805: DEBUG - + ynh_replace_string --match_string=PHPVERSION --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,805: DEBUG - + local legacy_args=mrf
2019-12-30 18:56:40,805: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-12-30 18:56:40,805: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,806: DEBUG - + local match_string
2019-12-30 18:56:40,806: DEBUG - + local replace_string
2019-12-30 18:56:40,806: DEBUG - + local target_file
2019-12-30 18:56:40,806: DEBUG - + ynh_handle_getopts_args --match_string=PHPVERSION --replace_string=7.0 --target_file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,806: DEBUG - + set +x
2019-12-30 18:56:40,806: DEBUG - + local delimit=@
2019-12-30 18:56:40,806: DEBUG - + match_string=PHPVERSION
2019-12-30 18:56:40,806: DEBUG - + replace_string=7.0
2019-12-30 18:56:40,806: DEBUG - + sudo sed --in-place s@PHPVERSION@7.0@g /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,807: DEBUG - + sudo chown root: /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,807: DEBUG - + ynh_store_file_checksum --file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,807: DEBUG - + local legacy_args=f
2019-12-30 18:56:40,807: DEBUG - + args_array=([f]=file=)
2019-12-30 18:56:40,807: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,807: DEBUG - + local file
2019-12-30 18:56:40,807: DEBUG - + ynh_handle_getopts_args --file=/etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,807: DEBUG - + set +x
2019-12-30 18:56:40,807: DEBUG - + local checksum_setting_name=**********
2019-12-30 18:56:40,808: DEBUG - ++ cut '-d ’ -f1
2019-12-30 18:56:40,808: DEBUG - ++ sudo md5sum /etc/php/7.0/fpm/pool.d/roundcube.conf
2019-12-30 18:56:40,808: DEBUG - + ynh_app_setting_set --app=roundcube --key=********** --value=4cebd86ce6671444e139a36fab2ec96e
2019-12-30 18:56:40,809: DEBUG - + local legacy_args=akv
2019-12-30 18:56:40,809: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-12-30 18:56:40,809: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,809: DEBUG - + local app
2019-12-30 18:56:40,809: DEBUG - + local key
2019-12-30 18:56:40,809: DEBUG - + local value
2019-12-30 18:56:40,810: DEBUG - + ynh_handle_getopts_args --app=roundcube --key=********** --value=4cebd86ce6671444e139a36fab2ec96e
2019-12-30 18:56:40,810: DEBUG - + set +x
2019-12-30 18:56:40,910: DEBUG - + ynh_app_setting set roundcube ********** 4cebd86ce6671444e139a36fab2ec96e
2019-12-30 18:56:40,910: DEBUG - + ACTION=set
2019-12-30 18:56:40,910: DEBUG - + APP=roundcube
2019-12-30 18:56:40,911: DEBUG - + KEY=**********
2019-12-30 18:56:40,911: DEBUG - + VALUE=4cebd86ce6671444e139a36fab2ec96e
2019-12-30 18:56:40,911: DEBUG - + python -
2019-12-30 18:56:40,911: DEBUG - + ‘[’ -n ‘’ ‘]’
2019-12-30 18:56:40,911: DEBUG - + unset backup_file_checksum
2019-12-30 18:56:40,911: DEBUG - + ‘[’ -e …/conf/php-fpm.ini ‘]’
2019-12-30 18:56:40,911: DEBUG - + ynh_systemd_action --service_name=php7.0-fpm --action=reload
2019-12-30 18:56:40,911: DEBUG - + local legacy_args=nalpte
2019-12-30 18:56:40,912: DEBUG - + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
2019-12-30 18:56:40,912: DEBUG - + declare -Ar args_array
2019-12-30 18:56:40,912: DEBUG - + local service_name
2019-12-30 18:56:40,912: DEBUG - + local action
2019-12-30 18:56:40,912: DEBUG - + local line_match
2019-12-30 18:56:40,912: DEBUG - + local length
2019-12-30 18:56:40,913: DEBUG - + local log_path
2019-12-30 18:56:40,913: DEBUG - + local timeout
2019-12-30 18:56:40,913: DEBUG - + ynh_handle_getopts_args --service_name=php7.0-fpm --action=reload
2019-12-30 18:56:40,913: DEBUG - + set +x
2019-12-30 18:56:41,013: DEBUG - + local service_name=php7.0-fpm
2019-12-30 18:56:41,014: DEBUG - + local action=reload
2019-12-30 18:56:41,014: DEBUG - + local log_path=/var/log/php7.0-fpm/php7.0-fpm.log
2019-12-30 18:56:41,014: DEBUG - + local length=20
2019-12-30 18:56:41,014: DEBUG - + local timeout=300
2019-12-30 18:56:41,014: DEBUG - + [[ -n ‘’ ]]
2019-12-30 18:56:41,014: DEBUG - + ‘[’ reload == reload ‘]’
2019-12-30 18:56:41,014: DEBUG - + action=reload-or-restart
2019-12-30 18:56:41,015: DEBUG - + systemctl reload-or-restart php7.0-fpm
2019-12-30 18:56:41,015: DEBUG - + [[ -n ‘’ ]]
2019-12-30 18:56:41,015: DEBUG - + ynh_script_progression ‘–message=Installing roundcube with composer…’ --weight=30
2019-12-30 18:56:41,015: DEBUG - + set +x
2019-12-30 18:56:41,015: DEBUG - + set +x
2019-12-30 18:56:41,015: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:56:41,015: DEBUG - + set +x
2019-12-30 18:56:41,015: DEBUG - + echo ‘[###+++++…] > Installing roundcube with composer…’
2019-12-30 18:56:41,016: DEBUG - + set -x
2019-12-30 18:56:41,016: DEBUG - + cp /var/www/roundcube/composer.json-dist /var/www/roundcube/composer.json
2019-12-30 18:56:41,116: DEBUG - + ynh_install_composer
2019-12-30 18:56:41,116: INFO - [###+++++…] > Installing roundcube with composer…
2019-12-30 18:56:41,117: DEBUG - + local legacy_args=vw
2019-12-30 18:56:41,117: DEBUG - + args_array=([v]=phpversion= [w]=workdir=)
2019-12-30 18:56:41,117: DEBUG - + declare -Ar args_array
2019-12-30 18:56:41,117: DEBUG - + local phpversion
2019-12-30 18:56:41,117: DEBUG - + local workdir
2019-12-30 18:56:41,117: DEBUG - + ynh_handle_getopts_args
2019-12-30 18:56:41,117: DEBUG - + set +x
2019-12-30 18:56:41,118: DEBUG - + workdir=/var/www/roundcube
2019-12-30 18:56:41,118: DEBUG - + phpversion=7.0
2019-12-30 18:56:41,118: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2019-12-30 18:56:41,118: DEBUG - + php7.0 – --quiet --install-dir=/var/www/roundcube
2019-12-30 18:56:41,118: DEBUG - + curl -sS https://getcomposer.org/installer
2019-12-30 18:56:44,425: DEBUG - + ynh_composer_exec --phpversion=7.0 --workdir=/var/www/roundcube ‘–commands=install --no-dev’
2019-12-30 18:56:44,425: DEBUG - + local legacy_args=vwc
2019-12-30 18:56:44,425: DEBUG - + args_array=([v]=phpversion= [w]=workdir= [c]=commands=)
2019-12-30 18:56:44,426: DEBUG - + declare -Ar args_array
2019-12-30 18:56:44,426: DEBUG - + local phpversion
2019-12-30 18:56:44,426: DEBUG - + local workdir
2019-12-30 18:56:44,426: DEBUG - + local commands
2019-12-30 18:56:44,426: DEBUG - + ynh_handle_getopts_args --phpversion=7.0 --workdir=/var/www/roundcube ‘–commands=install --no-dev’
2019-12-30 18:56:44,426: DEBUG - + set +x
2019-12-30 18:56:44,426: DEBUG - + workdir=/var/www/roundcube
2019-12-30 18:56:44,426: DEBUG - + phpversion=7.0
2019-12-30 18:56:44,427: DEBUG - + COMPOSER_HOME=/var/www/roundcube/.composer
2019-12-30 18:56:44,427: DEBUG - + php7.0 /var/www/roundcube/composer.phar install --no-dev -d /var/www/roundcube --quiet --no-interaction
2019-12-30 18:57:01,839: WARNING -
2019-12-30 18:57:52,739: DEBUG -
2019-12-30 18:57:52,739: WARNING - mmap() failed: [12] Cannot allocate memory
2019-12-30 18:57:52,746: DEBUG - Fatal error: Out of memory (allocated 176160768) (tried to allocate 18874368 bytes) in phar:///var/www/roundcube/composer.phar/src/Composer/Repository/ComposerRepository.php on line 588
2019-12-30 18:57:52,746: WARNING -
2019-12-30 18:57:52,746: DEBUG - + ynh_die ‘Unable to update core dependencies with Composer.’
2019-12-30 18:57:52,746: WARNING - mmap() failed: [12] Cannot allocate memory
2019-12-30 18:57:52,746: DEBUG - + local legacy_args=mc
2019-12-30 18:57:52,747: WARNING - PHP Fatal error: Out of memory (allocated 176160768) (tried to allocate 18874368 bytes) in phar:///var/www/roundcube/composer.phar/src/Composer/Repository/ComposerRepository.php on line 588
2019-12-30 18:57:52,747: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-12-30 18:57:52,747: WARNING - _common.sh: line 24: 36136 Killed COMPOSER_HOME=“$workdir/.composer” php${phpversion} “$workdir/composer.phar” $commands -d “$workdir” --quiet --no-interaction
2019-12-30 18:57:52,747: DEBUG - + declare -Ar args_array
2019-12-30 18:57:52,747: DEBUG - + local message
2019-12-30 18:57:52,748: DEBUG - + local ret_code
2019-12-30 18:57:52,748: DEBUG - + ynh_handle_getopts_args ‘Unable to update core dependencies with Composer.’
2019-12-30 18:57:52,748: DEBUG - + set +x
2019-12-30 18:57:52,848: DEBUG - + echo ‘! Helper used in legacy mode !’
2019-12-30 18:57:52,849: WARNING - Unable to update core dependencies with Composer.
2019-12-30 18:57:52,849: DEBUG - + set +x
2019-12-30 18:57:52,849: DEBUG - + echo ‘Unable to update core dependencies with Composer.’
2019-12-30 18:57:52,849: DEBUG - + exit 1
2019-12-30 18:57:52,849: DEBUG - + ynh_exit_properly
2019-12-30 18:57:52,850: DEBUG - + local exit_code=1
2019-12-30 18:57:52,850: DEBUG - + ‘[’ 1 -eq 0 ‘]’
2019-12-30 18:57:52,850: DEBUG - + trap ‘’ EXIT
2019-12-30 18:57:52,850: DEBUG - + set +eu
2019-12-30 18:57:52,850: DEBUG - + sleep 0.5
2019-12-30 18:57:53,552: DEBUG - + ynh_print_err ‘–message=!!\n roundcube’'‘s script has encountered an error. Its execution was cancelled.\n!!’
2019-12-30 18:57:53,552: WARNING - /usr/share/yunohost/helpers.d/logging: line 90: args_array: readonly variable
2019-12-30 18:57:53,552: DEBUG - + local legacy_args=m
2019-12-30 18:57:53,552: DEBUG - + args_array=([m]=message=)