Having a problem with uSync where it recreates deleted document types on disk. I have tried to setup uSync so that it only copies what the Umbraco instance looks like in terms of document types. uSync doesn't ever write anything to my umbraco instance. It's almost like it can't differentiate between deleted document types and current document types. My Umbraco instance isn't bringing back old document types, it's working as expect.
I am using the latest version of umbraco 6 and uSync 2.1.0
I can't recreate this behaviour on umbraco 6(.1.6) and uSync 2.1 -
just to confirm - i have done the following
create a doctype in umbraco : usync then creates a folder and a def.config file on disk for this doctype
add some properties and things - usync updates the file
delete the doctype - usync deletes the def.config file (but it doesn't delete the folder)
delete the whole usync folder, and touch web.config to force a full sync from usync
usync runs - but it doesn't create the deleted doctype, or write anything out to disk for the deleted doctype
As long as No3 works their should be no way in theory for it to recreate it.
can you reproduce the steps above ? does it do anything different ?
You could turn on debugging in Log4net.config and then uSync will spit out a lot more info into the umbracotracelog.txt (/app_date/logs/)
There is a bug in the umbraco api for v6.1.x relating to doctype import which is why I reverted the default version back to 1.5.8 - but the bug is to do with exports failing when properties are assigned to the default tab (Generic properties) I am not aware of that effecting deletes.
I have just got round to trying this out and this is what I found.
I touched the web.config many times and nothing happened. Nothing was recreated and uSync matched the document types in Umbraco. Then all of a sudden the folders were back. I can't pinpoint when they returned as I only realised as I committed my project in SVN. There are no config files inside the folders.
I shall delete the whole uSync folder to see if forcing a complete sync will fix the issue.
I have deleted the whole uSync folder. Two things now happen.
Not all the doctypes that are created in umbraco are present in the uSync folder.
After using the project for a while the old doctypes folders with no config files appear.
The archive is a push only, so files are copied into it onSave/Delete, but nothing is ever read out of it.
did you get anywhere with the umbraco log file in /app_data/logs ? that should be writing out when uSync saves a doctype, so you can at least see if it is picking it up from umbraco.
and does downgrading usync make any difference? (if you down load v1.5.8.2 - extract the zip file and overwrite the jumoo.umbraco.usync.dll in the bin folder)
uSync recreates deleted doctypes on disk
Hi guys,
Having a problem with uSync where it recreates deleted document types on disk. I have tried to setup uSync so that it only copies what the Umbraco instance looks like in terms of document types. uSync doesn't ever write anything to my umbraco instance. It's almost like it can't differentiate between deleted document types and current document types. My Umbraco instance isn't bringing back old document types, it's working as expect.
I am using the latest version of umbraco 6 and uSync 2.1.0
Here are some lines from my uSync config file:
Cheers
Jacob
Hi,
I can't recreate this behaviour on umbraco 6(.1.6) and uSync 2.1 -
just to confirm - i have done the following
As long as No3 works their should be no way in theory for it to recreate it.
can you reproduce the steps above ? does it do anything different ?
You could turn on debugging in Log4net.config and then uSync will spit out a lot more info into the umbracotracelog.txt (/app_date/logs/)
There is a bug in the umbraco api for v6.1.x relating to doctype import which is why I reverted the default version back to 1.5.8 - but the bug is to do with exports failing when properties are assigned to the default tab (Generic properties) I am not aware of that effecting deletes.
Hi Kevin,
Thanks for getting back to me, I will go through these steps now and see what happens.
Jacob
Hi Kevin,
I have just got round to trying this out and this is what I found.
I touched the web.config many times and nothing happened. Nothing was recreated and uSync matched the document types in Umbraco. Then all of a sudden the folders were back. I can't pinpoint when they returned as I only realised as I committed my project in SVN. There are no config files inside the folders.
I shall delete the whole uSync folder to see if forcing a complete sync will fix the issue.
Jacob
Hi Kevin,
I have deleted the whole uSync folder. Two things now happen.
Not all the doctypes that are created in umbraco are present in the uSync folder. After using the project for a while the old doctypes folders with no config files appear.
I am using this config line
Really confused. Is there anything in the archive that would affect the file creation?
Cheers
Jacob
That is really confusing.
The archive is a push only, so files are copied into it onSave/Delete, but nothing is ever read out of it.
did you get anywhere with the umbraco log file in /app_data/logs ? that should be writing out when uSync saves a doctype, so you can at least see if it is picking it up from umbraco.
and does downgrading usync make any difference? (if you down load v1.5.8.2 - extract the zip file and overwrite the jumoo.umbraco.usync.dll in the bin folder)
is working on a reply...