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

Item key [GUID] already exists for [File] #634

Closed
patrickdemooij9 opened this issue Apr 29, 2024 · 3 comments
Closed

Item key [GUID] already exists for [File] #634

patrickdemooij9 opened this issue Apr 29, 2024 · 3 comments

Comments

@patrickdemooij9
Copy link

Describe the bug
Recently updated to the latest Umbraco version (13.3.0) and also updated uSync with it (along with a full export), but when I try to import them later on, it fails with the error: "Duplicate: Item Key [Guid] already exists for [File]. Check the uSync healthcheck for more info". But running the healthcheck shows that everything is correct.

To Reproduce
Not quite sure how to reproduce, but I was hoping that you had a general idea of what could be causing this. It seems like it is trying to add the datatype with given Guid even though it already exists?

Expected behavior
No errors

About your Site (please complete the following information):

  • Umbraco Version: 13.3.0
  • uSync Version: 13.2.1
  • Browser [e.g. chrome, safari]: Chrome

Additional context
Add any other context about the problem here.

@patrickdemooij9
Copy link
Author

Oke, I think it must have still had an old file somewhere, I deleted the whole uSync folder and replaced it all with the new files and it worked. Not quite sure what happened, but it works now!

@KevinJump
Copy link
Owner

Hi,
13.2.1 does fix an issue with a false error when there is a delete and a file on disk (so someone either detected or renamed a doctype or something).

but if you where are the latest this should have been fixed 🤔 - so if it does happen again, let me know.

@KevinJump
Copy link
Owner

hi see #635 i think we do have an issue with 'renamed' files which is why your clean export will have worked.

just testing it now, and then 13.2.2 should fix it all again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants