Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED] Issue with Mastodon 3.0.0/Debian 10.1 and libprotobuf.so.10 #12081

Closed
Comendatore opened this issue Oct 5, 2019 · 2 comments

Comments

@Comendatore
Copy link

commented Oct 5, 2019

Hi there,

After updated Mastodon to v3.0.0, when i launch :
RAILS_ENV=production bin/tootctl cache clear
or
RAILS_ENV=production bundle exec rails db:migrate,
it returns me an error about libprotobuf.so.10 and fails to execute command.
Error is complaining about failing to load library libprotobuf.so.10.

Steps to reproduce the problem

#mastodon: cd live
#mastodon: git pull
#mastodon: git checkout v3.0.0
#mastodon: gem install bundler
#mastodon: bundle install --deployment --without development test
#mastodon: yarn install --pure-lockfile
#mastodon: RAILS_ENV=production bin/tootctl cache clear

Specifications

Debian 10.1
Mastodon v3.0.0
Yarn 1.19.0
Ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux]
rbenv 1.1.2-4-g577f046

@Comendatore

This comment has been minimized.

Copy link
Author

commented Oct 5, 2019

Issue solved by installing libprotobuf10_3.0.0-9_amd64 from old debian stable (stretch) repository.
root:~# wget http://ftp.fr.debian.org/debian/pool/main/p/protobuf/libprotobuf10_3.0.0-9_amd64.deb
root:~# dpkg -i libprotobuf10_3.0.0-9_amd64.deb

Then retry RAILS_ENV=production bin/tootctl cache clear under mastodon user, it should works ;-)

@Comendatore Comendatore changed the title Issue with Mastodon 3.0.0/Debian 10.1 and libprotobuf.so.10 [SOLVED] Issue with Mastodon 3.0.0/Debian 10.1 and libprotobuf.so.10 Oct 5, 2019
@Comendatore

This comment has been minimized.

Copy link
Author

commented Oct 5, 2019

I precise that the current version of libprotobuf in Debian 10.1 (stable) is libprotobuf17.

@ThibG ThibG closed this Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.