]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Note optional sudo command in bare metal docs 2464/head
authorshamoon <4887959+shamoon@users.noreply.github.com>
Wed, 18 Jan 2023 14:28:38 +0000 (06:28 -0800)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Thu, 19 Jan 2023 06:36:24 +0000 (22:36 -0800)
docs/administration.md

index 320ad7a9cdb2e981d82fe78808cd89c0e7647101..44199e2fb613d053aaec829dd20cbd71f0423105 100644 (file)
@@ -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`.