From 3f4f4444f7c45f24816959eb3a5d38653ed56f43 Mon Sep 17 00:00:00 2001 From: Christoph Loy Date: Mon, 1 Jan 2024 17:00:05 +0100 Subject: [PATCH] Document invalid options in rootless containers (#5122) Specifying `PAPERLESS_OCR_LANGUAGES` in rootless containers is not possible since the extra languages are currently installed with apt which requires root. Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com> --- docs/configuration.md | 4 ++++ docs/setup.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index 212508806..6f35be06d 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -1310,6 +1310,10 @@ specified as "chi-tra". Defaults to none, which does not install any additional languages. + !!! warning + + This option must not be used in rootless containers. + #### [`PAPERLESS_ENABLE_FLOWER=`](#PAPERLESS_ENABLE_FLOWER) {#PAPERLESS_ENABLE_FLOWER} : If this environment variable is defined, the Celery monitoring tool diff --git a/docs/setup.md b/docs/setup.md index 4b1e555e9..e1b8db13e 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -120,6 +120,10 @@ steps described in [Docker setup](#docker_hub) automatically. **Rootless** + !!! warning + + It is currently not possible to run the container rootless if additional languages are specified via `PAPERLESS_OCR_LANGUAGES`. + If you want to run Paperless as a rootless container, you will need to do the following in your `docker-compose.yml`: