Installation de Wekan impossible

Bonjour,
Lorsque j’essai d’installer Wekan, le script renvoie l’erreur:

E: Packages need to be removed but remove is disabled.

Visiblement il essaye de supprimer une version de nodejs utilisée

Voici le log complet depuis une install en cli:

14705 INFO Installing application wekan…
14855 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wekan_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpJ29Luy/stdinfo YNH_APP_INSTANCE_NAME=wekan YNH_STDRETURN=/tmp/tmpj7NjA_/stdreturn YNH_APP_ID=wekan YNH_APP_ARG_PATH=/ YNH_APP_ARG_DOMAIN=board.alternanet.fr BASH_XTRACEFD=7 /bin/bash -x "./install" board.alternanet.fr / 1 wekan 7>&1'…
14855 DEBUG About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wekan_ynh-master/scripts YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpJ29Luy/stdinfo YNH_APP_INSTANCE_NAME=wekan YNH_STDRETURN=/tmp/tmpj7NjA_/stdreturn YNH_APP_ID=wekan YNH_APP_ARG_PATH=/ YNH_APP_ARG_DOMAIN=board.alternanet.fr BASH_XTRACEFD=7 /bin/bash -x "./install" board.alternanet.fr / 1 wekan 7>&1']'
14865 DEBUG + source _common.sh
14865 DEBUG ++ pkg_dependencies='mongodb mongodb-server'
14866 DEBUG + source ynh_systemd_action
14866 DEBUG + source /usr/share/yunohost/helpers
14866 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
14866 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14866 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
14867 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
14867 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14867 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
14867 DEBUG ++ . /usr/share/yunohost/helpers.d/debug
14867 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14868 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
14868 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
14868 DEBUG +++ source /usr/share/yunohost/helpers.d/getopts
14868 DEBUG +++ CAN_BIND=1
14969 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14969 INFO Validating installation parameters...
14969 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
14969 DEBUG ++ . /usr/share/yunohost/helpers.d/getopts
14970 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14970 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
14970 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
14970 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14970 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
14971 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
14971 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
14971 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14971 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
14971 DEBUG ++ . /usr/share/yunohost/helpers.d/network
14972 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14972 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
14972 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
14972 DEBUG +++ n_install_dir=/opt/node_n
14972 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
14973 DEBUG +++ export N_PREFIX=/opt/node_n
14973 DEBUG +++ N_PREFIX=/opt/node_n
14973 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14973 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
14973 DEBUG ++ . /usr/share/yunohost/helpers.d/package
14974 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14974 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
14974 DEBUG ++ . /usr/share/yunohost/helpers.d/print
14974 DEBUG +++ increment_progression=0
14974 DEBUG +++ previous_weight=0
14975 DEBUG ++++ date +%s
14975 DEBUG +++ base_time=1557399544
14975 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14975 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
14975 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
14976 DEBUG +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
14976 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14976 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
14976 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
14976 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14977 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
14977 DEBUG ++ . /usr/share/yunohost/helpers.d/string
14977 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14977 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
14977 DEBUG ++ . /usr/share/yunohost/helpers.d/system
14978 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14978 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
14978 DEBUG ++ . /usr/share/yunohost/helpers.d/user
14978 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
14978 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
14978 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
14979 DEBUG + ynh_abort_if_errors
14979 DEBUG + set -eu
14979 DEBUG + trap ynh_exit_properly EXIT
14979 DEBUG + domain=board.alternanet.fr
14979 DEBUG + path_url=/
14980 DEBUG + is_public=1
14980 DEBUG + app=wekan
14980 DEBUG + ynh_print_info 'Validating installation parameters...'
14980 DEBUG + local legacy_args=m
14980 DEBUG + args_array=([m]=message=)
14981 DEBUG + declare -Ar args_array
14981 DEBUG + local message
14981 DEBUG + ynh_handle_getopts_args 'Validating installation parameters...'
14981 DEBUG + set +x
14981 DEBUG + echo '! Helper used in legacy mode !'
14982 DEBUG + set +x
14982 DEBUG + echo 'Validating installation parameters...'
14982 DEBUG ++ uname -m
14982 DEBUG + [[ x86_64 == \x\8\6\_\6\4 ]]
14982 DEBUG + final_path=/var/www/wekan
14983 DEBUG + test '!' -e /var/www/wekan
14983 DEBUG + ynh_webpath_register wekan board.alternanet.fr /
14983 DEBUG + local legacy_args=adp
14983 DEBUG + args_array=([a]=app= [d]=domain= [p]=path_url=)
14983 DEBUG + declare -Ar args_array
14984 DEBUG + local app
14984 DEBUG + local domain
14984 DEBUG + local path_url
14984 DEBUG + ynh_handle_getopts_args wekan board.alternanet.fr /
14984 DEBUG + set +x
14984 DEBUG + echo '! Helper used in legacy mode !'
14985 DEBUG + set +x
14985 DEBUG + sudo yunohost app register-url wekan board.alternanet.fr /
15386 DEBUG + ynh_print_info 'Storing installation settings...'
15386 INFO Storing installation settings...
15386 DEBUG + local legacy_args=m
15387 DEBUG + args_array=([m]=message=)
15387 DEBUG + declare -Ar args_array
15387 DEBUG + local message
15387 DEBUG + ynh_handle_getopts_args 'Storing installation settings...'
15387 DEBUG + set +x
15388 DEBUG + echo '! Helper used in legacy mode !'
15388 DEBUG + set +x
15388 DEBUG + echo 'Storing installation settings...'
15388 DEBUG + ynh_app_setting_set wekan domain board.alternanet.fr
15388 DEBUG + local legacy_args=akv
15389 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
15389 DEBUG + declare -Ar args_array
15389 DEBUG + local app
15389 DEBUG + local key
15389 DEBUG + local value
15390 DEBUG + ynh_handle_getopts_args wekan domain board.alternanet.fr
15390 DEBUG + set +x
15390 DEBUG + echo '! Helper used in legacy mode !'
15390 DEBUG + set +x
15390 DEBUG + ynh_app_setting set wekan domain board.alternanet.fr
15390 DEBUG + ACTION=set
15391 DEBUG + APP=wekan
15391 DEBUG + KEY=domain
15391 DEBUG + VALUE=board.alternanet.fr
15391 DEBUG + python -
15492 DEBUG + ynh_app_setting_set wekan path /
15492 DEBUG + local legacy_args=akv
15492 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
15492 DEBUG + declare -Ar args_array
15493 DEBUG + local app
15493 DEBUG + local key
15493 DEBUG + local value
15493 DEBUG + ynh_handle_getopts_args wekan path /
15493 DEBUG + set +x
15494 DEBUG + echo '! Helper used in legacy mode !'
15494 DEBUG + set +x
15494 DEBUG + ynh_app_setting set wekan path /
15494 DEBUG + ACTION=set
15494 DEBUG + APP=wekan
15495 DEBUG + KEY=path
15495 DEBUG + VALUE=/
15495 DEBUG + python -
15595 DEBUG + ynh_app_setting_set wekan is_public 1
15596 DEBUG + local legacy_args=akv
15596 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
15596 DEBUG + declare -Ar args_array
15596 DEBUG + local app
15596 DEBUG + local key
15597 DEBUG + local value
15597 DEBUG + ynh_handle_getopts_args wekan is_public 1
15597 DEBUG + set +x
15597 DEBUG + echo '! Helper used in legacy mode !'
15597 DEBUG + set +x
15598 DEBUG + ynh_app_setting set wekan is_public 1
15598 DEBUG + ACTION=set
15598 DEBUG + APP=wekan
15598 DEBUG + KEY=is_public
15598 DEBUG + VALUE=1
15599 DEBUG + python -
15699 DEBUG + ynh_print_info 'Configuring firewall...'
15699 DEBUG + local legacy_args=m
15700 DEBUG + args_array=([m]=message=)
15700 DEBUG + declare -Ar args_array
15700 DEBUG + local message
15700 DEBUG + ynh_handle_getopts_args 'Configuring firewall...'
15701 DEBUG + set +x
15701 DEBUG + echo '! Helper used in legacy mode !'
15701 DEBUG + set +x
15701 DEBUG + echo 'Configuring firewall...'
15702 DEBUG ++ ynh_find_port 8095
15702 DEBUG ++ local legacy_args=p
15702 DEBUG ++ args_array=([p]=port=)
15702 DEBUG ++ declare -Ar args_array
15702 DEBUG ++ local port
15703 DEBUG ++ ynh_handle_getopts_args 8095
15703 DEBUG ++ set +x
15703 DEBUG ++ echo '! Helper used in legacy mode !'
15703 DEBUG ++ set +x
15704 DEBUG ++ test -n 8095
15704 DEBUG ++ netcat -z 127.0.0.1 8095
15704 DEBUG ++ port=8096
15704 DEBUG ++ netcat -z 127.0.0.1 8096
15705 DEBUG ++ echo 8096
15705 DEBUG + port=8096
15705 DEBUG + ynh_app_setting_set wekan port 8096
15705 DEBUG + local legacy_args=akv
15705 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
15706 DEBUG + declare -Ar args_array
15706 DEBUG + local app
15706 DEBUG + local key
15706 DEBUG + local value
15706 DEBUG + ynh_handle_getopts_args wekan port 8096
15707 DEBUG + set +x
15707 DEBUG + echo '! Helper used in legacy mode !'
15707 DEBUG + set +x
15707 DEBUG + ynh_app_setting set wekan port 8096
15707 DEBUG + ACTION=set
15708 DEBUG + APP=wekan
15708 DEBUG + KEY=port
15708 DEBUG + VALUE=8096
15708 DEBUG + python -
15809 DEBUG + ynh_print_info 'Installing dependencies...'
15809 INFO Configuring firewall...
15809 DEBUG + local legacy_args=m
15810 DEBUG + args_array=([m]=message=)
15810 DEBUG + declare -Ar args_array
15810 DEBUG + local message
15811 DEBUG + ynh_handle_getopts_args 'Installing dependencies...'
15811 DEBUG + set +x
15811 DEBUG + echo '! Helper used in legacy mode !'
15811 DEBUG + set +x
15812 DEBUG + echo 'Installing dependencies...'
15812 DEBUG + ynh_install_nodejs 8.15.1
15812 DEBUG + local legacy_args=n
15813 DEBUG + args_array=([n]=nodejs_version=)
15813 DEBUG + declare -Ar args_array
15813 DEBUG + local nodejs_version
15813 DEBUG + ynh_handle_getopts_args 8.15.1
15814 DEBUG + set +x
15814 DEBUG + echo '! Helper used in legacy mode !'
15814 DEBUG + set +x
15815 DEBUG + mkdir -p /opt/node_n
15815 DEBUG + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
15815 DEBUG ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
15815 DEBUG ++ sed s@/usr/local/bin:@@
15816 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
15816 DEBUG + test -x /usr/bin/node
15816 DEBUG + mv /usr/bin/node /usr/bin/node_n
15816 DEBUG + test -x /usr/bin/npm
15817 DEBUG + mv /usr/bin/npm /usr/bin/npm_n
15817 DEBUG ++ n --version
15918 DEBUG + test
15918 WARNING Installation of N - Node.js version management
15919 INFO Installing dependencies...
15919 DEBUG + ynh_install_n
15920 DEBUG + echo 'Installation of N - Node.js version management'
15920 DEBUG + mkdir -p ../conf
15920 DEBUG + echo 'SOURCE_URL=https://github.com/tj/n/archive/v2.1.7.tar.gz
15921 DEBUG SOURCE_SUM=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f'
15921 DEBUG + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
15922 DEBUG + local legacy_args=ds
15922 DEBUG + args_array=([d]=dest_dir= [s]=source_id=)
15922 DEBUG + declare -Ar args_array
15923 DEBUG + local dest_dir
15923 DEBUG + local source_id
15923 DEBUG + ynh_handle_getopts_args --dest_dir=/opt/node_n/git --source_id=n
15924 DEBUG + set +x
15924 DEBUG + source_id=n
15924 DEBUG ++ grep SOURCE_URL= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15924 DEBUG ++ cut -d= -f2-
15925 DEBUG + local src_url=https://github.com/tj/n/archive/v2.1.7.tar.gz
15925 DEBUG ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15925 DEBUG ++ cut -d= -f2-
15925 DEBUG + local src_sum=2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f
15926 DEBUG ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15926 DEBUG ++ cut -d= -f2-
15926 DEBUG + local src_sumprg=
15926 DEBUG ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15927 DEBUG ++ cut -d= -f2-
15927 DEBUG + local src_format=
15927 DEBUG ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15928 DEBUG ++ cut -d= -f2-
15928 DEBUG + local src_extract=
15928 DEBUG ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15928 DEBUG ++ cut -d= -f2-
15929 DEBUG + local src_in_subdir=
15929 DEBUG ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../conf/n.src
15929 DEBUG ++ cut -d= -f2-
15929 DEBUG + local src_filename=
15930 DEBUG + src_sumprg=sha256sum
15930 DEBUG + src_in_subdir=true
15930 DEBUG + src_format=tar.gz
15931 DEBUG ++ echo tar.gz
15931 DEBUG ++ tr '[:upper:]' '[:lower:]'
15931 DEBUG + src_format=tar.gz
15931 DEBUG + src_extract=true
15932 DEBUG + '[' '' = '' ']'
15932 DEBUG + src_filename=n.tar.gz
15932 DEBUG + local local_src=/opt/yunohost-apps-src/wekan/n.tar.gz
15932 DEBUG + test -e /opt/yunohost-apps-src/wekan/n.tar.gz
15933 DEBUG ++ wget -nv -O n.tar.gz https://github.com/tj/n/archive/v2.1.7.tar.gz
16635 DEBUG + local 'out=2019-05-09 10:59:06 URL:https://codeload.github.com/tj/n/tar.gz/v2.1.7 [9592] -> "n.tar.gz" [1]'
16635 DEBUG + echo '2ba3c9d4dd3c7e38885b37e02337906a1ee91febe6d5c9159d89a9050f2eea8f n.tar.gz'
16635 DEBUG + sha256sum -c --status
16636 DEBUG + mkdir -p /opt/node_n/git
16636 DEBUG + true
16636 DEBUG + '[' tar.gz = zip ']'
16636 DEBUG + local strip=
16636 DEBUG + '[' true '!=' false ']'
16637 DEBUG + '[' true == true ']'
16637 DEBUG + local sub_dirs=1
16637 DEBUG + strip='--strip-components 1'
16637 DEBUG + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
16637 DEBUG + tar -xf n.tar.gz -C /opt/node_n/git --strip-components 1
16638 DEBUG ++ find /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../sources/patches/ -type f -name 'n-*.patch'
16638 DEBUG ++ wc -l
16638 DEBUG + ((  0 > 0  ))
16638 DEBUG + test -e /var/cache/yunohost/from_file/wekan_ynh-master/scripts/../sources/extra_files/n
16639 DEBUG + cd /opt/node_n/git
16639 DEBUG + PREFIX=/opt/node_n
16639 DEBUG + make install
16639 DEBUG mkdir -p /opt/node_n/bin/
16639 DEBUG cp bin/n /opt/node_n/bin/n
16640 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
16640 DEBUG + local legacy_args=mrf
16640 DEBUG + args_array=([m]=match_string= [r]=replace_string= [f]=target_file=)
16640 DEBUG + declare -Ar args_array
16641 DEBUG + local match_string
16641 DEBUG + local replace_string
16641 DEBUG + local target_file
16641 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
16641 DEBUG + set +x
16642 DEBUG + local delimit=@
16642 DEBUG + match_string='^N_PREFIX=${N_PREFIX-.*}$'
16642 DEBUG + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
16642 DEBUG + sudo sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
16642 DEBUG + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16643 DEBUG + test -x /usr/bin/node_n
16643 DEBUG + mv /usr/bin/node_n /usr/bin/node
16643 DEBUG + test -x /usr/bin/npm_n
16643 DEBUG + mv /usr/bin/npm_n /usr/bin/npm
16644 DEBUG ++ uname -m
16644 DEBUG + uname=x86_64
16644 DEBUG + [[ x86_64 =~ aarch64 ]]
16644 DEBUG + [[ x86_64 =~ arm64 ]]
16644 DEBUG + n 8.15.1
16745 DEBUG ++ sort --version-sort
16745 DEBUG ++ find /opt/node_n/n/versions/node/8.15.1 -maxdepth 0
16745 DEBUG ++ tail --lines=1
16746 DEBUG + real_nodejs_version=/opt/node_n/n/versions/node/8.15.1
16746 DEBUG ++ basename /opt/node_n/n/versions/node/8.15.1
16746 DEBUG + real_nodejs_version=8.15.1
16746 DEBUG + '[' '!' -e /opt/node_n/n/versions/node/8.15.1 ']'
16746 DEBUG + echo wekan:8.15.1
16746 DEBUG + tee --append /opt/node_n/ynh_app_version
16747 DEBUG wekan:8.15.1
16747 DEBUG + ynh_app_setting_set --app=wekan --key=nodejs_version --value=8.15.1
16747 DEBUG + local legacy_args=akv
16747 DEBUG + args_array=([a]=app= [k]=key= [v]=value=)
16747 DEBUG + declare -Ar args_array
16748 DEBUG + local app
16748 DEBUG + local key
16748 DEBUG + local value
16748 DEBUG + ynh_handle_getopts_args --app=wekan --key=nodejs_version --value=8.15.1
16748 DEBUG + set +x
16749 DEBUG + ynh_app_setting set wekan nodejs_version 8.15.1
16749 DEBUG + ACTION=set
16749 DEBUG + APP=wekan
16749 DEBUG + KEY=nodejs_version
16749 DEBUG + VALUE=8.15.1
16750 DEBUG + python -
16850 DEBUG + ynh_cron_upgrade_node
16850 DEBUG + cat
16851 DEBUG + chmod +x /opt/node_n/node_update.sh
16851 DEBUG + cat
16851 DEBUG + chmod +x /etc/cron.daily/node_update
16851 DEBUG + ynh_use_nodejs
16851 DEBUG ++ ynh_app_setting_get --app=wekan --key=nodejs_version
16852 DEBUG ++ local legacy_args=ak
16852 DEBUG ++ args_array=([a]=app= [k]=key=)
16852 DEBUG ++ declare -Ar args_array
16852 DEBUG ++ local app
16852 DEBUG ++ local key
16853 DEBUG ++ ynh_handle_getopts_args --app=wekan --key=nodejs_version
16853 DEBUG ++ set +x
16853 DEBUG ++ ynh_app_setting get wekan nodejs_version
16853 DEBUG ++ ACTION=get
16853 DEBUG ++ APP=wekan
16854 DEBUG ++ KEY=nodejs_version
16854 DEBUG ++ VALUE=
16854 DEBUG ++ python -
16955 DEBUG + nodejs_version=8.15.1
16955 DEBUG + nodejs_use_version='echo "Deprecated command, should be removed"'
16955 DEBUG + nodejs_path=/opt/node_n/n/versions/node/8.15.1/bin
16955 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\5\.\1\/\b\i\n* ]]
16956 DEBUG + PATH=/opt/node_n/n/versions/node/8.15.1/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
16956 DEBUG + ynh_use_nodejs
16956 DEBUG ++ ynh_app_setting_get --app=wekan --key=nodejs_version
16956 DEBUG ++ local legacy_args=ak
16957 DEBUG ++ args_array=([a]=app= [k]=key=)
16957 DEBUG ++ declare -Ar args_array
16957 DEBUG ++ local app
16957 DEBUG ++ local key
16957 DEBUG ++ ynh_handle_getopts_args --app=wekan --key=nodejs_version
16958 DEBUG ++ set +x
16958 DEBUG ++ ynh_app_setting get wekan nodejs_version
16958 DEBUG ++ ACTION=get
16958 DEBUG ++ APP=wekan
16959 DEBUG ++ KEY=nodejs_version
16959 DEBUG ++ VALUE=
16959 DEBUG ++ python -
17060 DEBUG + nodejs_version=8.15.1
17060 DEBUG + nodejs_use_version='echo "Deprecated command, should be removed"'
17060 DEBUG + nodejs_path=/opt/node_n/n/versions/node/8.15.1/bin
17060 DEBUG + [[ :/opt/node_n/n/versions/node/8.15.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\5\.\1\/\b\i\n* ]]
17061 DEBUG + ynh_install_app_dependencies mongodb mongodb-server
17061 DEBUG + local 'dependencies=mongodb mongodb-server'
17061 DEBUG + local 'dependencies=mongodb, mongodb-server'
17061 DEBUG + local 'dependencies=mongodb, mongodb-server'
17062 DEBUG + local manifest_path=../manifest.json
17062 DEBUG + '[' '!' -e ../manifest.json ']'
17062 DEBUG ++ grep '\"version\": ' ../manifest.json
17063 DEBUG ++ cut -d '"' -f 4
17063 DEBUG + local version=2.56~ynh1
17063 DEBUG + '[' 9 -eq 0 ']'
17063 DEBUG + local dep_app=wekan
17064 DEBUG + cat
17064 DEBUG + ynh_package_install_from_equivs /tmp/wekan-ynh-deps.control
17064 DEBUG + local controlfile=/tmp/wekan-ynh-deps.control
17065 DEBUG ++ grep '^Package: ' /tmp/wekan-ynh-deps.control
17065 DEBUG ++ cut '-d ' -f 2
17065 DEBUG + local pkgname=wekan-ynh-deps
17066 DEBUG ++ grep '^Version: ' /tmp/wekan-ynh-deps.control
17066 DEBUG ++ cut '-d ' -f 2
17066 DEBUG + local pkgversion=2.56~ynh1
17067 DEBUG + [[ -z wekan-ynh-deps ]]
17067 DEBUG + [[ -z 2.56~ynh1 ]]
17067 DEBUG + ynh_package_update
17067 DEBUG + ynh_apt update
17068 DEBUG + ynh_wait_dpkg_free
17068 DEBUG + local try
17068 DEBUG ++ seq 1 17
17068 DEBUG + for try in `seq 1 17`
17068 DEBUG + sudo lsof /var/lib/dpkg/lock
17670 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
17670 DEBUG ++ ls -1 /var/lib/dpkg/updates/
17671 DEBUG + read dpkg_file
17671 DEBUG + echo ''
17671 DEBUG + grep -Pq '^[[:digit:]]+$'
17672 DEBUG + read dpkg_file
17672 DEBUG + return 0
17672 DEBUG + DEBIAN_FRONTEND=noninteractive
17673 DEBUG + apt-get -y update
17773 DEBUG Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
17773 DEBUG Ign:2 http://debian.mirrors.ovh.net/debian stretch InRelease
17774 DEBUG Get:3 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
17874 DEBUG Hit:4 http://forge.yunohost.org/debian stretch InRelease
17874 DEBUG Get:5 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
17875 DEBUG Hit:6 https://dl.yarnpkg.com/debian stable InRelease
17875 DEBUG Hit:7 https://packages.sury.org/php stretch InRelease
17976 DEBUG Ign:8 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease
18076 DEBUG Hit:9 http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 Release
18979 DEBUG Fetched 209 kB in 1s (173 kB/s)
18979 WARNING sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
19781 DEBUG Reading package lists...
19781 DEBUG ++ mktemp -d
19782 DEBUG + local TMPDIR=/tmp/tmp.vJTOcJ0iOj
19782 DEBUG + echo 10
19782 DEBUG + ynh_wait_dpkg_free
19782 DEBUG + local try
19782 DEBUG ++ seq 1 17
19783 DEBUG + for try in `seq 1 17`
19783 DEBUG + sudo lsof /var/lib/dpkg/lock
20284 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
20284 DEBUG ++ ls -1 /var/lib/dpkg/updates/
20285 DEBUG + read dpkg_file
20285 DEBUG + echo ''
20285 DEBUG + grep -Pq '^[[:digit:]]+$'
20285 DEBUG + read dpkg_file
20285 DEBUG + return 0
20286 DEBUG + cp /tmp/wekan-ynh-deps.control /tmp/tmp.vJTOcJ0iOj/control
20286 DEBUG + cd /tmp/tmp.vJTOcJ0iOj
20286 DEBUG + equivs-build ./control
21188 DEBUG + dpkg --force-depends -i ./wekan-ynh-deps_2.56~ynh1_all.deb
21289 DEBUG Selecting previously unselected package wekan-ynh-deps.
21289 DEBUG (Reading database ... 143344 files and directories currently installed.)
21290 DEBUG Preparing to unpack .../wekan-ynh-deps_2.56~ynh1_all.deb ...
21390 DEBUG Unpacking wekan-ynh-deps (2.56~ynh1) ...
21591 DEBUG dpkg: wekan-ynh-deps: dependency problems, but configuring anyway as you requested:
21592 DEBUG  wekan-ynh-deps depends on mongodb; however:
21592 DEBUG   Package mongodb is not installed.
21592 DEBUG  wekan-ynh-deps depends on mongodb-server; however:
21592 DEBUG   Package mongodb-server is not installed.
21592 DEBUG 
21592 DEBUG Setting up wekan-ynh-deps (2.56~ynh1) ...
21893 DEBUG + ynh_package_install -f
21894 DEBUG + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
21894 DEBUG + ynh_wait_dpkg_free
21894 DEBUG + local try
21894 DEBUG ++ seq 1 17
21895 DEBUG + for try in `seq 1 17`
21895 DEBUG + sudo lsof /var/lib/dpkg/lock
22396 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
22396 DEBUG ++ ls -1 /var/lib/dpkg/updates/
22397 DEBUG + read dpkg_file
22397 DEBUG + echo ''
22397 DEBUG + grep -Pq '^[[:digit:]]+$'
22397 DEBUG + read dpkg_file
22397 DEBUG + return 0
22398 DEBUG + DEBIAN_FRONTEND=noninteractive
22398 DEBUG + apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
22598 DEBUG Reading package lists...
22699 DEBUG Building dependency tree...
22699 DEBUG Reading state information...
22800 DEBUG Correcting dependencies... Done
22900 DEBUG The following packages will be REMOVED:
22901 WARNING E: Packages need to be removed but remove is disabled.
22901 DEBUG   wekan-ynh-deps
22901 WARNING Unable to install dependencies
22902 DEBUG 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
22902 WARNING !!
22902 DEBUG + ynh_die '--message=Unable to install dependencies'
22902 WARNING   wekan's script has encountered an error. Its execution was cancelled.
22903 DEBUG + local legacy_args=mc
22903 WARNING !!
22903 DEBUG + args_array=([m]=message= [c]=ret_code=)
22904 WARNING 
22904 DEBUG + declare -Ar args_array
22904 DEBUG + local message
22904 DEBUG + local ret_code
22905 DEBUG + ynh_handle_getopts_args '--message=Unable to install dependencies'
22905 DEBUG + set +x
22905 DEBUG + echo 'Unable to install dependencies'
22905 DEBUG + exit 1
22906 DEBUG + ynh_exit_properly
22906 DEBUG + local exit_code=1
22906 DEBUG + '[' 1 -eq 0 ']'
22907 DEBUG + trap '' EXIT
22907 DEBUG + set +eu
22907 DEBUG + echo -e '!!\n  wekan'\''s script has encountered an error. Its execution was cancelled.\n!!'
22907 DEBUG + type -t ynh_clean_setup
22908 DEBUG + ynh_die
22908 DEBUG + local legacy_args=mc
22908 DEBUG + args_array=([m]=message= [c]=ret_code=)
22908 DEBUG + declare -Ar args_array
22909 DEBUG + local message
22909 DEBUG + local ret_code
22909 DEBUG + ynh_handle_getopts_args
22909 DEBUG + set +x
22910 DEBUG + echo ''
22910 DEBUG + exit 1
23062 INFO The operation 'Install 'wekan' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-105904-app_install-wekan --share'
23073 DEBUG Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wekan_ynh-master/scripts YNH_STDINFO=/tmp/tmpz944PL/stdinfo YNH_APP_INSTANCE_NAME=wekan YNH_STDRETURN=/tmp/tmpiWBtyQ/stdreturn YNH_APP_ID=wekan BASH_XTRACEFD=7 /bin/bash -x "./remove" wekan 7>&1'…
23073 DEBUG About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/wekan_ynh-master/scripts YNH_STDINFO=/tmp/tmpz944PL/stdinfo YNH_APP_INSTANCE_NAME=wekan YNH_STDRETURN=/tmp/tmpiWBtyQ/stdreturn YNH_APP_ID=wekan BASH_XTRACEFD=7 /bin/bash -x "./remove" wekan 7>&1']'
23082 DEBUG + source _common.sh
23083 DEBUG ++ pkg_dependencies='mongodb mongodb-server'
23083 DEBUG + source /usr/share/yunohost/helpers
23083 DEBUG +++ run-parts --list /usr/share/yunohost/helpers.d
23084 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23084 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
23084 DEBUG ++ . /usr/share/yunohost/helpers.d/backend
23185 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23185 INFO Loading installation settings...
23186 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/debug ']'
23186 DEBUG ++ . /usr/share/yunohost/helpers.d/debug
23186 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23186 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
23186 DEBUG ++ . /usr/share/yunohost/helpers.d/filesystem
23187 DEBUG +++ source /usr/share/yunohost/helpers.d/getopts
23187 DEBUG +++ CAN_BIND=1
23187 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23187 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
23187 DEBUG ++ . /usr/share/yunohost/helpers.d/getopts
23188 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23188 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
23188 DEBUG ++ . /usr/share/yunohost/helpers.d/ip
23188 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23188 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
23189 DEBUG ++ . /usr/share/yunohost/helpers.d/mysql
23189 DEBUG +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
23189 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23189 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
23189 DEBUG ++ . /usr/share/yunohost/helpers.d/network
23190 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23190 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
23190 DEBUG ++ . /usr/share/yunohost/helpers.d/nodejs
23190 DEBUG +++ n_install_dir=/opt/node_n
23190 DEBUG +++ node_version_path=/opt/node_n/n/versions/node
23191 DEBUG +++ export N_PREFIX=/opt/node_n
23191 DEBUG +++ N_PREFIX=/opt/node_n
23191 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23191 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
23191 DEBUG ++ . /usr/share/yunohost/helpers.d/package
23192 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23192 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
23192 DEBUG ++ . /usr/share/yunohost/helpers.d/print
23192 DEBUG +++ increment_progression=0
23192 DEBUG +++ previous_weight=0
23193 DEBUG ++++ date +%s
23193 DEBUG +++ base_time=1557399552
23193 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23193 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
23193 DEBUG ++ . /usr/share/yunohost/helpers.d/psql
23193 DEBUG +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
23194 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23194 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
23194 DEBUG ++ . /usr/share/yunohost/helpers.d/setting
23194 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23194 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
23195 DEBUG ++ . /usr/share/yunohost/helpers.d/string
23195 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23195 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
23195 DEBUG ++ . /usr/share/yunohost/helpers.d/system
23195 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23196 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
23196 DEBUG ++ . /usr/share/yunohost/helpers.d/user
23196 DEBUG ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
23196 DEBUG ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
23196 DEBUG ++ . /usr/share/yunohost/helpers.d/utils
23197 DEBUG + ynh_print_info 'Loading installation settings...'
23197 DEBUG + local legacy_args=m
23197 DEBUG + args_array=([m]=message=)
23197 DEBUG + declare -Ar args_array
23197 DEBUG + local message
23198 DEBUG + ynh_handle_getopts_args 'Loading installation settings...'
23198 DEBUG + set +x
23198 DEBUG + echo '! Helper used in legacy mode !'
23198 DEBUG + set +x
23198 DEBUG + echo 'Loading installation settings...'
23199 DEBUG + app=wekan
23199 DEBUG ++ ynh_app_setting_get wekan domain
23199 DEBUG ++ local legacy_args=ak
23199 DEBUG ++ args_array=([a]=app= [k]=key=)
23199 DEBUG ++ declare -Ar args_array
23200 DEBUG ++ local app
23200 DEBUG ++ local key
23200 DEBUG ++ ynh_handle_getopts_args wekan domain
23200 DEBUG ++ set +x
23200 DEBUG ++ echo '! Helper used in legacy mode !'
23200 DEBUG ++ set +x
23201 DEBUG ++ ynh_app_setting get wekan domain
23201 DEBUG ++ ACTION=get
23201 DEBUG ++ APP=wekan
23201 DEBUG ++ KEY=domain
23201 DEBUG ++ VALUE=
23202 DEBUG ++ python -
23302 DEBUG + domain=board.alternanet.fr
23302 DEBUG ++ ynh_app_setting_get wekan port
23303 DEBUG ++ local legacy_args=ak
23303 DEBUG ++ args_array=([a]=app= [k]=key=)
23303 DEBUG ++ declare -Ar args_array
23303 DEBUG ++ local app
23303 DEBUG ++ local key
23304 DEBUG ++ ynh_handle_getopts_args wekan port
23304 DEBUG ++ set +x
23304 DEBUG ++ echo '! Helper used in legacy mode !'
23304 DEBUG ++ set +x
23304 DEBUG ++ ynh_app_setting get wekan port
23305 DEBUG ++ ACTION=get
23305 DEBUG ++ APP=wekan
23305 DEBUG ++ KEY=port
23305 DEBUG ++ VALUE=
23305 DEBUG ++ python -
23406 DEBUG + port=8096
23406 DEBUG ++ ynh_app_setting_get wekan db_name
23406 DEBUG ++ local legacy_args=ak
23406 DEBUG ++ args_array=([a]=app= [k]=key=)
23407 DEBUG ++ declare -Ar args_array
23407 DEBUG ++ local app
23407 DEBUG ++ local key
23407 DEBUG ++ ynh_handle_getopts_args wekan db_name
23407 DEBUG ++ set +x
23408 DEBUG ++ echo '! Helper used in legacy mode !'
23408 DEBUG ++ set +x
23408 DEBUG ++ ynh_app_setting get wekan db_name
23408 DEBUG ++ ACTION=get
23408 DEBUG ++ APP=wekan
23409 DEBUG ++ KEY=db_name
23409 DEBUG ++ VALUE=
23409 DEBUG ++ python -
23509 DEBUG + db_name=
23510 DEBUG ++ ynh_app_setting_get wekan final_path
23510 DEBUG ++ local legacy_args=ak
23510 DEBUG ++ args_array=([a]=app= [k]=key=)
23510 DEBUG ++ declare -Ar args_array
23510 DEBUG ++ local app
23511 DEBUG ++ local key
23511 DEBUG ++ ynh_handle_getopts_args wekan final_path
23511 DEBUG ++ set +x
23511 DEBUG ++ echo '! Helper used in legacy mode !'
23511 DEBUG ++ set +x
23512 DEBUG ++ ynh_app_setting get wekan final_path
23512 DEBUG ++ ACTION=get
23512 DEBUG ++ APP=wekan
23512 DEBUG ++ KEY=final_path
23512 DEBUG ++ VALUE=
23513 DEBUG ++ python -
23613 DEBUG + final_path=
23613 DEBUG + yunohost service status wekan
23914 DEBUG + ynh_print_info 'Stopping and removing the systemd service'
23915 DEBUG + local legacy_args=m
23915 DEBUG + args_array=([m]=message=)
23915 DEBUG + declare -Ar args_array
23915 DEBUG + local message
23915 DEBUG + ynh_handle_getopts_args 'Stopping and removing the systemd service'
23916 DEBUG + set +x
23916 DEBUG + echo '! Helper used in legacy mode !'
23916 DEBUG + set +x
23916 DEBUG + echo 'Stopping and removing the systemd service'
23916 DEBUG + ynh_remove_systemd_config
23917 DEBUG + local legacy_args=s
23917 DEBUG + args_array=([s]=service=)
23917 DEBUG + declare -Ar args_array
23917 DEBUG + local service
23917 DEBUG + ynh_handle_getopts_args
23918 DEBUG + set +x
23918 DEBUG + local service=wekan
23918 DEBUG + local finalsystemdconf=/etc/systemd/system/wekan.service
23918 DEBUG + '[' -e /etc/systemd/system/wekan.service ']'
23918 DEBUG + ynh_print_info 'Removing the MongoDB database'
23919 DEBUG + local legacy_args=m
23919 DEBUG + args_array=([m]=message=)
23919 DEBUG + declare -Ar args_array
23919 DEBUG + local message
23920 DEBUG + ynh_handle_getopts_args 'Removing the MongoDB database'
23920 DEBUG + set +x
23920 DEBUG + echo '! Helper used in legacy mode !'
23920 DEBUG + set +x
23920 DEBUG + echo 'Removing the MongoDB database'
23921 DEBUG + mongo --eval 'db.dropDatabase()'
23921 DEBUG MongoDB shell version v4.0.9
24021 DEBUG connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb
24022 INFO Stopping and removing the systemd service
24022 DEBUG Implicit session: session { "id" : UUID("4abc7f9d-49e6-4c54-9ff2-18a11cf9c3db") }
24022 INFO Removing the MongoDB database
24022 DEBUG MongoDB server version: 4.0.9
24023 INFO Removing dependencies
24023 DEBUG { "ok" : 1 }
24023 DEBUG + ynh_print_info 'Removing dependencies'
24024 DEBUG + local legacy_args=m
24024 DEBUG + args_array=([m]=message=)
24024 DEBUG + declare -Ar args_array
24024 DEBUG + local message
24025 DEBUG + ynh_handle_getopts_args 'Removing dependencies'
24025 DEBUG + set +x
24025 DEBUG + echo '! Helper used in legacy mode !'
24026 DEBUG + set +x
24026 DEBUG + echo 'Removing dependencies'
24026 DEBUG + ynh_remove_app_dependencies
24026 DEBUG + local dep_app=wekan
24027 DEBUG + ynh_package_autopurge wekan-ynh-deps
24027 DEBUG + ynh_apt autoremove --purge wekan-ynh-deps
24027 DEBUG + ynh_wait_dpkg_free
24028 DEBUG + local try
24028 DEBUG ++ seq 1 17
24028 DEBUG + for try in `seq 1 17`
24028 DEBUG + sudo lsof /var/lib/dpkg/lock
24530 DEBUG + local dpkg_dir=/var/lib/dpkg/updates/
24530 DEBUG ++ ls -1 /var/lib/dpkg/updates/
24530 DEBUG + read dpkg_file
24530 DEBUG + echo ''
24531 DEBUG + grep -Pq '^[[:digit:]]+$'
24531 DEBUG + read dpkg_file
24531 DEBUG + return 0
24531 DEBUG + DEBIAN_FRONTEND=noninteractive
24531 DEBUG + apt-get -y autoremove --purge wekan-ynh-deps
24632 DEBUG Reading package lists...
24732 DEBUG Building dependency tree...
24733 DEBUG Reading state information...
24833 DEBUG The following packages will be REMOVED:
24833 DEBUG   wekan-ynh-deps*
24934 WARNING /bin/sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
25235 DEBUG 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
                                                                          25235 DEBUG After this operation, 9,216 B disk space will be freed.
                                                             25436 DEBUG (Readin(Reading database ... 143347 files and directories currently installed.)
                                                                        25436 DEBUG Removing wekan-ynh-deps (2.56~ynh1) ...
                                           26038 DEBUG sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
                                    26139 DEBUG sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
                             26239 DEBUG sh: BASH_XTRACEFD: 7: invalid value for trace file descriptor
26440 DEBUG + ynh_print_info 'Removing nodejs'
26440 INFO Removing nodejs
26441 DEBUG + local legacy_args=m
26441 DEBUG + args_array=([m]=message=)
26441 DEBUG + declare -Ar args_array
26441 DEBUG + local message
26441 DEBUG + ynh_handle_getopts_args 'Removing nodejs'
26442 DEBUG + set +x
26442 DEBUG + echo '! Helper used in legacy mode !'
26442 DEBUG + set +x
26442 DEBUG + echo 'Removing nodejs'
26442 DEBUG + ynh_remove_nodejs
26442 DEBUG ++ ynh_app_setting_get --app=wekan --key=nodejs_version
26443 DEBUG ++ local legacy_args=ak
26443 DEBUG ++ args_array=([a]=app= [k]=key=)
26443 DEBUG ++ declare -Ar args_array
26443 DEBUG ++ local app
26443 DEBUG ++ local key
26444 DEBUG ++ ynh_handle_getopts_args --app=wekan --key=nodejs_version
26444 DEBUG ++ set +x
26444 DEBUG ++ ynh_app_setting get wekan nodejs_version
26444 DEBUG ++ ACTION=get
26444 DEBUG ++ APP=wekan
26445 DEBUG ++ KEY=nodejs_version
26445 DEBUG ++ VALUE=
26445 DEBUG ++ python -
26545 DEBUG + nodejs_version=8.15.1
26546 DEBUG + sed --in-place /wekan:8.15.1/d /opt/node_n/ynh_app_version
26546 DEBUG + grep --quiet 8.15.1 /opt/node_n/ynh_app_version
26546 DEBUG + /opt/node_n/bin/n rm 8.15.1
26547 DEBUG 
26547 DEBUG   Error: cannot remove currently active version (node/8.15.1)
26547 DEBUG 
26548 DEBUG + '[' '!' -s /opt/node_n/ynh_app_version ']'
26548 DEBUG + ynh_print_info 'Removing app main directory'
26548 DEBUG + local legacy_args=m
26549 DEBUG + args_array=([m]=message=)
26549 DEBUG + declare -Ar args_array
26549 DEBUG + local message
26550 WARNING Avoid deleting .
26550 DEBUG + ynh_handle_getopts_args 'Removing app main directory'
26550 DEBUG + set +x
26550 DEBUG + echo '! Helper used in legacy mode !'
26551 DEBUG + set +x
26551 DEBUG + echo 'Removing app main directory'
26551 DEBUG + ynh_secure_remove ''
26552 DEBUG + local legacy_args=f
26552 DEBUG + args_array=([f]=file=)
26552 DEBUG + declare -Ar args_array
26552 DEBUG + local file
26553 DEBUG + ynh_handle_getopts_args ''
26553 DEBUG + set +x
26553 DEBUG + echo '! Helper used in legacy mode !'
26553 DEBUG + set +x
26554 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
26554 DEBUG + '[' 1 -ge 2 ']'
26554 DEBUG + [[  	/var/www 	/home/yunohost.app =~ '' ]]
26555 DEBUG + echo 'Avoid deleting .'
26555 DEBUG + ynh_print_info 'Removing nginx web server configuration'
26555 DEBUG + local legacy_args=m
26555 DEBUG + args_array=([m]=message=)
26556 DEBUG + declare -Ar args_array
26556 DEBUG + local message
26556 DEBUG + ynh_handle_getopts_args 'Removing nginx web server configuration'
26557 DEBUG + set +x
26557 DEBUG + echo '! Helper used in legacy mode !'
26557 DEBUG + set +x
26557 DEBUG + echo 'Removing nginx web server configuration'
26558 DEBUG + ynh_remove_nginx_config
26558 DEBUG + ynh_secure_remove --file=/etc/nginx/conf.d/board.alternanet.fr.d/wekan.conf
26558 DEBUG + local legacy_args=f
26558 DEBUG + args_array=([f]=file=)
26559 WARNING /etc/nginx/conf.d/board.alternanet.fr.d/wekan.conf wasn't deleted because it doesn't exist.
26559 DEBUG + declare -Ar args_array
26559 DEBUG + local file
26559 DEBUG + ynh_handle_getopts_args --file=/etc/nginx/conf.d/board.alternanet.fr.d/wekan.conf
26559 DEBUG + set +x
26560 DEBUG + local 'forbidden_path= 	/var/www 	/home/yunohost.app'
26560 DEBUG + '[' 1 -ge 2 ']'
26560 DEBUG + [[  	/var/www 	/home/yunohost.app =~ /etc/nginx/conf\.d/board\.alternanet\.fr\.d/wekan\.conf ]]
26560 DEBUG + [[ /etc/nginx/conf.d/board.alternanet.fr.d/wekan.conf =~ ^/[[:alnum:]]+$ ]]
26560 DEBUG + [[ f = \/ ]]
26561 DEBUG + '[' -e /etc/nginx/conf.d/board.alternanet.fr.d/wekan.conf ']'
26561 DEBUG + echo '/etc/nginx/conf.d/board.alternanet.fr.d/wekan.conf wasn'\''t deleted because it doesn'\''t exist.'
26561 DEBUG + ynh_systemd_action --service_name=nginx --action=reload
26561 DEBUG + local legacy_args=nalpte
26561 DEBUG + args_array=([n]=service_name= [a]=action= [l]=line_match= [p]=log_path= [t]=timeout= [e]=length=)
26562 DEBUG + declare -Ar args_array
26562 DEBUG + local service_name
26562 DEBUG + local action
26562 DEBUG + local line_match
26562 DEBUG + local length
26563 DEBUG + local log_path
26563 DEBUG + local timeout
26563 DEBUG + ynh_handle_getopts_args --service_name=nginx --action=reload
26563 DEBUG + set +x
26664 DEBUG + local service_name=nginx
26664 INFO Removing app main directory
26664 DEBUG + local action=reload
26664 INFO Removing nginx web server configuration
26665 DEBUG + local log_path=/var/log/nginx/nginx.log
26665 INFO Reload the service nginx
26665 DEBUG + local length=20
26665 DEBUG + local timeout=300
26665 DEBUG + [[ -n '' ]]
26666 DEBUG + ynh_print_info '--message=Reload the service nginx'
26666 DEBUG + local legacy_args=m
26666 DEBUG + args_array=([m]=message=)
26666 DEBUG + declare -Ar args_array
26667 DEBUG + local message
26667 DEBUG + ynh_handle_getopts_args '--message=Reload the service nginx'
26667 DEBUG + set +x
26667 DEBUG + echo 'Reload the service nginx'
26668 DEBUG + '[' reload == reload ']'
26668 DEBUG + action=reload-or-restart
26668 DEBUG + systemctl reload-or-restart nginx
26768 DEBUG + [[ -n '' ]]
26769 WARNING The user wekan was not found
26769 DEBUG + ynh_print_info 'Removing the dedicated system user'
26769 DEBUG + local legacy_args=m
26769 DEBUG + args_array=([m]=message=)
26769 DEBUG + declare -Ar args_array
26770 DEBUG + local message
26770 DEBUG + ynh_handle_getopts_args 'Removing the dedicated system user'
26770 DEBUG + set +x
26770 DEBUG + echo '! Helper used in legacy mode !'
26770 DEBUG + set +x
26770 DEBUG + echo 'Removing the dedicated system user'
26771 DEBUG + ynh_system_user_delete wekan
26771 DEBUG + local legacy_args=u
26771 DEBUG + args_array=([u]=username=)
26771 DEBUG + declare -Ar args_array
26771 DEBUG + local username
26771 DEBUG + ynh_handle_getopts_args wekan
26772 DEBUG + set +x
26772 DEBUG + echo '! Helper used in legacy mode !'
26772 DEBUG + set +x
26772 DEBUG + ynh_system_user_exists wekan
26772 DEBUG + local legacy_args=u
26772 DEBUG + args_array=([u]=username=)
26773 DEBUG + declare -Ar args_array
26773 DEBUG + local username
26773 DEBUG + ynh_handle_getopts_args wekan
26773 DEBUG + set +x
26773 DEBUG + echo '! Helper used in legacy mode !'
26773 DEBUG + set +x
26774 DEBUG + getent passwd wekan
26774 DEBUG + echo 'The user wekan was not found'
26774 DEBUG + ynh_system_group_exists wekan
26774 DEBUG + local legacy_args=g
26774 DEBUG + args_array=([g]=group=)
26775 DEBUG + declare -Ar args_array
26775 DEBUG + local group
26775 DEBUG + ynh_handle_getopts_args wekan
26775 DEBUG + set +x
26775 DEBUG + echo '! Helper used in legacy mode !'
26776 DEBUG + set +x
26776 DEBUG + getent group wekan
26776 DEBUG + ynh_print_info 'Removal of wekan completed'
26776 DEBUG + local legacy_args=m
26776 DEBUG + args_array=([m]=message=)
26777 DEBUG + declare -Ar args_array
26777 DEBUG + local message
26777 DEBUG + ynh_handle_getopts_args 'Removal of wekan completed'
26777 DEBUG + set +x
26777 DEBUG + echo '! Helper used in legacy mode !'
26777 DEBUG + set +x
26778 DEBUG + echo 'Removal of wekan completed'
26878 INFO Removing the dedicated system user
26879 INFO Removal of wekan completed
26896 DEBUG To view the log of the operation 'Remove 'wekan' after a failed installation', use the command 'yunohost log display 20190509-105912-remove_on_failed_install-wekan'
29181 SUCCESS The SSOwat configuration has been generated
29181 DEBUG action [23551.1] executed in 28.958s
29181 DEBUG lock has been released
29181 ERROR The operation 'Install 'wekan' application' has failed! To get help, please share the full log of this operation using the command 'yunohost log display 20190509-105904-app_install-wekan --share'

Encore merci à la communauté et aux dev !

Essaie de désinstaller Node avant