From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 18 Jan 2023 14:28:38 +0000 (-0800) Subject: Note optional sudo command in bare metal docs X-Git-Tag: v1.12.0-beta.rc0~1^2~2^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2464%2Fhead;p=thirdparty%2Fpaperless-ngx.git Note optional sudo command in bare metal docs --- diff --git a/docs/administration.md b/docs/administration.md index 320ad7a9cd..44199e2fb6 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 ` 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 +$ python3 manage.py # (1) ``` +1. Including `sudo -Hu ` may be required + All commands have built-in help, which can be accessed by executing them with the argument `--help`.