# Mastodon-web and mastodon-sidekiq fail to start

**URL:** https://forum.yunohost.org/t/mastodon-web-and-mastodon-sidekiq-fail-to-start/31209
**Category:** Support apps
**Tags:** update, mastodon, upgrade, bug, english
**Created:** [September 21, 2024, 11:06am UTC](https://forum.yunohost.org/t/mastodon-web-and-mastodon-sidekiq-fail-to-start/31209 "2024-09-21T11:06:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pyrignis](https://forum.yunohost.org/user_avatar/forum.yunohost.org/pyrignis/32/1728_2.png) [@pyrignis](https://forum.yunohost.org/u/pyrignis)
#### Post date: [September 21, 2024, 11:06am UTC](https://forum.yunohost.org/t/mastodon-web-and-mastodon-sidekiq-fail-to-start/31209/1 "2024-09-21T11:06:35Z")

</div>

**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:

```bash
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

```bash
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](https://paste.yunohost.org/duvotovuvi) ← mastodon-web  
[hastebin](https://paste.yunohost.org/ototiwevon) ← mastodon-sidekiq

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [October 6, 2024, 11:06am UTC](https://forum.yunohost.org/t/mastodon-web-and-mastodon-sidekiq-fail-to-start/31209/2 "2024-10-06T11:06:50Z")

</div>

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