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 46: Line 46:
===tasks===
===tasks===
* [https://gist.github.com/monsterpit-daggertooth/a1088ab959c71fc02f2baf824c6f4025 snippet-copy_emojos.rb] ([https://monsterpit.net/@daggertooth/99384806716881228 via]) "A Mastodon Rails console snippet to batch-copy Emoji from another domain."
* [https://gist.github.com/monsterpit-daggertooth/a1088ab959c71fc02f2baf824c6f4025 snippet-copy_emojos.rb] ([https://monsterpit.net/@daggertooth/99384806716881228 via]) "A Mastodon Rails console snippet to batch-copy Emoji from another domain."
* '''2022-11-17''' [https://diskseven.com/blog/tootorial-toot-locale/ Tootelage: Modifying Mastodon to revert the ill-advised "Publish" button back to its eternally-loved "Toot"] ([https://social.diskseven.com/@Jo/109367415527122810 via])
===discussion===
===discussion===
* [https://discourse.joinmastodon.org/ Mastodon Meta Discussion Board] (using Discourse)
* [https://discourse.joinmastodon.org/ Mastodon Meta Discussion Board] (using Discourse)
===posts===
===posts===
* '''2017-04-12''' [https://medium.com/tootsuite/scaling-mastodon-1becde463090 Scaling Mastodon: What it takes to house 43,000 users] by Eugen Rochko
* '''2017-04-12''' [https://medium.com/tootsuite/scaling-mastodon-1becde463090 Scaling Mastodon: What it takes to house 43,000 users] by Eugen Rochko

Revision as of 14:27, 20 November 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