diff options
author | feld <feld@feld.me> | 2024-07-17 17:52:19 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2024-07-17 17:52:19 +0000 |
commit | 89d22ac68ed7416c9f1038bd9d7b30417c485e12 (patch) | |
tree | a477bf3acd397c8eb76206309b9ffe45999fda77 | |
parent | 45445057618ff1d9b3c4980e6befc69d56a6142f (diff) | |
parent | 6cd3f9042f2ad208a2a3b08f3db2918d10ab1cc0 (diff) | |
download | pleroma-89d22ac68ed7416c9f1038bd9d7b30417c485e12.tar.gz pleroma-89d22ac68ed7416c9f1038bd9d7b30417c485e12.zip |
Merge branch 'docs/fix_mrfs' into 'develop'
Add docs for fix_mrf_policies
See merge request pleroma/pleroma!4184
-rw-r--r-- | changelog.d/fix-mrfs.add | 2 | ||||
-rw-r--r-- | docs/administration/CLI_tasks/config.md | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/changelog.d/fix-mrfs.add b/changelog.d/fix-mrfs.add index a38830109..2a0fb0768 100644 --- 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 index 7c167ec5d..13d671a7e 100644 --- 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 |