]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Document invalid options in rootless containers (#5122)
authorChristoph Loy <loy.christoph@gmail.com>
Mon, 1 Jan 2024 16:00:05 +0000 (17:00 +0100)
committerGitHub <noreply@github.com>
Mon, 1 Jan 2024 16:00:05 +0000 (08:00 -0800)
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
docs/setup.md

index 212508806c926907f8c16c12ce511066d9bedb53..6f35be06d1a99ec7d9666793cbdd87e485334018 100644 (file)
@@ -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=<defined>`](#PAPERLESS_ENABLE_FLOWER) {#PAPERLESS_ENABLE_FLOWER}
 
 : If this environment variable is defined, the Celery monitoring tool
index 4b1e555e914a8bad095026fa47d097864ddd6028..e1b8db13e2891185ac35a525a3e731ef704cbf6f 100644 (file)
@@ -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`: