Merge branch 'docs/fix_mrfs' into 'develop'

Add docs for fix_mrf_policies

See merge request pleroma/pleroma!4184
This commit is contained in:
feld 2024-07-17 17:52:19 +00:00
commit 89d22ac68e
2 changed files with 16 additions and 1 deletions

View File

@ -1 +1 @@
Added a Mix task "pleroma.config fix_mrf_policies" which will remove erroneous MRF policies from ConfigDB Added a Mix task "pleroma.config fix_mrf_policies" which will remove erroneous MRF policies from ConfigDB.

View File

@ -154,4 +154,19 @@ This forcibly removes all saved values in the database.
```sh ```sh
mix pleroma.config [--force] reset mix pleroma.config [--force] reset
```
## Remove invalid MRF modules from the database
This forcibly removes any enabled MRF that does not exist and will fix the ability of the instance to start.
=== "OTP"
```sh
./bin/pleroma_ctl config fix_mrf_policies
```
=== "From Source"
```sh
mix pleroma.config fix_mrf_policies
``` ```