Installation de Mastodon impossible

Bonjour,
Lorsque j’essaie d’installer Mastodon sur Yunohost sur Debian 9 j’obtiens un message d’erreur et le script me renvoie à la page d’installation de l’application.

Voici les logs remonté par le panel admin:

La configuration de SSOwat a été générée

/etc/cron.d/mastodon wasn't deleted because it doesn't exist.

Removed /etc/systemd/system/multi-user.target.wants/mastodon-streaming.service.

Removed /etc/systemd/system/multi-user.target.wants/mastodon-sidekiq.service.

Removed /etc/systemd/system/multi-user.target.wants/mastodon-web.service.

!!

mastodon's script has encountered an error. Its execution was cancelled.

!!

mon.mail@alternanet.fr not found

Created symlink /etc/systemd/system/multi-user.target.wants/mastodon-streaming.service → /etc/systemd/system/mastodon-streaming.service.

Created symlink /etc/systemd/system/multi-user.target.wants/mastodon-sidekiq.service → /etc/systemd/system/mastodon-sidekiq.service.

Created symlink /etc/systemd/system/multi-user.target.wants/mastodon-web.service → /etc/systemd/system/mastodon-web.service.

/bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

I, [2018-07-27T07:12:19.438152 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-d7ee8e7dc0785de97337625e0f1030e1a892327ef4e72a48043ce09fd964874d.css.gz

I, [2018-07-27T07:12:19.438036 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-d7ee8e7dc0785de97337625e0f1030e1a892327ef4e72a48043ce09fd964874d.css

I, [2018-07-27T07:12:19.428841 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-b6568ba483c03c4fdcd8edd641f3b341ac0314ba01ab186645b8fc231cdff02e.js.gz

I, [2018-07-27T07:12:19.428712 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-b6568ba483c03c4fdcd8edd641f3b341ac0314ba01ab186645b8fc231cdff02e.js

I, [2018-07-27T07:12:19.201575 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/favicon-db10337a56c45eb43c22ff5019546b520fa22c7281d4d385f235cbca67ed26bb.png

I, [2018-07-27T07:12:19.199408 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/application-29873392fba1f6a4fd5359214f854d900e24920096164f6e5343dbc0de69df0d.css.gz

I, [2018-07-27T07:12:19.199211 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/application-29873392fba1f6a4fd5359214f854d900e24920096164f6e5343dbc0de69df0d.css

I, [2018-07-27T07:12:19.183081 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/admin/application-50d68ad91b15067c63771e4811d971d7a56406c472a878021d1fb95d066efd8d.css.gz

I, [2018-07-27T07:12:19.182834 #28139] INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/admin/application-50d68ad91b15067c63771e4811d971d7a56406c472a878021d1fb95d066efd8d.css

error An unexpected error occurred: "EACCES: permission denied, unlink '/var/www/mastodon/live/node_modules/.yarn-integrity'".

/bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

(See full trace by running task with --trace)

Tasks: TOP => db:migrate

bin/rails:4:in `
'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:249:in `load_dependency'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `block in require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/commands.rb:18:in `'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/command.rb:48:in `invoke'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/commands/rake/rake_command.rb:20:in `perform'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/railties/databases.rake:60:in `block (2 levels) in '

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/database_tasks.rb:4:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/tasks/database_tasks.rb:172:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1011:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1036:in `up'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy.rb:201:in `strategy'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/strategy.rb:70:in `wrap'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1210:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1363:in `with_advisory_lock'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1210:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1262:in `migrate_without_lock'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1262:in `each'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1345:in `ddl_transaction'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:977:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy.rb:201:in `strategy'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/strategy.rb:70:in `wrap'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/migration.rb:13:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:796:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:414:in `with_connection'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:797:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:798:in `block (2 levels) in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:814:in `exec_migration'

/var/www/mastodon/live/db/migrate/20180514140000_revert_index_change_on_statuses_for_api_v1_accounts_account_id_statuses.rb:7:in `change'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/migration.rb:6:in `safety_assured'

/var/www/mastodon/live/db/migrate/20180514140000_revert_index_change_on_statuses_for_api_v1_accounts_account_id_statuses.rb:8:in `block in change'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/migration.rb:75:in `method_missing'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:860:in `method_missing'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:840:in `say_with_time'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:840:in `block in say_with_time'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:871:in `block in method_missing'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:465:in `add_index'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:1169:in `add_index_options'

ArgumentError: Index name 'index_statuses_20180106' on table 'statuses' already exists

Caused by:

bin/rails:4:in `
'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:249:in `load_dependency'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `block in require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/commands.rb:18:in `'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/command.rb:48:in `invoke'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/commands/rake/rake_command.rb:20:in `perform'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/railties-5.2.0/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/railties/databases.rake:60:in `block (2 levels) in '

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/database_tasks.rb:4:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/tasks/database_tasks.rb:172:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1011:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1036:in `up'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy.rb:201:in `strategy'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/strategy.rb:70:in `wrap'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1210:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1363:in `with_advisory_lock'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1210:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1262:in `migrate_without_lock'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1262:in `each'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1263:in `block in migrate_without_lock'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1291:in `execute_migration_in_transaction'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1345:in `ddl_transaction'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:1292:in `block in execute_migration_in_transaction'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:977:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy.rb:201:in `strategy'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/strategy.rb:70:in `wrap'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/chewy-5.0.0/lib/chewy/railtie.rb:37:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/migration.rb:13:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:796:in `migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb:414:in `with_connection'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:797:in `block in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:798:in `block (2 levels) in migrate'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:814:in `exec_migration'

/var/www/mastodon/live/db/migrate/20180514140000_revert_index_change_on_statuses_for_api_v1_accounts_account_id_statuses.rb:7:in `change'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/migration.rb:6:in `safety_assured'

/var/www/mastodon/live/db/migrate/20180514140000_revert_index_change_on_statuses_for_api_v1_accounts_account_id_statuses.rb:8:in `block in change'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/strong_migrations-0.2.2/lib/strong_migrations/migration.rb:75:in `method_missing'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:860:in `method_missing'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:840:in `say_with_time'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:840:in `block in say_with_time'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/migration.rb:871:in `block in method_missing'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/postgresql/schema_statements.rb:465:in `add_index'

/var/www/mastodon/live/vendor/bundle/ruby/2.5.0/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:1169:in `add_index_options'

Index name 'index_statuses_20180106' on table 'statuses' already exists

StandardError: An error has occurred, all later migrations canceled:

rails aborted!

error An unexpected error occurred: "EACCES: permission denied, unlink '/var/www/mastodon/live/node_modules/.yarn-integrity'".

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

Merci d’avance de vos réponses :wink:

Même problème pour moi ici :

Bonjour,

Y’a actuellement un soucis avec l’installation de mastodon en 2.4.3, il a été corrigé mais que pour la prochaine version qui n’est pas encore disponible, je pense que je vais rétrogradé l’installation en 2.4.2 en attendant.

J’ai remis la 2.4.2 à l’installation.
Vous pouvez ré-essayer ?

Bonjour,
Merci de ton aide :slight_smile:
L’installation ne fonctionne toujours pas voici les logs:

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

...


sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

tr: erreur d'écriture: Relais brisé (pipe)

Failed to execute '/usr/bin/node /var/www/mastodon/live/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64/zopfli.node --module_name=zopfli --module_path=/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64' (1)"

node-pre-gyp ERR! not ok

node-pre-gyp ERR! node-pre-gyp -v v0.6.39

node-pre-gyp ERR! node -v v6.14.3

node-pre-gyp ERR! cwd /var/www/mastodon/live/node_modules/node-zopfli

node-pre-gyp ERR! command \"/usr/bin/node\" \"/var/www/mastodon/live/node_modules/node-zopfli/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"

node-pre-gyp ERR! System Linux 4.9.103-xxxx-std-ipv6-64

node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)

node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:920:16)

node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)

node-pre-gyp ERR! stack at emitTwo (events.js:106:13)

node-pre-gyp ERR! stack at ChildProcess. (/var/www/mastodon/live/node_modules/node-pre-gyp/lib/util/compile.js:83:29)

node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /var/www/mastodon/live/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64/zopfli.node --module_name=zopfli --module_path=/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64' (1)

node-pre-gyp ERR! build error

gyp ERR! not ok

gyp ERR! node-gyp -v v3.6.2

gyp ERR! node -v v6.14.3

gyp ERR! cwd /var/www/mastodon/live/node_modules/node-zopfli

gyp ERR! command \"/usr/bin/node\" \"/var/www/mastodon/live/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64/zopfli.node\" \"--module_name=zopfli\" \"--module_path=/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64\"

gyp ERR! System Linux 4.9.103-xxxx-std-ipv6-64

gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)

gyp ERR! stack at ChildProcess.emit (events.js:191:7)

gyp ERR! stack at emitTwo (events.js:106:13)

gyp ERR! stack at ChildProcess.onCpExit (/var/www/mastodon/live/node_modules/node-gyp/lib/configure.js:336:16)

gyp ERR! stack Error: `gyp` failed with exit code: 1

gyp ERR! configure error

gyp: Call to 'node -e \"require('nan')\"' returned exit status 0 while in binding.gyp. while trying to load binding.gyp

/bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

gyp info spawn args '-Goutput_dir=.' ]

gyp info spawn args 'build',

gyp info spawn args '--generator-output',

gyp info spawn args '--no-parallel',

gyp info spawn args '--depth=.',

gyp info spawn args '-Dnode_engine=v8',

gyp info spawn args '-Dmodule_root_dir=/var/www/mastodon/live/node_modules/node-zopfli',

gyp info spawn args '-Dnode_lib_file=/root/.node-gyp/6.14.3/<(target_arch)/node.lib',

gyp info spawn args '-Dnode_gyp_dir=/var/www/mastodon/live/node_modules/node-gyp',

gyp info spawn args '-Dnode_root_dir=/root/.node-gyp/6.14.3',

gyp info spawn args '-Dvisibility=default',

gyp info spawn args '-Dlibrary=shared_library',

gyp info spawn args '/root/.node-gyp/6.14.3/include/node/common.gypi',

gyp info spawn args '-I',

gyp info spawn args '/var/www/mastodon/live/node_modules/node-gyp/addon.gypi',

gyp info spawn args '-I',

gyp info spawn args '/var/www/mastodon/live/node_modules/node-zopfli/build/config.gypi',

gyp info spawn args '-I',

gyp info spawn args 'make',

gyp info spawn args '-f',

gyp info spawn args 'binding.gyp',

gyp info spawn args [ '/var/www/mastodon/live/node_modules/node-gyp/gyp/gyp_main.py',

gyp info spawn /usr/bin/python2

gyp info using node@6.14.3 | linux | x64

gyp info using node-gyp@3.6.2

gyp info it worked if it ends with ok

gyp info ok

gyp info using node@6.14.3 | linux | x64

gyp info using node-gyp@3.6.2

gyp info it worked if it ends with ok

node-pre-gyp http 403 status code downloading tarball https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.2-node-v48-linux-x64.tar.gz

node-pre-gyp ERR! Pre-built binaries not found for node-zopfli@2.0.2 and node@6.14.3 (node-v48 ABI, glibc) (falling back to source compile with node-gyp)

node-pre-gyp ERR! Tried to download(403): https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.2-node-v48-linux-x64.tar.gz

node-pre-gyp http 403 https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.2-node-v48-linux-x64.tar.gz

node-pre-gyp http GET https://node-zopfli.s3.amazonaws.com/Release/zopfli-v2.0.2-node-v48-linux-x64.tar.gz

node-pre-gyp info check checked for \"/var/www/mastodon/live/node_modules/node-zopfli/lib/binding/node-v48-linux-x64/zopfli.node\" (not found)

node-pre-gyp info using node@6.14.3 | linux | x64

node-pre-gyp info using node-pre-gyp@0.6.39

node-pre-gyp info it worked if it ends with ok

/bin/sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

Output:

Directory: /var/www/mastodon/live/node_modules/node-zopfli

Arguments:

Command: node-pre-gyp install --fallback-to-build

Exit code: 1

warning Error running install script for optional dependency: "/var/www/mastodon/live/node_modules/node-zopfli: Command failed.

Installed ruby-2.5.1 to /var/www/mastodon/.rbenv/versions/2.5.1

Installing ruby-2.5.1...

-> https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.1.tar.bz2

Downloading ruby-2.5.1.tar.bz2...

adduser : Attention ! Le répertoire personnel « /var/www/mastodon » n'appartient pas à l'utilisateur que vous êtes en train de créer.

2018-07-27 12:10:01 URL:https://codeload.github.com/tootsuite/mastodon/tar.gz/v2.4.2 [10334910] -> "/var/cache/yunohost/ynh_setup_source/mastodon/app-mastodon.tar.gz" [1]

dpkg-preconfigure: impossible de réouvrir stdin :

debconf: Utilisation de l'interface Teletype en remplacement

debconf: (Cette interface a besoin d'un terminal de contrôle.)

debconf: Impossible d'initialiser l'interface : Readline

debconf: Utilisation de l'interface Readline en remplacement

debconf: (L'interface dialog ne fonctionnera pas avec un terminal rustique (« dumb »), un tampon shell d'Emacs ou sans terminal de contrôle.)

debconf: Impossible d'initialiser l'interface : Dialog

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

Warning: apt-key output should not be parsed (stdout is not a terminal)

sh: BASH_XTRACEFD : 7 : valeur non valable pour un descripteur de fichier de trace

Warning: apt-key output should not be parsed (stdout is not a terminal)

Encore merci :slight_smile:

EDIT: Milles excuses en faite elle fonctionne, cela prend juste BEAUCOUP de temps :o

Ouf, j’ai eu peur.
Oui, l’installation est vraiment très longue.
Si tu le souhaite tu peut faire la mise à jour en 2.4.3 avec cette commande:
sudo yunohost app upgrade mastodon -u https://github.com/nemsia/mastodon_ynh/tree/2.4.3

Y’a que l’installation fresh qui pose problème.

si on utilise cette commande (avec ton dépôt), on pourra toujours utilisé l’ancienne commande (avec le dépôt officiel) ?

oui, ça indique juste pour cette mise à jour où il va chercher les scripts.

ça me fait penser que je sais pas comment proposé automatiquement les maj sur l’interface d’admin…
Je crois que @cyp l’avais fait y’a très longtemps…

Bon malheureusement la mise à jour ne passe pas :

sudo yunohost app upgrade mastodon -u https://github.com/nemsia/mastodon_ynh/tree/2.4.3 --debug

13066 DEBUG + app=mastodon
13067 DEBUG ++ ynh_app_setting_get mastodon db_name
13067 DEBUG ++ sudo yunohost app setting mastodon db_name --output-as plain --quiet
13606 DEBUG + db_name=mastodon_production
13607 DEBUG ++ ynh_app_setting_get mastodon db_pwd
13607 DEBUG ++ sudo yunohost app setting mastodon db_pwd --output-as plain --quiet
14127 DEBUG + db_pwd=tj0XkIgiV9yGKmB5s9dHTOnw
14129 DEBUG ++ ynh_app_setting_get mastodon domain
14129 DEBUG ++ sudo yunohost app setting mastodon domain --output-as plain --quiet
14626 DEBUG + domain=social.vincentux.fr
14627 DEBUG ++ ynh_app_setting_get mastodon path
14627 DEBUG ++ sudo yunohost app setting mastodon path --output-as plain --quiet
15128 DEBUG + path=/
15129 DEBUG ++ ynh_app_setting_get mastodon admin
15130 DEBUG ++ sudo yunohost app setting mastodon admin --output-as plain --quiet
15645 DEBUG + admin=vincentux
15646 DEBUG ++ ynh_app_setting_get mastodon language
15646 DEBUG ++ sudo yunohost app setting mastodon language --output-as plain --quiet
16161 DEBUG + language=fr_FR
16162 DEBUG ++ ynh_app_setting_get mastodon final_path
16163 DEBUG ++ sudo yunohost app setting mastodon final_path --output-as plain --quiet
16697 DEBUG + final_path=/var/www/mastodon
16698 DEBUG + path_url=/
16698 DEBUG + '[' -z mastodon_production ']'
16698 DEBUG + '[' -z /var/www/mastodon ']'
16698 DEBUG + [[ vincentux = '' ]]
16699 DEBUG + [[ fr_FR = '' ]]
16699 DEBUG + [[ -z tj0XkIgiV9yGKmB5s9dHTOnw ]]
16699 DEBUG + ynh_backup_before_upgrade
16699 DEBUG + '[' '!' -e /etc/yunohost/apps/mastodon/scripts/backup ']'
16700 DEBUG + backup_number=1
16700 DEBUG + local old_backup_number=2
16700 DEBUG + local app_bck=mastodon
16700 DEBUG + NO_BACKUP_UPGRADE=0
16701 DEBUG + '[' 0 -eq 0 ']'
16702 DEBUG + sudo yunohost backup list
16703 DEBUG + grep -q mastodon-pre-upgrade1
17266 DEBUG + sudo BACKUP_CORE_ONLY=1 yunohost backup create --apps mastodon --name mastodon-pre-upgrade1
17786 WARNING The output directory is not empty
17825 DEBUG + '[' 5 -eq 0 ']'
17826 DEBUG + ynh_die 'Backup failed, the upgrade process was aborted.'
17826 DEBUG + echo 'Backup failed, the upgrade process was aborted.'
17826 DEBUG + exit 1
17826 WARNING Backup failed, the upgrade process was aborted.
17857 ERROR Unable to upgrade mastodon
17859 DEBUG action [25292.1] executed in 17.436s
17859 DEBUG lock has been released
17860 ERROR No app to upgrade

regarde s’il n’y a pas un dossier mastodon-pre-upgrade1 dans /home/yunohost.backup/tmp si c’est le cas supprime le.

Qu’est-ce que je ferais sans toi :wink:
merci :+1:

manque plus que la restauration :wink:

Bonjour,
je voulais installer Mastodon et j’ai vu qu’il est classé niveau 0, si j’installe l’app via l’admin web je serais sur la bonne version ou il vaut mieux une liste de commande en DEBUG pour voir ce qu’il peut arriver? merci

Bonjour @homerc,
L’installation de Mastodon sur YNH3x n’est pas possible. Visblement il faut l’installer sur YNH2x puis mettre à jour en YNH3x et enfin mettre à jour mastodon…
Donc il faut attendre que le script soit mis à jour.

@homerc

Try the develop branch :

$ yunohost app install --debug https://github.com/YunoHost-Apps/mastodon_ynh/tree/develop

hi @kanhu,
I tried but it doesn’t work:/
https://paste.yunohost.org/raw/hoqahuhige

Ty :slight_smile:

Thanks @kanhu,
But I always have my issue with Peertube and a new with yunohost 3.3.
So i’ll try to resolve them before a new app :wink:

Hello, je confirme que l’installation plante sur mon YunoHost 3.3

Je ne sais pas vous m’ai j’ai un peu le sentiment d’une montée en puissance de l’écosystème décentralisé, avec le protocole Activity Pub, Nextcloud qui s’y met, l’arrivée de PeerTube en v1, l’arrivée de PixelFed, etc…
Du coup je me suis de nouveau un peu intéressé à Mastodon et ça m’intéresserait de pouvoir installer une micro-instance sur mon serveur.
Toutes ces initiatives iront-elles loin ? L’avenir seul le sait ! Mais c’est passionnant d’être aux premières loges

1 Like

Can you show logs ?