Installation/ mise à jour mastodon impossible

Mon serveur YunoHost

Matériel:
freebox delta (ARM) avec une VM DEBIAN
Version de YunoHost: 4.3.6.2
J’ai accès à mon serveur : En SSH | Par la webadmin | En direct avec un clavier/écran | …
Êtes-vous dans un contexte particulier ou avez-vous effectué des modifications particulières sur votre instance ? : non

Description du problème

Bonjour,

Je n’arrive pas à mettre à jour mon instance mastodon, j’ai essayé de la désinstaller et d’installer la dernière version, mais cela ne fonctionne pas non plus.

Voici les messages :
https://paste.yunohost.org/raw/zilurobabu

Si quelqu’un peut y jeter un oeil.
Merci

Je n’utilise pas personnellement Mastodon, donc je ne garantis pas que ça marche. Voici une version de test qui tente d’appliquer les conseils indiqués dans le journal d’erreurs:

yunohost app install https://github.com/YunoHost-Apps/mastodon_ynh/tree/fix-nokogiri -f

Si tu as réussi à restaurer ton application, essaie de la mettre à jour:

yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/fix-nokogiri -F

:crossed_fingers:

1 Like

Merci pour ta rapidité et tes compétences.
Cela fonctionne, je te mets le log de l’upgrade (il y a quelques défauts, je ne connais pas leurs importances).

root@kevread:~# yunohost app upgrade mastodon -u https://github.com/YunoHost-Apps/mastodon_ynh/tree/fix-nokogiri -F
Info: Now upgrading mastodon...
Info: [+...................] > Loading installation settings...
Info: [#+..................] > Checking version...
Info: [##+.................] > Backing up the app before upgrading (may take a while)...
Info: [###+................] > Stopping a systemd service...
Info: The service mastodon-web has correctly executed the action stop.
Info: The service mastodon-sidekiq has correctly executed the action stop.
Info: The service mastodon-streaming has correctly executed the action stop.
Info: [####+...............] > Ensuring downward compatibility...
Info: '/etc/apt/sources.list.d/mastodon.list' wasn't deleted because it doesn't exist.
Info: '/etc/apt/preferences.d/mastodon' wasn't deleted because it doesn't exist.
Info: '/etc/apt/trusted.gpg.d/mastodon.gpg' wasn't deleted because it doesn't exist.
Info: '/etc/apt/trusted.gpg.d/mastodon.asc' wasn't deleted because it doesn't exist.
Info: [#####+..............] > Making sure dedicated system user exists...
Info: [######+.............] > Upgrading source files...
Info: '/var/www/mastodon/live/config/initializers/timeout.rb' wasn't deleted because it doesn't exist.
Info: [#######+............] > Upgrading NGINX web server configuration...
Info: [########+...........] > Upgrading dependencies...
Warning: dpkg: warning: version 'v7.5.0' has bad syntax: version number does not start with digit
Info: '/etc/apt/trusted.gpg.d/mastodon.asc' wasn't deleted because it doesn't exist.
Info: rbenv already seems installed in `/opt/rbenv/bin/rbenv'.
Info: Trying to update with git...
Info: `rbenv install' command already available in `/opt/rbenv/plugins/ruby-build/bin/rbenv-install'.
Info: Trying to update rbenv with git...
Info: `rbenv alias' command already available in `/opt/rbenv/plugins/rbenv-aliase/bin/rbenv-alias'.
Info: Trying to update rbenv-aliases with git...
Info: `rbenv latest' command already available in `/opt/rbenv/plugins/xxenv-latest/bin/rbenv-latest'.
Info: Trying to update xxenv-latest with git...
Info: Installing Ruby-2.7.2
Info: [#########+..........] > Adding swap if needed...
Info: [##########+.........] > Adding 0 Mo to swap...
Info: [###########+........] > Installing Ruby...
Info: [############+.......] > Updating a config file...
Info: [#############+......] > Upgrading systemd configuration...
Info: [##############+.....] > Upgrading Mastodon...
Warning: warning " > react-redux-loading-bar@4.0.8" has incorrect peer dependency "react-redux@^3.0.0 || ^4.0.0 || ^5.0.0".
Warning: warning Workspaces can only be enabled in private projects.
Info: [###############+....] > Setuping the cron file...
Warning: File /etc/cron.d/mastodon has been manually modified since the installation or last upgrade. So it has been duplicated in /home/yunohost.conf/backup//etc/cron.d/mastodon.backup.20220424.081042
Warning: --- /home/yunohost.conf/backup//etc/cron.d/mastodon.backup.20220424.081042     2022-02-16 18:22:44.000000000 +0000
Warning: +++ /etc/cron.d/mastodon       2022-04-24 08:10:43.966073567 +0000
Warning: @@ -1,5 +1,7 @@
Warning: -@daily mastodon cd /var/www/mastodon/live && 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  RAILS_ENV=production bin/tootctl media remove
Warning: -@monthly mastodon cd /var/www/mastodon/live && 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  RAILS_ENV=production bin/tootctl media remove-orphans
Warning: -@monthly mastodon cd /var/www/mastodon/live && 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  RAILS_ENV=production bin/tootctl accounts cull
Warning: -@monthly mastodon cd /var/www/mastodon/live && 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  RAILS_ENV=production bin/tootctl statuses remove
Warning: -@monthly mastodon cd /var/www/mastodon/live && 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  RAILS_ENV=production bin/tootctl preview_cards remov
Warning: +# This is a system cron file, see crontab(5)
Warning: +# m h dom mon dow user command
Warning: +@daily mastodon cd /var/www/mastodon/live && PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/shims:/opt/rbenv/bin:/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  RAILS_ENV=production bin/tootctl media remove
Warning: +@monthly mastodon cd /var/www/mastodon/live && PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/shims:/opt/rbenv/bin:/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  RAILS_ENV=production bin/tootctl media remove-orphans
Warning: +@monthly mastodon cd /var/www/mastodon/live && PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/shims:/opt/rbenv/bin:/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  RAILS_ENV=production bin/tootctl accounts cull
Warning: +@monthly mastodon cd /var/www/mastodon/live && PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/shims:/opt/rbenv/bin:/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  RAILS_ENV=production bin/tootctl statuses remove
Warning: +@monthly mastodon cd /var/www/mastodon/live && PATH=/opt/rbenv/versions/mastodon/bin:/opt/rbenv/shims:/opt/rbenv/bin:/opt/node_n/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rbenv/shims:/opt/rbenv/bin:/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  RAILS_ENV=production bin/tootctl preview_cards remove
Info: [################+...] > Integrating service in YunoHost...
Info: [#################+..] > Starting a systemd service...
Info: The service mastodon-web has correctly executed the action start.
Info: The service mastodon-sidekiq has correctly executed the action start.
Info: The service mastodon-streaming has correctly executed the action start.
Info: [##################+.] > Reloading NGINX web server...
Info: [###################+] > Upgrade of mastodon completed
Success! mastodon upgraded
Success! Upgrade complete
1 Like

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