Copied to clipboard

Flag this post as spam?

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


  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 26, 2021 @ 16:59
    Huw Reddick
    0

    latest version seems to want to merge content that is the same

    Hi Stuart,

    I just upgraded to the latest version and now it seems to be flagging content to merge that hasn't actually changed?

    enter image description here

    It is indicating the photo's have changed but the umb addresses are identical

  • Stuart Mullinger 79 posts 422 karma points
    Mar 27, 2021 @ 12:33
    Stuart Mullinger
    0

    Hi again Huw,

    Rather than comparing the UDIs (umb addresses) directly, Converge translates them into the path + name of the media and then compares them.

    1. Do the media folder names and media names match between the remote and local instances for those images?
    2. Is the same version of Converge installed on both the remote and local instance?
    3. Are you able to run a SQL query directly against the database? If so, it would be interesting to see the result of the following. Please replace the KeyGuid string with one of those above.

      SELECT [Id] ,[SiteId] ,[KeyGuid] ,[ContentTypeAlias] ,[TemplateAlias] ,[Name] ,[Path] ,[ContentStatus] ,[CreateUser] ,[WriterUser] ,[ExpireDate] ,[ReleaseDate] ,[SortOrder] ,[IsBlueprint] FROM [cvgContent] where [KeyGuid] = 'b86...81e7' order by [Id] desc

    Thanks, Stuart.

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 27, 2021 @ 12:51
    Huw Reddick
    0

    I will check later and also run the query on the database and let you know.

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 29, 2021 @ 09:56
    Huw Reddick
    0

    Hi Stuart,

    Unfortunately I've had to roll back as the latest version is causing me too many problems at the moment.

    One specific issue which is causing me problems with media synch. When I run Converg it keeps telling me that the Image Media Type definition is different.

    enter image description here

    I have checked both the remote and local systems and I do not have anything with a DataTypeName of 'Image Cropper' they are both called 'Banner Cropper' because of this it wants me to resynch all my media files! enter image description here Do I maybe need to clear out a cache or something?

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 29, 2021 @ 10:05
    Huw Reddick
    0

    FYI rolling back to 8.0.5 removes this discrepancy and correctly says the Image media Types are the same.

  • Stuart Mullinger 79 posts 422 karma points
    Mar 29, 2021 @ 10:22
    Stuart Mullinger
    0

    Sorry for the hassle. Will take a look into it. What version of Umbraco are you using? I'll try and recreate here.

  • Stuart Mullinger 79 posts 422 karma points
    Mar 29, 2021 @ 10:29
    Stuart Mullinger
    0

    Think I've found the problem. I'll need to release a new version. In the meantime, you can switch off the "Pre-V7.7.0 Image Media Type" converter under settings. It is wrongly updating the umbracoFile property.

    Appreciate that you may just want to stick with v8.0.5 for now :)

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 29, 2021 @ 11:07
    Huw Reddick
    0

    Hi Stuart,

    I'm currently using Umbraco version 8.10.1 I will try turning off that setting and do another check, as 8.0.5 seems to be ignoring Media path differences :)

    enter image description here

  • Stuart Mullinger 79 posts 422 karma points
    Mar 29, 2021 @ 11:23
    Stuart Mullinger
    0

    Remember, it's checking for the equivalent media, that is, is the reference to the same image under the Umbraco media section. Converge deliberately looks for UDIs (umb://media//xyz) and media file paths (/media/xyz/filename.jpg) and finds the media under the Media folder and then compares those paths/names.

    So, in the above case, I think those file paths match to the same media under the Media section, thus there is no difference.

    When the media is created, the file path will be different to the remote site, so Converge wouldn't work if it just compared those strings directly.

    Hope that's clear. It will be the same in the latest version of Converge too.

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 29, 2021 @ 11:28
    Huw Reddick
    0

    Yes, that makes sense, just wish I could work out why the paths are different, all the media was uploaded in the remote site but it seems that if they move stuff around Umbraco is changing the folders the media sits under, not sure why it would want to do that , so now all the remote media has different paths to my local copy!

    If I remove all my media locally, will converge then resynch it or would the same folder discrepancy still occur?

  • Stuart Mullinger 79 posts 422 karma points
    Mar 29, 2021 @ 11:51
    Stuart Mullinger
    0

    If I understand you correctly, the users have moved the media in the Umbraco Media section? If that's the case, are you seeing a lot of "RemoteNotLocal" and "LocalNotRemote" under the Media section in Converge?

    If so, then a merge would resolve the issues by removing and then recreating the media in the correct locations. That would solve the folder discrepancy. May be worth making a backup before trying, or merge just one Media item to check first.

  • Huw Reddick 1702 posts 5999 karma points MVP c-trib
    Mar 29, 2021 @ 12:21
    Huw Reddick
    0

    I don't know exactly what they have been doing other than moving media items around in the media section so unsure why they have different paths locally, i guess they could have removed the image and uploaded a new copy maybe, but deleting all my local media and then re-doing a converge sync has sorted it all out, so fingers crossed.

    I do love Umbraco but it can be a total pig to keep systems in sync with each other :D

Please Sign in or register to post replies

Write your reply to:

Draft