Rclone Copy on Raspberry Pi gets "Killed" when remote desktop turns off

What is the problem you are having with rclone?

I am using rclone copy to move data using raspberry pi 3 that is being controlled on my PC using remote desktop

What is your rclone version (output from rclone version)

rclone v1.54.0
  • os/arch: linux/arm
  • go version: go1.15.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Raspbian Armv7 32 Bit

Which cloud storage system are you using? (eg Google Drive)

Google Drive to OneDrive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy GoogleDrive:TestMoveToOnedrive OneDrive:UploadLocation -P -vv

A log from the command with the -vv flag

pi@edison:~ $ rclone copy GoogleDrive:TestMoveToOnedrive OneDrive:UploadLocation -P -vv
2021/03/06 00:17:33 DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "copy" "GoogleDrive:TestMoveToOnedrive" "OneDrive:UploadLocation" "-P" "-vv"]
2021/03/06 00:17:33 DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
2021/03/06 00:17:33 DEBUG : Creating backend with remote "GoogleDrive:TestMoveToOnedrive"
2021/03/06 00:17:34 DEBUG : Google drive root 'TestMoveToOnedrive': root_folder_id = "0AFzQGTaH610nUk9PVA" - save this in the config to speed up startup
2021/03/06 00:17:34 DEBUG : Creating backend with remote "OneDrive:UploadLocation"
2021-03-06 00:17:36 DEBUG : One drive root 'UploadLocation': Waiting for checks to finish
2021-03-06 00:17:36 DEBUG : One drive root 'UploadLocation': Waiting for transfers to finish
2021-03-06 00:17:36 DEBUG : Test Video 1.zip: Starting multipart upload
2021-03-06 00:17:37 DEBUG : Test Video 1.zip: Uploading segment 0/63560559785 size 209715200
Transferred:      196.949M / 59.195 GBytes, 0%, 3.335 MBytes/s, ETA 5h1m55s
Transferred:            0 / 1, 0%
Elapsed time:       1m2.6s
Transferring:
 * Test Video 1.zip:  0% /59.195G, 3.637M/s, 4h36m50sKilled

Not sure why there is a "Killed" at the end. Before I exit there was no "Killed" and work fine but when exiting the remote desktop after a minute it stops transfering. It says programs will still be running when I clicked to exit the remote and I assume it wouldn't turn off the Raspberry pi as I never clicked shutdown on the actual raspberry pi

perhaps you have run out of ram.

Yea reducing the ram seems to work. Sucks though :frowning:

this might help a little bit
https://rclone.org/docs/#use-mmap
and setting this to 0
https://rclone.org/docs/#buffer-size-size

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.