Package Details: mastodon 4.2.8-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: dodecahedron
Last Packager: dodecahedron
Votes: 20
Popularity: 0.98
First Submitted: 2018-06-19 19:35 (UTC)
Last Updated: 2024-02-23 15:26 (UTC)

Latest Comments

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

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?

jwh commented on 2022-11-12 00:29 (UTC)

Can you add aarch64 to the arch array? thanks

peippo commented on 2022-11-09 13:58 (UTC) (edited on 2022-11-09 13:59 (UTC) by peippo)

We’re hitting this error: https://github.com/webpack/webpack/issues/14532

Let’s hope it’s fixed (somewhere) upstream, soon, either by Mastodon upgrading to a more current webpack, or by webpack@4 supporting openssl>=3.0

Until then, as a workaround, run the assets:precompile line with an additional environment variable NODE_OPTIONS=--openssl-legacy-provider

dodecahedron commented on 2022-11-06 14:34 (UTC)

Although the 4.0.0rc1 is out, I will wait until 4.0.0 is officially released before updating this package. In the meantime, you should be able to get 4.0.0rc1 to build by modifying the pkgver and making a few other minor changes.