Package Details: mastodon 4.2.0-1

Git Clone URL: (read-only, click to copy)
Package Base: mastodon
Description: Your self-hosted, globally interconnected microblogging community
Upstream URL:
Keywords: activitypub fediverse mastodon server
Licenses: AGPL3
Submitter: flacks
Maintainer: dodecahedron
Last Packager: dodecahedron
Votes: 17
Popularity: 0.35
First Submitted: 2018-06-19 19:35 (UTC)
Last Updated: 2023-09-21 16:59 (UTC)

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

mansuetus commented on 2023-09-22 08:41 (UTC)

Seemless upgrade to 4.2.0 (and to 4.0.x before). Thank you so much @dodecahedron for the quality of your PKGBUILD, and for the speed with which you do (security & features) upgrades.

Sir-Photch commented on 2023-09-21 17:12 (UTC)

Cool stuff :-)

dodecahedron commented on 2023-09-21 16:52 (UTC)

Yes, this package handles database migrations in the post_upgrade() function.

Sir-Photch commented on 2023-09-21 16:06 (UTC)

about the upcoming v4.2.0 update, does this package handle database migrations upon updating?

dodecahedron commented on 2023-07-10 15:14 (UTC)

@peippo I intentionally didn't increase the $pkgrel for some changes so that people with already working installations won't have to rebuild the package.

peippo commented on 2023-07-10 07:41 (UTC)

Thanks @dodecahedron for all your quick reaction and prompt changes! This is really great open source collaboration :)

Could you please remember to increase the $pkgrel counter with every change, so the package gets rebuilt for people using aur toolchains or helpers? Thanks!

hafeoz commented on 2023-07-09 14:58 (UTC)

I believe git and base-devel (or at least parts of it) should be added as depends.

I have built this AUR on one machine and installed the resulting package on another machine. Upon installation, some files are actually being compiled and resulting in a non-working installation as make, gcc and maybe other packeges are not installed on the machine. Installing git and base-devel fixed it.

mansuetus commented on 2023-07-09 08:04 (UTC) (edited on 2023-07-09 08:17 (UTC) by mansuetus)

Thank you @dodecahedron & @peippo : the proposed Gemfile change did not change anything to the erb/compiler problem on my system.

I tested with a "vanilla" /usr/lib/ruby/3.0.0/erb.rb (and it crashed as before, with updated mastodon package).

So I used my "full path" erb.rb file, and it works again.

(EDIT : if you want to test things on my system without "flooding" here since we have 2 workarounds, you can contact me with my username on my mastodon server that is

peippo commented on 2023-07-08 13:05 (UTC)

I just experimented a bit, and found that adding

echo "gem 'erb'" >> Gemfile

to prepare() helped with this. It makes my recent suggestion of rebuilding the bundle in post_install() unnecessary :)

mansuetus commented on 2023-07-08 10:39 (UTC) (edited on 2023-07-08 10:43 (UTC) by mansuetus)

For those having a hard-time with erb, this is my << don't downgrade >> way to fix the erb/compiler crash. If someone clever knows why this change was required =)

$ diff erb.rb.ORIG /usr/lib/ruby/3.0.0/erb.rb
< require 'erb/version'
< require 'erb/compiler'
< require 'erb/def_method'
< require 'erb/util'
> require '/usr/lib/ruby/3.0.0/erb/version'
> require '/usr/lib/ruby/3.0.0/erb/compiler'
> require '/usr/lib/ruby/3.0.0/erb/def_method'
> require '/usr/lib/ruby/3.0.0/erb/util'