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
This commit is contained in:
Sophie Bertsch 2023-12-08 22:19:04 +01:00 committed by GitHub
parent 7fca1ab453
commit 6ae7a7334b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.