What is the problem you are having with rclone?
rclone copy bombs with panic message
Run the command 'rclone version' and share the full output of the command.
$ rclone version
rclone v1.67.0
- os/version: debian 12.6 (64 bit)
- os/kernel: 6.1.0-23-amd64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.22.4
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Proton
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy Proton: /media/dee/INTDAT/Cloud/Protone
The rclone config contents with secrets removed.
"config edit" command for Proton -- with some redactions:
Editing existing "Proton" remote with options:
- type: protondrive
- username: dee.wat@protonmail.com
- password: *** ENCRYPTED ***
- client_uid: *REDACTED*
- client_access_token: *REDACTED*
- client_refresh_token: *REDACTED*
- client_salted_key_pass: *REDACTED*
A log from the command with the -vv
flag
$ rclone copy -vv Proton: /media/dee/INTDAT/Cloud/Proton
2024/08/21 11:51:16 DEBUG : rclone: Version "v1.67.0" starting with parameters ["rclone" "copy" "-vv" "Proton:" "/media/dee/INTDAT/Cloud/Proton"]
2024/08/21 11:51:16 DEBUG : Creating backend with remote "Proton:"
2024/08/21 11:51:16 DEBUG : Using config file from "/home/dee/.config/rclone/rclone.conf"
2024/08/21 11:51:16 DEBUG : proton drive root link ID '': Has cached credentials
2024/08/21 11:51:17 DEBUG : proton drive root link ID '': Used cached credential to initialize the ProtonDrive API
2024/08/21 11:51:17 DEBUG : Creating backend with remote "/media/dee/INTDAT/Cloud/Proton"
2024/08/21 11:51:19 DEBUG : First_proton_file_20240821: Original file size missing
2024/08/21 11:51:19 DEBUG : First_proton_file_20240821: Need to transfer - File not found at Destination
2024/08/21 11:51:19 DEBUG : First_proton_file_20240821: Original file size missing
2024/08/21 11:51:19 DEBUG : Rory Gilmore Reads.docx: Need to transfer - File not found at Destination
2024/08/21 11:51:19 DEBUG : First_proton_file_20240821: Original file size missing
2024/08/21 11:51:19 DEBUG : Local file system at /media/dee/INTDAT/Cloud/Proton: Waiting for checks to finish
2024/08/21 11:51:19 DEBUG : Local file system at /media/dee/INTDAT/Cloud/Proton: Waiting for transfers to finish
2024/08/21 11:51:19 DEBUG : First_proton_file_20240821: Original file size missing
2024/08/21 11:51:19 DEBUG : First_proton_file_20240821: Original file size missing
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x162a8c6]
goroutine 72 [running]:
github.com/rclone/rclone/backend/protondrive.(*Object).Open(0xc000c1e000, {0x2b90450, 0xc000e10c30}, {0xc0006c2060, 0x1, 0x20?})
github.com/rclone/rclone/backend/protondrive/protondrive.go:886 +0x46
github.com/rclone/rclone/fs/operations.(*ReOpen).open(0xc000ca0000)
github.com/rclone/rclone/fs/operations/reopen.go:147 +0x106
github.com/rclone/rclone/fs/operations.NewReOpen({0x2b90450, 0xc000e10c30}, {0x2ba69d0, 0xc000c1e000}, 0xa, {0xc0006c2030, 0x1, 0x1})
github.com/rclone/rclone/fs/operations/reopen.go:102 +0x50b
github.com/rclone/rclone/fs/operations.Open({0x2b90450, 0xc000e10c30}, {0x2ba69d0, 0xc000c1e000}, {0xc0006c2030, 0x1, 0x1})
github.com/rclone/rclone/fs/operations/reopen.go:124 +0x6b
github.com/rclone/rclone/fs/operations.(*copy).manualCopy(0xc0009685a0, {0x2b90450, 0xc000e10c30})
github.com/rclone/rclone/fs/operations/copy.go:257 +0x4e5
github.com/rclone/rclone/fs/operations.(*copy).copy(0xc0009685a0, {0x2b90450, 0xc000e10c30})
github.com/rclone/rclone/fs/operations/copy.go:306 +0x16c
github.com/rclone/rclone/fs/operations.Copy({0x2b90450, 0xc000e10c30}, {0x2ba5f50, 0xc000e060a0}, {0x0, 0x0}, {0xc000c1a5c0, 0x1a}, {0x2ba69d0, 0xc000c1e000})
github.com/rclone/rclone/fs/operations/copy.go:408 +0x485
github.com/rclone/rclone/fs/sync.(*syncCopyMove).pairCopyOrMove(0xc000c32288, {0x2b90450, 0xc000e10c30}, 0xc000e10b40, {0x2ba5f50, 0xc000e060a0}, 0x32, 0x0?)
github.com/rclone/rclone/fs/sync/sync.go:501 +0x205
created by github.com/rclone/rclone/fs/sync.(*syncCopyMove).startTransfers in goroutine 1
github.com/rclone/rclone/fs/sync/sync.go:531 +0x6b