Rclone unable to list/sync <no name> “folder” on azure storage account

What is the problem you are having with rclone?

I could able to list/sync “folder” on azure storage account.

What is your rclone version (output from rclone version)

v1.55.1

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

Ubuntu

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

Azure Storage account

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

rclone lsf testbackup:test

The rclone config contents with secrets removed.

[testbackup]
type = azureblob
account = testocibackup
key = **********

A log from the command with the -vv flag

2021/06/14 19:28:30 DEBUG : rclone: Version "v1.56.0-DEV" starting with parameters ["./rclone" "lsf" "testbackup:test/" "-vv"]
2021/06/14 19:28:30 DEBUG : Creating backend with remote "testbackup:test/"
2021/06/14 19:28:30 DEBUG : Using config file from "/home/rajesh/.config/rclone/rclone.conf"
2021/06/14 19:28:30 DEBUG : fs cache: renaming cache item "testbackup:test/" to be canonical "testbackup:test"
Azure container pre Azure container dir Azure container deli /2021/06/14 19:28:31 ERROR : : Entry doesn't belong in directory "" (same as directory) - ignoring
2021/06/14 19:28:31 DEBUG : 4 go routines active

Was the bucket made by a different tool - not rclone?

Is this just a normal Azure Blob object storage system, or is it something special (eg Data Lake)?

Yes, The directory made by "docker registry". I am using Azure Storage account as backend of "Docker Registry".

Docker registry created directory like "testbackup:test//docker/registry/..".

Would be great if you add feature to deal with "<no name" directory.

It is normal Azure storage account.

@ncw , Can you please help me on this?

I think the sync should work fine - the ERROR message is informative only I think.

the sync option is not working with <no name folder.

2021/06/16 18:03:49 DEBUG : Using config file from "/home/rajesh/.config/rclone/rclone.conf"

2021/06/16 18:03:49 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "sync" "testbackup:test//" "oibackup:backup/" "--progress" "-vv"]

2021/06/16 18:03:49 DEBUG : Creating backend with remote "testbackup:test//"

2021/06/16 18:03:49 DEBUG : fs cache: renaming cache item "testbackup:test//" to be canonical "testbackup:test"

2021/06/16 18:03:49 DEBUG : Creating backend with remote "oibackup:backup/"

2021/06/16 18:03:49 DEBUG : fs cache: renaming cache item "oibackup:backup/" to be canonical "oibackup:backup"

2021-06-16 18:03:51 ERROR : : Entry doesn't belong in directory "" (same as directory) - ignoring

2021-06-16 18:03:51 DEBUG : Azure container backup: Waiting for checks to finish

2021-06-16 18:03:51 DEBUG : Azure container backup: Waiting for transfers to finish

2021-06-16 18:03:51 DEBUG : Waiting for deletions to finish

2021-06-16 18:03:51 INFO : There was nothing to transfer

Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -

Elapsed time: 1.7s

2021/06/16 18:03:51 INFO :

Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -

Elapsed time: 1.7s

2021/06/16 18:03:51 DEBUG : 6 go routines active

Ah, I see it now. Two slashes // are the problem.

rclone can't deal with this at the moment. I have a plan for making it work but it is only a plan right now.

rclone needs object paths to be valid file system paths and dir//dir2 is not a valid filesystem path.