From 6ae7a7334bf5401abcf9da9a88846e82c9ff5fda Mon Sep 17 00:00:00 2001 From: Sophie Bertsch Date: Fri, 8 Dec 2023 22:19:04 +0100 Subject: [PATCH] Fix link to tootctl (#847) Assuming that this documentation is run inside the /live (Mastodon home directory), the current link is broken. The proposed change fixes this error and thus refers to the tootctl inside the bin directory --- content/en/admin/troubleshooting/index-corruption.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/admin/troubleshooting/index-corruption.md b/content/en/admin/troubleshooting/index-corruption.md index 585b9428..b0fa0f62 100644 --- a/content/en/admin/troubleshooting/index-corruption.md +++ b/content/en/admin/troubleshooting/index-corruption.md @@ -86,7 +86,7 @@ Mastodon 3.2.2 and later come with a semi-interactive script to fix those corrup Before attempting to fix your database, **stop Mastodon and make a backup of your database**. Then, with **Mastodon still stopped**, run the maintenance script: ``` -RAILS_ENV=production tootctl maintenance fix-duplicates +RAILS_ENV=production bin/tootctl maintenance fix-duplicates ``` The script will walk through the database to automatically find duplicates and fix them. In some cases, those operations are destructive. In the most destructive cases, you will be asked to choose which record to keep and which records to discard. In all cases, walking through the whole database in search of duplicates is an extremely long operation.