Hi all,
I want to share a solution I created to set up a connection between Paperless-ngx and Nextcloud. Since my wife doesnât want to look in different services to find a single document, she asked me if we also can have the Paperless data available in Nextcloud. I said sure but then figured out, that none of the solutions around fulfill our requirements:
- Easy and quick configuration.
- Synchronization with remote Nextcloud instances.
- Files created, deleted, or modified appear in Nextcloudâs Activity Feed.
- PDFs can be fund using the search within Nextcloud.
- Real-time synchronization.
(More details in the table below)
So, what I did is to set up a docker container which can easily be added to the existing Paperless stack/compose file and then connects to Nextcloud with the given WebDAV Address and credentials. It does initial bulk file loading and sets up a file watcher to synchronize changes in real-time. This makes the PDF searchable in Nextcloud and they appear in the activity-feed:

The code is open source available and the container image is pre-built. So, feel free to use it and give me some feedback for improvements if you like.
And if you like my work i would be happy to get some donations:
![]()
And for the record, hereâs a comparison between the data exchange options for Paperless and Nextcloud:
| Nextcloud Paperless App | Local Mount | SFTP or SMB/CIFS š | My Container | |
|---|---|---|---|---|
| Easy SetUp | ||||
| Paperless Files available in Nextcloud | ||||
| Send files to Paperless consume (File input) | ||||
| Services on another Host (same Network) | ||||
| remote Services | ||||
| Files available in the Nextcloud Search | ||||
| Recent Paperless-changes available in Nextcloud Activity App | ||||
| Paperless Files backed up in Nextcloud | ||||
| Works with both: Docker and Bare Metal |
š Additional FTP or SMB/CIFS service required
² see prerequisites
Âł Nextcloud Paperless App: from Nextcloud to Paperless only / My container: from Paperless to Nextcloud only
â´ a second external Mount with writing permission required
âľ only SFTP (SMB/CIFS not recommended over the Internet!)
âś this does NOT replace a regular Backup including the Paperless Database
⡠for Docker: ensure correct mounting
⸠untested. Probably wonât work OOTB and requires a more complex set-up