Copied to clipboard

Flag this post as spam?

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


  • Jules 186 posts 397 karma points
    May 21, 2017 @ 22:36
    Jules
    0

    uSync fails - Cannot find underling template file errors

    Hi all

    Using uSync with Umbraco 7.5.9

    We have managed a few successful deployments to our staging server and uSync has been fantastic. However, there are many more changes in this latest deploy and uSync has generated some errors and the staging site is now broken.

    Our setup is: Dev environment is a shared db and so uSync doesn't do anything except exportonsave

    Staging environment, uSync is set to import at startup - no Umbraco changes are ever made in the backoffice on staging.

    There have been some deletions / renaming of doctypes and templates in this deploy - could that be an issue? I am including the usyncactions.config below as well. It is likely the case that some of the items in this file were created and deleted before ever reaching staging so I wonder if that would cause issues?

    Anyway the deploy fails after some "Cannot find template" errors although when I look on server, all templates I would expect to be there are there.

    I have included the error log we get below and after that the usyncactions.config that has been generated whilst working in our dev environment,

    By the way we are deploying through Visual Studio Team Services and as I mentioned this has been successful up until now.

    Is anybody able to give us a steer on this - perplexed at the moment - still working on it...?

    Thanks

    J

    2017-05-21 20:47:06,958 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:06,958 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:06,958 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:06,958 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:06,974 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:06,974 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:06,974 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:06,974 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:06,990 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:06,990 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:07,318 [1] WARN Jumoo.uSync.BackOffice.uSyncApplicationEventHandler: Errors during Sync: Value cannot be null.
    Parameter name: context Autofac
    2017-05-21 20:47:07,318 [1] WARN Jumoo.uSync.BackOffice.uSyncApplicationEventHandler: Errors during Sync:
        at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
       at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
       at JWT.WT.NC.Web.EventHandlers.ContentEventBroadcaster.ContentService_Deleting(IContentService sender, DeleteEventArgs`1 e)
       at Umbraco.Core.Events.EventExtensions.IsRaisedEventCancelled[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
       at Umbraco.Core.Services.ContentService.DeleteContentOfType(Int32 contentTypeId, Int32 userId)
       at Umbraco.Core.Services.ContentTypeService.Delete(IContentType contentType, Int32 userId)
       at Jumoo.uSync.BackOffice.Handlers.ContentTypeHandler.DeleteItem(Guid key, String keyString)
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ProcessActions()
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(IEnumerable`1 syncHandlers, String folder, Boolean checkConfig, Boolean force, String groupName)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
    2017-05-21 20:47:07,318 [1] ERROR Umbraco.Core.CoreBootManager: An error occurred running OnApplicationStarted for handler Jumoo.uSync.BackOffice.uSyncApplicationEventHandler
    System.ApplicationException: uSync encounted an error during setup (which is probibily from an import)
         You can set DontThrowErrors = True in the uSyncBackOffice.Config file and umbraco will not throw the YSOD (usync will just log errors in the log file) ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: context
       at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
       at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
       at JWT.WT.NC.Web.EventHandlers.ContentEventBroadcaster.ContentService_Deleting(IContentService sender, DeleteEventArgs`1 e)
       at Umbraco.Core.Events.EventExtensions.IsRaisedEventCancelled[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
       at Umbraco.Core.Services.ContentService.DeleteContentOfType(Int32 contentTypeId, Int32 userId)
       at Umbraco.Core.Services.ContentTypeService.Delete(IContentType contentType, Int32 userId)
       at Jumoo.uSync.BackOffice.Handlers.ContentTypeHandler.DeleteItem(Guid key, String keyString)
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ProcessActions()
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(IEnumerable`1 syncHandlers, String folder, Boolean checkConfig, Boolean force, String groupName)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       --- End of inner exception stack trace ---
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       at Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
       at Umbraco.Core.CoreBootManager.<Complete>b__a(IApplicationEventHandler x)
    2017-05-21 20:47:07,318 [1] ERROR Umbraco.Core.UmbracoApplicationBase: An unhandled exception occurred
    System.ApplicationException: uSync encounted an error during setup (which is probibily from an import)
         You can set DontThrowErrors = True in the uSyncBackOffice.Config file and umbraco will not throw the YSOD (usync will just log errors in the log file) ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: context
       at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
       at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
       at JWT.WT.NC.Web.EventHandlers.ContentEventBroadcaster.ContentService_Deleting(IContentService sender, DeleteEventArgs`1 e)
       at Umbraco.Core.Events.EventExtensions.IsRaisedEventCancelled[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
       at Umbraco.Core.Services.ContentService.DeleteContentOfType(Int32 contentTypeId, Int32 userId)
       at Umbraco.Core.Services.ContentTypeService.Delete(IContentType contentType, Int32 userId)
       at Jumoo.uSync.BackOffice.Handlers.ContentTypeHandler.DeleteItem(Guid key, String keyString)
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ProcessActions()
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(IEnumerable`1 syncHandlers, String folder, Boolean checkConfig, Boolean force, String groupName)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       --- End of inner exception stack trace ---
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       at Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
       at Umbraco.Core.CoreBootManager.<Complete>b__a(IApplicationEventHandler x)
       at Umbraco.Core.EnumerableExtensions.ForEach[TItem](IEnumerable`1 items, Action`1 action)
       at Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete)
       at Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete)
       at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
    2017-05-21 20:47:28,441 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:28,441 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:28,441 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:28,457 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:28,457 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:28,457 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:28,457 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:28,472 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:28,472 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Cannot find underling template file, so we cannot create the template
    2017-05-21 20:47:28,472 [1] WARN Jumoo.uSync.Core.Serializers.TemplateSerializer: Can't get a template path?
    2017-05-21 20:47:28,894 [1] WARN Jumoo.uSync.BackOffice.uSyncApplicationEventHandler: Errors during Sync: Value cannot be null.
    Parameter name: context Autofac
    2017-05-21 20:47:28,894 [1] WARN Jumoo.uSync.BackOffice.uSyncApplicationEventHandler: Errors during Sync:
        at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
       at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
       at JWT.WT.NC.Web.EventHandlers.ContentEventBroadcaster.ContentService_Deleting(IContentService sender, DeleteEventArgs`1 e)
       at Umbraco.Core.Events.EventExtensions.IsRaisedEventCancelled[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
       at Umbraco.Core.Services.ContentService.DeleteContentOfType(Int32 contentTypeId, Int32 userId)
       at Umbraco.Core.Services.ContentTypeService.Delete(IContentType contentType, Int32 userId)
       at Jumoo.uSync.BackOffice.Handlers.ContentTypeHandler.DeleteItem(Guid key, String keyString)
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ProcessActions()
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(IEnumerable`1 syncHandlers, String folder, Boolean checkConfig, Boolean force, String groupName)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
    2017-05-21 20:47:28,894 [1] ERROR Umbraco.Core.CoreBootManager: An error occurred running OnApplicationStarted for handler Jumoo.uSync.BackOffice.uSyncApplicationEventHandler
    System.ApplicationException: uSync encounted an error during setup (which is probibily from an import)
         You can set DontThrowErrors = True in the uSyncBackOffice.Config file and umbraco will not throw the YSOD (usync will just log errors in the log file) ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: context
       at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
       at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
       at JWT.WT.NC.Web.EventHandlers.ContentEventBroadcaster.ContentService_Deleting(IContentService sender, DeleteEventArgs`1 e)
       at Umbraco.Core.Events.EventExtensions.IsRaisedEventCancelled[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
       at Umbraco.Core.Services.ContentService.DeleteContentOfType(Int32 contentTypeId, Int32 userId)
       at Umbraco.Core.Services.ContentTypeService.Delete(IContentType contentType, Int32 userId)
       at Jumoo.uSync.BackOffice.Handlers.ContentTypeHandler.DeleteItem(Guid key, String keyString)
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ProcessActions()
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(IEnumerable`1 syncHandlers, String folder, Boolean checkConfig, Boolean force, String groupName)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       --- End of inner exception stack trace ---
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       at Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
       at Umbraco.Core.CoreBootManager.<Complete>b__a(IApplicationEventHandler x)
    2017-05-21 20:47:28,894 [1] ERROR Umbraco.Core.UmbracoApplicationBase: An unhandled exception occurred
    System.ApplicationException: uSync encounted an error during setup (which is probibily from an import)
         You can set DontThrowErrors = True in the uSyncBackOffice.Config file and umbraco will not throw the YSOD (usync will just log errors in the log file) ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: context
       at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
       at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters)
       at JWT.WT.NC.Web.EventHandlers.ContentEventBroadcaster.ContentService_Deleting(IContentService sender, DeleteEventArgs`1 e)
       at Umbraco.Core.Events.EventExtensions.IsRaisedEventCancelled[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
       at Umbraco.Core.Services.ContentService.DeleteContentOfType(Int32 contentTypeId, Int32 userId)
       at Umbraco.Core.Services.ContentTypeService.Delete(IContentType contentType, Int32 userId)
       at Jumoo.uSync.BackOffice.Handlers.ContentTypeHandler.DeleteItem(Guid key, String keyString)
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ProcessActions()
       at Jumoo.uSync.BackOffice.Handlers.uSyncBaseHandler`1.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(IEnumerable`1 syncHandlers, String folder, Boolean checkConfig, Boolean force, String groupName)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.Import(String groupName, String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncBackOfficeContext.ImportAll(String folder, Boolean force)
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       --- End of inner exception stack trace ---
       at Jumoo.uSync.BackOffice.uSyncApplicationEventHandler.Setup()
       at Umbraco.Core.ApplicationEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
       at Umbraco.Core.CoreBootManager.<Complete>b__a(IApplicationEventHandler x)
       at Umbraco.Core.EnumerableExtensions.ForEach[TItem](IEnumerable`1 items, Action`1 action)
       at Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete)
       at Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete)
       at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e)
    

    USYNCACTIONS.CONFIG

    <?xml version="1.0" encoding="utf-8"?>
    <ArrayOfSyncAction xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SyncAction>
        <TypeName>Umbraco.Core.Models.ITemplate</TypeName>
        <Name>Settings</Name>
        <Key>00000000-0000-0000-0000-000000000000</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.IContentType</TypeName>
        <Name>settings</Name>
        <Key>a3602104-c622-44e7-8f0b-34613baa8cde</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.IContentType</TypeName>
        <Name>yearFolder</Name>
        <Key>b6e2c80c-512e-422f-b545-ec7c1b73a716</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.IContentType</TypeName>
        <Name>notFoundError1</Name>
        <Key>73aec8f5-f6dc-4442-93bc-438aae7d9ffc</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.ITemplate</TypeName>
        <Name>404NotFoundError</Name>
        <Key>00000000-0000-0000-0000-000000000000</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.IContentType</TypeName>
        <Name>year</Name>
        <Key>ce76db76-266e-4bd6-bd31-9cd1043e872b</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.ITemplate</TypeName>
        <Name>AddARecord</Name>
        <Key>00000000-0000-0000-0000-000000000000</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.ITemplate</TypeName>
        <Name>Home</Name>
        <Key>00000000-0000-0000-0000-000000000000</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.IContentType</TypeName>
        <Name>textPage</Name>
        <Key>c8da1880-ca9f-46b9-ace7-48b50a59e983</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.ITemplate</TypeName>
        <Name>TextPage</Name>
        <Key>00000000-0000-0000-0000-000000000000</Key>
        <Action>Delete</Action>
      </SyncAction>
      <SyncAction>
        <TypeName>Umbraco.Core.Models.IContentType</TypeName>
        <Name>plainTextPage</Name>
        <Key>3bd50069-3018-41fb-a9da-9e97b2dede7a</Key>
        <Action>Delete</Action>
      </SyncAction>
    </ArrayOfSyncAction>
    
  • Kevin Jump 985 posts 5475 karma points mvp c-trib
    May 22, 2017 @ 07:52
    Kevin Jump
    100

    Hi Jules,

    i would feel free to delete things from the action file that you know never made it to live. they shouldn't cause any issues being there, but they will always show as errors in the imports and that is just annoying :)

    However the Errors in the log are happening because when you remove a content type that triggers a cascade in umbraco that will delete any content that is made from that content type - this is always a bit scary (even when you do it via the back office) so i would have a good review of what those doctypes are being used for on your site.

    For the templates usync looks in the views/ and masterpages/ folders for template files that match the alias of a template.

    see : https://github.com/KevinJump/uSync/blob/bf76a574b1057beb4ce2ef3f34113e31af7aa601/Jumoo.uSync.Core/Serializers/TemplateSerializer.cs#L66

    So it might be worth checking the usync/data/templates folder to see what templates are part of your sync, is it possible someone renamed a few things and now the views don't match?

    Kevin

  • Jules 186 posts 397 karma points
    May 22, 2017 @ 15:03
    Jules
    0

    Thanks for the prompt reply Kevin.

    Will try this out and report back.

    J

  • Jules 186 posts 397 karma points
    May 23, 2017 @ 10:11
    Jules
    0

    Hi Kevin

    A couple of questions about the uSyncActions.config file.

    When an item has an id of 00000000-0000-0000-0000-000000000000 what does that generally indicate?

    Over time I guess the actions file keeps growing. Once we know items have been processed, should they be cleared out?

    We are using source control and our builds are automated so pushing to our master branch will initiate a build and deploy. Would it be wise to script a clear-down of the uSync folder on the target server as we deploy?

    J

  • Kevin Jump 985 posts 5475 karma points mvp c-trib
    May 23, 2017 @ 10:18
    Kevin Jump
    1

    Hi

    the 00000000-0000-0000-0000-000000000000 appear when the thing you delete isn't genrally found by the internal guid but its alias (so templates)

    so where the guids are there usync uses them to find the item, but when they are not it uses the alias to find it - for templates this is ok (because things can only have one name) - but it does mean if a template is renamed it might not be found when a delete that doesn't know of the rename happens (so things are out of sync).

    it only happens on very few types because up until very recent versions of umbraco you couldn't always set the key value on things like templates.

    if you are keeping tight control of what has been deployed vs what hasn't on all umbraco instances involved and you are happy the deletes have gone then yes you can just delete the usyncactions file.

    Yes, you should clear the usync folder out on a deployment - while your source control will capture renames / deletes etc.. a straight file copy deployment won't*, and you will end up with orphan things.

    *usync should handle the renames for most things for you, because it finds things by the guid and then just renames them, but to be sure clean the folder

  • Jules 186 posts 397 karma points
    May 24, 2017 @ 09:32
    Jules
    0

    Hi Kevin

    Got it all back up and running. Looking good mostly. Have set to manual import on staging for the time being.

    However, I am confused about one item - perhaps you could shed some light?

    The image below is what I am seeing in the uSync dashboard. This seems to be saying that there is a composition called readMoreTab which is going to be renamed to seoTab. Both of these items have been around for a while and are still there in the source instance of Umbraco. Is this the correct assumption of what I am seeing. If this is correct, then this would be totally wrong. Anything that might explain that?

    enter image description here

  • Kevin Jump 985 posts 5475 karma points mvp c-trib
    May 24, 2017 @ 09:39
    Kevin Jump
    1

    HI yeah

    that is a failing of the dashboard - it doesn't always get the comparison of what is about to change right :(

    during an import usync applies changes by comparing the values it wants to put in with those directly inside the item. (basically we update things as we go)

    The dashboard does it by comparing xml files, and it doesn't always get the comparison right - in this case it hasn't matched the compositions correctly this is an ordering of the xml issue, - when you see both the key and the name not matching it is likely nothing is going to change.

    And update of a key wouldn't actually happen like this because the guid is the key so things are found by it - it can't change (and the dashboard should really know better!)

    I have done a little work on the dashboard compare, i am hoping to get it better for the next release.

  • Jules 186 posts 397 karma points
    May 24, 2017 @ 09:49
    Jules
    0

    So the only thing that should change within the species item is the latin name and nothing else.

    readmore and seo have not changed at all in over a month. You think its safe to push the button. Will back up of course first.

    J

  • Kevin Jump 985 posts 5475 karma points mvp c-trib
    May 24, 2017 @ 09:51
    Kevin Jump
    1

    with backups in place I would say yes : )

    but if you are unsure, just check the offending .config file in usync\data\documenttypes if it still has both items listed as compositions then then they are not going anywhere

  • Jules 186 posts 397 karma points
    May 24, 2017 @ 09:54
    Jules
    0

    Indeed it does have both items listed. Gonna push that button,

  • Jules 186 posts 397 karma points
    May 24, 2017 @ 10:35
    Jules
    0

    All seems good

    Thanks very much for your help Kevin

    I owe you a beer !!!

    J

Please Sign in or register to post replies

Write your reply to:

Draft