lab icon indicating copy to clipboard operation
lab copied to clipboard

Add mastodon installationguide

Open JeanetteMueller opened this issue 6 years ago • 10 comments

this would be nice to get a self hosted Mastodon instance.

JeanetteMueller avatar Aug 30 '18 12:08 JeanetteMueller

For that you would need an PostgreSQL Instance... It seem like it is possible: https://wiki.uberspace.de/database:postgresql

n0emis avatar Oct 03 '18 15:10 n0emis

The wiki is for Uberspace 6. Postgres is not an official feature yet.

nichtmax avatar Oct 03 '18 18:10 nichtmax

https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Production-guide.md

nichtmax avatar Oct 03 '18 18:10 nichtmax

A Postgres guide is now available https://lab.uberspace.de/guide_postgresql.html

SalocinHB avatar Jan 06 '19 21:01 SalocinHB

Any news on this?

fooness avatar Mar 02 '19 15:03 fooness

pleroma might be a better choice - needs fewer resources.

luto avatar Mar 03 '19 20:03 luto

I have a working pleroma instance on my U7 and written down the installation on my blog. I have no experience with RST so it takes more time to write a guide for the lab. Maybe there is someone who can help me? (preferred in german) Edit: RST is really easy and I'm almost finished with the guide. The next days I upload a first draft.

taddydevil avatar Jun 16 '20 16:06 taddydevil

@taddydevil What do you by „RST“? Thanks

mknet avatar Oct 28 '20 01:10 mknet

@mknet RST = reStructuredText. Markup language used by this lab to write guides ^^

taddydevil avatar Oct 31 '20 11:10 taddydevil

Hi, I set up mastodon on uberspace a few weeks ago and tried to put everything into a guide over at https://gitlab.com/guide9/mastodon_uberspace if someone wants to bring it over here, feel free.

Brocky avatar May 25 '22 06:05 Brocky

@Brocky

https://gitlab.com/guide9/mastodon_uberspace

Can the docker things be done with udocker on an uberspace? Depending on how long assets:precompile takes, I don't see a problem executing it directly on uberspaces. I expect the CPU power of uberspaces is much better, so it takes not as long as if you'd do it on your own machine. Even if shared, if you do like 15 seconds of full load RAM+CPU that's just acceptable for all spaces on a machine.

paradonym avatar Nov 16 '22 14:11 paradonym

It doesn't work, you need to compile it by yourself like in the howto described. Ubersapce shuts down the process because of shared hosting.

thafaker avatar Nov 17 '22 10:11 thafaker

okay then. I think the external parts would be also doable in WSL-environments, which would make an installation guide for most of the people out there.

paradonym avatar Nov 18 '22 20:11 paradonym

Note: After shutting down everything else on my account (i.e. Postgresql, Redis) to preserve as much memory as possible, I was able to compile all assets on Uberspace with the following options:

NODE_OPTIONS="--max-old-space-size=1024" RAILS_ENV="production" bundle exec rails assets:precompile

jemayer avatar Nov 22 '22 11:11 jemayer

Maybe there are CPU and Memory limit options too? To have like a longer compilation time while still preserving resources?

paradonym avatar Nov 22 '22 20:11 paradonym