Could not find bigdecimal-3.1.8 in locally installed gems
Run bundle install --gemfile /var/www/mastodon/live/Gemfile to install missing gems.
I tried doing the bundle install as above, but there’s a whole host of errors, starting
Fetching gem metadata from https://rubygems.org/........
Installing bigdecimal 3.1.8 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory:
/var/www/mastodon/live/vendor/bundle/ruby/3.3.0/gems/bigdecimal-3.1.8/ext/bigdecimal
/opt/rbenv/versions/3.3.5/bin/ruby extconf.rb
checking for __builtin_clz()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
I have a full system backup before the upgrade. It looks like I can restore the individual mastodon App but will that cause any issues for other apps I run on the same server?
If you restore only Mastodon, that will no cause issues for the other apps.
If Mastodon has worked a while after the upgrade, you will lose the data/messages between the making of the backup until Mastodon stopped working.
An intermediate step would be to unpack the backup to a location, and compare file permissions. Seeing Mastodon is a large and complex app, that will involve more trouble than restoring.
Something you could do anyway, is backup the currently not working Mastodon as well so that you can revert to the current not working situation, or compare in the future.
Just for completeness, to update and close the post…
I restored from a previous backup, and all works fine. The earlier backup had the previous version of mastodon on it. I will attempt an upgrade at a later time.