Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create a file that already exists, but it doesn't #730

Closed
patdeuster opened this issue Jul 6, 2021 · 6 comments
Closed

Cannot create a file that already exists, but it doesn't #730

patdeuster opened this issue Jul 6, 2021 · 6 comments
Labels
more-information-needed More information is needed

Comments

@patdeuster
Copy link

I'm trying to run the b2.exe command line utility.

When trying to sync a folder, I'm constantly getting this error:
github upload

The file doesn't exist though, at least not in the bucket I am pulling from.

I did try and set a file exclusion, but to no avail.

Support was less than helpful in getting this issue resolve.

Does anyone have an idea on what is causing this?

Thanks

@ppolewicz ppolewicz added the more-information-needed More information is needed label Jul 7, 2021
@ppolewicz
Copy link
Collaborator

It looks like there used to be a directory with some name which was then replaced by a file, or maybe the other way around, and a download failed in progress. Or maybe it's a symlink.

I suggest you try deleting D:\Cloud Download\3_Unscripted\Psychic Kids\Sneak Peak_Master\.b2.sync.tmp and see if it helps.

@patdeuster
Copy link
Author

@ppolewicz ,

Thanks for getting back to me.

I should have mentioned this, the target folder is blank.

@no-response no-response bot removed the more-information-needed More information is needed label Jul 7, 2021
@ppolewicz
Copy link
Collaborator

🤔 Do you have an empty folder on B2 side or on local side?

@patdeuster
Copy link
Author

@ppolewicz, this is on the local side. B2 side has data.

@ppolewicz
Copy link
Collaborator

Ok so the problem seems to be that you have an OBJECT in your bucket ProMAX_Test_03/3_Unscripted/Psychic Kids/Sneak Peak_Master/ (please note the / being the last byte of the file name!). Sync doesn't support that. Generally you shouldn't do that, nothing good will ever come out of this ha ha.

Now sync should probably raise a more specific error, saying that syncing buckets with objects that have a trailing / in their name to a filesystem is not possible (though if you'd like to sync that between two buckets, that's ok I guess). I'm kind of wondering what created that weird file and why :)

I think you should inspect that object I mentioned and then you either delete it, or rename it via server-side copy+delete or something. I'm afraid (that if my diagnosis is correct), you can't just sync this bucket down without fixing it first.

It's a very hard issue, I wouldn't expect Backblaze first line of support to troubleshoot it, but it's good that you came here so that we could do what we just did :)

@no-response
Copy link

no-response bot commented Jul 21, 2021

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate or assist you further.

@no-response no-response bot closed this as completed Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-information-needed More information is needed
Projects
None yet
Development

No branches or pull requests

2 participants