Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Ignores a specific _FILE setting which doesn't actually get set to a file

Trenton Holmes613b71d23b0f
diff --git a/docker/env-from-file.sh b/docker/env-from-file.sh
index 37535c220..b67a82c86 100644
--- a/docker/env-from-file.sh
+++ b/docker/env-from-file.sh
@@ -15,6 +15,10 @@ do
env_name=${line%%=*}
# Check if it starts with "PAPERLESS_" and ends in "_FILE"
if [[ ${env_name} == PAPERLESS_*_FILE ]]; then
+ # This should have been named different..
+ if [[ ${env_name} == "PAPERLESS_OCR_SKIP_ARCHIVE_FILE" ]]; then
+ continue
+ fi
# Extract the value of the environment
env_value=${line#*=}