How flo-r1der/paperless-nextcloud-sync works
This container provides one-way synchronization from Paperless document storage to a remote WebDAV drive, typically Nextcloud. At startup it mounts the drive, begins an initial synchronization, and monitors for live changes; successful uploads enable Nextcloud search and activity updates. The repository is a small runtime composition rather than a multi-layer application. Source excerpts were unavailable, so startup wiring and script-level behavior are inferred only where README claims and filenames support them; custom cron support is shown separately.
Main entry points: sync_live.sh Live Sync · start.sh Container Startup · sync_full.sh Initial Sync · healthcheck.sh Health Check
Components 10
Synchronization
- Container Startup
start.sh - Initial Sync
sync_full.sh - Live Sync
sync_live.sh
WebDAV Mount
- Mount Configuration
davfs2.conf - Mounted WebDAV Drive
Runtime Operations
- Health Check
healthcheck.sh - Cron Support
cron.sh - Custom Jobs
cronjobs
Other components
- Paperless Files
- Nextcloud / WebDAV
Connections 12
- Container Startup → Mounted WebDAV Drive: mounts
- Mount Configuration → Mounted WebDAV Drive: configures
- Container Startup → Initial Sync: starts initial sync
- Container Startup → Live Sync: starts watcher
- Paperless Files → Initial Sync: provides files
- Paperless Files → Live Sync: provides changes
- Initial Sync → Mounted WebDAV Drive: uploads files
- Live Sync → Mounted WebDAV Drive: syncs changes
- Mounted WebDAV Drive → Nextcloud / WebDAV: transfers files
- Health Check → Mounted WebDAV Drive: checks mount
- Health Check → Live Sync: checks watcher
- Custom Jobs → Cron Support: defines jobs