summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/config.md
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2024-08-01 08:53:29 +0000
committerlain <lain@soykaf.club>2024-08-01 08:53:29 +0000
commit36d469cf022ea66947a73ee4c762d7f459aceee4 (patch)
tree5f8824d56f10d1c94353afeb77833cd250e67369 /docs/administration/CLI_tasks/config.md
parent7566b4a348c66fcea45bcb017979ece9c7b45b3a (diff)
parenta5d32aab50abf725196fa782775a38907b4b2afa (diff)
downloadpleroma-36d469cf022ea66947a73ee4c762d7f459aceee4.tar.gz
pleroma-36d469cf022ea66947a73ee4c762d7f459aceee4.zip
Merge branch 'release/2.7.0' into 'stable'
v2.7.0 See merge request pleroma/pleroma!4179
Diffstat (limited to 'docs/administration/CLI_tasks/config.md')
-rw-r--r--docs/administration/CLI_tasks/config.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/administration/CLI_tasks/config.md b/docs/administration/CLI_tasks/config.md
index fc9f3cbd5..13d671a7e 100644
--- a/docs/administration/CLI_tasks/config.md
+++ b/docs/administration/CLI_tasks/config.md
@@ -1,4 +1,4 @@
-# Transfering the config to/from the database
+# Transferring the config to/from the database
{! backend/administration/CLI_tasks/general_cli_task_info.include !}
@@ -34,7 +34,7 @@
Options:
-- `<path>` - where to save migrated config. E.g. `--path=/tmp`. If file saved into non standart folder, you must manually copy file into directory where Pleroma can read it. For OTP install path will be `PLEROMA_CONFIG_PATH` or `/etc/pleroma`. For installation from source - `config` directory in the pleroma folder.
+- `<path>` - where to save migrated config. E.g. `--path=/tmp`. If file saved into non-standard folder, you must manually copy file into directory where Pleroma can read it. For OTP install path will be `PLEROMA_CONFIG_PATH` or `/etc/pleroma`. For installation from source - `config` directory in the pleroma folder.
- `<env>` - environment, for which is migrated config. By default is `prod`.
- To delete transferred settings from database optional flag `-d` can be used
@@ -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