Copied to clipboard

Flag this post as spam?

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


  • Gia Matikainen 4 posts 84 karma points
    Oct 06, 2022 @ 09:36
    Gia Matikainen
    0

    uSync not syncing saved content

    Hi,

    Using Umbraco v8.17.0 and uSyncComplete v8.11.3.

    Using "publish to..." or "publish to server..." to sync node that is only saved (not published) it only syncs the "shell" of the node. After once publishing and unpublishing the node it will sync the "shell" and the content for it too.

    Any ideas?

  • Kevin Jump 2309 posts 14673 karma points MVP 7x c-trib
    Oct 06, 2022 @ 15:06
    Kevin Jump
    100

    Hi,

    I sound like the second step of the sync is failing (so the first pass creates the node the second pass adds all the properties etc.)

    common issues can be if the config files are missing/not configured on both servers. might be worth checking the uSync8.config files vs the reference ones we have

    https://github.com/Jumoo/uSync.Complete.Issues/blob/main/configs/uSync8.config

    I would also say take a look at the logging on the target server. and maybe turn on debugging to check see if something has been logged.

  • Gia Matikainen 4 posts 84 karma points
    Jul 07, 2023 @ 10:19
    Gia Matikainen
    0

    Hi Kevin,

    Thank you for the help!

    The solution was to change PublishedContentHandler to contentHandler.

      <Handlers Name="publisher">
        <Handler Alias="dataTypeHandler" Enabled="true" Actions="All" />
        <Handler Alias="languageHandler" Enabled="true" Actions="All" />
        <Handler Alias="macroHandler" Enabled="true" Actions="All" />
        <Handler Alias="mediaTypeHandler" Enabled="true" Actions="All" />
        <Handler Alias="memberTypeHandler" Enabled="true" Actions="All" />
        <Handler Alias="templateHandler" Enabled="true" Actions="All" />
        <Handler Alias="contentTypeHandler" Enabled="true" Actions="All" />
        <Handler Alias="contentHandler" Enabled="true" Actions="All" />
        <Handler Alias="contentTemplateHandler" Enabled="false" Actions="All" />
        <Handler Alias="dictionaryHandler" Enabled="true" Actions="All" />
        <Handler Alias="domainHandler" Enabled="true" Actions="All" />
        <Handler Alias="mediaHandler" Enabled="true" Actions="All" />
        <Handler Alias="memberHandler" Enabled="false" Actions="All" />
        <Handler Alias="memberGroupHandler" Enabled="false" Actions="All" />
        <Handler Alias="userHandler" Enabled="false" Actions="All" />
        <Handler Alias="userGroupHandler" Enabled="false" Actions="All" />
        <Handler Alias="mediaFileHandler" Enabled="true" Actions="All">
        <Add Key="IncludeFileHash" Value="true" />
    </Handler>
    
Please Sign in or register to post replies

Write your reply to:

Draft