Pointed my Paperless-ngx consume volume at a Synology nfs share, but it isn't importing new documents reddit / selfhosted ---------------------------------------------------------------------- CincyTriGuy · 2023-12-03 19:43 I created an NFS share on my Synology, and adjusted my Paperless docker-compose file to point at it for the consume volume. I'm not getting any errors, but when I upload new documents to the compose directory on my Synology, Paperless doesn't import them. Below are the relevant pieces of the docker-compose file, and a screenshot of my Synology settings [here](https://imgur.com/q4qZK0N). version: "3.4" services: webserver: image: [ghcr.io/paperless-ngx/paperless- ngx:latest](https://ghcr.io/paperless-ngx/paperless-ngx:latest) container\_name: paperless-webserver restart: unless-stopped depends\_on: \- db \- broker ports: \- "8000:8000" healthcheck: test: \["CMD", "curl", "-fs", "-S", "--max-time", "2", "[http://localhost:8000](http://localhost:8000)"\] interval: 30s timeout: 10s retries: 5 networks: \- jc-bridge volumes: \- data:/usr/src/paperless/data \- media:/usr/src/paperless/media \- ./export:/usr/src/paperless/export \- consume:/usr/src/paperless/consume env\_file: docker-compose.env environment: PAPERLESS\_REDIS: redis://broker:6379 PAPERLESS\_DBHOST: db ​ ​ volumes: data: media: pgdata: redisdata: consume: driver\_opts: type: "nfs" o: "addr=[10.118.97.11](https://10.118.97.11),nolock,soft,rw,nfsvers=4" device: ":/volume1/containers/paperless/consume/" ---------------------------------------------------------------------- CincyTriGuy · 2023-12-03 19:46 Apologies, indentation didn't come through correctly but please just trust that everything is indented properly in the actual file. :) ---------------------------------------------------------------------- EldestPort · 2023-12-03 20:04 Is your Paperless container on the Synology box or a different host? I assume a different one, in which case you will need to check permissions of the docker user on the secondary host and make sure it can access the data on the Synology NFS share. ---------------------------------------------------------------------- dontevendrivethatfar · 2023-12-03 20:10 I had the same issue. I had to set PAPERLESS_CONSUMER_POLLING in my env and just have it poll at regular intervals. I have it set to 300 (5 minutes) https://docs.paperless-ngx.com/configuration/#polling ---------------------------------------------------------------------- CincyTriGuy · 2023-12-03 20:11 Excellent point, I forgot to mention that. The Paperless container is on a separate host from the Synology (it's a Raspberry Pi). What exactly do I need to do from a permissions perspective? Can I create a local username and password on the Synology that matches the username and password that Docker is using? Now that I think about it, I'm not even sure that I know the password of the Docker user on my Pi, I don't think I was prompted during install of Docker. ---------------------------------------------------------------------- EldestPort · 2023-12-03 20:16 Do you know where your data is mounted on the Pi? You could navigate to that directory and 'ls -al' to see if you can see the contents. I think that as well as the username, the UID and GID of the user on the (Pi) client have to match those on the (Synology) host. What worked for me (not sure if this is the best way to do it) was to create a user on my client (Ubuntu but basically the same as the Pi OS) with the same username as the one on the Synology and then manually change the UID and GID of the user on the Ubuntu client to match those of the user on the Synology host. ---------------------------------------------------------------------- marmata75 · 2023-12-03 20:33 This. Paperless doesn’t poll by default but relies on the OS to notify when there’s something new. But this only works with a local file systems, not remote. Definitely need that environment variable setup! ---------------------------------------------------------------------- CincyTriGuy · 2023-12-04 15:22 This was it! Thanks all!