YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 34 forks source link

Echec de l'installation à cause de Node #325

Closed franckhomer closed 1 year ago

franckhomer commented 2 years ago

How to post a meaningful bug report

  1. Read this whole template first.
  2. Determine if you are on the right place:
    • If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!
    • Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.
    • When in doubt, post here and we will figure it out together.
  3. Delete the italic comments as you write over them below, and remove this guide.

Describe the bug

Context

SERVEUR OVH DEBIAN 9 STRETCH (64bits) yunohost_version: 4.3.6.3 accès SSH et web

Steps to reproduce

Expected behavior

J'ai la version node -v v16.15.0 je ne conprend pas pourquoi l'installation ne passe pas. J'aimerai aller au bout de l'installation

Merci de votre aide :D

Logs

We also deprecated the global configuration options: 2022-05-04 08:29:37,308: DEBUG - - default_lock_ttl 2022-05-04 08:29:37,308: DEBUG - - default_lock_ttl= 2022-05-04 08:29:37,309: DEBUG - - default_lock_timeout 2022-05-04 08:29:37,309: DEBUG - - default_lock_timeout= 2022-05-04 08:29:37,309: DEBUG - 2022-05-04 08:29:37,309: DEBUG - The new methods to use are: 2022-05-04 08:29:37,309: DEBUG - - lock_ttl 2022-05-04 08:29:37,309: DEBUG - - lock_ttl= 2022-05-04 08:29:37,309: DEBUG - - lock_timeout 2022-05-04 08:29:37,309: DEBUG - - lock_timeout= 2022-05-04 08:29:37,550: DEBUG - + ynh_use_nodejs 2022-05-04 08:29:37,551: DEBUG - ++ ynh_app_setting_get --app=mastodon --key=nodejs_version 2022-05-04 08:29:37,551: DEBUG - ++ local _globalapp=mastodon 2022-05-04 08:29:37,595: DEBUG - ++ app=mastodon 2022-05-04 08:29:37,595: DEBUG - ++ [[ nodejsversion =~ (unprotected|protected|skipped) ]] 2022-05-04 08:29:37,596: DEBUG - ++ ynh_app_setting get mastodon nodejs_version 2022-05-04 08:29:37,650: DEBUG - + nodejs_version=12 2022-05-04 08:29:37,650: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/12/bin 2022-05-04 08:29:37,650: DEBUG - + shopt -s expand_aliases 2022-05-04 08:29:37,651: DEBUG - + ynh_node=/opt/node_n/n/versions/node/12/bin/node 2022-05-04 08:29:37,651: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/12/bin/node 2022-05-04 08:29:37,651: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/12/bin/npm 2022-05-04 08:29:37,651: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/12/bin/npm 2022-05-04 08:29:37,651: DEBUG - + [[ :/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/noden/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\/\1\2\/\b\i\n* ]] 2022-05-04 08:29:37,651: DEBUG - + node_PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2022-05-04 08:29:37,652: DEBUG - + ynh_node_load_PATH=PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2022-05-04 08:29:37,652: DEBUG - + ynh_node_load_path=PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 2022-05-04 08:29:37,652: DEBUG - + ynh_exec_warn_less ynh_exec_as mastodon PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --pure-lockfile 2022-05-04 08:29:37,653: DEBUG - + [[ 6 -eq 1 ]] 2022-05-04 08:29:37,653: DEBUG - + ynh_exec_as mastodon PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --pure-lockfile 2022-05-04 08:29:37,653: DEBUG - + local user=mastodon 2022-05-04 08:29:37,653: DEBUG - + shift 1 2022-05-04 08:29:37,653: DEBUG - ++ whoami 2022-05-04 08:29:37,653: DEBUG - + [[ mastodon = root ]] 2022-05-04 08:29:37,654: DEBUG - + sudo -u mastodon PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/n/versions/node/12/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --pure-lockfile 2022-05-04 08:29:38,035: DEBUG - yarn install v1.22.18 2022-05-04 08:29:38,222: DEBUG - [1/6] Validating package.json... 2022-05-04 08:29:38,228: DEBUG - [2/6] Resolving packages... 2022-05-04 08:29:39,158: DEBUG - [3/6] Fetching packages... 2022-05-04 08:30:03,997: DEBUG - error eslint-plugin-promise@6.0.0: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "12.20.1" 2022-05-04 08:30:04,009: DEBUG - error Found incompatible module. 2022-05-04 08:30:04,009: DEBUG - info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. 2022-05-04 08:30:04,039: DEBUG - + ynh_exit_properly 2022-05-04 08:30:04,542: DEBUG - + ynh_clean_setup 2022-05-04 08:30:04,542: DEBUG - + ynh_clean_check_starting 2022-05-04 08:30:04,543: DEBUG - + '[' -n '' ']' 2022-05-04 08:30:04,543: DEBUG - + '[' -n '' ']' 2022-05-04 08:30:05,545: ERROR - Impossible d'installer mastodon : Une erreur est survenue dans le script d'installation de l'application