chema,
@chema@ctrvx.net avatar

If you're looking to host your very own single-user/a-few-users instance, you cannot go wrong with . It is simple to install on Ubuntu and works very well with some really solid clients. It is also written in C, so it is fast, with few dependencies. Great work @grunfink, you've got a new monthly supporter on Ko-fi!

https://codeberg.org/grunfink/snac2

vv221,
@vv221@fediverse.dotslashplay.it avatar

snac is the reason I joined the Fediverse in the first place. This is the only server software I know that tries to mitigate the addiction mechanisms common to most micro-blogging platforms.

CC: @grunfink

firefly,
@firefly@neon.nightbulb.net avatar

@vv221 @chema @grunfink

Addictive behavior modeling equals advertising shekels.

jef,
@jef@mastodon.social avatar

@chema @grunfink Endorse. I haven't installed it yet but as a fellow portable C enthusiast I checked it out and did a test compile. No complaints, looks great, including the man pages.

ewhac,
@ewhac@mastodon.social avatar

@chema @grunfink Just got this working inside a FreeBSD jail on my LAN. It took rather longer than I imagined, as some of the instructions were misleading, and nginx was being pissy about wanting a full Let'sEncrypt cert chain rather than just the leaf. But I got it up.

grunfink,
@grunfink@comam.es avatar

What instructions did you find misleading? I would like 's documentation to be as accurate as possible.

CC: @chema

gyptazy,
@gyptazy@gyptazy.ch avatar

@ewhac @chema As @grunfink mentioned, which instructions? Did you used the linked one to my one at https://gyptazy.ch/blog/install-snac2-on-freebsd-an-activitypub-instance-for-the-fediverse/ ? If yes, let me know what didn't work out for you to update the docs.

ewhac,
@ewhac@mastodon.social avatar

@gyptazy @chema @grunfink 1/n: I'm fighting a 500-char limit, so bear with me:

The rc.d script examples/snac_freebsd needs to be modified before use, changing SNAC_DATA_PATH to the location of snac2's data (which is later established as /home/snac/data).

pw useradd snac -s /bin/sh is insufficient -- it doesn't create the user's homedir. This should be:

pw useradd snac -m -s /bin/sh  
ewhac,
@ewhac@mastodon.social avatar

@gyptazy @chema @grunfink 2/n: examples/nginx-alpine-ssl/default.conf needs to be modified before use. The proxy_pass fields need to be modified to point to the local snac port, which was earlier established as localhost:8001.

Further, nginx does not scan any .d subdirectories for configuration files out of the box. In nginx.conf, in the server block, you must add a directive to the effect of:

include vhosts.d/*.conf  
ewhac,
@ewhac@mastodon.social avatar

@gyptazy @chema @grunfink 3/n: The HOWTO establishes different hostnames when setting up snac versus nginx (snac01.gyptazy.ch versus snac.gyptazy.ch), but doesn't explain why this was done. Indeed, this seems like a thing to not do, as snac uses the hostname you give it to generate URLs to itself.

ewhac,
@ewhac@mastodon.social avatar

@gyptazy @chema @grunfink 4/n: I'm not using certbot for my Let's Encrypt certs, because I have a cert with a wildcard SAN, my DNS provider doen't support API access to update TXT records, so I get to do it all by hand. Every three months.

A brief note to the effect that nginx wants the entire cert chain, not just the leaf cert, would be welcome.

...Oh, not sure why you version-pinned certbot at 2.6 in the pkg install. FreeBSD 13.2 is on cerbot 2.9.

ewhac,
@ewhac@mastodon.social avatar

@gyptazy @chema @grunfink 5/5: That's all I can recall at the moment.

The snac build process itself was surprisingly painless and quick. Very nicely done! Once it works, it's kinda neat.

grunfink,
@grunfink@comam.es avatar

Thank you very much for your notes. I've boosted them because they may prove useful for future users while the documentation is improved.

I'm glad you like .

CC: @gyptazy @chema

gyptazy,
@gyptazy@gyptazy.ch avatar

@grunfink @ewhac @chema updated the howto regarding the mentioned things.

gyptazy,
@gyptazy@gyptazy.ch avatar

@ewhac @chema @grunfink I've updated the howto for the mentioned things. Thanks for reporting.

grunfink,
@grunfink@comam.es avatar

Thank you very much for your support!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse
  • slotface
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • khanakhh
  • ethstaker
  • JUstTest
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines