Fail to install Mastodon

My YunoHost server

Hardware: / Raspberry Pi 4 at home
YunoHost version: 11.2.12
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain: n/a
If your request is related to an app, specify its name and version: Mastodon 4.2.8~ynh1

Description of my issue

Hi Everyone, I am new to Yunohost and not very tech savvy. I have installed a few apps that works, such as WireGuard and Nextcloud. I am trying to install Mastodon but it failed to install and says an error occurred inside the installation script. Please help. Thank you.

Here is the full log:

2024-05-26 22:23:39,780: DEBUG - Fetching sprockets-rails 3.4.2
2024-05-26 22:23:39,808: DEBUG - Installing railties 7.0.8.1
2024-05-26 22:23:39,850: DEBUG - Installing omniauth-rails_csrf_protection 1.0.1
2024-05-26 22:23:39,882: DEBUG - Installing sprockets-rails 3.4.2
2024-05-26 22:23:39,915: DEBUG - Fetching premailer-rails 1.12.0
2024-05-26 22:23:39,925: DEBUG - Fetching actionmailbox 7.0.8.1
2024-05-26 22:23:39,934: DEBUG - Installing simple_form 5.2.0
2024-05-26 22:23:40,040: DEBUG - Installing premailer-rails 1.12.0
2024-05-26 22:23:40,046: DEBUG - Installing actionmailbox 7.0.8.1
2024-05-26 22:23:40,163: DEBUG - Fetching actiontext 7.0.8.1
2024-05-26 22:23:40,326: DEBUG - Installing actiontext 7.0.8.1
2024-05-26 22:23:40,351: DEBUG - Fetching doorkeeper 5.6.6
2024-05-26 22:23:40,354: DEBUG - Fetching responders 3.1.0
2024-05-26 22:23:40,355: DEBUG - Fetching dotenv-rails 2.8.1
2024-05-26 22:23:40,395: DEBUG - Fetching haml-rails 2.1.0
2024-05-26 22:23:40,467: DEBUG - Installing dotenv-rails 2.8.1
2024-05-26 22:23:40,472: DEBUG - Installing responders 3.1.0
2024-05-26 22:23:40,487: DEBUG - Fetching lograge 0.13.0
2024-05-26 22:23:40,519: DEBUG - Installing haml-rails 2.1.0
2024-05-26 22:23:40,530: DEBUG - Fetching rails-i18n 7.0.7
2024-05-26 22:23:40,542: DEBUG - Installing doorkeeper 5.6.6
2024-05-26 22:23:40,583: DEBUG - Fetching scenic 1.7.0
2024-05-26 22:23:40,601: DEBUG - Installing lograge 0.13.0
2024-05-26 22:23:40,648: DEBUG - Fetching webpacker 5.4.4
2024-05-26 22:23:40,699: DEBUG - Installing rails-i18n 7.0.7
2024-05-26 22:23:40,724: DEBUG - Installing scenic 1.7.0
2024-05-26 22:23:40,960: DEBUG - Fetching rails 7.0.8.1
2024-05-26 22:23:40,973: DEBUG - Installing webpacker 5.4.4
2024-05-26 22:23:41,013: DEBUG - Fetching devise 4.9.2
2024-05-26 22:23:41,336: DEBUG - Installing rails 7.0.8.1
2024-05-26 22:23:41,357: DEBUG - Using rails-settings-cached 0.6.6 from https://github.com/mastodon/rails-settings-cached.git (at v0.6.6-aliases-true@86328ef)
2024-05-26 22:23:41,547: DEBUG - Installing devise 4.9.2
2024-05-26 22:23:41,632: DEBUG - Fetching devise-two-factor 4.1.0
2024-05-26 22:23:41,731: DEBUG - Installing devise-two-factor 4.1.0
2024-05-26 22:23:41,777: DEBUG - Bundle complete! 130 Gemfile dependencies, 244 gems now installed.
2024-05-26 22:23:41,779: DEBUG - Gems in the groups 'development' and 'test' were not installed.
2024-05-26 22:23:41,780: DEBUG - Bundled gems are installed into `./vendor/bundle`
2024-05-26 22:23:41,780: DEBUG - Post-install message from encryptor:
2024-05-26 22:23:41,780: DEBUG - 
2024-05-26 22:23:41,780: DEBUG - 
2024-05-26 22:23:41,781: DEBUG - 
2024-05-26 22:23:41,781: DEBUG - Please be aware that Encryptor v2.0.0 had a major security bug when using AES-*-GCM algorithms.
2024-05-26 22:23:41,781: DEBUG - 
2024-05-26 22:23:41,781: DEBUG - By default You will not be able to decrypt data that was previously encrypted using an AES-*-GCM algorithm.
2024-05-26 22:23:41,782: DEBUG - 
2024-05-26 22:23:41,783: DEBUG - Please see the README and https://github.com/attr-encrypted/encryptor/pull/22 for more information.
2024-05-26 22:23:41,783: DEBUG - 
2024-05-26 22:23:41,784: DEBUG - 
2024-05-26 22:23:41,784: DEBUG - Post-install message from attr_encrypted:
2024-05-26 22:23:41,784: DEBUG - 
2024-05-26 22:23:41,785: DEBUG - 
2024-05-26 22:23:41,785: DEBUG - 
2024-05-26 22:23:41,786: DEBUG - WARNING: Using `#encrypted_attributes` is no longer supported. Instead, use `#attr_encrypted_encrypted_attributes` to avoid
2024-05-26 22:23:41,786: DEBUG -   collision with Active Record 7 native encryption.
2024-05-26 22:23:41,787: DEBUG - 
2024-05-26 22:23:41,787: DEBUG - 
2024-05-26 22:23:41,788: DEBUG - Post-install message from devise:
2024-05-26 22:23:41,788: DEBUG - 
2024-05-26 22:23:41,789: DEBUG - [DEVISE] Please review the [changelog] and [upgrade guide] for more info on Hotwire / Turbo integration.
2024-05-26 22:23:41,789: DEBUG - 
2024-05-26 22:23:41,789: DEBUG -   [changelog] https://github.com/heartcombo/devise/blob/main/CHANGELOG.md
2024-05-26 22:23:41,790: DEBUG -   [upgrade guide] https://github.com/heartcombo/devise/wiki/How-To:-Upgrade-to-Devise-4.9.0-%5BHotwire-Turbo-integration%5D
2024-05-26 22:23:41,790: DEBUG -   Post-install message from doorkeeper:
2024-05-26 22:23:41,791: DEBUG - Starting from 5.5.0 RC1 Doorkeeper requires client authentication for Resource Owner Password Grant
2024-05-26 22:23:41,791: DEBUG - as stated in the OAuth RFC. You have to create a new OAuth client (Doorkeeper::Application) if you didn't
2024-05-26 22:23:41,792: DEBUG - have it before and use client credentials in HTTP Basic auth if you previously used this grant flow without
2024-05-26 22:23:41,792: DEBUG - client authentication.
2024-05-26 22:23:41,792: DEBUG - 
2024-05-26 22:23:41,793: DEBUG - To opt out of this you could set the "skip_client_authentication_for_password_grant" configuration option
2024-05-26 22:23:41,793: DEBUG - to "true", but note that this is in violation of the OAuth spec and represents a security risk.
2024-05-26 22:23:41,794: DEBUG - 
2024-05-26 22:23:41,794: DEBUG - Read https://github.com/doorkeeper-gem/doorkeeper/issues/561#issuecomment-612857163 for more details.
2024-05-26 22:23:41,794: DEBUG - Post-install message from kt-paperclip:
2024-05-26 22:23:41,795: DEBUG - ##################################################
2024-05-26 22:23:41,795: DEBUG - #  NOTE FOR UPGRADING FROM 4.3.0 OR EARLIER      #
2024-05-26 22:23:41,796: DEBUG - ##################################################
2024-05-26 22:23:41,796: DEBUG - 
2024-05-26 22:23:41,796: DEBUG - Paperclip is now compatible with aws-sdk-s3.
2024-05-26 22:23:41,797: DEBUG - 
2024-05-26 22:23:41,797: DEBUG - If you are using S3 storage, aws-sdk-s3 requires you to make a few small
2024-05-26 22:23:41,798: DEBUG - changes:
2024-05-26 22:23:41,798: DEBUG - 
2024-05-26 22:23:41,799: DEBUG - * You must set the `s3_region`
2024-05-26 22:23:41,799: DEBUG - * If you are explicitly setting permissions anywhere, such as in an initializer,
2024-05-26 22:23:41,800: DEBUG -   note that the format of the permissions changed from using an underscore to
2024-05-26 22:23:41,800: DEBUG -   using a hyphen. For example, `:public_read` needs to be changed to
2024-05-26 22:23:41,801: DEBUG -   `public-read`.
2024-05-26 22:23:41,801: DEBUG - 
2024-05-26 22:23:41,801: DEBUG - For a walkthrough of upgrading from 4 to *5* (not 6) and aws-sdk >= 2.0 you can watch
2024-05-26 22:23:41,802: DEBUG - http://rubythursday.com/episodes/ruby-snack-27-upgrade-paperclip-and-aws-sdk-in-prep-for-rails-5
2024-05-26 22:23:41,802: DEBUG - Post-install message from rubyzip:
2024-05-26 22:23:41,803: DEBUG - RubyZip 3.0 is coming!
2024-05-26 22:23:41,803: DEBUG - **********************
2024-05-26 22:23:41,803: DEBUG - 
2024-05-26 22:23:41,804: DEBUG - The public API of some Rubyzip classes has been modernized to use named
2024-05-26 22:23:41,804: DEBUG - parameters for optional arguments. Please check your usage of the
2024-05-26 22:23:41,805: DEBUG - following classes:
2024-05-26 22:23:41,805: DEBUG -   * `Zip::File`
2024-05-26 22:23:41,806: DEBUG -   * `Zip::Entry`
2024-05-26 22:23:41,806: DEBUG -   * `Zip::InputStream`
2024-05-26 22:23:41,806: DEBUG -   * `Zip::OutputStream`
2024-05-26 22:23:41,807: DEBUG - 
2024-05-26 22:23:41,807: DEBUG - Please ensure that your Gemfiles and .gemspecs are suitably restrictive
2024-05-26 22:23:41,808: DEBUG - to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).
2024-05-26 22:23:41,809: DEBUG - See https://github.com/rubyzip/rubyzip for details. The Changelog also
2024-05-26 22:23:41,809: DEBUG - lists other enhancements and bugfixes that have been implemented since
2024-05-26 22:23:41,810: DEBUG - version 2.3.0.
2024-05-26 22:23:41,810: DEBUG - Post-install message from sidekiq-unique-jobs:
2024-05-26 22:23:41,811: DEBUG - IMPORTANT!
2024-05-26 22:23:41,811: DEBUG - 
2024-05-26 22:23:41,812: DEBUG - Automatic configuration of the sidekiq middleware is no longer done.
2024-05-26 22:23:41,812: DEBUG - Please see: https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/README.md#add-the-middleware
2024-05-26 22:23:41,813: DEBUG - 
2024-05-26 22:23:41,813: DEBUG - This version deprecated the following sidekiq_options
2024-05-26 22:23:41,814: DEBUG - 
2024-05-26 22:23:41,814: DEBUG -   - sidekiq_options lock_args: :method_name
2024-05-26 22:23:41,815: DEBUG - 
2024-05-26 22:23:41,816: DEBUG - It is now configured with:
2024-05-26 22:23:41,816: DEBUG - 
2024-05-26 22:23:41,817: DEBUG -   - sidekiq_options lock_args_method: :method_name
2024-05-26 22:23:41,817: DEBUG - 
2024-05-26 22:23:41,818: DEBUG - This is also true for `Sidekiq.default_worker_options`
2024-05-26 22:23:41,819: DEBUG - 
2024-05-26 22:23:41,819: DEBUG - We also deprecated the global configuration options:
2024-05-26 22:23:41,820: DEBUG -   - default_lock_ttl
2024-05-26 22:23:41,820: DEBUG -   - default_lock_ttl=
2024-05-26 22:23:41,820: DEBUG -   - default_lock_timeout
2024-05-26 22:23:41,821: DEBUG -   - default_lock_timeout=
2024-05-26 22:23:41,821: DEBUG - 
2024-05-26 22:23:41,822: DEBUG - The new methods to use are:
2024-05-26 22:23:41,822: DEBUG -   - lock_ttl
2024-05-26 22:23:41,823: DEBUG -   - lock_ttl=
2024-05-26 22:23:41,823: DEBUG -   - lock_timeout
2024-05-26 22:23:41,824: DEBUG -   - lock_timeout=
2024-05-26 22:23:42,015: DEBUG - + ynh_use_nodejs
2024-05-26 22:23:42,016: DEBUG - ++ ynh_app_setting_get --app=mastodon --key=nodejs_version
2024-05-26 22:23:42,017: DEBUG - ++ local _globalapp=mastodon
2024-05-26 22:23:42,106: DEBUG - ++ app=mastodon
2024-05-26 22:23:42,107: DEBUG - ++ [[ nodejs_version =~ (unprotected|protected|skipped)_ ]]
2024-05-26 22:23:42,107: DEBUG - ++ ynh_app_setting get mastodon nodejs_version
2024-05-26 22:23:42,253: DEBUG - + nodejs_version=16
2024-05-26 22:23:42,254: DEBUG - + nodejs_path=/opt/node_n/n/versions/node/16/bin
2024-05-26 22:23:42,254: DEBUG - + shopt -s expand_aliases
2024-05-26 22:23:42,255: DEBUG - + ynh_node=/opt/node_n/n/versions/node/16/bin/node
2024-05-26 22:23:42,255: DEBUG - + alias ynh_node=/opt/node_n/n/versions/node/16/bin/node
2024-05-26 22:23:42,255: DEBUG - + ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2024-05-26 22:23:42,256: DEBUG - + alias ynh_npm=/opt/node_n/n/versions/node/16/bin/npm
2024-05-26 22:23:42,256: DEBUG - + [[ :/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/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\6\/\b\i\n* ]]
2024-05-26 22:23:42,256: DEBUG - + node_PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-05-26 22:23:42,257: DEBUG - + ynh_node_load_PATH=PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-05-26 22:23:42,257: DEBUG - + ynh_node_load_path=PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-05-26 22:23:42,258: DEBUG - + export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-05-26 22:23:42,258: DEBUG - + COREPACK_ENABLE_DOWNLOAD_PROMPT=0
2024-05-26 22:23:42,258: DEBUG - + ynh_exec_warn_less ynh_exec_as mastodon PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --pure-lockfile
2024-05-26 22:23:42,259: DEBUG - + [[ 6 -eq 1 ]]
2024-05-26 22:23:42,259: DEBUG - + ynh_exec_as mastodon PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --pure-lockfile
2024-05-26 22:23:42,260: DEBUG - + local user=mastodon
2024-05-26 22:23:42,260: DEBUG - + shift 1
2024-05-26 22:23:42,260: DEBUG - ++ whoami
2024-05-26 22:23:42,260: DEBUG - + [[ mastodon = root ]]
2024-05-26 22:23:42,261: DEBUG - + sudo -u mastodon PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin yarn install --pure-lockfile
2024-05-26 22:23:44,108: DEBUG - yarn install v1.22.22
2024-05-26 22:23:45,788: DEBUG - [1/6] Validating package.json...
2024-05-26 22:23:45,804: DEBUG - [2/6] Resolving packages...
2024-05-26 22:23:48,144: DEBUG - [3/6] Fetching packages...
2024-05-26 22:23:48,168: DEBUG - warning Pattern ["strip-ansi@^6.0.1"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-strip-ansi-cjs-6.0.1-9e26c63d30f53443e9489495b2105d37b67a85d9-integrity/node_modules/strip-ansi-cjs" as pattern ["strip-ansi-cjs@npm:strip-ansi@^6.0.1"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:23:48,170: DEBUG - warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:23:48,171: DEBUG - warning Pattern ["strip-ansi@^6.0.0"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-strip-ansi-cjs-6.0.1-9e26c63d30f53443e9489495b2105d37b67a85d9-integrity/node_modules/strip-ansi-cjs" as pattern ["strip-ansi-cjs@npm:strip-ansi@^6.0.1"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:23:48,173: DEBUG - warning Pattern ["string-width@^4.2.3"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:23:48,174: DEBUG - warning Pattern ["string-width@^1.0.2 || 2 || 3 || 4"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:23:48,188: DEBUG - warning Pattern ["string-width@^4.2.0"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:23:48,189: DEBUG - warning Pattern ["wrap-ansi@^7.0.0"] is trying to unpack in the same destination "/var/www/mastodon/.cache/yarn/v6/npm-wrap-ansi-cjs-7.0.0-67e145cff510a6a6984bdf1152911d69d2eb9e43-integrity/node_modules/wrap-ansi-cjs" as pattern ["wrap-ansi-cjs@npm:wrap-ansi@^7.0.0"]. This could result in non-deterministic behavior, skipping.
2024-05-26 22:25:02,562: DEBUG - info There appears to be trouble with your network connection. Retrying...
2024-05-26 22:25:46,802: DEBUG - [4/6] Linking dependencies...
2024-05-26 22:25:46,834: DEBUG - warning " > emoji-mart@3.0.1-j" has incorrect peer dependency "react@^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0".
2024-05-26 22:25:46,840: DEBUG - warning " > react-motion@0.5.2" has incorrect peer dependency "react@^0.14.9 || ^15.3.0 || ^16.0.0".
2024-05-26 22:25:46,841: DEBUG - warning " > react-notification@6.8.5" has incorrect peer dependency "react@^0.14.0 || ^15.0.0 || ^16.0.0".
2024-05-26 22:25:46,849: DEBUG - warning " > react-router-scroll-4@1.0.0-beta.2" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
2024-05-26 22:25:46,850: DEBUG - warning " > react-router-scroll-4@1.0.0-beta.2" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
2024-05-26 22:25:46,853: DEBUG - warning " > react-swipeable-views@0.14.0" has incorrect peer dependency "react@^15.3.0 || ^16.0.0 || ^17.0.0".
2024-05-26 22:25:46,853: DEBUG - warning "react-swipeable-views > react-swipeable-views-utils > react-event-listener@0.6.6" has incorrect peer dependency "react@^16.3.0".
2024-05-26 22:27:45,811: DEBUG - [5/6] Building fresh packages...
2024-05-26 22:28:04,904: DEBUG - [6/6] Cleaning modules...
2024-05-26 22:28:20,945: DEBUG - $ husky install
2024-05-26 22:28:21,124: DEBUG - fatal: not a git repository (or any of the parent directories): .git
2024-05-26 22:28:21,131: DEBUG - husky - git command not found, skipping install
2024-05-26 22:28:21,147: DEBUG - Done in 277.06s.
2024-05-26 22:28:21,255: DEBUG - + echo SAFETY_ASSURED=1
2024-05-26 22:28:21,258: DEBUG - + ynh_exec_warn_less ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rails db:setup --quiet
2024-05-26 22:28:21,259: DEBUG - + [[ 10 -eq 1 ]]
2024-05-26 22:28:21,260: DEBUG - + ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rails db:setup --quiet
2024-05-26 22:28:21,260: DEBUG - + local user=mastodon
2024-05-26 22:28:21,260: DEBUG - + shift 1
2024-05-26 22:28:21,260: DEBUG - ++ whoami
2024-05-26 22:28:21,269: DEBUG - + [[ mastodon = root ]]
2024-05-26 22:28:21,269: DEBUG - + sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rails db:setup --quiet
2024-05-26 22:28:41,273: DEBUG - Database 'mastodon_production' already exists
2024-05-26 22:28:48,283: DEBUG - + ynh_exec_warn_less ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rails assets:precompile --quiet
2024-05-26 22:28:48,284: DEBUG - + [[ 10 -eq 1 ]]
2024-05-26 22:28:48,284: DEBUG - + ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rails assets:precompile --quiet
2024-05-26 22:28:48,284: DEBUG - + local user=mastodon
2024-05-26 22:28:48,285: DEBUG - + shift 1
2024-05-26 22:28:48,285: DEBUG - ++ whoami
2024-05-26 22:28:48,289: DEBUG - + [[ mastodon = root ]]
2024-05-26 22:28:48,289: DEBUG - + sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rails assets:precompile --quiet
2024-05-26 22:28:58,480: DEBUG - I, [2024-05-26T22:28:58.479616 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/admin/application-a644908e7bab54fb749be0f59fb64a7480bbf9c4c2b79d4a65791cb7ab4d8730.css
2024-05-26 22:28:58,482: DEBUG - I, [2024-05-26T22:28:58.481663 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/admin/application-a644908e7bab54fb749be0f59fb64a7480bbf9c4c2b79d4a65791cb7ab4d8730.css.gz
2024-05-26 22:28:58,535: DEBUG - I, [2024-05-26T22:28:58.535136 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/application-c93dac2ad9d65e3393e0e2c958481e86ef7a5e5b0f6ce406842a7b99b25a4850.css
2024-05-26 22:28:58,536: DEBUG - I, [2024-05-26T22:28:58.535635 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/doorkeeper/application-c93dac2ad9d65e3393e0e2c958481e86ef7a5e5b0f6ce406842a7b99b25a4850.css.gz
2024-05-26 22:28:58,739: DEBUG - I, [2024-05-26T22:28:58.739473 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/favicon-db10337a56c45eb43c22ff5019546b520fa22c7281d4d385f235cbca67ed26bb.png
2024-05-26 22:28:59,962: DEBUG - I, [2024-05-26T22:28:59.962464 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-fc5c893e805df52338bef3bda5a5431f74f1401da68e4f0381ac9ecb7a801e1a.js
2024-05-26 22:28:59,963: DEBUG - I, [2024-05-26T22:28:59.963123 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-fc5c893e805df52338bef3bda5a5431f74f1401da68e4f0381ac9ecb7a801e1a.js.gz
2024-05-26 22:29:00,002: DEBUG - I, [2024-05-26T22:29:00.001957 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-29fa393e673685cdbf2fb2b637098a15b988605f46bfa962f6e0cb94d15bc567.css
2024-05-26 22:29:00,003: DEBUG - I, [2024-05-26T22:29:00.002407 #580700]  INFO -- : Writing /var/www/mastodon/live/public/assets/pghero/application-29fa393e673685cdbf2fb2b637098a15b988605f46bfa962f6e0cb94d15bc567.css.gz
2024-05-26 22:29:01,609: DEBUG - Compiling...
2024-05-26 22:34:00,051: DEBUG - Compiled all packs in /var/www/mastodon/live/public/packs
2024-05-26 22:34:00,056: DEBUG - Browserslist: caniuse-lite is outdated. Please run:
2024-05-26 22:34:00,056: DEBUG -   npx update-browserslist-db@latest
2024-05-26 22:34:00,057: DEBUG -   Why you should do it regularly: https://github.com/browserslist/update-db#readme
2024-05-26 22:34:00,057: DEBUG - `isModuleDeclaration` has been deprecated, please migrate to `isImportOrExportDeclaration`
2024-05-26 22:34:00,057: DEBUG -     at isModuleDeclaration (/var/www/mastodon/live/node_modules/babel-plugin-lodash/node_modules/@babel/types/lib/validators/generated/index.js:2740:35)
2024-05-26 22:34:00,057: DEBUG -     at PluginPass.Program (/var/www/mastodon/live/node_modules/babel-plugin-lodash/lib/index.js:102:44)
2024-05-26 22:34:00,057: DEBUG - Browserslist: caniuse-lite is outdated. Please run:
2024-05-26 22:34:00,058: DEBUG -   npx update-browserslist-db@latest
2024-05-26 22:34:00,058: DEBUG -   Why you should do it regularly: https://github.com/browserslist/update-db#readme
2024-05-26 22:34:00,058: DEBUG - Browserslist: caniuse-lite is outdated. Please run:
2024-05-26 22:34:00,058: DEBUG -   npx update-browserslist-db@latest
2024-05-26 22:34:00,059: DEBUG -   Why you should do it regularly: https://github.com/browserslist/update-db#readme
2024-05-26 22:34:00,059: DEBUG - 
2024-05-26 22:34:07,927: DEBUG - + ynh_exec_warn_less ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rake mastodon:webpush:generate_vapid_key
2024-05-26 22:34:07,928: DEBUG - + [[ 9 -eq 1 ]]
2024-05-26 22:34:07,928: DEBUG - + ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rake mastodon:webpush:generate_vapid_key
2024-05-26 22:34:07,929: DEBUG - + local user=mastodon
2024-05-26 22:34:07,929: DEBUG - + shift 1
2024-05-26 22:34:07,929: DEBUG - ++ whoami
2024-05-26 22:34:07,933: DEBUG - + [[ mastodon = root ]]
2024-05-26 22:34:07,934: DEBUG - + sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/bundle exec rake mastodon:webpush:generate_vapid_key
2024-05-26 22:34:15,793: DEBUG - + ynh_exec_warn_less ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/tootctl accounts create cdefly --email=cdefly@cllyhost.noho.st --confirmed --role=Owner
2024-05-26 22:34:15,794: DEBUG - + [[ 12 -eq 1 ]]
2024-05-26 22:34:15,794: DEBUG - + ynh_exec_as mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/tootctl accounts create cdefly --email=cdefly@cllyhost.noho.st --confirmed --role=Owner
2024-05-26 22:34:15,795: DEBUG - + local user=mastodon
2024-05-26 22:34:15,795: DEBUG - + shift 1
2024-05-26 22:34:15,795: DEBUG - ++ whoami
2024-05-26 22:34:15,798: DEBUG - + [[ mastodon = root ]]
2024-05-26 22:34:15,799: DEBUG - + sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin:/opt/node_n/n/versions/node/16/bin:/opt/node_n/bin:/opt/rbenv/shims:/opt/rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so bin/tootctl accounts create cdefly --email=cdefly@cllyhost.noho.st --confirmed --role=Owner
2024-05-26 22:35:04,508: DEBUG - + ynh_exit_properly
2024-05-26 22:35:04,509: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2024-05-26 22:35:05,019: DEBUG - + ynh_clean_setup
2024-05-26 22:35:05,020: DEBUG - + true
2024-05-26 22:35:06,022: ERROR - Unable to install mastodon: An error occurred inside the app installation script

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