software/Mastodon/admin: Difference between revisions
from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
| Line 20: | Line 20: | ||
* <code>systemctl start mastodon-streaming.service</code> | * <code>systemctl start mastodon-streaming.service</code> | ||
* <code>systemctl start mastodon-web.service</code> | * <code>systemctl start mastodon-web.service</code> | ||
Repairing a corrupt database: https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/ | |||
==Links== | ==Links== | ||
Revision as of 13:24, 22 May 2022
- redirect Template:seed
Pages
- Template:L/sub: how to backup and restore an instance
- Template:L/sub: notes on how to modify the maximum length of a toot
- Template:L/sub
- Template:L/sub: remove admin privileges
- Template:L/sub: configuration file
- Template:L/sub: job manager
How To
Restarting Mastodon
The Mastodon server consists of a standard web server which proxies certain requests through to each of three systemd processes:
- mastodon-sidekiq.service
- mastodon-streaming.service
- mastodon-web.service
In some environments, these may be started, stopped, or restarted with a single command: systemctl Template:Arg mastodon-*.service
Recently, we have found that start often does not work with the * wildcard, and the processes must be started individually:
systemctl start mastodon-sidekiq.servicesystemctl start mastodon-streaming.servicesystemctl start mastodon-web.service
Repairing a corrupt database: https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/
Links
installing
- Mastodon Production Guide: a walk through of the setup process
- Alternative Server Components: using nonstandard services (e.g. Apache instead of nginx)
- How to install a Mastodon instance on Ubuntu 16.04 LTS
- Deploying Mastodon on Digital Ocean: uses Docker
- Moving Mastodon to Digital Ocean ...but apparently is a really easy way to do it
- Mastible: an Template:L/sw/ansible playbook to install Mastodon
- 2018-01-18 (update) Setting up your own Mastodon, with Digital Ocean and Docker
administering
- Administration guide
- Tuning Mastodon: adjusting workers/processes and so on
- Proxying object storage through nginx: how to keep media URLs consistent even when changing backends
upgrading
Upgrading an instance to a new version:
official- Updating Mastodon - packetbiral's guide
- this (
via author) now redirects to the above
- this (
general
tasks
- snippet-copy_emojos.rb (via) "A Mastodon Rails console snippet to batch-copy Emoji from another domain."
discussion
- Mastodon Meta Discussion Board (using Discourse)
posts
- 2017-04-12 Scaling Mastodon: What it takes to house 43,000 users by Eugen Rochko
