Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sam Aspin 11 posts 31 karma points
    Sep 30, 2013 @ 18:44
    Sam Aspin
    0

    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

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Sep 30, 2013 @ 21:47
    Kevin Jump
    0

    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 ?

  • Sam Aspin 11 posts 31 karma points
    Oct 01, 2013 @ 10:15
    Sam Aspin
    0

    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

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Oct 01, 2013 @ 10:48
    Kevin Jump
    0

    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.

  • Sam Aspin 11 posts 31 karma points
    Oct 01, 2013 @ 12:39
    Sam Aspin
    0

    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

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Oct 01, 2013 @ 13:30
    Kevin Jump
    0

    Yes, fire the logs over I'll have a look see if i can spot anything.

    kevin at thejumps co uk

Please Sign in or register to post replies

Write your reply to:

Draft