Any mastodon admins here who know about self-hosting mastodon?

I am currently struggling hard with setting up my own mastodon instance on docker using "docker compose".

My Mastodon page is showing the "Something is wrong on our side" banner. That's how far I've gotten.

Just pointing me to the docker documentation would be an immense help right now, since I can't find any explicit docker setup guides.

Pls boost for reach.

Thanks, everyone!

#mastodon #admin #selfhosted #docker #fedihelp

@rogue_cells I would recommend @gotosocial over Mastodon for self-hosting. It's much easier to manage. When I was evaluating what Fedi service I wanted to self host, Mastodon seemed like too much of a headache, and GTS, even in its alpha state (which it was back then), made running inside containers super easy.

@ainmosni

#GoToSocial just works in a simple docker. No fuss, easy to set up, just a share to keep files and db for easy backup and replacing the server image. An nginx reverse proxy and letsencrypt complete it.

@rogue_cells @gotosocial

@zipkid @rogue_cells @gotosocial Yep, although with S3 and postgres, you don't even need to give it a volume. I miiiight run it in my kubernetes cluster that way.

@ainmosni

True, but those are a lot more complex to set up and manage and there is no need for those on my private server for 2 people and 4 accounts.

It would certainly make sense for a bigger setup though.

@rogue_cells @gotosocial

@zipkid @rogue_cells @gotosocial It all depends on your setup, for me it made life easier as I already had a single node k8s "cluster" and a very nice postgres management setup, so this was actually the easier way for me to set it all up this way.
@ainmosni
Would you think it reasonable if i said that, suggesting to someone starting from scratch, to use a docker directory to share, with sqlite, would be quite a lot easier than, set up Kunernetes, set up a PostgreSQL server, create S3 share…?
@rogue_cells @gotosocial
@zipkid @rogue_cells @gotosocial It honestly depends on what experience they had and what they already had setup. And also if the goal is just to have the app or if they want to learn from the experience. If they already had pg setup for other apps, it might be easier to manage. For a total newbie, I might even suggest giving YunoHost a try.

@ainmosni

All the things you say are true and reasonable, but i do detect quite some “moving the goalposts” in each of your proposed solutions.

@rogue_cells @gotosocial

@zipkid @rogue_cells @gotosocial Nah, I started off suggesting just GTS, then you added more info, and I kept adding info just to expose options.

Easiest would definitely be something like YunoHost, then using docker, assuming docker experience, podman is also quite easy but works a tad different than docker, so will need a bit more reading and probably adapting from examples. My setup is definitely very extra but was more to illustrate that you can run it without hosting the state with the GTS instance. :)

@ainmosni
To keep things simple i also run it in podman, no need for a dragon like k8s. Not even a docker daemon.
@rogue_cells @gotosocial
@zipkid @rogue_cells @gotosocial My single node "cluster" is still my favourite way of managing containers, especially with all the nice operators out there, but I'm also very experienced with k8s and don't consider it a dragon, especially not when using something like k3s to setup a single node cluster.
@ainmosni
Often people just want to run a single service with as little fuss as possible, not set up a home datacenter for many and try to be full-time sysadmins.
@rogue_cells @gotosocial
@zipkid @rogue_cells @gotosocial Oh I'm not saying new users should follow me, just that it does have its advantages. :)
@rogue_cells the the error, is the standard non-descripte rails error when running a production server. The logs should show what causes the error.