Search Criteria
Package Details: mastodon 4.2.8-1
Package Actions
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) |
Dependencies (18)
- ffmpeg (ffmpeg-intel-full-gitAUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-obsAUR, ffmpeg-amd-full-gitAUR, ffmpeg-headlessAUR, ffmpeg-libfdk_aacAUR, ffmpeg-cudaAUR, ffmpeg-decklinkAUR, ffmpeg-fullAUR, ffmpeg-gitAUR, ffmpeg-full-gitAUR)
- gcc (gccrs-gitAUR, gcc11AUR, gcc-gitAUR, gcc-snapshotAUR)
- git (git-gitAUR)
- imagemagick (imagemagick-gitAUR, imagemagick-fullAUR, imagemagick-full-gitAUR)
- libidn (libidn-gitAUR)
- libpqxx (libpqxx-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- libxslt (libxslt-gitAUR)
- libyaml (libyaml-gitAUR)
- make (make-gitAUR)
- nodejs (nodejs-gitAUR, nodejs-lts-fermiumAUR, nodejs-sharedAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- postgresql (postgresql13AUR, postgresql15-docsAUR, postgresql15AUR, postgresql-gitAUR, postgresql-12AUR)
- protobuf (protobuf-gitAUR)
- redis (redis-testingAUR, redis-gitAUR, keydbAUR)
- ruby-bundler
- sudo (fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR, fudo-gitAUR)
- yarn (corepackerAUR, yarn-pnpm-corepackAUR, yarn-berryAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »
peippo commented on 2022-11-02 17:00 (UTC)
One last comment for today, because it might help others: manually copying
/opt/mastodon/postcss.config.js
to/var/lib/mastodon/node_modules/font-awesome/css/
did allow me to run the precompile step. Not ideal, but works.peippo commented on 2022-11-02 15:26 (UTC)
Thanks, @ZhangHua!
I also still added
to the
tmpfiles.d
, and manuallyusermod
ed mastodon’s home directory.Note that the permissions I gave are maybe too generous, and that I don’t have any idea how the home directory of the user could be updated from the
sysusers.d
(would stopping all processes be enough?)However, I still end up with an error during precompile, which I don’t seem to be able to solve:
Do you have any idea how to fix this? (google and stackoverflow did not help ;))
ZhangHua commented on 2022-11-02 13:15 (UTC)
@peippo Oh I see, I forgot to set proper options, you can add
options=(!lto)
just like https://github.com/archlinux/svntogit-community/blob/packages/ruby/trunk/PKGBUILD#L16peippo commented on 2022-11-02 11:21 (UTC) (edited on 2022-11-02 12:06 (UTC) by peippo)
@ZhangHua: I tried the PKGBUILD from your gist, but I cannot build it. I always end up in a segfault during ruby compilation:
<internal:gc>:240: [BUG] Segmentation fault at 0x0000000000000004
full build log here
edit: seems to be connected to LTO, see https://bugs.ruby-lang.org/issues/18062 . I’ll try building without LTO and will let you know.
edit 2: with
options=(!lto)
it builds, but the installed bundle seems to get lost - are all the symlinks in the correct direction, or should they be the opposite way around?ZhangHua commented on 2022-10-28 03:21 (UTC) (edited on 2022-10-29 04:07 (UTC) by ZhangHua)
I think we may build a custom version of ruby instead using the system one, just like what the Dockerfile does, the size of custom one is just about 121MB and I think it is affordable compared to this package's size.
Edit: I have tried to use the custom version of ruby and it seems works well. If you want to try, you can use this gist to create a newer version of
mastodon
package. Please also note that there are some breaking changes such as moving program to/opt/mastodon
and just make/var/lib/mastodon
for storing data, you may want to run migrate steps to keep your server work after upgrading.dodecahedron commented on 2022-10-13 18:18 (UTC)
It seems like updates to the Ruby stdlib packages recently caused Mastodon to break with errors like this:
Until this is fixed, I recommend you do not upgrade any Ruby packages. Does anyone with more Ruby knowledge than me know what should be done to actually fix this?
ZhangHua commented on 2022-08-27 03:40 (UTC)
line 76 should be
-i nginx.conf
because when run that command, current working directory has already beendist
folder.dodecahedron commented on 2022-08-25 23:16 (UTC)
@MShrimp4 Thanks, fixed!
MShrimp4 commented on 2022-08-25 03:53 (UTC)
Default dist/nginx.conf needs to be changed:
Or add this line to package()
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.
« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »