Package Details: mastodon 4.3.2-2

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.102152
First Submitted: 2018-06-19 19:35 (UTC)
Last Updated: 2024-12-24 15:43 (UTC)

Latest Comments

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

MShrimp4 commented on 2022-08-25 03:53 (UTC)

Default dist/nginx.conf needs to be changed:

#root /home/mastodon/live/public
root /var/lib/mastodon/public # Change to this one

Or add this line to package()

sed -e 's/home\/mastodon\/live/var\/lib\/mastodon/g' \
    -i dist/nginx.conf

dodecahedron commented on 2022-04-28 21:03 (UTC) (edited on 2022-04-28 21:23 (UTC) by dodecahedron)

@istobic I've ran this package for nearly a year now and it's not much of a hassle.

Edit: I adopted the package and just pushed a major overhaul that fixes the issues listed in my previous comment.

istobic commented on 2022-04-27 15:40 (UTC) (edited on 2022-04-27 15:40 (UTC) by istobic)

@Ta180m: Is it still the same hassle as described in the pinned comment, or can you recommend using the package (your updated version)?

dodecahedron commented on 2022-03-30 23:43 (UTC) (edited on 2022-03-30 23:53 (UTC) by dodecahedron)

This is my updated version of the diff for Mastodon 3.5.0: https://paste.tildeverse.org/?de9bf19cd49588f5#5PhTH6fPu4dGifW8JhEBnjHW3JGTdsZmPfZK8TGBZrdP

dodecahedron commented on 2022-02-24 21:57 (UTC) (edited on 2022-02-24 23:04 (UTC) by dodecahedron)

I made several improvements for this package:

  • Updated link to https://github.com/mastodon/mastodon

  • Correctly set ReadWritePaths in the systemd service file

  • Use sudo instead of su for the post-install instructions because it's cleaner

  • Changed the tmpfiles configuration to not recursively modify /var/lib/mastodon and instead use chmod the files this package owns

Here's the diff: https://paste.tildeverse.org/?36f7d91d98bed155#AgNER737dt3br38M7D5ushznAJeAKQLaYrxGub1JiuZf

Note: the chmod command seems to fail with bash: /usr/bin/chown: Argument list too long, so I think running chown mastodon:mastodon -R /var/lib/mastodon post-install might be a better option.

heftig commented on 2021-11-14 00:13 (UTC)

The tmpfiles config you install modifies /var/lib/mastodon recursively on every boot and anytime pacman touches tmpfiles.d. That can be quite slow, taking 30 seconds or more each time.

You might want to go back to chmod'ing post-install/upgrade and only modify the dirs and files contained in the package, and not recursively.

dodecahedron commented on 2021-07-29 16:38 (UTC)

Due to permission issues, I had to add

[Service]
ProtectSystem=no

to the override files of the systemd services for this package to work.

liolok commented on 2020-05-25 03:40 (UTC)

An advise from previous packager (not maintainer):

Do use Docker, let this package rest in peace. (Unless you are able to take cover all the upstream sh*t)

count0 commented on 2020-03-05 20:49 (UTC)

Does not seem to be working with newer ruby 2.7... Does not build.