Hello again wekan issues
I don’t reach to install Wekan
I had it working but after last upgrade it did’nt work anymore
I had other issues, so I did uninstall wekan
fixed few issues (mongodb)
now install give
e[91me[1m[ERR]e[0m !!
Really strange.
i triedto uninstall node it did’nt work better
args:
app: wekan
args: domain=turbines.ovh&path=%2Fwekan&is_public=1
force: false
label: Wekan
no_remove_on_failure: false
ended_at: 2019-10-29 16:12:26.022473
env:
YNH_APP_ARG_DOMAIN: turbines.ovh
YNH_APP_ARG_IS_PUBLIC: 1
YNH_APP_ARG_PATH: /wekan
YNH_APP_ID: wekan
YNH_APP_INSTANCE_NAME: wekan
YNH_APP_INSTANCE_NUMBER: '1'
YNH_CWD: /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmpbVI2uH/stdinfo
YNH_STDRETURN: /tmp/tmpUuqvzB/stdreturn
error: 'Une erreur inattendue est survenue : shell command return code: 1'
operation: app_install
related_to:
- - app
- wekan
started_at: 2019-10-29 16:10:08.562842
success: false
============
2019-10-29 17:10:08,564: INFO - Installation de l'application wekan …
2019-10-29 17:10:08,635: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpbVI2uH/stdinfo YNH_APP_INSTANCE_NAME=wekan YNH_INTERFACE=api YNH_APP_ID=wekan YNH_APP_ARG_PATH=/wekan YNH_STDRETURN=/tmp/tmpUuqvzB/stdreturn YNH_APP_ARG_DOMAIN=turbines.ovh BASH_XTRACEFD=7 /bin/bash -x "./install" turbines.ovh /wekan 1 wekan 7>&1' …
2019-10-29 17:10:08,635: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpbVI2uH/stdinfo YNH_APP_INSTANCE_NAME=wekan YNH_INTERFACE=api YNH_APP_ID=wekan YNH_APP_ARG_PATH=/wekan YNH_STDRETURN=/tmp/tmpUuqvzB/stdreturn YNH_APP_ARG_DOMAIN=turbines.ovh BASH_XTRACEFD=7 /bin/bash -x "./install" turbines.ovh /wekan 1 wekan 7>&1']'
2019-10-29 17:10:08,745: DEBUG - + source _common.sh
2019-10-29 17:10:08,745: INFO - Validating installation parameters...
2019-10-29 17:10:08,747: DEBUG - ++ pkg_dependencies='mongodb mongodb-server mongo-tools'
2019-10-29 17:10:08,747: DEBUG - + source ynh_detect_arch__2
2019-10-29 17:10:08,747: DEBUG - + source /usr/share/yunohost/helpers
2019-10-29 17:10:08,747: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-10-29 17:10:08,747: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,748: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-10-29 17:10:08,748: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-10-29 17:10:08,748: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,749: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-10-29 17:10:08,749: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-10-29 17:10:08,749: DEBUG - +++ CAN_BIND=1
2019-10-29 17:10:08,749: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,750: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-10-29 17:10:08,750: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-10-29 17:10:08,750: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,750: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-10-29 17:10:08,750: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-10-29 17:10:08,750: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,751: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-10-29 17:10:08,751: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-10-29 17:10:08,751: DEBUG - +++ increment_progression=0
2019-10-29 17:10:08,751: DEBUG - +++ previous_weight=0
2019-10-29 17:10:08,751: DEBUG - +++ max_progression=-1
2019-10-29 17:10:08,751: DEBUG - +++ progress_scale=20
2019-10-29 17:10:08,751: DEBUG - +++ progress_string2='####################'
2019-10-29 17:10:08,751: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-10-29 17:10:08,752: DEBUG - +++ progress_string0=....................
2019-10-29 17:10:08,752: DEBUG - ++++ date +%s
2019-10-29 17:10:08,757: DEBUG - +++ base_time=1572365408
2019-10-29 17:10:08,757: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,757: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-10-29 17:10:08,757: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-10-29 17:10:08,758: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,758: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-10-29 17:10:08,758: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-10-29 17:10:08,758: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-10-29 17:10:08,758: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,758: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-10-29 17:10:08,758: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-10-29 17:10:08,759: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,759: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-10-29 17:10:08,759: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-10-29 17:10:08,759: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,759: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-10-29 17:10:08,759: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-10-29 17:10:08,759: DEBUG - +++ n_install_dir=/opt/node_n
2019-10-29 17:10:08,760: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-10-29 17:10:08,760: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-10-29 17:10:08,760: DEBUG - +++ N_PREFIX=/opt/node_n
2019-10-29 17:10:08,760: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,760: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-10-29 17:10:08,760: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-10-29 17:10:08,760: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,761: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-10-29 17:10:08,761: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-10-29 17:10:08,766: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-10-29 17:10:08,766: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,766: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-10-29 17:10:08,766: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-10-29 17:10:08,766: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,766: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-10-29 17:10:08,767: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-10-29 17:10:08,767: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,767: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-10-29 17:10:08,767: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-10-29 17:10:08,767: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,767: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-10-29 17:10:08,767: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-10-29 17:10:08,767: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-10-29 17:10:08,768: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-10-29 17:10:08,768: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-10-29 17:10:08,768: DEBUG - + ynh_abort_if_errors
2019-10-29 17:10:08,768: DEBUG - + set -eu
2019-10-29 17:10:08,768: DEBUG - + trap ynh_exit_properly EXIT
2019-10-29 17:10:08,768: DEBUG - + domain=turbines.ovh
2019-10-29 17:10:08,768: DEBUG - + path_url=/wekan
2019-10-29 17:10:08,769: DEBUG - + is_public=1
2019-10-29 17:10:08,769: DEBUG - + app=wekan
2019-10-29 17:10:08,769: DEBUG - + ynh_print_info '--message=Validating installation parameters...'
2019-10-29 17:10:08,771: DEBUG - + local legacy_args=m
2019-10-29 17:10:08,771: DEBUG - + args_array=([m]=message=)
2019-10-29 17:10:08,771: DEBUG - + declare -Ar args_array
2019-10-29 17:10:08,771: DEBUG - + local message
2019-10-29 17:10:08,772: DEBUG - + ynh_handle_getopts_args '--message=Validating installation parameters...'
2019-10-29 17:10:08,772: DEBUG - + set +x
2019-10-29 17:10:08,772: DEBUG - + echo 'Validating installation parameters...'
2019-10-29 17:10:08,772: DEBUG - ++ ynh_detect_arch
2019-10-29 17:10:08,772: DEBUG - ++ local architecture
2019-10-29 17:10:08,772: DEBUG - +++ grep arm64
2019-10-29 17:10:08,772: DEBUG - +++ uname -m
2019-10-29 17:10:08,772: DEBUG - ++ '[' -n '' ']'
2019-10-29 17:10:08,773: DEBUG - +++ grep aarch64
2019-10-29 17:10:08,773: DEBUG - +++ uname -m
2019-10-29 17:10:08,777: DEBUG - ++ '[' -n '' ']'
2019-10-29 17:10:08,777: DEBUG - +++ grep 64
2019-10-29 17:10:08,777: DEBUG - +++ uname -m
2019-10-29 17:10:08,777: DEBUG - ++ '[' -n x86_64 ']'
2019-10-29 17:10:08,778: DEBUG - ++ architecture=x86-64
2019-10-29 17:10:08,778: DEBUG - ++ echo x86-64
2019-10-29 17:10:08,778: DEBUG - + architecture=x86-64
2019-10-29 17:10:08,778: DEBUG - + '[' x86-64 == x86_64 ']'
2019-10-29 17:10:08,778: DEBUG - + '[' x86-64 == arm ']'
2019-10-29 17:10:08,778: DEBUG - + final_path=/var/www/wekan
2019-10-29 17:10:08,779: DEBUG - + test '!' -e /var/www/wekan
2019-10-29 17:10:08,779: DEBUG - + ynh_webpath_register --app=wekan --domain=turbines.ovh --path_url=/wekan
2019-10-29 17:10:08,779: DEBUG - + local legacy_args=adp
2019-10-29 17:10:08,779: DEBUG - + args_array=([a]=app= [d]=domain= [p]=path_url=)
2019-10-29 17:10:08,779: DEBUG - + declare -Ar args_array
2019-10-29 17:10:08,779: DEBUG - + local app
2019-10-29 17:10:08,780: DEBUG - + local domain
2019-10-29 17:10:08,780: DEBUG - + local path_url
2019-10-29 17:10:08,780: DEBUG - + ynh_handle_getopts_args --app=wekan --domain=turbines.ovh --path_url=/wekan
2019-10-29 17:10:08,780: DEBUG - + set +x
2019-10-29 17:10:08,780: DEBUG - + sudo yunohost app register-url wekan turbines.ovh /wekan
2019-10-29 17:10:09,081: DEBUG - + ynh_print_info '--message=Storing installation settings...'
2019-10-29 17:10:09,081: INFO - Storing installation settings...
2019-10-29 17:10:09,082: DEBUG - + local legacy_args=m
2019-10-29 17:10:09,082: DEBUG - + args_array=([m]=message=)
2019-10-29 17:10:09,082: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,082: DEBUG - + local message
2019-10-29 17:10:09,082: DEBUG - + ynh_handle_getopts_args '--message=Storing installation settings...'
2019-10-29 17:10:09,082: DEBUG - + set +x
2019-10-29 17:10:09,082: DEBUG - + echo 'Storing installation settings...'
2019-10-29 17:10:09,082: DEBUG - + ynh_app_setting_set --app=wekan --key=domain --value=turbines.ovh
2019-10-29 17:10:09,083: DEBUG - + local legacy_args=akv
2019-10-29 17:10:09,083: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-29 17:10:09,083: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,083: DEBUG - + local app
2019-10-29 17:10:09,083: DEBUG - + local key
2019-10-29 17:10:09,083: DEBUG - + local value
2019-10-29 17:10:09,083: DEBUG - + ynh_handle_getopts_args --app=wekan --key=domain --value=turbines.ovh
2019-10-29 17:10:09,083: DEBUG - + set +x
2019-10-29 17:10:09,084: DEBUG - + ynh_app_setting set wekan domain turbines.ovh
2019-10-29 17:10:09,084: DEBUG - + ACTION=set
2019-10-29 17:10:09,084: DEBUG - + APP=wekan
2019-10-29 17:10:09,084: DEBUG - + KEY=domain
2019-10-29 17:10:09,084: DEBUG - + VALUE=turbines.ovh
2019-10-29 17:10:09,084: DEBUG - + python -
2019-10-29 17:10:09,185: DEBUG - + ynh_app_setting_set --app=wekan --key=path --value=/wekan
2019-10-29 17:10:09,185: DEBUG - + local legacy_args=akv
2019-10-29 17:10:09,185: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-29 17:10:09,185: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,185: DEBUG - + local app
2019-10-29 17:10:09,185: DEBUG - + local key
2019-10-29 17:10:09,186: DEBUG - + local value
2019-10-29 17:10:09,186: DEBUG - + ynh_handle_getopts_args --app=wekan --key=path --value=/wekan
2019-10-29 17:10:09,186: DEBUG - + set +x
2019-10-29 17:10:09,186: DEBUG - + ynh_app_setting set wekan path /wekan
2019-10-29 17:10:09,186: DEBUG - + ACTION=set
2019-10-29 17:10:09,186: DEBUG - + APP=wekan
2019-10-29 17:10:09,186: DEBUG - + KEY=path
2019-10-29 17:10:09,186: DEBUG - + VALUE=/wekan
2019-10-29 17:10:09,187: DEBUG - + python -
2019-10-29 17:10:09,287: DEBUG - + ynh_app_setting_set --app=wekan --key=is_public --value=1
2019-10-29 17:10:09,287: DEBUG - + local legacy_args=akv
2019-10-29 17:10:09,287: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-29 17:10:09,288: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,288: DEBUG - + local app
2019-10-29 17:10:09,288: DEBUG - + local key
2019-10-29 17:10:09,288: DEBUG - + local value
2019-10-29 17:10:09,288: DEBUG - + ynh_handle_getopts_args --app=wekan --key=is_public --value=1
2019-10-29 17:10:09,288: DEBUG - + set +x
2019-10-29 17:10:09,288: DEBUG - + ynh_app_setting set wekan is_public 1
2019-10-29 17:10:09,289: DEBUG - + ACTION=set
2019-10-29 17:10:09,289: DEBUG - + APP=wekan
2019-10-29 17:10:09,289: DEBUG - + KEY=is_public
2019-10-29 17:10:09,289: DEBUG - + VALUE=1
2019-10-29 17:10:09,289: DEBUG - + python -
2019-10-29 17:10:09,389: DEBUG - + ynh_print_info '--message=Configuring firewall...'
2019-10-29 17:10:09,390: INFO - Configuring firewall...
2019-10-29 17:10:09,390: DEBUG - + local legacy_args=m
2019-10-29 17:10:09,390: DEBUG - + args_array=([m]=message=)
2019-10-29 17:10:09,390: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,391: DEBUG - + local message
2019-10-29 17:10:09,391: DEBUG - + ynh_handle_getopts_args '--message=Configuring firewall...'
2019-10-29 17:10:09,391: DEBUG - + set +x
2019-10-29 17:10:09,391: DEBUG - + echo 'Configuring firewall...'
2019-10-29 17:10:09,391: DEBUG - ++ ynh_find_port --port=8095
2019-10-29 17:10:09,391: DEBUG - ++ local legacy_args=p
2019-10-29 17:10:09,391: DEBUG - ++ args_array=([p]=port=)
2019-10-29 17:10:09,392: DEBUG - ++ declare -Ar args_array
2019-10-29 17:10:09,392: DEBUG - ++ local port
2019-10-29 17:10:09,392: DEBUG - ++ ynh_handle_getopts_args --port=8095
2019-10-29 17:10:09,392: DEBUG - ++ set +x
2019-10-29 17:10:09,392: DEBUG - ++ test -n 8095
2019-10-29 17:10:09,392: DEBUG - ++ netcat -z 127.0.0.1 8095
2019-10-29 17:10:09,392: DEBUG - ++ echo 8095
2019-10-29 17:10:09,392: DEBUG - + port=8095
2019-10-29 17:10:09,393: DEBUG - + ynh_app_setting_set --app=wekan --key=port --value=8095
2019-10-29 17:10:09,393: DEBUG - + local legacy_args=akv
2019-10-29 17:10:09,393: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-29 17:10:09,393: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,397: DEBUG - + local app
2019-10-29 17:10:09,397: DEBUG - + local key
2019-10-29 17:10:09,397: DEBUG - + local value
2019-10-29 17:10:09,398: DEBUG - + ynh_handle_getopts_args --app=wekan --key=port --value=8095
2019-10-29 17:10:09,398: DEBUG - + set +x
2019-10-29 17:10:09,398: DEBUG - + ynh_app_setting set wekan port 8095
2019-10-29 17:10:09,398: DEBUG - + ACTION=set
2019-10-29 17:10:09,398: DEBUG - + APP=wekan
2019-10-29 17:10:09,398: DEBUG - + KEY=port
2019-10-29 17:10:09,398: DEBUG - + VALUE=8095
2019-10-29 17:10:09,399: DEBUG - + python -
2019-10-29 17:10:09,499: DEBUG - + ynh_print_info '--message=Installing dependencies...'
2019-10-29 17:10:09,499: INFO - Installing dependencies...
2019-10-29 17:10:09,500: DEBUG - + local legacy_args=m
2019-10-29 17:10:09,500: DEBUG - + args_array=([m]=message=)
2019-10-29 17:10:09,500: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,500: DEBUG - + local message
2019-10-29 17:10:09,500: DEBUG - + ynh_handle_getopts_args '--message=Installing dependencies...'
2019-10-29 17:10:09,500: DEBUG - + set +x
2019-10-29 17:10:09,501: INFO - Installation of N - Node.js version management
2019-10-29 17:10:09,501: DEBUG - + echo 'Installing dependencies...'
2019-10-29 17:10:09,501: DEBUG - + ynh_install_nodejs --nodejs_version=8.16.1
2019-10-29 17:10:09,501: DEBUG - + local legacy_args=n
2019-10-29 17:10:09,501: DEBUG - + args_array=([n]=nodejs_version=)
2019-10-29 17:10:09,501: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,502: DEBUG - + local nodejs_version
2019-10-29 17:10:09,502: DEBUG - + ynh_handle_getopts_args --nodejs_version=8.16.1
2019-10-29 17:10:09,502: DEBUG - + set +x
2019-10-29 17:10:09,502: DEBUG - + mkdir -p /opt/node_n
2019-10-29 17:10:09,502: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-10-29 17:10:09,502: DEBUG - ++ sed s@/usr/local/bin:@@
2019-10-29 17:10:09,502: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-10-29 17:10:09,502: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2019-10-29 17:10:09,503: DEBUG - + test -x /usr/bin/node
2019-10-29 17:10:09,503: DEBUG - + mv /usr/bin/node /usr/bin/node_n
2019-10-29 17:10:09,503: DEBUG - + test -x /usr/bin/npm
2019-10-29 17:10:09,503: DEBUG - + mv /usr/bin/npm /usr/bin/npm_n
2019-10-29 17:10:09,503: DEBUG - ++ n --version
2019-10-29 17:10:09,503: DEBUG - + test
2019-10-29 17:10:09,503: DEBUG - + ynh_install_n
2019-10-29 17:10:09,503: DEBUG - + ynh_print_info '--message=Installation of N - Node.js version management'
2019-10-29 17:10:09,504: DEBUG - + local legacy_args=m
2019-10-29 17:10:09,504: DEBUG - + args_array=([m]=message=)
2019-10-29 17:10:09,504: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,504: DEBUG - + local message
2019-10-29 17:10:09,504: DEBUG - + ynh_handle_getopts_args '--message=Installation of N - Node.js version management'
2019-10-29 17:10:09,504: DEBUG - + set +x
2019-10-29 17:10:09,504: DEBUG - + echo 'Installation of N - Node.js version management'
2019-10-29 17:10:09,504: DEBUG - + mkdir -p ../conf
2019-10-29 17:10:09,505: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
2019-10-29 17:10:09,505: DEBUG - SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
2019-10-29 17:10:09,505: DEBUG - + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
2019-10-29 17:10:09,509: DEBUG - + local legacy_args=ds
2019-10-29 17:10:09,509: DEBUG - + args_array=([d]=dest_dir= [s]=source_id=)
2019-10-29 17:10:09,509: DEBUG - + declare -Ar args_array
2019-10-29 17:10:09,509: DEBUG - + local dest_dir
2019-10-29 17:10:09,509: DEBUG - + local source_id
2019-10-29 17:10:09,510: DEBUG - + ynh_handle_getopts_args --dest_dir=/opt/node_n/git --source_id=n
2019-10-29 17:10:09,510: DEBUG - + set +x
2019-10-29 17:10:09,510: DEBUG - + source_id=n
2019-10-29 17:10:09,510: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,510: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src ']'
2019-10-29 17:10:09,510: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,510: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,511: DEBUG - + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
2019-10-29 17:10:09,511: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,511: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,511: DEBUG - + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
2019-10-29 17:10:09,511: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,511: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,511: DEBUG - + local src_sumprg=
2019-10-29 17:10:09,514: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,514: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,514: DEBUG - + local src_format=
2019-10-29 17:10:09,515: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,515: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,515: DEBUG - + local src_extract=
2019-10-29 17:10:09,515: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,515: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,515: DEBUG - + local src_in_subdir=
2019-10-29 17:10:09,515: DEBUG - ++ cut -d= -f2-
2019-10-29 17:10:09,515: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../conf/n.src
2019-10-29 17:10:09,516: DEBUG - + local src_filename=
2019-10-29 17:10:09,516: DEBUG - + src_sumprg=sha256sum
2019-10-29 17:10:09,516: DEBUG - + src_in_subdir=true
2019-10-29 17:10:09,516: DEBUG - + src_format=tar.gz
2019-10-29 17:10:09,516: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2019-10-29 17:10:09,516: DEBUG - ++ echo tar.gz
2019-10-29 17:10:09,516: DEBUG - + src_format=tar.gz
2019-10-29 17:10:09,516: DEBUG - + src_extract=true
2019-10-29 17:10:09,517: DEBUG - + '[' '' = '' ']'
2019-10-29 17:10:09,517: DEBUG - + src_filename=n.tar.gz
2019-10-29 17:10:09,517: DEBUG - + local local_src=/opt/yunohost-apps-src/wekan/n.tar.gz
2019-10-29 17:10:09,517: DEBUG - + test -e /opt/yunohost-apps-src/wekan/n.tar.gz
2019-10-29 17:10:09,517: DEBUG - ++ wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
2019-10-29 17:10:10,922: DEBUG - + local 'out=2019-10-29 17:10:10 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]'
2019-10-29 17:10:10,923: DEBUG - + sha256sum -c --status
2019-10-29 17:10:10,923: DEBUG - + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
2019-10-29 17:10:10,923: DEBUG - + mkdir -p /opt/node_n/git
2019-10-29 17:10:11,024: DEBUG - + true
2019-10-29 17:10:11,024: DEBUG - + '[' tar.gz = zip ']'
2019-10-29 17:10:11,025: DEBUG - + local strip=
2019-10-29 17:10:11,025: DEBUG - + '[' true '!=' false ']'
2019-10-29 17:10:11,025: DEBUG - + '[' true == true ']'
2019-10-29 17:10:11,026: DEBUG - + local sub_dirs=1
2019-10-29 17:10:11,026: DEBUG - + strip='--strip-components 1'
2019-10-29 17:10:11,026: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2019-10-29 17:10:11,026: DEBUG - + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
2019-10-29 17:10:11,027: DEBUG - ++ wc -l
2019-10-29 17:10:11,027: DEBUG - ++ find /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../sources/patches/ -type f -name 'n-*.patch'
2019-10-29 17:10:11,027: DEBUG - + (( 0 > 0 ))
2019-10-29 17:10:11,027: DEBUG - + test -e /var/cache/yunohost/from_file/wekan_ynh-2e6131af03c723cf9eaf82e13aa9488f42c085f9/scripts/../sources/extra_files/n
2019-10-29 17:10:11,028: DEBUG - + cd /opt/node_n/git
2019-10-29 17:10:11,028: DEBUG - + PREFIX=/opt/node_n
2019-10-29 17:10:11,028: DEBUG - + make install
2019-10-29 17:10:11,028: DEBUG - mkdir -p /opt/node_n/bin/
2019-10-29 17:10:11,028: DEBUG - cp bin/n /opt/node_n/bin/n
2019-10-29 17:10:11,028: DEBUG - + ynh_replace_string '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2019-10-29 17:10:11,029: DEBUG - + local legacy_args=mrf
2019-10-29 17:10:11,029: DEBUG - + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
2019-10-29 17:10:11,029: DEBUG - + declare -Ar args_array
2019-10-29 17:10:11,029: DEBUG - + local match_string
2019-10-29 17:10:11,029: DEBUG - + local replace_string
2019-10-29 17:10:11,030: DEBUG - + local target_file
2019-10-29 17:10:11,030: DEBUG - + ynh_handle_getopts_args '--match_string=^N_PREFIX=${N_PREFIX-.*}$' '--replace_string=N_PREFIX=${N_PREFIX-/opt/node_n}' --target_file=/opt/node_n/bin/n
2019-10-29 17:10:11,030: DEBUG - + set +x
2019-10-29 17:10:11,030: DEBUG - + local delimit=@
2019-10-29 17:10:11,030: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
2019-10-29 17:10:11,031: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
2019-10-29 17:10:11,031: DEBUG - + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2019-10-29 17:10:11,031: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-10-29 17:10:11,031: DEBUG - + test -x /usr/bin/node_n
2019-10-29 17:10:11,031: DEBUG - + mv /usr/bin/node_n /usr/bin/node
2019-10-29 17:10:11,032: DEBUG - + test -x /usr/bin/npm_n
2019-10-29 17:10:11,032: DEBUG - + mv /usr/bin/npm_n /usr/bin/npm
2019-10-29 17:10:11,032: DEBUG - ++ uname -m
2019-10-29 17:10:11,032: DEBUG - + uname=x86_64
2019-10-29 17:10:11,033: DEBUG - + [[ x86_64 =~ aarch64 ]]
2019-10-29 17:10:11,033: DEBUG - + [[ x86_64 =~ arm64 ]]
2019-10-29 17:10:11,033: DEBUG - + n 8.16.1
2019-10-29 17:10:11,034: DEBUG -
2019-10-29 17:10:11,034: DEBUG - e[36m installe[0m : e[2mnode-v8.16.1e[22me[0m
2019-10-29 17:10:11,335: DEBUG - e[36m mkdire[0m : e[2m/opt/node_n/n/versions/node/8.16.1e[22me[0m
2019-10-29 17:10:11,335: DEBUG - e[36m fetche[0m : e[2mhttps://nodejs.org/dist/v8.16.1/node-v8.16.1-linux-x64.tar.gze[22me[0m
2019-10-29 17:12:19,184: WARNING -
0.1%
0.2%
0.3%
0.4%
0.5%
0.6%
0.6%
0.7%
0.9%
1.1%
1.3%
# 1.5%
# 1.7%
# 1.8%
# 2.0%
# 2.2%
# 2.5%
# 2.7%
## 3.0%
## 3.2%
## 3.4%
## 3.7%
## 3.9%
## 4.1%
### 4.5%
### 4.6%
### 4.8%
### 5.0%
### 5.2%
### 5.4%
#### 5.7%
#### 5.8%
#### 6.0%
#### 6.2%
#### 6.5%
#### 6.7%
#### 6.8%
#### 6.8%
##### 7.0%
##### 7.2%
##### 7.3%
##### 7.4%
##### 7.6%
##### 7.8%
##### 7.9%
##### 8.1%
###### 8.4%
###### 8.6%
###### 8.9%
###### 9.2%
###### 9.6%
####### 9.8%
####### 10.1%
####### 10.3%
####### 10.6%
####### 11.0%
######## 11.2%
######## 11.4%
######## 11.5%
######## 11.7%
######## 11.8%
######## 11.9%
######## 11.9%
######## 12.0%
######## 12.2%
######## 12.3%
######## 12.4%
######### 12.6%
######### 12.7%
######### 12.9%
######### 13.1%
######### 13.3%
######### 13.5%
######### 13.7%
######### 13.9%
########## 14.0%
########## 14.2%
########## 14.5%
########## 14.6%
########## 14.9%
########## 15.1%
########## 15.2%
########### 15.3%
########### 15.6%
########### 15.7%
########### 15.9%
########### 16.0%
########### 16.1%
########### 16.1%
########### 16.1%
########### 16.2%
########### 16.3%
########### 16.5%
########### 16.6%
############ 16.7%
############ 16.9%
############ 17.0%
############ 17.0%
############ 17.2%
############ 17.4%
############ 17.5%
############ 17.5%
############ 17.6%
############ 17.7%
############ 17.8%
############ 17.9%
############ 18.0%
############# 18.2%
############# 18.3%
############# 18.5%
############# 18.6%
############# 18.7%
############# 18.8%
############# 18.8%
############# 19.0%
############# 19.2%
############# 19.4%
############## 19.7%
############## 19.8%
############## 19.9%
############## 20.1%
############## 20.2%
############## 20.4%
############## 20.8%
############### 21.1%
############### 21.3%
############### 21.6%
############### 21.8%
############### 21.8%
################ 22.3%
################ 22.6%
################ 22.6%
################ 22.8%
################ 23.0%
################ 23.1%
################ 23.3%
################ 23.5%
################# 23.8%
################# 24.0%
################# 24.4%
################# 24.7%
################# 25.0%
################## 25.3%
################## 25.5%
################## 25.6%
################## 25.9%
################## 26.1%
################## 26.4%
################### 26.7%
################### 27.1%
################### 27.4%
#################### 27.8%
#################### 28.1%
#################### 28.5%
##################### 29.2%
##################### 29.6%
##################### 30.0%
##################### 30.3%
###################### 30.6%
###################### 30.8%
###################### 31.1%
###################### 31.2%
###################### 31.4%
###################### 31.6%
###################### 31.9%
####################### 32.2%
####################### 32.4%
####################### 32.7%
####################### 32.9%
####################### 33.2%
####################### 33.3%
######################## 33.7%
######################## 33.9%
######################## 33.9%
######################## 34.3%
######################## 34.3%
######################## 34.4%
######################## 34.5%
######################### 34.9%
######################### 34.9%
######################### 35.2%
######################### 35.4%
######################### 35.6%
######################### 35.6%
######################### 35.7%
######################### 36.0%
########################## 36.2%
########################## 36.3%
########################## 36.4%
########################## 36.5%
########################## 36.6%
########################## 36.8%
########################## 37.0%
########################## 37.3%
########################## 37.5%
########################### 37.7%
########################### 38.0%
########################### 38.1%
########################### 38.2%
########################### 38.3%
########################### 38.4%
########################### 38.5%
########################### 38.6%
########################### 38.8%
############################ 39.0%
############################ 39.2%
############################ 39.3%
############################ 39.6%
############################ 39.7%
############################ 39.8%
############################ 40.0%
############################ 40.3%
############################# 40.3%
############################# 40.5%
############################# 40.7%
############################# 40.9%
############################# 41.0%
############################# 41.1%
############################# 41.4%
############################# 41.6%
############################## 42.0%
############################## 42.0%
############################## 42.2%
############################## 42.3%
############################## 42.6%
############################## 42.8%
############################## 43.0%
############################### 43.2%
############################### 43.3%
############################### 43.6%
############################### 43.9%
############################### 44.1%
############################### 44.3%
############################### 44.4%
################################ 44.6%
################################ 44.8%
################################ 45.1%
################################ 45.3%
################################ 45.4%
################################ 45.7%
################################ 45.8%
################################# 46.0%
################################# 46.1%
################################# 46.3%
################################# 46.4%
################################# 46.6%
################################# 46.8%
################################# 46.9%
################################# 47.0%
################################## 47.4%
################################## 47.4%
################################## 47.6%
################################## 47.8%
################################## 48.0%
################################## 48.2%
################################## 48.4%
################################### 48.6%
################################### 48.8%
################################### 49.0%
################################### 49.2%
################################### 49.4%
################################### 49.7%
################################### 50.0%
#################################### 50.1%
#################################### 50.4%
#################################### 50.7%
#################################### 51.0%
#################################### 51.1%
#################################### 51.4%
##################################### 51.6%
##################################### 51.9%
##################################### 52.2%
##################################### 52.3%
###################################### 52.9%
###################################### 53.1%
###################################### 53.4%
###################################### 53.7%
###################################### 54.1%
####################################### 54.3%
####################################### 54.5%
####################################### 54.8%
####################################### 54.9%
####################################### 54.9%
####################################### 55.1%
####################################### 55.3%
######################################## 55.6%
######################################## 55.8%
######################################## 56.1%
######################################## 56.3%
######################################## 56.5%
######################################## 56.6%
######################################## 56.8%
######################################### 57.1%
######################################### 57.4%
######################################### 57.8%
######################################### 58.0%
######################################### 58.2%
########################################## 58.5%
########################################## 58.9%
########################################## 59.3%
########################################## 59.5%
########################################### 59.7%
########################################### 59.8%
########################################### 60.2%
########################################### 60.2%
########################################### 60.3%
########################################### 60.3%
########################################### 60.4%
########################################### 60.5%
########################################### 60.7%
########################################### 60.9%
########################################### 61.0%
############################################ 61.2%
############################################ 61.5%
############################################ 61.7%
############################################ 61.7%
############################################ 61.8%
############################################ 62.0%
############################################ 62.2%
############################################ 62.4%
############################################# 62.6%
############################################# 62.9%
############################################# 63.3%
############################################# 63.5%
############################################# 63.7%
############################################# 63.9%
############################################## 64.1%
############################################## 64.3%
############################################## 64.3%
############################################## 64.6%
############################################## 64.9%
############################################## 65.0%
############################################## 65.2%
############################################### 65.5%
############################################### 65.7%
############################################### 66.1%
############################################### 66.2%
############################################### 66.5%
############################################### 66.6%
################################################ 66.8%
################################################ 67.2%
################################################ 67.6%
################################################ 67.9%
################################################# 68.3%
################################################# 68.6%
################################################# 68.8%
################################################# 69.0%
################################################# 69.3%
################################################## 69.6%
################################################## 69.9%
################################################## 70.2%
################################################## 70.4%
################################################## 70.7%
################################################## 70.8%
################################################### 70.9%
################################################### 70.9%
################################################### 71.2%
################################################### 71.5%
################################################### 71.8%
################################################### 72.1%
#################################################### 72.4%
#################################################### 72.5%
#################################################### 72.9%
#################################################### 73.0%
#################################################### 73.1%
#################################################### 73.3%
#################################################### 73.6%
##################################################### 73.9%
##################################################### 74.2%
##################################################### 74.6%
##################################################### 74.9%
###################################################### 75.3%
###################################################### 75.6%
###################################################### 76.0%
###################################################### 76.3%
####################################################### 76.5%
####################################################### 76.8%
####################################################### 77.3%
####################################################### 77.4%
####################################################### 77.6%
######################################################## 77.9%
######################################################## 78.1%
######################################################## 78.4%
######################################################## 78.6%
######################################################## 78.6%
######################################################## 78.7%
######################################################## 78.8%
######################################################## 79.1%
######################################################### 79.2%
######################################################### 79.4%
######################################################### 79.7%
######################################################### 80.1%
######################################################### 80.3%
########################################################## 80.6%
########################################################## 80.8%
########################################################## 81.1%
########################################################## 81.2%
########################################################## 81.4%
########################################################## 81.7%
########################################################## 81.9%
########################################################### 82.0%
########################################################### 82.2%
########################################################### 82.2%
########################################################### 82.3%
########################################################### 82.4%
########################################################### 82.5%
########################################################### 82.7%
########################################################### 82.9%
########################################################### 83.0%
########################################################### 83.2%
############################################################ 83.4%
############################################################ 83.6%
############################################################ 83.8%
############################################################ 83.8%
############################################################ 84.0%
############################################################ 84.2%
############################################################ 84.5%
############################################################# 84.8%
############################################################# 85.1%
############################################################# 85.3%
############################################################# 85.7%
############################################################# 86.0%
############################################################## 86.3%
############################################################## 86.6%
############################################################## 86.9%
############################################################## 87.1%
############################################################## 87.4%
############################################################### 87.5%
############################################################### 87.8%
############################################################### 88.0%
############################################################### 88.1%
############################################################### 88.4%
############################################################### 88.6%
############################################################### 88.9%
################################################################ 89.1%
################################################################ 89.5%
################################################################ 89.7%
################################################################ 89.8%
################################################################ 90.2%
################################################################# 90.3%
################################################################# 90.6%
################################################################# 90.6%
################################################################# 90.7%
################################################################# 90.9%
################################################################# 91.0%
################################################################# 91.2%
################################################################# 91.4%
################################################################# 91.6%
################################################################## 92.0%
################################################################## 92.2%
################################################################## 92.6%
################################################################## 92.9%
################################################################### 93.3%
################################################################### 93.4%
################################################################### 93.6%
################################################################### 93.9%
################################################################### 94.2%
#################################################################### 94.5%
#################################################################### 94.7%
#################################################################### 94.8%
#################################################################### 95.0%
#################################################################### 95.3%
#################################################################### 95.5%
#################################################################### 95.7%
#################################################################### 95.7%
##################################################################### 96.0%
##################################################################### 96.0%
##################################################################### 96.3%
##################################################################### 96.6%
##################################################################### 96.7%
##################################################################### 96.8%
##################################################################### 96.9%
##################################################################### 97.0%
##################################################################### 97.2%
###################################################################### 97.4%
###################################################################### 97.5%
###################################################################### 97.6%
###################################################################### 97.8%
###################################################################### 97.9%
###################################################################### 98.0%
###################################################################### 98.1%
###################################################################### 98.2%
###################################################################### 98.4%
###################################################################### 98.6%
####################################################################### 98.9%
####################################################################### 99.2%
####################################################################### 99.4%
####################################################################### 99.6%
####################################################################### 99.8%
######################################################################## 100.0%
2019-10-29 17:12:19,388: DEBUG - e[36m installede[0m : e[2mv8.16.1e[22me[0m
2019-10-29 17:12:19,388: DEBUG -
2019-10-29 17:12:19,388: DEBUG - ++ tail --lines=1
2019-10-29 17:12:19,388: DEBUG - ++ sort --version-sort
2019-10-29 17:12:19,388: DEBUG - ++ find /opt/node_n/n/versions/node/8.16.1 -maxdepth 0
2019-10-29 17:12:19,388: DEBUG - + real_nodejs_version=/opt/node_n/n/versions/node/8.16.1
2019-10-29 17:12:19,388: DEBUG - ++ basename /opt/node_n/n/versions/node/8.16.1
2019-10-29 17:12:19,389: DEBUG - + real_nodejs_version=8.16.1
2019-10-29 17:12:19,389: DEBUG - + '[' '!' -e /opt/node_n/n/versions/node/8.16.1 ']'
2019-10-29 17:12:19,389: DEBUG - + tee --append /opt/node_n/ynh_app_version
2019-10-29 17:12:19,389: DEBUG - + echo wekan:8.16.1
2019-10-29 17:12:19,389: DEBUG - wekan:8.16.1
2019-10-29 17:12:19,389: DEBUG - + ynh_app_setting_set --app=wekan --key=nodejs_version --value=8.16.1
2019-10-29 17:12:19,389: DEBUG - + local legacy_args=akv
2019-10-29 17:12:19,390: DEBUG - + args_array=([a]=app= [k]=key= [v]=value=)
2019-10-29 17:12:19,390: DEBUG - + declare -Ar args_array
2019-10-29 17:12:19,390: DEBUG - + local app
2019-10-29 17:12:19,390: DEBUG - + local key
2019-10-29 17:12:19,390: DEBUG - + local value
2019-10-29 17:12:19,390: DEBUG - + ynh_handle_getopts_args --app=wekan --key=nodejs_version --value=8.16.1
2019-10-29 17:12:19,390: DEBUG - + set +x
2019-10-29 17:12:19,491: DEBUG - + ynh_app_setting set wekan nodejs_version 8.16.1
2019-10-29 17:12:19,491: DEBUG - + ACTION=set
2019-10-29 17:12:19,491: DEBUG - + APP=wekan
2019-10-29 17:12:19,491: DEBUG - + KEY=nodejs_version
2019-10-29 17:12:19,491: DEBUG - + VALUE=8.16.1
2019-10-29 17:12:19,491: DEBUG - + python -
2019-10-29 17:12:19,592: DEBUG - + ynh_cron_upgrade_node
2019-10-29 17:12:19,592: DEBUG - + cat
2019-10-29 17:12:19,592: DEBUG - + chmod +x /opt/node_n/node_update.sh
2019-10-29 17:12:19,592: DEBUG - + cat
2019-10-29 17:12:19,593: DEBUG - + chmod +x /etc/cron.daily/node_update
2019-10-29 17:12:19,593: DEBUG - + ynh_use_nodejs
2019-10-29 17:12:19,593: DEBUG - ++ ynh_app_setting_get --app=wekan --key=**********
2019-10-29 17:12:19,593: DEBUG - ++ local legacy_args=ak
2019-10-29 17:12:19,593: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-10-29 17:12:19,593: DEBUG - ++ declare -Ar args_array
2019-10-29 17:12:19,594: DEBUG - ++ local app
2019-10-29 17:12:19,594: DEBUG - ++ local key
2019-10-29 17:12:19,594: DEBUG - ++ ynh_handle_getopts_args --app=wekan --key=**********
2019-10-29 17:12:19,594: DEBUG - ++ set +x
2019-10-29 17:12:19,594: DEBUG - ++ ynh_app_setting get wekan **********
2019-10-29 17:12:19,594: DEBUG - ++ ACTION=get
2019-10-29 17:12:19,594: DEBUG - ++ APP=wekan
2019-10-29 17:12:19,595: DEBUG - ++ KEY=**********
2019-10-29 17:12:19,595: DEBUG - ++ VALUE=
2019-10-29 17:12:19,595: DEBUG - ++ python -
2019-10-29 17:12:19,695: DEBUG - + **********=8.16.1
2019-10-29 17:12:19,696: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
2019-10-29 17:12:19,696: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8.16.1/bin
2019-10-29 17:12:19,696: DEBUG - + [[ :/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\8\.\1\6\.\1\/\b\i\n* ]]
2019-10-29 17:12:19,696: DEBUG - + PATH=/opt/node_n/n/versions/node/8.16.1/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2019-10-29 17:12:19,696: DEBUG - + ynh_use_nodejs
2019-10-29 17:12:19,697: DEBUG - ++ ynh_app_setting_get --app=wekan --key=**********
2019-10-29 17:12:19,697: DEBUG - ++ local legacy_args=ak
2019-10-29 17:12:19,697: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-10-29 17:12:19,697: DEBUG - ++ declare -Ar args_array
2019-10-29 17:12:19,697: DEBUG - ++ local app
2019-10-29 17:12:19,697: DEBUG - ++ local key
2019-10-29 17:12:19,697: DEBUG - ++ ynh_handle_getopts_args --app=wekan --key=**********
2019-10-29 17:12:19,697: DEBUG - ++ set +x
2019-10-29 17:12:19,698: DEBUG - ++ ynh_app_setting get wekan **********
2019-10-29 17:12:19,698: DEBUG - ++ ACTION=get
2019-10-29 17:12:19,698: DEBUG - ++ APP=wekan
2019-10-29 17:12:19,698: DEBUG - ++ KEY=**********
2019-10-29 17:12:19,698: DEBUG - ++ VALUE=
2019-10-29 17:12:19,698: DEBUG - ++ python -
2019-10-29 17:12:19,799: DEBUG - + **********=8.16.1
2019-10-29 17:12:19,799: DEBUG - + nodejs_use_version='echo "Deprecated command, should be removed"'
2019-10-29 17:12:19,799: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/8.16.1/bin
2019-10-29 17:12:19,799: DEBUG - + [[ :/opt/node_n/n/versions/node/8.16.1/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin: == *\:\/\o\p\t\/\n\o\d\e\_\n\/\n\/\v\e\r\s\i\o\n\s\/\n\o\d\e\/\8\.\1\6\.\1\/\b\i\n* ]]
2019-10-29 17:12:19,800: DEBUG - + ynh_install_app_dependencies mongodb mongodb-server mongo-tools
2019-10-29 17:12:19,800: DEBUG - + local 'dependencies=mongodb mongodb-server mongo-tools'
2019-10-29 17:12:19,800: DEBUG - + local 'dependencies=mongodb, mongodb-server, mongo-tools'
2019-10-29 17:12:19,800: DEBUG - + local 'dependencies=mongodb, mongodb-server, mongo-tools'
2019-10-29 17:12:19,800: DEBUG - + local manifest_path=../manifest.json
2019-10-29 17:12:19,800: DEBUG - + '[' '!' -e ../manifest.json ']'
2019-10-29 17:12:19,800: DEBUG - ++ cut -d '"' -f 4
2019-10-29 17:12:19,800: DEBUG - ++ grep '\"version\": ' ../manifest.json
2019-10-29 17:12:19,801: DEBUG - + local version=3.45~ynh1
2019-10-29 17:12:19,801: DEBUG - + '[' 9 -eq 0 ']'
2019-10-29 17:12:19,801: DEBUG - + local dep_app=wekan
2019-10-29 17:12:19,801: DEBUG - + grep -q php
2019-10-29 17:12:19,801: DEBUG - + echo mongodb, mongodb-server, mongo-tools
2019-10-29 17:12:19,801: DEBUG - + cat
2019-10-29 17:12:19,801: DEBUG - + ynh_package_install_from_equivs /tmp/wekan-ynh-deps.control
2019-10-29 17:12:19,802: DEBUG - + local controlfile=/tmp/wekan-ynh-deps.control
2019-10-29 17:12:19,802: DEBUG - ++ cut '-d ' -f 2
2019-10-29 17:12:19,802: DEBUG - ++ grep '^Package: ' /tmp/wekan-ynh-deps.control
2019-10-29 17:12:19,802: DEBUG - + local pkgname=wekan-ynh-deps
2019-10-29 17:12:19,802: DEBUG - ++ cut '-d ' -f 2
2019-10-29 17:12:19,802: DEBUG - ++ grep '^Version: ' /tmp/wekan-ynh-deps.control
2019-10-29 17:12:19,802: DEBUG - + local pkgversion=3.45~ynh1
2019-10-29 17:12:19,802: DEBUG - + [[ -z wekan-ynh-deps ]]
2019-10-29 17:12:19,803: DEBUG - + [[ -z 3.45~ynh1 ]]
2019-10-29 17:12:19,803: DEBUG - + ynh_package_update
2019-10-29 17:12:19,803: DEBUG - + ynh_apt update
2019-10-29 17:12:19,803: DEBUG - + ynh_wait_dpkg_free
2019-10-29 17:12:19,803: DEBUG - + local try
2019-10-29 17:12:19,803: DEBUG - ++ seq 1 17
2019-10-29 17:12:19,803: DEBUG - + for try in `seq 1 17`
2019-10-29 17:12:19,803: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-29 17:12:19,904: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-29 17:12:19,904: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-29 17:12:19,904: DEBUG - + read dpkg_file
2019-10-29 17:12:19,905: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-29 17:12:19,905: DEBUG - + echo ''
2019-10-29 17:12:19,905: DEBUG - + read dpkg_file
2019-10-29 17:12:19,905: DEBUG - + return 0
2019-10-29 17:12:19,905: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-10-29 17:12:19,905: DEBUG - + apt-get -y update
2019-10-29 17:12:20,006: DEBUG - Get:1 http://forge.yunohost.org/debian stretch InRelease [18.2 kB]
2019-10-29 17:12:20,006: DEBUG - Hit:2 http://security.debian.org stretch/updates InRelease
2019-10-29 17:12:20,106: DEBUG - Ign:3 http://ftp.uk.debian.org/debian stretch InRelease
2019-10-29 17:12:20,107: DEBUG - Get:4 http://ftp.uk.debian.org/debian stretch-updates InRelease [91.0 kB]
2019-10-29 17:12:20,207: DEBUG - Hit:5 http://ftp.uk.debian.org/debian stretch Release
2019-10-29 17:12:20,207: DEBUG - Get:6 http://forge.yunohost.org/debian stretch/stable amd64 Packages [4,887 B]
2019-10-29 17:12:20,308: DEBUG - Ign:7 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.2 InRelease
2019-10-29 17:12:20,408: DEBUG - Hit:8 https://deb.nodesource.com/node_13.x stretch InRelease
2019-10-29 17:12:20,420: DEBUG - Hit:9 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.2 Release
2019-10-29 17:12:20,520: DEBUG - Hit:10 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease
2019-10-29 17:12:20,520: DEBUG - Get:11 https://packages.sury.org/php stretch InRelease [6,760 B]
2019-10-29 17:12:21,222: DEBUG - Get:15 https://packages.sury.org/php stretch/main amd64 Packages [130 kB]
2019-10-29 17:12:21,222: DEBUG - Hit:14 https://packagecloud.io/rabbitmq/rabbitmq-server/debian stretch InRelease
2019-10-29 17:12:21,323: DEBUG - Fetched 251 kB in 1s (188 kB/s)
2019-10-29 17:12:22,225: DEBUG - Reading package lists...
2019-10-29 17:12:22,225: DEBUG - ++ mktemp -d
2019-10-29 17:12:22,225: DEBUG - + local TMPDIR=/tmp/tmp.F7nfRV1Ax6
2019-10-29 17:12:22,226: DEBUG - + echo 10
2019-10-29 17:12:22,226: DEBUG - + ynh_wait_dpkg_free
2019-10-29 17:12:22,226: DEBUG - + local try
2019-10-29 17:12:22,226: DEBUG - ++ seq 1 17
2019-10-29 17:12:22,226: DEBUG - + for try in `seq 1 17`
2019-10-29 17:12:22,226: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-29 17:12:22,427: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-29 17:12:22,427: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-29 17:12:22,427: DEBUG - + read dpkg_file
2019-10-29 17:12:22,428: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-29 17:12:22,428: DEBUG - + echo ''
2019-10-29 17:12:22,428: DEBUG - + read dpkg_file
2019-10-29 17:12:22,428: DEBUG - + return 0
2019-10-29 17:12:22,428: DEBUG - + cp /tmp/wekan-ynh-deps.control /tmp/tmp.F7nfRV1Ax6/control
2019-10-29 17:12:22,428: DEBUG - + cd /tmp/tmp.F7nfRV1Ax6
2019-10-29 17:12:22,429: DEBUG - + equivs-build ./control
2019-10-29 17:12:23,230: DEBUG - + dpkg --force-depends -i ./wekan-ynh-deps_3.45~ynh1_all.deb
2019-10-29 17:12:23,331: DEBUG - Selecting previously unselected package wekan-ynh-deps.
2019-10-29 17:12:24,233: DEBUG - (Reading database ... 86182 files and directories currently installed.)
2019-10-29 17:12:24,234: DEBUG - Preparing to unpack .../wekan-ynh-deps_3.45~ynh1_all.deb ...
2019-10-29 17:12:24,334: DEBUG - Unpacking wekan-ynh-deps (3.45~ynh1) ...
2019-10-29 17:12:24,435: DEBUG - dpkg: wekan-ynh-deps: dependency problems, but configuring anyway as you requested:
2019-10-29 17:12:24,436: DEBUG - wekan-ynh-deps depends on mongodb; however:
2019-10-29 17:12:24,436: DEBUG - Package mongodb is not installed.
2019-10-29 17:12:24,437: DEBUG - wekan-ynh-deps depends on mongodb-server; however:
2019-10-29 17:12:24,437: DEBUG - Package mongodb-server is not installed.
2019-10-29 17:12:24,438: DEBUG - wekan-ynh-deps depends on mongo-tools; however:
2019-10-29 17:12:24,438: DEBUG - Package mongo-tools is not installed.
2019-10-29 17:12:24,438: DEBUG -
2019-10-29 17:12:24,439: DEBUG - Setting up wekan-ynh-deps (3.45~ynh1) ...
2019-10-29 17:12:24,647: DEBUG - + ynh_package_install -f
2019-10-29 17:12:24,647: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-10-29 17:12:24,647: DEBUG - + ynh_wait_dpkg_free
2019-10-29 17:12:24,647: DEBUG - + local try
2019-10-29 17:12:24,648: DEBUG - ++ seq 1 17
2019-10-29 17:12:24,648: DEBUG - + for try in `seq 1 17`
2019-10-29 17:12:24,648: DEBUG - + sudo lsof /var/lib/dpkg/lock
2019-10-29 17:12:24,748: DEBUG - + local dpkg_dir=/var/lib/dpkg/updates/
2019-10-29 17:12:24,749: DEBUG - ++ ls -1 /var/lib/dpkg/updates/
2019-10-29 17:12:24,749: DEBUG - + read dpkg_file
2019-10-29 17:12:24,749: DEBUG - + grep -Pq '^[[:digit:]]+$'
2019-10-29 17:12:24,749: DEBUG - + echo ''
2019-10-29 17:12:24,749: DEBUG - + read dpkg_file
2019-10-29 17:12:24,749: DEBUG - + return 0
2019-10-29 17:12:24,750: DEBUG - + DEBIAN_FRONTEND=noninteractive
2019-10-29 17:12:24,750: DEBUG - + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2019-10-29 17:12:24,850: DEBUG - Reading package lists...
2019-10-29 17:12:25,051: DEBUG - Building dependency tree...
2019-10-29 17:12:25,051: DEBUG - Reading state information...
2019-10-29 17:12:25,152: DEBUG - Correcting dependencies... Done
2019-10-29 17:12:25,252: DEBUG - The following packages will be REMOVED:
2019-10-29 17:12:25,253: WARNING - E: Packages need to be removed but remove is disabled.
2019-10-29 17:12:25,253: DEBUG - wekan-ynh-deps
2019-10-29 17:12:25,253: DEBUG - 0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
2019-10-29 17:12:25,253: DEBUG - + ynh_die '--message=Unable to install dependencies'
2019-10-29 17:12:25,254: DEBUG - + local legacy_args=mc
2019-10-29 17:12:25,254: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-10-29 17:12:25,254: DEBUG - + declare -Ar args_array
2019-10-29 17:12:25,254: DEBUG - + local message
2019-10-29 17:12:25,254: DEBUG - + local ret_code
2019-10-29 17:12:25,254: DEBUG - + ynh_handle_getopts_args '--message=Unable to install dependencies'
2019-10-29 17:12:25,254: DEBUG - + set +x
2019-10-29 17:12:25,355: DEBUG - + echo 'Unable to install dependencies'
2019-10-29 17:12:25,355: WARNING - Unable to install dependencies
2019-10-29 17:12:25,356: DEBUG - + exit 1
2019-10-29 17:12:25,356: DEBUG - + ynh_exit_properly
2019-10-29 17:12:25,357: DEBUG - + local exit_code=1
2019-10-29 17:12:25,357: DEBUG - + '[' 1 -eq 0 ']'
2019-10-29 17:12:25,357: DEBUG - + trap '' EXIT
2019-10-29 17:12:25,357: DEBUG - + set +eu
2019-10-29 17:12:25,358: DEBUG - + sleep 0.5
2019-10-29 17:12:25,759: DEBUG - + ynh_print_err '--message=!!\n wekan'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-10-29 17:12:25,759: DEBUG - + local legacy_args=m
2019-10-29 17:12:25,760: DEBUG - + args_array=([m]=message=)
2019-10-29 17:12:25,760: DEBUG - + declare -Ar args_array
2019-10-29 17:12:25,760: DEBUG - + local message
2019-10-29 17:12:25,760: DEBUG - + ynh_handle_getopts_args '--message=!!\n wekan'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-10-29 17:12:25,760: DEBUG - + set +x
2019-10-29 17:12:25,861: DEBUG - + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n wekan'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-10-29 17:12:25,862: WARNING - e[91me[1m[ERR]e[0m !!
2019-10-29 17:12:25,863: DEBUG - + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n wekan'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-10-29 17:12:25,863: WARNING - wekan's script has encountered an error. Its execution was cancelled.
2019-10-29 17:12:25,864: DEBUG - + '[' api == cli ']'
2019-10-29 17:12:25,864: WARNING - !!
2019-10-29 17:12:25,864: DEBUG - + type -t ynh_clean_setup
2019-10-29 17:12:25,865: WARNING -
2019-10-29 17:12:25,865: DEBUG - + ynh_clean_setup
2019-10-29 17:12:25,865: DEBUG - + ynh_clean_check_starting
2019-10-29 17:12:25,866: DEBUG - + kill -s 15
2019-10-29 17:12:25,866: DEBUG - kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
2019-10-29 17:12:25,866: DEBUG - + ynh_secure_remove ''
2019-10-29 17:12:25,866: DEBUG - + local legacy_args=f
2019-10-29 17:12:25,866: DEBUG - + args_array=([f]=file=)
2019-10-29 17:12:25,867: DEBUG - + declare -Ar args_array
2019-10-29 17:12:25,867: DEBUG - + local file
2019-10-29 17:12:25,867: DEBUG - + ynh_handle_getopts_args ''
2019-10-29 17:12:25,867: DEBUG - + set +x
2019-10-29 17:12:25,867: DEBUG - + echo '! Helper used in legacy mode !'
2019-10-29 17:12:25,867: DEBUG - + set +x
2019-10-29 17:12:25,868: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
2019-10-29 17:12:25,868: DEBUG - + '[' 1 -ge 2 ']'
2019-10-29 17:12:25,868: DEBUG - + [[ /var/www /home/yunohost.app =~ '' ]]
2019-10-29 17:12:25,868: DEBUG - + ynh_print_warn '--message=Avoid deleting .'
2019-10-29 17:12:25,868: DEBUG - + local legacy_args=m
2019-10-29 17:12:25,868: DEBUG - + args_array=([m]=message=)
2019-10-29 17:12:25,868: DEBUG - + declare -Ar args_array
2019-10-29 17:12:25,869: DEBUG - + local message
2019-10-29 17:12:25,869: DEBUG - + ynh_handle_getopts_args '--message=Avoid deleting .'
2019-10-29 17:12:25,869: DEBUG - + set +x
2019-10-29 17:12:25,869: DEBUG - + ynh_print_log '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2019-10-29 17:12:25,869: DEBUG - + echo -e '\e[93m\e[1m[WARN]\e[0m Avoid deleting .'
2019-10-29 17:12:25,869: DEBUG - e[93me[1m[WARN]e[0m Avoid deleting .
2019-10-29 17:12:25,870: DEBUG - + ynh_die
2019-10-29 17:12:25,870: DEBUG - + local legacy_args=mc
2019-10-29 17:12:25,870: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-10-29 17:12:25,870: DEBUG - + declare -Ar args_array
2019-10-29 17:12:25,870: DEBUG - + local message
2019-10-29 17:12:25,870: DEBUG - + local ret_code
2019-10-29 17:12:25,870: DEBUG - + ynh_handle_getopts_args
2019-10-29 17:12:25,871: DEBUG - + set +x
2019-10-29 17:12:25,871: DEBUG - + echo ''
2019-10-29 17:12:25,871: DEBUG - + exit 1