diff options
author | rinpatch <rinpatch@sdf.org> | 2019-06-23 03:05:02 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-06-23 03:05:02 +0300 |
commit | 299cefa2bdbbde171501c5fa516e37b5e9733953 (patch) | |
tree | 0aabe69fba25051b3038d508c25cceaac1400fcd | |
parent | 18eabca9789cdb96c77279aa4cff5b34e558c803 (diff) | |
download | pleroma-299cefa2bdbbde171501c5fa516e37b5e9733953.tar.gz |
Add a section on executing mix tasks
-rw-r--r-- | docs/installation/releases_en.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/installation/releases_en.md b/docs/installation/releases_en.md index 6c05f4cd9..b9ac1b955 100644 --- a/docs/installation/releases_en.md +++ b/docs/installation/releases_en.md @@ -236,7 +236,13 @@ chmod +x /etc/periodic/daily/renew-pleroma-cert # If everything worked this should output /etc/periodic/daily/renew-pleroma-cert run-parts --test /etc/periodic/daily ``` -### Running Mix tasks +### Running mix tasks +Throughout the wiki and guides there is a lot of references to mix tasks. Since `mix` is a build tool, you can't just call `mix pleroma.task`, instead you should call `pleroma_ctl` stripping pleroma/ecto namespace. + +So for example, if the task is `mix pleroma.user set admin --admin`, you should run it like this: +```sh +su pleroma -s $SHELL -lc "./bin/pleroma_ctl user set admin --admin" +``` ### Updating Generally, doing the following is enough: ```sh |