Using the LSIO paperless-ngx container and trying to set the PAPERLESS_CONSUMER_POLLING configuration variable to scan the inbox directory on a recurring basis. The instructions from the ngx developers call to either edit the paperless.conf or docker-compose.env. Docker-compose.env does not appear to be part of the LSIO container, and when I bash into the container and edit the /app/paperless/paperless.conf file it gets overwritten/reset when the container is recreated. Can anyone point me in the right direction?
Are you the user that has an issue open on our GitHub repo for paperless-ngx already?
Not me. I use the same username here and github. Can you please link the relevant issue so that I may follow it there?
Ok cool, just wanted to check - this is the link: Files (pdf) in the consume folder are not processed automatically · Issue #34 · linuxserver/docker-paperless-ngx · GitHub
With your issue, please post your docker-composen file and relevant env file.
Thanks! My issue is similar where my consumption directory is on a NAS (NFS w/ squash to admin). So this was a fresh deployment and I didn’t have a docker-compose.env file. I created one based on the paperless-ng image I’d used previously and added the configuration variable. Used docker compose down
and docker compose up -d
, but still new files added after startup are not consumed.
docker-compose.yml:
GNU nano 6.2 docker-compose.yml
---
version: "2.1"
services:
paperless-ngx:
image: lscr.io/linuxserver/paperless-ngx:latest
container_name: paperless-ngx
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
- REDIS_URL= #optional
- FILE__PAPERLESS_CONSUMER_POLLING=15
volumes:
- ./config:/config
- /mnt/NAS/Paperless-ngx:/data
ports:
- 8000:8000
restart: unless-stopped
docker-compose.env
# The UID and GID of the user used to run paperless in the container. Set this
# to your UID and GID on the host so that you have write access to the
# consumption directory.
USERMAP_UID=1000
USERMAP_GID=1000
# Additional languages to install for text recognition, separated by a
# whitespace. Note that this is
# different from PAPERLESS_OCR_LANGUAGE (default=eng), which defines the
# language used for OCR.
# The container installs English, German, Italian, Spanish and French by
# default.
# See https://packages.debian.org/search?keywords=tesseract-ocr-&searchon=names&suite=buster
# for available languages.
#PAPERLESS_OCR_LANGUAGES=tur ces
###############################################################################
# Paperless-specific settings #
###############################################################################
# All settings defined in the paperless.conf.example can be used here. The
# Docker setup does not use the configuration file.
# A few commonly adjusted settings are provided below.
# Adjust this key if you plan to make paperless available publicly. It should
# be a very long sequence of random characters. You don't need to remember it.
#PAPERLESS_SECRET_KEY=change-me
# Use this variable to set a timezone for the Paperless Docker containers. If not specified, defaults to UTC.
#PAPERLESS_TIME_ZONE=America/New_York
# The default language to use for OCR. Set this to the language most of your
# documents are written in.
PAPERLESS_OCR_LANGUAGE=eng
PAPERLESS_CONSUMER_POLLING=15