Document instance reboots
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
5a405bdadf
commit
1121deb078
1 changed files with 9 additions and 0 deletions
|
@ -179,6 +179,11 @@ it may be easier to dump the values to JSON and then modify them in a text edito
|
||||||
|
|
||||||
## Loading specific configuration values from JSON
|
## Loading specific configuration values from JSON
|
||||||
|
|
||||||
|
**Note:** This will overwrite any existing value in the database, and can
|
||||||
|
cause crashes if you do not have exactly the correct formatting.
|
||||||
|
|
||||||
|
Once you have modified the JSON file, you can load it back into the database.
|
||||||
|
|
||||||
=== "OTP"
|
=== "OTP"
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -194,3 +199,7 @@ it may be easier to dump the values to JSON and then modify them in a text edito
|
||||||
# For example, to load the MRF simple configuration:
|
# For example, to load the MRF simple configuration:
|
||||||
mix pleroma.config load_from_file /tmp/mrf_simple.json
|
mix pleroma.config load_from_file /tmp/mrf_simple.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**NOTE** an instance reboot is needed for many changes to take effect,
|
||||||
|
you may want to visit `/api/v1/pleroma/admin/restart` on your instance
|
||||||
|
to soft-restart the instance.
|
||||||
|
|
Loading…
Reference in a new issue