By MrRoyce
Hey there, I was able to sucessfully deploy Mastodon with the 1 click app in a few minutes. However after I logged in via SSH and applied the suggested package upgrades, the site broke. I see this in the logs:
Unable to load application: LoadError: libidn.so.11: cannot open shared object file: No such file or directory - /home/mastodon/live/vendor/bundle/ruby/3.0.0/gems/idn-ruby-0.1.4/lib/idn.so
bundler: failed to load command: puma (/home/mastodon/live/vendor/bundle/ruby/3.0.0/bin/puma)
/home/mastodon/live/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require’: libidn.so.11: cannot open shared object file: No such file or directory - /home/mastodon/live/vendor/b>
It seems that the upgrade removed the libidn.so.11 library and I have not been able to reload it. I get messages saying that the package is already up to date, but it is not in that directory.
Any help is appreciated
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Hello @mrroyce
You can check if the file is present here - /usr/lib64/
And then create a symlink
ln -sf /usr/lib64/libidn.so.12.x.x /usr/lib64/libidn.so.11
You can also try to create another symlink or manually create the missing directory which is mentioned in the error - No such file or directory
Hope that this helps!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.