commit: 6cd3f9042f2ad208a2a3b08f3db2918d10ab1cc0
parent b4c5cc39f65e3cd3e5e86be4631a3dcfb4bda593
Author: Mark Felder <feld@feld.me>
Date: Wed, 17 Jul 2024 13:51:56 -0400
Add docs for fix_mrf_policies
Diffstat:
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/changelog.d/fix-mrfs.add b/changelog.d/fix-mrfs.add
@@ -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.
diff --git a/docs/administration/CLI_tasks/config.md b/docs/administration/CLI_tasks/config.md
@@ -154,4 +154,19 @@ This forcibly removes all saved values in the database.
```sh
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
+ ```
+\ No newline at end of file