Issues with rclone sync

What is the problem you are having with rclone?

rclone sync has issues with the rclone.conf file. I created it using rclone config and the rclone.conf file look correct but it errors out with an error indicating the entry could not be found.

Run the command 'rclone version' and share the full output of the command.

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)

Paste command here

The rclone config contents with secrets removed.

Paste config here

rclone sync -v /media/ken/5330077b-3d9a-4196-bbde-fba09541775c drive:Tower

A log from the command with the -vv flag

Paste  log here

Hi Kenneth,

I guess you called your Google Drive remote something else than "drive".

Try this command to see the name (in square brackets):

rclone config show

If this doesn't help then please post the redacted output from

rclone config show

and

rclone sync -vv /media/ken/5330077b-3d9a-4196-bbde-fba09541775c drive:Tower

[Tower]
type = drive
scope = drive
token = {"access_token":"ya29.a0Aa4xrXPrNsSljpMu2ysYBtbefdortp4-DoYan_rB7Uw0fGyLVmFSxG0THnaE_0UJjlN_RIX2V1AlpYXuKm-hvXNqosIjoKeAsnbfppf-CqJOgBEYDlErBtx_Ize0SQSav1Q0-eTC3MPuPUKWk1o77jVEYkVxaCgYKATASARASFQEjDvL9nX2HGf50c0DO1M4g5jBTYA0163","token_type":"Bearer","refresh_token":"1//05nU-vZZ4kFJBCgYIARAAGAUSNwF-L9IrCBXarG_EzPeYTiCNC8T9-Gbjat9lwGHKoGpUPM6KJV571VUa-xt2maQ25JTFwflVmxc","expiry":"2022-10-19T20:52:19.633904032-05:00"}

rclone sync -vv /media/ken/5330077b-3d9a-4196-bbde-fba09541775c drive:Tower
2022/10/20 03:25:13 DEBUG : rclone: Version "v1.59.2" starting with parameters ["rclone" "sync" "-vv" "/media/ken/5330077b-3d9a-4196-bbde-fba09541775c" "drive:Tower"]
2022/10/20 03:25:13 DEBUG : Creating backend with remote "/media/ken/5330077b-3d9a-4196-bbde-fba09541775c"
2022/10/20 03:25:13 DEBUG : Using config file from "/home/ken/.config/rclone/rclone.conf"
2022/10/20 03:25:13 DEBUG : Creating backend with remote "drive:Tower"
2022/10/20 03:25:13 Failed to create file system for "drive:Tower": didn't find section in config file

Does that help?

Yes, now I see how our documentation for rclone sync easily can be misread.

First try this:

rclone lsf Tower:

then this:

rclone sync -v /media/ken/5330077b-3d9a-4196-bbde-fba09541775c Tower: --dry-run

I added --dry-run to avoid accidental data loss, you can remove it when it works and does what you expects.

Please quickly redact the token part of your config in the above post, it can be used to access your data without user, password and 2FA. If really concerned then you should remove rclones access to Google Drive and do rclone config reconnect Tower: to reauthenticate.

Running test now, just : not drive:

Correct, sounds good.

Not sure exactly what you are syncing, but you may want to put it into a folder in your Google Drive something like this:

rclone sync -v /media/ken/5330077b-3d9a-4196-bbde-fba09541775c Tower:some/media/folder --dry-run

That resolved the issue, apologies for not understanding the syntax.

Happy to hear, nothing to apologize.

As already pointed out, you should not post this kind of information. At this point, I wouldn't even redact it. I would make sure to disable this connection to Google Drive. You do not want anyone having access to your files.

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