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
No edit summary
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==
Line 42: Line 40:
* [https://github.com/packetbiral/mastodon-documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md Updating Mastodon] - packetbiral's guide
* [https://github.com/packetbiral/mastodon-documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md Updating Mastodon] - packetbiral's guide
** [https://github.com/staticsafe/mastodon-documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md this] (<s>[https://mastodon.zombocloud.com/users/staticsafe/updates/4279 via author]</s>) now redirects to the above
** [https://github.com/staticsafe/mastodon-documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md this] (<s>[https://mastodon.zombocloud.com/users/staticsafe/updates/4279 via author]</s>) now redirects to the above
 
===database issues===
To repair a corrupted database (e.g. if you get "422 Duplicate Record" errors): https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/
===general===
===general===
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Administration-guide.md official]
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Administration-guide.md official]

Revision as of 13:25, 22 May 2022

  1. redirect Template:seed

Pages

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.service
  • systemctl start mastodon-streaming.service
  • systemctl start mastodon-web.service

installing

administering

upgrading

Upgrading an instance to a new version:

database issues

To repair a corrupted database (e.g. if you get "422 Duplicate Record" errors): https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/

general

tasks

discussion

posts