I needed to add a property to an existing document type for a site that is already Live and thought it might be a good opportunity to try out uSync.
I installed it locally , added my new property and the config files generated themselves succsussfully including the new column. The uSync folder and its contents were uploaded to the live site. The package seems to be installed okay on the Live server, I have restarted the site a few times by modifying the web.config but so far the new property is not showing up. My questions are :
1) Does uSync update document types or does it only take action if they dont currently exist
2) Does uSync work when it is added after a document type was created or does it need to be installed at the beginning of a project.
new properties should appear when updating document types.
There are a few breaking changes that i am working into the latest version where updates to existing properties are not propagated, but added a new property should work.
The Live version is on a shared hosting account, is there anything about the environment that could cause it not to run? One feature I thought of would be the ability to kick the process off from the control panel rather than via web config changes or recycling the app pool etc.
Also, does uSync have any logging? Ideally I'd like to be able to see the process has at least attempted to run and failed rather than just not run.
yeah, the calls are there to kick it off, i just haven't gotten round to writing the dashboard yet
uSync logs to the standard umbraco log (in App_Data/Logs/ on the default setting it doesn't log much more than starting, initialized and when it is triggered via saves/deletes. you should see these in the log file, if you don't get
INFO jumps.umbraco.usync.uSync - [Thread x] uSync Starting - for detailed debug info. set priority to 'Debug' in log4net.config file
in the umbraco log file then it's not running
setting the log4net configuration config/log4net.config to Debug and you will get lots of uSync logging.
I took a look in the logs. It appears to be running by I couldn't see anything to suggest why its not adding the new property. I have had to add the property manually now as its a live site for a client. However I am keen to try and get uSync running and I did notice in the log a a number of errors when trying to save templates. The error is this....
[11] INFO jumps.umbraco.usync.uSync - <log4net.Error>Exception during StringFormat: Input string was not in a correct format. <format>[Thread 19] Importing template C:\CLIENTS\......
It then goes on to write out the entire template, It obviously doesnt like something in my templates, are there any format restrictions for uSync? certain characters or max size?
I can send you the log file to take a look if you;re interested but no worries if you're not!
Does uSync update document types that existed pre-install?
I needed to add a property to an existing document type for a site that is already Live and thought it might be a good opportunity to try out uSync.
I installed it locally , added my new property and the config files generated themselves succsussfully including the new column. The uSync folder and its contents were uploaded to the live site. The package seems to be installed okay on the Live server, I have restarted the site a few times by modifying the web.config but so far the new property is not showing up. My questions are :
1) Does uSync update document types or does it only take action if they dont currently exist
2) Does uSync work when it is added after a document type was created or does it need to be installed at the beginning of a project.
Thanks
Sam
new properties should appear when updating document types.
There are a few breaking changes that i am working into the latest version where updates to existing properties are not propagated, but added a new property should work.
What version(s) of Umbraco are you using ?
Im using v6.1.5
The Live version is on a shared hosting account, is there anything about the environment that could cause it not to run? One feature I thought of would be the ability to kick the process off from the control panel rather than via web config changes or recycling the app pool etc.
Also, does uSync have any logging? Ideally I'd like to be able to see the process has at least attempted to run and failed rather than just not run.
Sam
yeah, the calls are there to kick it off, i just haven't gotten round to writing the dashboard yet
uSync logs to the standard umbraco log (in App_Data/Logs/ on the default setting it doesn't log much more than starting, initialized and when it is triggered via saves/deletes. you should see these in the log file, if you don't get
in the umbraco log file then it's not running
setting the log4net configuration config/log4net.config to Debug and you will get lots of uSync logging.
Hey Kevin,
I took a look in the logs. It appears to be running by I couldn't see anything to suggest why its not adding the new property. I have had to add the property manually now as its a live site for a client. However I am keen to try and get uSync running and I did notice in the log a a number of errors when trying to save templates. The error is this....
[11] INFO jumps.umbraco.usync.uSync - <log4net.Error>Exception during StringFormat: Input string was not in a correct format. <format>[Thread 19] Importing template C:\CLIENTS\......
It then goes on to write out the entire template, It obviously doesnt like something in my templates, are there any format restrictions for uSync? certain characters or max size?
I can send you the log file to take a look if you;re interested but no worries if you're not!
Sam
Yes, fire the logs over I'll have a look see if i can spot anything.
kevin at thejumps co uk
is working on a reply...