Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Note optional sudo command in bare metal docs

shamoon151573a26e9c
diff --git a/docs/administration.md b/docs/administration.md
index 320ad7a9c..44199e2fb 100644
--- a/docs/administration.md
+++ b/docs/administration.md
@@ -152,9 +152,11 @@ following:
```shell-session
$ cd src
- $ python3 manage.py migrate
+ $ python3 manage.py migrate # (1)
```
+ 1. Including `sudo -Hu <paperless_user>` may be required
+
This might not actually do anything. Not every new paperless version
comes with new database migrations.
@@ -210,9 +212,11 @@ Bare metal:
```shell-session
$ cd /path/to/paperless/src
-$ python3 manage.py <command> <arguments>
+$ python3 manage.py <command> <arguments> # (1)
```
+1. Including `sudo -Hu <paperless_user>` may be required
+
All commands have built-in help, which can be accessed by executing them
with the argument `--help`.