Difference between revisions of "Mastodon/admin"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
* {{l/sub|mastodon-sidekiq.service}}: configuration file
 
* {{l/sub|mastodon-sidekiq.service}}: configuration file
 
* {{l/sub|Sidekiq}}: job manager
 
* {{l/sub|Sidekiq}}: 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: <code>systemctl {{arg|start/stop/restart}} mastodon-*.service</code>
 +
 +
Recently, we have found that <code>start</code> often does not work with the <code>*</code> wildcard, and the processes must be started individually:
 +
* <code>systemctl start mastodon-sidekiq.service</code>
 +
* <code>systemctl start mastodon-streaming.service</code>
 +
* <code>systemctl start mastodon-web.service</code>
 +
 
==Links==
 
==Links==
 
===installing===
 
===installing===
Line 17: Line 31:
 
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Administration-guide.md Administration guide]
 
* [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Administration-guide.md Administration guide]
 
** [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Tuning.md Tuning Mastodon]: adjusting workers/processes and so on
 
** [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Tuning.md Tuning Mastodon]: adjusting workers/processes and so on
 +
* [https://docs.joinmastodon.org/admin/optional/object-storage-proxy/ Proxying object storage through nginx]: how to keep media URLs consistent even when changing backends
  
 
===upgrading===
 
===upgrading===

Revision as of 13:38, 23 November 2021

This page is a seed article. You can help HTYP water it: make a request to expand a given page and/or donate to help give us more writing-hours!

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 <start/stop/restart> 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

Links

installing

administering

upgrading

Upgrading an instance to a new version:

general

tasks

discussion

posts