From 151573a26e9c29b99fe996e35e4f93746beeacb6 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 18 Jan 2023 06:28:38 -0800 Subject: [PATCH] Note optional sudo command in bare metal docs --- docs/administration.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 ` 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`.