Where do I find the log file? I've added the key and I'm able to find the serlilog.config file. I see a reference to UmbracoTraceLog.%MACHINENAME%..json in there. (which in my case is: UmbracoTraceLog.ABCLPT013.20200318.json)
I see a lot of messages in there, but its not very organized. Do I have to look for another file?
This is here to mange what happens when a config file and the item in umbraco don't agree on where the item should be.
So when an item is trashed, but the .config file says it isn't uSync will attempt to move the item back out of the recycle bin.
when the item isn't trashed but .config file says it should be uSync will put it into the recycle bin.
it looks like its the first one, so the .config file says the item isn't trashed,
<Trashed>false</Trashed>
but the item is in the recycle bin -
So uSync it attempting to move it back, i am guessing the trashed parent lookup isn't working :( so it can't move it back because the parent ins't been found.
I would take a look, if these items are in the recycle bin, move them back manually to where you think they should be and resync.
if they are not in the bin, then there is something else going on because Umbraco thinks they are.... try saving one in umbraco and then reimporting to see if that fixes anything.
There's a file that keeps coming back and I have to delete it over and over again. I think it has something to do with that. The file shouldn't be in there anymore but usync keeps on importing it. (The file is called Category1). The status of "trashed" was indeed false.
Usync: Second Pass Fail:
When importing (usync) I get this error with some content items:
How do I solve this?
Hi,
Is there anything in the logs - the most likely thing is there was a failure setting a property on the item, this should be in the umbraco logs.
If there isn't you can turn logging up by adding the line below to the
serilog.config
file.Kevin
Thanks for your reply!
Where do I find the log file? I've added the key and I'm able to find the serlilog.config file. I see a reference to UmbracoTraceLog.%MACHINENAME%..json in there. (which in my case is: UmbracoTraceLog.ABCLPT013.20200318.json)
I see a lot of messages in there, but its not very organized. Do I have to look for another file?
Hi,
Yeah its all JSON now :(
but you can view/search them inside umbraco, in the settings section there is a log viewer entry that shows you it cleaner.
Oh oke, thanks. :)
This is the error in the logviewer:
Yeah
Is it possible that these content items don't have the parent item the right place, is it in the trash ? or missing.
Kevin
No, that's not the case. :(
I don't really get this:
Second Import Failed: System.InvalidOperationException: Cannot save a non-current version.
Hi,
the error looks like its happening in
HandleTrashedState
method : ( https://github.com/KevinJump/uSync8/blob/v8/8.2/uSync8.ContentEdition/Serializers/ContentSerializer.cs#L196 )This is here to mange what happens when a config file and the item in umbraco don't agree on where the item should be.
So when an item is trashed, but the .config file says it isn't uSync will attempt to move the item back out of the recycle bin.
when the item isn't trashed but .config file says it should be uSync will put it into the recycle bin.
it looks like its the first one, so the .config file says the item isn't trashed,
but the item is in the recycle bin -
So uSync it attempting to move it back, i am guessing the trashed parent lookup isn't working :( so it can't move it back because the parent ins't been found.
I would take a look, if these items are in the recycle bin, move them back manually to where you think they should be and resync.
if they are not in the bin, then there is something else going on because Umbraco thinks they are.... try saving one in umbraco and then reimporting to see if that fixes anything.
Kevin
There's a file that keeps coming back and I have to delete it over and over again. I think it has something to do with that. The file shouldn't be in there anymore but usync keeps on importing it. (The file is called Category1). The status of "trashed" was indeed false.
is working on a reply...