You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
While using rclone sync to keep a remote S3 bucket mirrored with a Proton Drive remote, the operation aborts as soon as a Proton Docs document is encountered. The Proton‑Drive backend panics with a runtime error (nil pointer dereference). Deleting the Docs file from the source fixes the sync, which shows that the current backend does not support Docs objects.
Steps to Reproduce
Configure two remotes
rclone config # create a remote named “protondrive” (type: protondrive)
rclone config # create a remote named “s3backup” (type: s3) pointing to your bucket
In the Proton Drive account, create a folder (e.g., SyncFolder) that contains at least one Proton Docs file (created from the web UI).
Run the sync command: rclone sync protondrive:/SyncFolder s3backup:/SyncFolder --progress
Observe the output. The sync stops when the Docs file is reached and rclone panics.
Expected Behaviour
rclone sync should either download the Docs file in a supported export format (PDF, HTML, etc.) or skip it gracefully with a clear warning.
No panic or crash should occur, and the rest of the files should continue to sync.
The panic originates from backend/protondrive/protondrive.go:877 when the backend tries to open the Docs object. Removing the Docs file from the source eliminates the crash, confirming that Docs files are the trigger.
Environment
OS | Windows 11 (64‑bit)
rclone version | v1.71.2
Proton Docs file type | native Proton Docs
Command used | rclone sync protondrive:/SyncFolder s3backup:/SyncFolder --progress
Thanks to @tomekit for pointing me in the right direction for debugging
While using rclone sync to keep a remote S3 bucket mirrored with a Proton Drive remote, the operation aborts as soon as a Proton Docs document is encountered. The Proton‑Drive backend panics with a runtime error (nil pointer dereference). Deleting the Docs file from the source fixes the sync, which shows that the current backend does not support Docs objects.
Steps to Reproduce
In the Proton Drive account, create a folder (e.g., SyncFolder) that contains at least one Proton Docs file (created from the web UI).
Run the sync command:
rclone sync protondrive:/SyncFolder s3backup:/SyncFolder --progressObserve the output. The sync stops when the Docs file is reached and rclone panics.
Expected Behaviour
Actual Behaviour
The panic originates from
backend/protondrive/protondrive.go:877when the backend tries to open the Docs object. Removing the Docs file from the source eliminates the crash, confirming that Docs files are the trigger.Environment
OS | Windows 11 (64‑bit)
rclone version | v1.71.2
Proton Docs file type | native Proton Docs
Command used | rclone sync protondrive:/SyncFolder s3backup:/SyncFolder --progress
Thanks to @tomekit for pointing me in the right direction for debugging