Package Details: mastodon 4.3.3-1

Git Clone URL: https://aur.archlinux.org/mastodon.git (read-only, click to copy)
Package Base: mastodon
Description: Your self-hosted, globally interconnected microblogging community
Upstream URL: https://github.com/mastodon/mastodon
Keywords: activitypub fediverse mastodon server
Licenses: AGPL3
Submitter: flacks
Maintainer: bjo
Last Packager: bjo
Votes: 22
Popularity: 0.94
First Submitted: 2018-06-19 19:35 (UTC)
Last Updated: 2025-01-16 11:04 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

ruscur commented on 2022-12-10 05:57 (UTC)

Ruby package issue is still a problem. Are the package maintainers aware of the issue? I couldn't find anything reported

mansuetus commented on 2022-12-04 09:08 (UTC)

Than you @Ta180m I wget every package you listed in a specific folder, then pacman -U * in this folder. It downgraded everything fine. Then I encountered a small problem (probably) since uninstall of mastodon emptied my /etc/mastodon.conf that I restored. Everything works fine now <3.

dodecahedron commented on 2022-12-03 21:05 (UTC) (edited on 2022-12-03 21:05 (UTC) by dodecahedron)

It looks like Arch Linux is still not finished with their Ruby stdlib restructuring and their latest round of updates broken things again. Here's a full list of packages to keep downgraded for now:

https://archive.archlinux.org/packages/r/ruby-base64/ruby-base64-0.1.1-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-benchmark/ruby-benchmark-0.2.0-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-bigdecimal/ruby-bigdecimal-3.1.2-3-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-bundler/ruby-bundler-2.3.23-1-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-cgi/ruby-cgi-0.3.3-1-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-csv/ruby-csv-3.2.5-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-date/ruby-date-3.2.2-3-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-delegate/ruby-delegate-0.2.0-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-did_you_mean/ruby-did_you_mean-1.6.1-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-digest/ruby-digest-3.1.0-5-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-drb/ruby-drb-2.1.0-4-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-english/ruby-english-0.7.1-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-erb/ruby-erb-2.2.3-4-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-etc/ruby-etc-1.3.0-5-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-fcntl/ruby-fcntl-1.0.1-3-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-fiddle/ruby-fiddle-1.1.0-3-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-fileutils/ruby-fileutils-1.6.0-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-find/ruby-find-0.1.1-3-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-forwardable/ruby-forwardable-1.3.2-5-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-getoptlong/ruby-getoptlong-0.1.1-2-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-io-console/ruby-io-console-0.5.11-2-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-io-nonblock/ruby-io-nonblock-0.1.0-2-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-io-wait/ruby-io-wait-0.2.3-3-x86_64.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-ipaddr/ruby-ipaddr-1.2.4-2-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-logger/ruby-logger-1.5.1-2-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-mutex_m/ruby-mutex_m-0.1.1-2-any.pkg.tar.zst
https://archive.archlinux.org/packages/r/ruby-abbrev/ruby-abbrev-0.1.0-3-any.pkg.tar.zst

mansuetus commented on 2022-12-03 15:47 (UTC)

@Ta180m : thank you for support. systemctl stop mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service then pacman -R mastodon then pacman -R ruby ruby-stdlib rubygems ruby-abbrev ruby-base64 ruby-benchmark ruby-bigdecimal ruby-bundler ruby-cgi ruby-csv ruby-date ruby-delegate ruby-did_you_mean ruby-digest ruby-drb ruby-english ruby-erb ruby-etc ruby-fcntl ruby-fiddle ruby-fileutils ruby-find ruby-forwardable ruby-getoptlong ruby-io-console ruby-io-nonblock ruby-io-wait ruby-ipaddr ruby-irb ruby-json ruby-logger ruby-minitest ruby-mutex_m ruby-net-http ruby-open-uri ruby-power_assert ruby-psych ruby-racc ruby-rake ruby-rdoc ruby-reline ruby-rexml ruby-ruby2_keywords ruby-stringio ruby-test-unit ruby-time ruby-tmpdir ruby-uri ruby-bundledgems then pacman -Syu=> up to date

=> Same result after reinstall of mastodon that pulled ruby-*

dodecahedron commented on 2022-12-03 14:58 (UTC)

@mansuetus Try stopping the Mastodon services and uninstalling Mastodon and Ruby. Then install them again and see if that fixes it. Also, make sure your system is fully upgraded.

mansuetus commented on 2022-12-03 12:52 (UTC)

Hi, it seems that we hit the old bug with ruby upgrade. Did try to downgrade, did not seem to fix though. Errors are such as :

Setting ownership of mastodon files Upgrading database schema /var/lib/mastodon/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require': cannot load such file -- erb/compiler (LoadError) Did you mean? erb/compiler from /usr/lib/ruby/3.0.0/erb.rb:17:in `<top (required)>' from /var/lib/mastodon/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' from /var/lib/mastodon/vendor/bundle/ruby/3.0.0/gems/bootsnap-1.13.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require' (...)

Mastodon-web is also crashing.

InoriHeart commented on 2022-11-26 15:01 (UTC)

export NODE_OPTIONS=--openssl-legacy-provider

e8hffff commented on 2022-11-21 09:07 (UTC)

To setup Mastodon, enable and start PostgreSQL and Redis:

systemctl enable --now postgresql redis

Create the Mastodon PostgreSQL user and grant it the ability to create databases with:

sudo -u postgres createuser -d mastodon

Then, run:

cd /var/lib/mastodon
sudo chown mastodon:mastodon -R .
sudo -u mastodon RAILS_ENV=production bundle exec rails mastodon:setup

Finally, enable and start all the required services:

systemctl enable --now mastodon.target

dodecahedron commented on 2022-11-20 18:09 (UTC)

So... it's a bit complicated. The assets:precompile step can only be run on an already configured instance, so yarn is needed for this post-installation step. Even if we somehow made yarn a runtime dependency and did the assets:precompile during the package build, we also need yarn when first installing and configuring Mastodon when you run mastodon:setup.

Thaodan commented on 2022-11-20 14:35 (UTC)

Is yarn a runtime dependency?