From: Christoph Loy Date: Mon, 1 Jan 2024 16:00:05 +0000 (+0100) Subject: Document invalid options in rootless containers (#5122) X-Git-Tag: v2.3.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4f4444f7c45f24816959eb3a5d38653ed56f43;p=thirdparty%2Fpaperless-ngx.git 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> --- diff --git a/docs/configuration.md b/docs/configuration.md index 212508806c..6f35be06d1 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 4b1e555e91..e1b8db13e2 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`: