What is the problem you are having with rclone?
I am prompted for whether I want to "upload from pipe". Searching for this only returns a single file from the rclone source code, operations.go. This presents two problems:
- I don't know what "upload from pipe" means, and there is no documentation about this concept.
- When I answer no, rclone segfaults.
I have not tried answering yes, as (a) I don't know what I'm saying yes to, and (b) I'm downloading, not uploading.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2-DEV
- os/version: opensuse-tumbleweed (64 bit)
- os/kernel: 6.3.7-1-default (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.5
- go/linking: dynamic
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone sync -i google-drive: /mnt/backups/google-drive --drive-export-formats ods,odt,odp
The rclone config contents with secrets removed.
[google-drive]
type = drive
client_id = <redacted>
client_secret = <redacted>
scope = drive.readonly
token = {"access_token":"<redacted>","token_type":"Bearer","refresh_token":"<redacted>","expiry":"2023-06-19T12:49:38.605957953+01:00"}
team_drive =
A log from the command with the -vv
flag
<7>DEBUG : rclone: Version "v1.62.2-DEV" starting with parameters ["rclone" "sync" "-i" "google-drive:" "/mnt/backups/google-drive" "--drive-export-formats" "ods,odt,odp" "-vv"]
<7>DEBUG : rclone: systemd logging support activated
<7>DEBUG : Creating backend with remote "google-drive:"
<7>DEBUG : Using config file from "/home/mark/.config/rclone/rclone.conf"
<7>DEBUG : google-drive: detected overridden config - adding "{xYD6q}" suffix to name
<7>DEBUG : Google drive root '': 'root_folder_id = <redacted>' - save this in the config to speed up startup
<7>DEBUG : fs cache: renaming cache item "google-drive:" to be canonical "google-drive{xYD6q}:"
<7>DEBUG : Creating backend with remote "/mnt/backups/google-drive"
rclone: copy "Laptop for Mum.odt"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
y/n/s/!/q>
<removed lines about unchanged files>
<7>DEBUG : Local file system at /mnt/backups/google-drive: Waiting for checks to finish
<7>DEBUG : Local file system at /mnt/backups/google-drive: Waiting for transfers to finish
y
rclone: copy "Nutrition.ods"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
y/n/s/!/q> y
rclone: copy "Projects.ods"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
y/n/s/!/q> y
rclone: copy "Radiator shelf test.ods"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
y/n/s/!/q> y<7>DEBUG : Local file system at /mnt/backups/google-drive: File to upload is small (16420 bytes), uploading instead of streaming
<5>NOTICE:
Transferred: 116.035 KiB / 3.795 GiB, 0%, 5.123 KiB/s, ETA 1w1d23h
Checks: 94 / 94, 100%
Transferred: 0 / 1376, 0%
Elapsed time: 1m0.3s
Transferring:
* Nutrition.ods: transferring
* Radiator shelf test.ods: transferring
* Laptop for Mum.odt: 0% /off, 16.657Ki/s, -
* Projects.ods: 0% /off, 8.012Ki/s, -
rclone: upload from pipe "Laptop for Mum.odt"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all upload from pipe operations with no more questions
!) Do all upload from pipe operations with no more questions
q) Exit rclone now.
y/n/s/!/q> <7>DEBUG : Local file system at /mnt/backups/google-drive: File to upload is small (18634 bytes), uploading instead of streaming
n
<5>NOTICE: Laptop for Mum.odt: Skipped upload from pipe as --interactive is set
<7>DEBUG : Laptop for Mum.odt: Updating size of doc after download to 125416
rclone: copy "Projects.ods"?
y) Yes, this is OK (default)
n) No, skip this
s) Skip all copy operations with no more questions
!) Do all copy operations with no more questions
q) Exit rclone now.
y/n/s/!/q> panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x55cefaa25dea]
goroutine 60 [running]:
github.com/rclone/rclone/fs/operations.sizeDiffers({0x55cefc51e140?, 0xc000da6230?}, {0x7fbc541a7d30, 0xc000f3a140}, {0x0, 0x0})
/home/abuild/rpmbuild/BUILD/rclone-1.62.2/fs/operations/operations.go:146 +0x6a
github.com/rclone/rclone/fs/operations.Copy({0x55cefc51e140, 0xc000da6230}, {0x55cefc52ff60, 0xc000db2000}, {0x0?, 0x0?}, {0xc00005c4f8, 0x12}, {0x55cefc52f320, 0xc000f3a140})
/home/abuild/rpmbuild/BUILD/rclone-1.62.2/fs/operations/operations.go:482 +0xe4a
github.com/rclone/rclone/fs/sync.(*syncCopyMove).pairCopyOrMove(0xc000c10480, {0x55cefc51e140, 0xc000da6230}, 0x0?, {0x55cefc52ff60, 0xc000db2000}, 0x0?, 0x0?)
/home/abuild/rpmbuild/BUILD/rclone-1.62.2/fs/sync/sync.go:437 +0x20a
created by github.com/rclone/rclone/fs/sync.(*syncCopyMove).startTransfers
/home/abuild/rpmbuild/BUILD/rclone-1.62.2/fs/sync/sync.go:464 +0x45