Skip to content

Feature Request: Optionally share Paperless consume folder with Nextcloud for drop-to-ingest #3

Description

@7thgenerationdesign

Summary

As a follow-up to the read-only archive mount (see #2 ), it would be great to share Paperless's consume directory (/usr/src/paperless/consume) with Nextcloud, so that files dropped or synced into a Nextcloud folder are automatically ingested by Paperless.

This is intentionally separate from the read-only archive request because it requires read-write sharing (Nextcloud writes files in; Paperless consumes and deletes them), which is more involved and shouldn't block the simpler read-only feature.

Request

Provide an optional, configurable read-write share of Paperless's consume directory that Nextcloud can mount, enabled by users who have both packages installed.

Things to watch out for

  • UID/GID compatibility (primary failure mode). Paperless typically chowns the consume folder to its own container UID/GID, which blocks external writes from Nextcloud. A shared UID/GID or a compatible permission scheme across the idmapped mount would be required.
  • Consumer polling. Paperless's consumer often relies on inotify, which frequently does not fire reliably across bind/overlay/network-backed mounts. The shared-consume scenario will likely need PAPERLESS_CONSUMER_POLLING enabled (e.g. a 30–60s interval) so synced-in files are actually picked up.
  • Delete-after-consume behavior. Paperless removes files from consume after processing; the Nextcloud-side folder behavior should account for files disappearing, to avoid sync conflicts or re-upload loops.

Alternatives considered

  • Same as Issue 1 (manual export/re-upload; external WebDAV/sync container) — neither provides live, automatic ingestion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions