What app is this about, and its version: Mastodon 4.4x What YunoHost version are you running: 12.1.39 What type of hardware are you using: VPS bought online
Describe your issue
Attempted an upgrade to the latest version of Mastodon. During the process it failed with an error. “ERROR - Provisioning, deprovisioning, or updating resources for mastodon failed: libyaml-dev is required to install Ruby”
The currently installed version of Mastodon will now not work.
I have attempted to restore from three different backups via the web. All eventually fail with an Error in the restore script. I then try using the command line. It gets well into the process; as far as “Building app” and fails with a “An error occured inside the app restore script”.
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
2026-03-12 20:39:55,628: WARNING - W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 62D54FD4003F6525
Yes, there is nothing left of Mastodon. In order for me to try and restore from a backup YunoHost Admin told me I had to remove the current Mastodon App (which was not working). So there is no App on the server now.
I created a brand new install of Yunohost on a new server and then restored the backup. It failed with the same error about “gem”. There must be a fault with the script that does the restore.
DEBUG - Could not find 'bundler' (~> 2.6) - did find: [bundler-4.0.8,bundler-4.0.8]
DEBUG - Checked in 'GEM_PATH=/var/www/mastodon/.local/share/gem/ruby/3.4.0:/opt/rbenv/versions/3.4.5/lib/ruby/gems/3.4.0' , execute `gem env` for more information
DEBUG -
DEBUG - To install the version of bundler this project requires, run `gem install bundler -v '~> 2.6'`
There seems to be a problem with “Activating bundler”
Try this:
In the end I gave up on trying to get the Yunohost Restore to work. I created a new VPS server without Yunohost and manually installed Mastodon. I then used the data from the backup to restore it into the new Mastodon server and it is now running without Yunohost.
There seems to be a problem with the restore script which hopefully can be fixed before someone else has the problem.