Mastodon-web and mastodon-sidekiq fail to start

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.4 (testing)
What app is this about: Mastodon 4.2.12~ynh1

Describe your issue

mastodon-web and mastodon-sidekiq fail to start.
This probably dates back to the Mastodon 4.2.12~ynh1 update.

The servicelogs (see below) don’t seem very useful to debug the issue. However when I try to start tooctl I get the following error message:

root@pyrignis:/home/user# cd /var/www/mastodon/live && sudo -u mastodon RAILS_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl --help
<internal:/opt/rbenv/versions/3.2.3/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': libicudata.so.67: cannot open shared object file: No such file or directory - /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/charlock_holmes-0.7.8/lib/charlock_holmes/charlock_holmes.so (LoadError)
	from <internal:/opt/rbenv/versions/3.2.3/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/charlock_holmes-0.7.8/lib/charlock_holmes.rb:1:in `<main>'
	from <internal:/opt/rbenv/versions/3.2.3/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from <internal:/opt/rbenv/versions/3.2.3/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:55:in `each'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:55:in `block in require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:44:in `each'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler/runtime.rb:44:in `require'
	from /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/bundler-2.4.13/lib/bundler.rb:187:in `require'
	from /var/www/mastodon/live/config/application.rb:24:in `<main>'
	from /var/www/mastodon/live/config/environment.rb:4:in `require_relative'
	from /var/www/mastodon/live/config/environment.rb:4:in `<main>'
	from /var/www/mastodon/live/lib/mastodon/cli/base.rb:4:in `require_relative'
	from /var/www/mastodon/live/lib/mastodon/cli/base.rb:4:in `<main>'
	from /var/www/mastodon/live/lib/mastodon/cli/main.rb:3:in `require_relative'
	from /var/www/mastodon/live/lib/mastodon/cli/main.rb:3:in `<main>'
	from bin/tootctl:5:in `require_relative'
	from bin/tootctl:5:in `<main>'

This seems to indicate that there is an issue with the “charlock_holmes” gem in ruby but the file is present on disk

root@pyrignis:~# ls -lha /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/charlock_holmes-0.7.8/lib/charlock_holmes/charlock_holmes.so
-rwxr-x--- 1 mastodon www-data 197K Jul  7 14:12 /var/www/mastodon/live/vendor/bundle/ruby/3.2.0/gems/charlock_holmes-0.7.8/lib/charlock_holmes/charlock_holmes.so

with -rwxr-x--- 1 mastodon www-data permissions. I’ve tried to temporarily switch the permission to 755 but that does not modify the error output when starting tootctl.

I’m running out of idea to try.

Share relevant logs or error messages

hastebin ← mastodon-web
hastebin ← mastodon-sidekiq

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