Failed to create file system (config file given in command)

Before creating this new topic, I have read all the related posts on this forum, but none helped me.

I was using rclone on my old machine, and syncing between src and dest remote was going well.

I changed the machine. And then created the remotes for gdrive and webdav (like in the previous machine) but neither of them are syncing.

Below is detail for Gdrive.

rclone sync -vv /LocalDir Gdrive:destDir --config=/home/usrname/.config/rclone/rclone.conf --log-file=/SomeDir/log.txt

I am getting the error Failed to create file system for "Gdrive:destDir": didn't find section in config file

Although rclone is fetching the correct path to config file, I am still giving the path of config file .

Also, in the config, both remote details are being shown.

P.S. Local directory, Remote and remote directory name replaced here.

hi,

did you know that you can copy the config file from the old machine to the new machine?

there is no need to replace the names, it only complicates things

when you posted you should have been asked for information.
as a convenience, i have re-posted the questions.

What is the problem you are having with rclone?

What is your rclone version (output from rclone version)

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

Which cloud storage system are you using? (eg 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

A log from the command with the -vv flag

Paste  log here

No, didn't know that I can copy the config file. Thanks for that info.

Answers are given below

What is the problem you are having with rclone?

Failed to create file system for "GdriveMayankDMishra:WORK-Directory_DailyBackup": didn't find section in config file

What is your rclone version (output from rclone version )

v1.50.2

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

LinuxMint Ulyana, 64bit

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

Gdrive and webdav (Nextcloud)

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

rclone sync -vv /media/mayankmishra/Local/WORK-Directory GdriveMayankDMishra:WORK-Directory_DailyBackup --config=/home/mayankmishra/.config/rclone/rclone.conf --log=/home/mayankmishra/log.txt

The rclone config contents with secrets removed.

[GdriveMayankdDMishra]
type = drive
scope = drive
token = REMOVED
root_folder_id = REMOVED

[NextCloud]
type = webdav
url = https://emma.cloud.tabdigital.eu/remote.php/dav/files/mayank.space@gmail.com/
vendor = nextcloud
user = REMOVED
pass = REMOVED

A log from the command with the -vv flag

2020/09/21 18:16:13 Failed to create file system for "GdriveMayankDMishra:WORK-Directory_DailyBackup": didn't find section in config file

yes,
the config file can be copied to from any computer to another other computer, regardless of operating system, system hardware and so on.

that version of rclone is very old, need to update rclone to v1.53.1

the reason for the error is the name of the remote in the command does not match the name of the remote in the config file.

remote = GdriveMayankdDMishra
command = GdriveMayankDMishra

Great!
Didn't notice that typo. Thanks.

NextCloud has also started to work. But giving different error.

rclone sync -vv /media/mayankmishra/Local/WORK-Directory NextCloud:WORK-Directory_DailyBackup --log-file=/media/mayankmishra/Local/Logs/1.txt

I am getting the same error for every file rclone tries to copy, i.e.

2020/09/21 20:02:15 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict

Same error for every file in the log.

as a test, run a copy command that copies just one file and post the debug log.

rclone copy -vv /media/mayankmishra/Local/WORK-Directory/"batch file convert ffmpeg .sh" NextCloud:WORK-Directory_DailyBackup --log-file=/media/mayankmishra/Local/Logs/1.txt

LOG

2020/09/21 20:47:15 DEBUG : rclone: Version "v1.50.2" starting with parameters ["rclone" "copy" "-vv" "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh" "NextCloud:WORK-Directory_DailyBackup" "--log-file=/media/mayankmishra/Local/Logs/1.txt"]
2020/09/21 20:47:15 DEBUG : Using config file from "/home/mayankmishra/.config/rclone/rclone.conf"
2020/09/21 20:47:18 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 20:47:21 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 20:47:21 ERROR : Attempt 1/3 failed with 3 errors and: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 20:47:22 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 20:47:24 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 20:47:24 ERROR : Attempt 2/3 failed with 3 errors and: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 20:47:26 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 20:47:29 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 20:47:29 ERROR : Attempt 3/3 failed with 3 errors and: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 20:47:29 Failed to copy with 3 errors: last error was: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict

Is this error resulting because I have deleted the old synced folder from the Nextcloud remote?
I wanted a fresh synced folder.

I'm pretty sure this is fixed in the current 1.53.1

that version of rclone is very old, need to update rclone to v1.53.1 and test again

1 Like

Updated

rclone version

result

rclone v1.53.1
os/arch: linux/amd64
go version: go1.15

rclone copy file

rclone copy -vv /media/mayankmishra/Local/WORK-Directory/"batch file convert ffmpeg .sh" NextCloud:WORK-Directory_DailyBackup --log-file=/media/mayankmishra/Local/Logs/2.txt

LOG

2020/09/21 21:21:10 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "copy" "-vv" "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh" "NextCloud:WORK-Directory_DailyBackup" "--log-file=/media/mayankmishra/Local/Logs/2.txt"]
2020/09/21 21:21:10 DEBUG : Creating backend with remote "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh"
2020/09/21 21:21:10 DEBUG : Using config file from "/home/mayankmishra/.config/rclone/rclone.conf"
2020/09/21 21:21:10 DEBUG : fs cache: adding new entry for parent of "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh", "/media/mayankmishra/Local/WORK-Directory"
2020/09/21 21:21:10 DEBUG : Creating backend with remote "NextCloud:WORK-Directory_DailyBackup"
2020/09/21 21:21:14 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 21:21:20 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Par

May be rclone is not able to enter NextCloud remote

rclone ls NextCloud

gives

2020/09/21 21:43:40 ERROR : : error listing: directory not found
2020/09/21 21:43:40 Failed to ls with 2 errors: last error was: directory not found

that should be rclone ls NextCloud:, remotes need need a colon chacacter :
if the colon is missing then rclone think you mean the local file system

rclone ls NextCloud:

2020/09/21 21:49:25 ERROR : : error listing: directory not found
2020/09/21 21:49:25 Failed to ls with 2 errors: last error was: directory not found

if a command does not work, you need to post the debug log.

rclone ls NextCloud: -vv

Ok. here it is

rclone ls NextCloud: -vv --log-file=/media/mayankmishra/Local/Logs/3.txt

2020/09/21 21:56:47 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "ls" "NextCloud:" "-vv" "--log-file=/media/mayankmishra/Local/Logs/3.txt"]
2020/09/21 21:56:47 DEBUG : Using config file from "/home/mayankmishra/.config/rclone/rclone.conf"
2020/09/21 21:56:47 DEBUG : Creating backend with remote "NextCloud:"
2020/09/21 21:56:50 ERROR : : error listing: directory not found
2020/09/21 21:56:50 DEBUG : 3 go routines active
2020/09/21 21:56:50 Failed to ls with 2 errors: last error was: directory not found

with full Log. just saw the log file again and the log posted above was incomplete.

rclone copy -vv /media/mayankmishra/Local/WORK-Directory/"batch file convert ffmpeg .sh" NextCloud:WORK-Directory_DailyBackup --log-file=/media/mayankmishra/Local/Logs/2.txt

LOG

2020/09/21 21:21:10 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "copy" "-vv" "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh" "NextCloud:WORK-Directory_DailyBackup" "--log-file=/media/mayankmishra/Local/Logs/2.txt"]
2020/09/21 21:21:10 DEBUG : Creating backend with remote "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh"
2020/09/21 21:21:10 DEBUG : Using config file from "/home/mayankmishra/.config/rclone/rclone.conf"
2020/09/21 21:21:10 DEBUG : fs cache: adding new entry for parent of "/media/mayankmishra/Local/WORK-Directory/batch file convert ffmpeg .sh", "/media/mayankmishra/Local/WORK-Directory"
2020/09/21 21:21:10 DEBUG : Creating backend with remote "NextCloud:WORK-Directory_DailyBackup"
2020/09/21 21:21:14 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 21:21:20 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 21:21:20 ERROR : Attempt 1/3 failed with 1 errors and: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 21:21:22 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 21:21:27 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 21:21:27 ERROR : Attempt 2/3 failed with 1 errors and: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 21:21:28 DEBUG : batch file convert ffmpeg .sh: Need to transfer - File not found at Destination
2020/09/21 21:21:32 ERROR : batch file convert ffmpeg .sh: Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 21:21:32 ERROR : Attempt 3/3 failed with 1 errors and: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict
2020/09/21 21:21:32 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors: 1 (retrying may help)
Elapsed time: 22.6s
2020/09/21 21:21:32 DEBUG : 4 go routines active
2020/09/21 21:21:32 Failed to copy: Update mkParentDir failed: Parent node does not exist: Sabre\DAV\Exception\Conflict: 409 Conflict

I don't need to withdraw the previous post. Just thought a full log may help to debug.
It seems rclone has now some issues with the webdav/nextcloud, as previously syncing was fine.
Now syncing to nextcloud through its appimage client.
Works perfectly.

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