Rclone sync erroring out with a strange error

What is the problem you are having with rclone?

Hi guys,
I have 2 drives on my config, GDrive and CDrive.
GDrive for my drive, and C is it's encrypted version.
Encrypted files go at GDrive:/Crypt
I have already sent up a few files with rclone sync, however when atempting to resyncc that same folder with dry-run its fine, but without I get the following error
Failed to create file system for "Cdrive:": didn't find section in config file

What is your rclone version (output from rclone version)

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

Fedora 28 64bits. headless.

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

GoogleDrive with Encryption

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

rclone sync LocalFolderName CDrive: --log-file=transferlog.log --v --bwlimit=8m

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

First lines
2020/03/22 18:55:16 INFO : Encrypted drive 'CDrive:': Waiting for checks to finish
2020/03/22 18:55:21 INFO : Encrypted drive 'CDrive:': Waiting for transfers to finish
2020/03/22 18:56:03 INFO :
Transferred: 862.179M / 4.020 GBytes, 21%, 8.002 MBytes/s, ETA 6m46s
Checks: 9631 / 9631, 100%
Transferred: 0 / 23, 0%
Elapsed time: 1m47.7s
Transferring:

last lines of the log, with filenames etc removed.

2020/03/22 18:58:03 INFO :
Transferred: 1.779G / 4.020 GBytes, 44%, 7.999 MBytes/s, ETA 4m46s
Checks: 9631 / 9631, 100%
Transferred: 3 / 23, 13%
Elapsed time: 3m47.7s
Transferring:

  •     shows/filename1.zip: 95% /244.418M, 2.011M/s, 5s
    
  • shows/file2.zip: 90% /505.460M, 2.006M/s, 23s
  • shows/file3.zip: 88% /242.084M, 2.018M/s, 13s
  • shows/The Trials of Ga…l Fernandez (2020).zip: 17% /296.953M, 1.982M/s, 2m3s

2020/03/22 18:58:09 INFO : shows/filename1.zip: Copied (new)
2020/03/22 18:58:17 INFO : shows/file2.zip: Copied (new)
2020/03/22 18:58:26 INFO : shows/file3.zip: Copied (new)
2020/03/22 19:06:14 Failed to create file system for "Cdrive:": didn't find section in config file

Help?

Can you share your rclone.conf that you are using without any passwords and such in it?

[GDrive]
type = drive
client_id = my id
client_secret = secret
scope = drive
token = {"access_token":" stuff here

[CDrive]
type = crypt
remote = GDrive:/Cript
filename_encryption = standard
directory_name_encryption = false
password = pw1
password2 = pw

rclone sync CDrive: --log-file=transferlog.log --v --bwlimit=8m
your command should two remotes

  1. source
  2. dest

there is only one in your command

1 Like

You need to fix your command.

Should be

rclone sync GDrive:somefolderyouraremoinvg CDrive: --log-file=transferlog.log --v --bwlimit=8m
1 Like

Just editted the first post to fix the error.
Half asleep sorry. :slight_smile:
Command that I tried was
rclone sync LocalFolder CDrive: --log-file=transferlog.log -v --bwlimit=8m

can you post the exact command?

and what do you get with this?
rclone ls CDrive:

Hi,
I have just fixed the command in the origenal post.
Writing LS gave me a very huge list of files in the GDrive folder with their proper names, of course.
I reran the command again, and this time the transfer seem to have gone well, hopefully. although I suspect it may have missed a few files etc.

oh no, here it comes

This indicated you got the failure when referring to "Cdrive"
But in your example command you are using "CDrive" (which is what your configuration indicates is correct).

I suspect the problem might be as simple as spelling the name of the remote wrong (it is case-sensitive, and therefore must be written exactly as in the config).

In any case this error is definitely a simple syntax error. it's simply saying that it can't find any reference for such a remote in your config. That should mean it is also simple to fix if you just find where the mistake is :slight_smile:

1 Like

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