ERROR - Impossible d’installer mastodon

Mon serveur YunoHost

Matériel: Vieil ordinateur Un mini-laptop HP mini 110-3601ek
Version de YunoHost: 4.1.7.1
J’ai accès à mon serveur : Par la webadmin et en direct avec un clavier/écran
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si oui, expliquer: c’est une installation neuve de Yunohost

Description du problème

Bonjour ou bonsoir chers ami.s.es :relaxed:

Je tiens à vous remercier avant tout pour votre travail titanesque qui merite tout les eloges du monde. Mille merci!

Merci en second lieu pour celles et seux qui voudront bien m’aider à depatouiller ce petit problème! :wink:

Bon, je ne suis pas vraiment très au fait avec YunoHost mais il me semble qu’il y a un bug dans le script d’installation de Mastodon. Le plus ettonant est que c’est une nouvelle installation de YunoHost sur mon Viel mini-laptop.

NB: Voici ci-après les message d’erreur complet

https://paste.yunohost.org/raw/wasubevose

args:
  app: mastodon
  args: domain=masto.maindomain.tld&admin=mikonos&is_public=1&language=fr_FR
  force: false
  label: Mastodon
  no_remove_on_failure: false
ended_at: 2021-02-12 19:44:13.843333
env:
  YNH_APP_ARG_ADMIN: mikonos
  YNH_APP_ARG_DOMAIN: masto.maindomain.tld
  YNH_APP_ARG_IS_PUBLIC: 1
  YNH_APP_ARG_LANGUAGE: fr_FR
  YNH_APP_ID: mastodon
  YNH_APP_INSTANCE_NAME: mastodon
  YNH_APP_INSTANCE_NUMBER: '1'
  YNH_APP_MANIFEST_VERSION: 3.2.2~ynh1
error: "Une erreur est survenue dans le script d\u2019installation de l\u2019application"
interface: api
operation: app_install
parent: null
related_to:
- - app
  - mastodon
started_at: 2021-02-12 19:43:58.051508
success: false
yunohost_version: 4.1.7.1

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

2021-02-12 20:43:58,100: INFO - Installation de mastodon...
2021-02-12 20:43:58,508: DEBUG - Permission 'mastodon.main' mise à jour
2021-02-12 20:43:58,724: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210212-194358-permission_url-mastodon" style="text-decoration:underline"> Mise à jour de l’URL associée à l’autorisation 'mastodon' </a>'
2021-02-12 20:43:59,199: DEBUG - The permission database has been resynchronized
2021-02-12 20:43:59,474: DEBUG - La configuration de SSOwat a été regénérée
2021-02-12 20:43:59,716: DEBUG - Permission 'mastodon.main' créée
2021-02-12 20:43:59,718: DEBUG - Journal complet de cette opération : '<a href="#/tools/logs/20210212-194358-permission_create-mastodon" style="text-decoration:underline"> Créer permission 'mastodon' </a>'
2021-02-12 20:43:59,765: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ARG_LANGUAGE=fr_FR YNH_APP_MANIFEST_VERSION='3.2.2~ynh1' YNH_APP_ARG_IS_PUBLIC=1 YNH_STDINFO=/tmp/tmpDD4rB4/stdinfo YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=mastodon YNH_APP_ARG_ADMIN=mikonos YNH_INTERFACE=api YNH_APP_ID=mastodon YNH_STDRETURN=/tmp/tmpdGa0al/stdreturn YNH_APP_ARG_DOMAIN=masto.maindomain.tld BASH_XTRACEFD=7 /bin/bash -x "./install" masto.maindomain.tld mikonos 1 fr_FR mastodon 7>&1'
2021-02-12 20:43:59,891: DEBUG - + source _common.sh
2021-02-12 20:43:59,902: DEBUG - ++ pkg_dependencies='imagemagick ffmpeg libpq-dev libxml2-dev libxslt1-dev file git-core g++ libprotobuf-dev protobuf-compiler pkg-config gcc autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3|libgdbm6 libgdbm-dev redis-server redis-tools postgresql postgresql-contrib libidn11-dev libicu-dev libjemalloc-dev curl apt-transport-https'
2021-02-12 20:43:59,903: DEBUG - ++ MEMORY_NEEDED=2560
2021-02-12 20:43:59,904: DEBUG - +++ lsb_release --codename --short
2021-02-12 20:44:00,106: DEBUG - ++ '[' buster = buster ']'
2021-02-12 20:44:00,107: DEBUG - ++ RUBY_VERSION=2.6.6
2021-02-12 20:44:00,108: DEBUG - ++ BUNDLER_VERSION=1.17.3
2021-02-12 20:44:00,109: DEBUG - ++ NODEJS_VERSION=12
2021-02-12 20:44:00,110: DEBUG - + source ynh_install_ruby__2
2021-02-12 20:44:00,112: DEBUG - ++ rbenv_install_dir=/opt/rbenv
2021-02-12 20:44:00,113: DEBUG - ++ export RBENV_ROOT=/opt/rbenv
2021-02-12 20:44:00,114: DEBUG - ++ RBENV_ROOT=/opt/rbenv
2021-02-12 20:44:00,115: DEBUG - + source ynh_add_swap
2021-02-12 20:44:00,116: DEBUG - + source /usr/share/yunohost/helpers
2021-02-12 20:44:00,117: DEBUG - +++ set +o
2021-02-12 20:44:00,118: DEBUG - +++ grep xtrace
2021-02-12 20:44:00,119: DEBUG - ++ readonly 'XTRACE_ENABLE=set -o xtrace'
2021-02-12 20:44:00,120: DEBUG - ++ XTRACE_ENABLE='set -o xtrace'
2021-02-12 20:44:00,223: DEBUG - + ynh_abort_if_errors
2021-02-12 20:44:00,224: DEBUG - + set -o errexit
2021-02-12 20:44:00,226: DEBUG - + set -o nounset
2021-02-12 20:44:00,227: DEBUG - + trap ynh_exit_properly EXIT
2021-02-12 20:44:00,228: DEBUG - + domain=masto.maindomain.tld
2021-02-12 20:44:00,230: DEBUG - + path_url=/
2021-02-12 20:44:00,231: DEBUG - + admin=mikonos
2021-02-12 20:44:00,232: DEBUG - + is_public=1
2021-02-12 20:44:00,233: DEBUG - + language=fr_FR
2021-02-12 20:44:00,235: DEBUG - ++ ynh_user_get_info mikonos mail
2021-02-12 20:44:00,348: DEBUG - ++ yunohost user info mikonos --output-as plain
2021-02-12 20:44:00,349: DEBUG - ++ ynh_get_plain_key mail
2021-02-12 20:44:00,350: DEBUG - ++ local prefix=#
2021-02-12 20:44:00,351: DEBUG - ++ local founded=0
2021-02-12 20:44:00,352: DEBUG - ++ local key_=mail
2021-02-12 20:44:00,354: DEBUG - ++ shift
2021-02-12 20:44:00,355: DEBUG - ++ read line
2021-02-12 20:44:01,760: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,762: DEBUG - ++ [[ #username =~ ^#mail$ ]]
2021-02-12 20:44:01,763: DEBUG - ++ read line
2021-02-12 20:44:01,764: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,765: DEBUG - ++ [[ mikonos =~ ^#mail$ ]]
2021-02-12 20:44:01,766: DEBUG - ++ read line
2021-02-12 20:44:01,768: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,769: DEBUG - ++ [[ #firstname =~ ^#mail$ ]]
2021-02-12 20:44:01,771: DEBUG - ++ read line
2021-02-12 20:44:01,772: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,774: DEBUG - ++ [[ Miko =~ ^#mail$ ]]
2021-02-12 20:44:01,775: DEBUG - ++ read line
2021-02-12 20:44:01,776: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,778: DEBUG - ++ [[ #lastname =~ ^#mail$ ]]
2021-02-12 20:44:01,779: DEBUG - ++ read line
2021-02-12 20:44:01,780: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,781: DEBUG - ++ [[ Nos =~ ^#mail$ ]]
2021-02-12 20:44:01,783: DEBUG - ++ read line
2021-02-12 20:44:01,784: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,785: DEBUG - ++ [[ #mailbox-quota =~ ^#mail$ ]]
2021-02-12 20:44:01,786: DEBUG - ++ read line
2021-02-12 20:44:01,787: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,789: DEBUG - ++ [[ ##use =~ ^#mail$ ]]
2021-02-12 20:44:01,790: DEBUG - ++ read line
2021-02-12 20:44:01,791: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,807: DEBUG - ++ [[ 4.0K =~ ^#mail$ ]]
2021-02-12 20:44:01,808: DEBUG - ++ read line
2021-02-12 20:44:01,809: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,810: DEBUG - ++ [[ ##limit =~ ^#mail$ ]]
2021-02-12 20:44:01,811: DEBUG - ++ read line
2021-02-12 20:44:01,813: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,815: DEBUG - ++ [[ Pas de quota =~ ^#mail$ ]]
2021-02-12 20:44:01,817: DEBUG - ++ read line
2021-02-12 20:44:01,818: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,819: DEBUG - ++ [[ #mail-aliases =~ ^#mail$ ]]
2021-02-12 20:44:01,821: DEBUG - ++ read line
2021-02-12 20:44:01,822: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,823: DEBUG - ++ [[ root@maindomain.tld =~ ^#mail$ ]]
2021-02-12 20:44:01,824: DEBUG - ++ read line
2021-02-12 20:44:01,825: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,834: DEBUG - ++ [[ admin@maindomain.tld =~ ^#mail$ ]]
2021-02-12 20:44:01,835: DEBUG - ++ read line
2021-02-12 20:44:01,836: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,837: DEBUG - ++ [[ webmaster@maindomain.tld =~ ^#mail$ ]]
2021-02-12 20:44:01,838: DEBUG - ++ read line
2021-02-12 20:44:01,839: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,841: DEBUG - ++ [[ postmaster@maindomain.tld =~ ^#mail$ ]]
2021-02-12 20:44:01,842: DEBUG - ++ read line
2021-02-12 20:44:01,846: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,847: DEBUG - ++ [[ abuse@maindomain.tld =~ ^#mail$ ]]
2021-02-12 20:44:01,848: DEBUG - ++ read line
2021-02-12 20:44:01,850: DEBUG - ++ [[ 0 == \1 ]]
2021-02-12 20:44:01,851: DEBUG - ++ [[ #mail =~ ^#mail$ ]]
2021-02-12 20:44:01,852: DEBUG - ++ [[ -n '' ]]
2021-02-12 20:44:01,853: DEBUG - ++ founded=1
2021-02-12 20:44:01,855: DEBUG - ++ read line
2021-02-12 20:44:01,856: DEBUG - ++ [[ 1 == \1 ]]
2021-02-12 20:44:01,857: DEBUG - ++ [[ mikonos@maindomain.tld =~ ^#[^#] ]]
2021-02-12 20:44:01,859: DEBUG - ++ echo mikonos@maindomain.tld
2021-02-12 20:44:01,860: DEBUG - ++ read line
2021-02-12 20:44:01,861: DEBUG - ++ [[ 1 == \1 ]]
2021-02-12 20:44:01,863: DEBUG - ++ [[ #fullname =~ ^#[^#] ]]
2021-02-12 20:44:01,864: DEBUG - ++ return
2021-02-12 20:44:01,966: DEBUG - + admin_mail=mikonos@maindomain.tld
2021-02-12 20:44:01,967: DEBUG - + app=mastodon
2021-02-12 20:44:02,174: DEBUG - + echo '[....................] > Validating installation parameters...'
2021-02-12 20:44:02,176: DEBUG - + final_path=/var/www/mastodon
2021-02-12 20:44:02,178: DEBUG - + test '!' -e /var/www/mastodon
2021-02-12 20:44:02,179: DEBUG - + ynh_webpath_register --app=mastodon --domain=masto.maindomain.tld --path_url=/
2021-02-12 20:44:02,490: DEBUG - + yunohost app register-url mastodon masto.maindomain.tld /
2021-02-12 20:44:02,491: INFO - [....................] > Validating installation parameters...
2021-02-12 20:44:06,413: DEBUG - + echo '[+...................] > Storing installation settings...'
2021-02-12 20:44:06,416: DEBUG - + ynh_app_setting_set --app=mastodon --key=domain --value=masto.maindomain.tld
2021-02-12 20:44:06,629: DEBUG - + [[ domain =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:06,631: INFO - [+...................] > Storing installation settings...
2021-02-12 20:44:06,634: DEBUG - + ynh_app_setting set mastodon domain masto.maindomain.tld
2021-02-12 20:44:07,038: DEBUG - + ynh_app_setting_set --app=mastodon --key=path --value=/
2021-02-12 20:44:07,252: DEBUG - + [[ path =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:07,254: DEBUG - + ynh_app_setting set mastodon path /
2021-02-12 20:44:07,557: DEBUG - + ynh_app_setting_set --app=mastodon --key=admin --value=mikonos
2021-02-12 20:44:07,770: DEBUG - + [[ admin =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:07,772: DEBUG - + ynh_app_setting set mastodon admin mikonos
2021-02-12 20:44:08,176: DEBUG - + ynh_app_setting_set --app=mastodon --key=is_public --value=1
2021-02-12 20:44:08,289: DEBUG - + [[ is_public =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:08,290: DEBUG - + ynh_app_setting set mastodon is_public 1
2021-02-12 20:44:08,694: DEBUG - + ynh_app_setting_set --app=mastodon --key=language --value=fr_FR
2021-02-12 20:44:08,908: DEBUG - + [[ language =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:08,909: DEBUG - + ynh_app_setting set mastodon language fr_FR
2021-02-12 20:44:09,418: INFO - [#+..................] > Configuring firewall...
2021-02-12 20:44:09,422: DEBUG - + echo '[#+..................] > Configuring firewall...'
2021-02-12 20:44:09,425: DEBUG - ++ ynh_find_port --port=3000
2021-02-12 20:44:09,434: DEBUG - ++ test -n 3000
2021-02-12 20:44:09,435: DEBUG - ++ ynh_port_available --port=3000
2021-02-12 20:44:09,445: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-02-12 20:44:09,446: DEBUG - ++ awk '{print$5}'
2021-02-12 20:44:09,447: DEBUG - ++ grep --quiet --extended-regexp ':3000$'
2021-02-12 20:44:09,449: DEBUG - ++ return 0
2021-02-12 20:44:09,450: DEBUG - ++ echo 3000
2021-02-12 20:44:09,451: DEBUG - + port_web=3000
2021-02-12 20:44:09,453: DEBUG - ++ ynh_find_port --port=4000
2021-02-12 20:44:09,562: DEBUG - ++ test -n 4000
2021-02-12 20:44:09,563: DEBUG - ++ ynh_port_available --port=4000
2021-02-12 20:44:09,574: DEBUG - ++ ss --numeric --listening --tcp --udp
2021-02-12 20:44:09,575: DEBUG - ++ awk '{print$5}'
2021-02-12 20:44:09,576: DEBUG - ++ grep --quiet --extended-regexp ':4000$'
2021-02-12 20:44:09,577: DEBUG - ++ return 0
2021-02-12 20:44:09,579: DEBUG - ++ echo 4000
2021-02-12 20:44:09,580: DEBUG - + port_stream=4000
2021-02-12 20:44:09,581: DEBUG - + ynh_app_setting_set --app=mastodon --key=port_web --value=3000
2021-02-12 20:44:09,794: DEBUG - + [[ port_web =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:09,795: DEBUG - + ynh_app_setting set mastodon port_web 3000
2021-02-12 20:44:10,199: DEBUG - + ynh_app_setting_set --app=mastodon --key=port_stream --value=4000
2021-02-12 20:44:10,412: DEBUG - + [[ port_stream =~ (unprotected|protected|skipped)_ ]]
2021-02-12 20:44:10,414: DEBUG - + ynh_app_setting set mastodon port_stream 4000
2021-02-12 20:44:10,825: DEBUG - + echo '[##+.................] > Installing dependencies...'
2021-02-12 20:44:10,828: DEBUG - + ynh_install_nodejs --nodejs_version=12
2021-02-12 20:44:10,939: DEBUG - + mkdir --parents /opt/node_n
2021-02-12 20:44:10,940: INFO - [##+.................] > Installing dependencies...
2021-02-12 20:44:10,942: DEBUG - + CLEAR_PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-02-12 20:44:10,943: INFO - Installation of N - Node.js version management
2021-02-12 20:44:10,946: DEBUG - ++ echo /opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-02-12 20:44:10,947: DEBUG - ++ sed s@/usr/local/bin:@@
2021-02-12 20:44:10,948: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
2021-02-12 20:44:10,950: DEBUG - + test -x /usr/bin/node
2021-02-12 20:44:10,952: DEBUG - + test -x /usr/bin/npm
2021-02-12 20:44:10,953: DEBUG - + /opt/node_n/bin/n --version
2021-02-12 20:44:10,954: DEBUG - + ynh_install_n
2021-02-12 20:44:10,956: DEBUG - + ynh_print_info '--message=Installation of N - Node.js version management'
2021-02-12 20:44:10,965: DEBUG - + echo 'Installation of N - Node.js version management'
2021-02-12 20:44:10,966: DEBUG - + mkdir --parents ../conf
2021-02-12 20:44:10,967: DEBUG - + echo 'SOURCE_URL=https://github.com/tj/n/archive/v6.7.0.tar.gz
2021-02-12 20:44:10,969: DEBUG - SOURCE_SUM=92e00fa86d1c4e8dc6ca8df7e75fc93afe8f71949890ef67c40555df4efc4abe'
2021-02-12 20:44:10,970: DEBUG - + ynh_setup_source --dest_dir=/opt/node_n/git --source_id=n
2021-02-12 20:44:11,083: DEBUG - + source_id=n
2021-02-12 20:44:11,084: DEBUG - + local src_file_path=/var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,085: DEBUG - + '[' '!' -e /var/cache/yunohost/from_file/scripts/../conf/n.src ']'
2021-02-12 20:44:11,086: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,088: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,089: DEBUG - + local src_url=https://github.com/tj/n/archive/v6.7.0.tar.gz
2021-02-12 20:44:11,090: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,092: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,093: DEBUG - + local src_sum=92e00fa86d1c4e8dc6ca8df7e75fc93afe8f71949890ef67c40555df4efc4abe
2021-02-12 20:44:11,095: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,096: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,098: DEBUG - + local src_sumprg=
2021-02-12 20:44:11,100: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,102: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,104: DEBUG - + local src_format=
2021-02-12 20:44:11,105: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,106: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,108: DEBUG - + local src_extract=
2021-02-12 20:44:11,109: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,110: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,111: DEBUG - + local src_in_subdir=
2021-02-12 20:44:11,112: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/scripts/../conf/n.src
2021-02-12 20:44:11,114: DEBUG - ++ cut --delimiter== --fields=2-
2021-02-12 20:44:11,115: DEBUG - + local src_filename=
2021-02-12 20:44:11,116: DEBUG - + src_sumprg=sha256sum
2021-02-12 20:44:11,117: DEBUG - + src_in_subdir=true
2021-02-12 20:44:11,119: DEBUG - + src_format=tar.gz
2021-02-12 20:44:11,120: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2021-02-12 20:44:11,121: DEBUG - ++ echo tar.gz
2021-02-12 20:44:11,122: DEBUG - + src_format=tar.gz
2021-02-12 20:44:11,123: DEBUG - + src_extract=true
2021-02-12 20:44:11,124: DEBUG - + '[' '' = '' ']'
2021-02-12 20:44:11,126: DEBUG - + src_filename=n.tar.gz
2021-02-12 20:44:11,127: DEBUG - + local local_src=/opt/yunohost-apps-src/mastodon/n.tar.gz
2021-02-12 20:44:11,128: DEBUG - + test -e /opt/yunohost-apps-src/mastodon/n.tar.gz
2021-02-12 20:44:11,130: DEBUG - ++ wget --tries 3 --no-dns-cache --timeout 900 --no-verbose --output-document=n.tar.gz https://github.com/tj/n/archive/v6.7.0.tar.gz
2021-02-12 20:44:12,336: DEBUG - + out='2021-02-12 20:44:12 URL:https://codeload.github.com/tj/n/tar.gz/v6.7.0 [30890] -> "n.tar.gz" [1]'
2021-02-12 20:44:12,337: DEBUG - + echo '92e00fa86d1c4e8dc6ca8df7e75fc93afe8f71949890ef67c40555df4efc4abe n.tar.gz'
2021-02-12 20:44:12,339: DEBUG - + sha256sum --check --status
2021-02-12 20:44:12,340: DEBUG - + mkdir --parents /opt/node_n/git
2021-02-12 20:44:12,342: DEBUG - + true
2021-02-12 20:44:12,343: DEBUG - + '[' tar.gz = zip ']'
2021-02-12 20:44:12,344: DEBUG - + local strip=
2021-02-12 20:44:12,346: DEBUG - + '[' true '!=' false ']'
2021-02-12 20:44:12,347: DEBUG - + '[' true == true ']'
2021-02-12 20:44:12,348: DEBUG - + local sub_dirs=1
2021-02-12 20:44:12,350: DEBUG - + strip='--strip-components 1'
2021-02-12 20:44:12,351: DEBUG - + [[ tar.gz =~ ^tar.gz|tar.bz2|tar.xz$ ]]
2021-02-12 20:44:12,353: DEBUG - + tar --extract --file=n.tar.gz --directory=/opt/node_n/git --strip-components 1
2021-02-12 20:44:12,455: DEBUG - ++ find /var/cache/yunohost/from_file/scripts/../sources/patches/ -type f -name 'n-*.patch'
2021-02-12 20:44:12,456: DEBUG - ++ wc --lines
2021-02-12 20:44:12,458: DEBUG - + ((  0 > 0  ))
2021-02-12 20:44:12,459: DEBUG - + test -e /var/cache/yunohost/from_file/scripts/../sources/extra_files/n
2021-02-12 20:44:12,461: DEBUG - + cd /opt/node_n/git
2021-02-12 20:44:12,462: DEBUG - + PREFIX=/opt/node_n
2021-02-12 20:44:12,464: DEBUG - + make install
2021-02-12 20:44:12,465: DEBUG - mkdir -p /opt/node_n/bin/
2021-02-12 20:44:12,467: DEBUG - cp bin/n /opt/node_n/bin/n
2021-02-12 20:44:12,468: 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
2021-02-12 20:44:12,681: DEBUG - + local delimit=@
2021-02-12 20:44:12,682: DEBUG - + match_string='^N_PREFIX=${N_PREFIX-.*}$'
2021-02-12 20:44:12,683: DEBUG - + replace_string='N_PREFIX=${N_PREFIX-/opt/node_n}'
2021-02-12 20:44:12,685: DEBUG - + sed --in-place 's@^N_PREFIX=${N_PREFIX-.*}$@N_PREFIX=${N_PREFIX-/opt/node_n}@g' /opt/node_n/bin/n
2021-02-12 20:44:12,686: DEBUG - + PATH=/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-02-12 20:44:12,688: DEBUG - + test -x /usr/bin/node_n
2021-02-12 20:44:12,689: DEBUG - + test -x /usr/bin/npm_n
2021-02-12 20:44:12,690: DEBUG - ++ uname --machine
2021-02-12 20:44:12,691: DEBUG - + uname=i686
2021-02-12 20:44:12,693: DEBUG - + [[ i686 =~ aarch64 ]]
2021-02-12 20:44:12,696: DEBUG - + [[ i686 =~ arm64 ]]
2021-02-12 20:44:12,697: DEBUG - + n 12
2021-02-12 20:44:13,300: DEBUG - + ynh_exit_properly
2021-02-12 20:44:13,302: DEBUG - 
2021-02-12 20:44:13,303: DEBUG - + local exit_code=1
2021-02-12 20:44:13,304: WARNING -   Error: no version found for '12'
2021-02-12 20:44:13,307: DEBUG - + '[' 1 -eq 0 ']'
2021-02-12 20:44:13,308: DEBUG - 
2021-02-12 20:44:13,309: DEBUG - + trap '' EXIT
2021-02-12 20:44:13,310: DEBUG - + set +o errexit
2021-02-12 20:44:13,311: DEBUG - + set +o nounset
2021-02-12 20:44:13,312: DEBUG - + sleep 0.5
2021-02-12 20:44:13,815: DEBUG - + type -t ynh_clean_setup
2021-02-12 20:44:13,819: DEBUG - + ynh_clean_setup
2021-02-12 20:44:13,821: DEBUG - + ynh_clean_check_starting
2021-02-12 20:44:13,822: DEBUG - + '[' -n '' ']'
2021-02-12 20:44:13,823: DEBUG - + '[' -n '' ']'
2021-02-12 20:44:13,824: DEBUG - + exit 1
2021-02-12 20:44:13,841: ERROR - Impossible d’installer mastodon : Une erreur est survenue dans le script d’installation de l’application

Mouarf je pense que c’est parce que ta machine est en 32 bit et que nodejs/“n” ne supporte plus 32 bit …

1 Like

What !!!

Je sais que le 32 bit est dépassé mais c’est anti écologique, par les temps qui courent c’est plus trop la mode d’acheter du materiel neuf alors quqe l’ancien foncionne encore.

avez vous idée d’un autre serveur auto hebergé qui n’utilise pas nodejs ?

1 Like

Pas sur de comprendre la question mais la on parle spécifiquement du cas de Mastodon … même si d’autres apps peuvent avoir besoin de nodejs et ont du coup la même incompatibilite …

De plus en plus de software stoppent leur support de 32 bit avec le temps qui passe et clairement c’est pas ouf car ça rends de-facto obsolète une quantité phénoménale de machines qui pourraient encore servir

Notons que dans le cas de nodejs, souvent c’est vraiment dommage car nodejs est seulement nécessaire pour “builder” les fichiers - donc seulement lors de l’install - mais ensuite ça peut normalement tourner tout seul. Il suffirait du coup que les mainteneurs des projets fournissent les fichiers déjà compilés …

Oui…Je confirme. C’est mini-laptop 32 bit.
Donc ça serait à cause de cela. J’avais les même difficultés à installer Pleroma est IRC…je devine que c’est la même cause.

Merci @Aleks pour ta réponse.

Ce qui me chagrine le plus c’est le fait qu’il n’y est aucune mise en garde quant’à l’architecture durant l’installation ou en amont.

Merci quand-même. :sweat_smile:

Yep on en parle depuis un moment, il faut “juste” qu’on trouve le temps de l’implémenter …

1 Like

Merci @rosbeef de le signaler, le 32 bit est toujours là pour aumoins dix ans surtout dans les pays en voie de développement .

c’est un travail de longue haleine de satisfaire toute les architectures, certes, mais c’est un travail qui va à l’encontre de l’obsolescence programmée. Il faudrait que nos appareils durent le plus longtemps possible pour participer au sauvetage de la nature.

Oui…Un YunoHoster avertis en vaut deux! :wink:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.