Configuration settings return error error listing: directory not found

What is the problem you are having with rclone?

Copying the configurations of one remote from the rclone.conf file and making a replica with the exception of the remote name, generates an error when listing the contents of the same directory path.

This is unexpected behavior.

For example
[ODEncrypted] type = crypt remote = OneDrive:Data filename_encryption = standard directory_name_encryption = true password = [REDACTED] password2 = [REDACTED]

[ODEncryptedTest] type = crypt remote = OneDrive:Data filename_encryption = standard directory_name_encryption = true password = [REDACTED] password2 = [REDACTED]

What is your rclone version (output from rclone version)

rclone v1.53.1

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

Microsoft Windows 10 Professional version 1909 Build 18636.1110

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

Microsoft OneDrive

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

rclone ls ODEncrypted
rclone ls ODEncryptedTest

The rclone config contents with secrets removed.

[ODEncrypted] type = crypt remote = OneDrive:Data filename_encryption = standard directory_name_encryption = true password = [REDACTED] password2 = [REDACTED]

[ODEncryptedTest] type = crypt remote = OneDrive:Data filename_encryption = standard directory_name_encryption = true password = [REDACTED] password2 = [REDACTED]

A log from the command with the -vv flag

2020/10/20 20:59:38 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "ls" "--log-file=rclone_log.txt" "--log-level" "DEBUG" "ODEncryptedTest"]
2020/10/20 20:59:38 DEBUG : Creating backend with remote "ODEncryptedTest"
2020/10/20 20:59:38 DEBUG : Using config file from "C:\\Users\\Ryan\\.config\\rclone\\rclone.conf"
2020/10/20 20:59:38 DEBUG : fs cache: renaming cache item "ODEncryptedTest" to be canonical "//?/c:/rclone-v1.53.1-windows-amd64/ODEncryptedTest"
2020/10/20 20:59:38 ERROR : : error listing: directory not found
2020/10/20 20:59:38 DEBUG : 2 go routines active
2020/10/20 20:59:38 Failed to ls with 2 errors: last error was: directory not found
2020/10/20 20:59:47 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "ls" "--log-file=rclone_log.txt" "--log-level" "DEBUG" "ODEncrypted"]
2020/10/20 20:59:47 DEBUG : Creating backend with remote "ODEncrypted"
2020/10/20 20:59:47 DEBUG : Using config file from "C:\\Users\\Ryan\\.config\\rclone\\rclone.conf"
2020/10/20 20:59:47 DEBUG : fs cache: renaming cache item "ODEncrypted" to be canonical "//?/c:/rclone-v1.53.1-windows-amd64/ODEncrypted"
2020/10/20 20:59:47 DEBUG : 2 go routines active

You are missing the : on the end of the remote names so

rclone ls ODEncrypted:

You'll find you have a local directory called ODEncrypted instead.

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