Difference between revisions of "Mastodon/admin"
< Mastodon
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* {{l/sub|backups}}: how to backup and restore an instance | * {{l/sub|backups}}: how to backup and restore an instance | ||
* {{l/sub|character limit}}: notes on how to modify the maximum length of a toot | * {{l/sub|character limit}}: notes on how to modify the maximum length of a toot | ||
+ | * {{l/sub|debugging}} | ||
* {{l/sub|dethrone}}: remove admin privileges | * {{l/sub|dethrone}}: remove admin privileges | ||
* {{l/sub|mastodon-sidekiq.service}}: configuration file | * {{l/sub|mastodon-sidekiq.service}}: configuration file | ||
Line 13: | Line 14: | ||
* mastodon-web.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> | + | 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: | Recently, we have found that <code>start</code> often does not work with the <code>*</code> wildcard, and the processes must be started individually: | ||
Line 36: | Line 37: | ||
===upgrading=== | ===upgrading=== | ||
Upgrading an instance to a new version: | Upgrading an instance to a new version: | ||
− | * [https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md official] | + | * <s>[https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Updating-Mastodon-Guide.md official]</s> |
− | * [https://github.com/ | + | * [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 | ||
+ | ===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
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
- backups: how to backup and restore an instance
- character limit: notes on how to modify the maximum length of a toot
- debugging
- dethrone: remove admin privileges
- mastodon-sidekiq.service: configuration file
- 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: 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
- 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 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 (
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
- 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