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: 1.04
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 »

dodecahedron commented on 2023-02-13 22:12 (UTC)

Oh, I see what you mean now. I'm not exactly sure why the NODE_OPTIONS=--openssl-legacy-provider variable is necessary, but I added it to the mastodon:setup too.

calvertdw commented on 2023-02-13 19:31 (UTC) (edited on 2023-02-13 19:32 (UTC) by calvertdw)

I'll have to check, but I noticed you have NODE_OPTIONS=--openssl-legacy-provider in the arguments in post_upgrade(). Why is it there?

dodecahedron commented on 2023-02-13 19:11 (UTC)

@calvertdw Hmmm, I'm unable to reproduce that bug. Are you sure you have openssl installed and not openssl-1.1?

calvertdw commented on 2023-02-12 05:53 (UTC) (edited on 2023-02-12 06:01 (UTC) by calvertdw)

It fails to compile during assets:precompile.

Compilation failed:
node:internal/crypto/hash:71
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Referencing https://github.com/webpack/webpack/issues/14532#issuecomment-947012063, looks like you can replace the post install line with:

sudo -u mastodon NODE_OPTIONS=--openssl-legacy-provider RAILS_ENV=production bundle exec rails mastodon:setup

or if you already did the first part and got the error:

sudo -u mastodon NODE_OPTIONS=--openssl-legacy-provider RAILS_ENV=production bundle exec rails assets:precompile

dodecahedron commented on 2022-12-10 07:48 (UTC)

No, I don't think there are any bugs filed yet for the Ruby packages in the official repos. However, ruby and ruby-stdlib are both marked out-of-date, so I think they're busy with other problems.

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.