Copied to clipboard

Flag this post as spam?

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


  • Keith Jackson 183 posts 552 karma points
    Apr 27, 2015 @ 19:20
    Keith Jackson
    0

    Corrupt Umbraco.config / Nodes

    I have a confounding problem.

    I have a working local Umbraco which I've made some changes to and pushed up to my staging server on Azure. On Azure it's broken.

    I've looked at the data and the Umbraco.config. I should have a page which displays 3 corporate partner content items. On my dev server this is the data I get (The second value is the Node Id)...

    Microsoft | 1202 | /partners/microsoft/ | https://www.microsoft.com/en-gb/smb/ Umbraco | 1203 | /partners/umbraco/ | http://www.umbraco.com Rackspace | 1191 | /partners/rackspace/ | http://www.rackspace.com

    This is expected.

    On the Staging server I see this...

    Microsoft | 1202 | /partners/microsoft/ | https://www.microsoft.com/en-gb/smb/ Microsoft | 1188 | /partners/microsoft/ | Umbraco | 1203 | /partners/umbraco/ | http://www.umbraco.com RackSpace | 1189 | /partners/rackspace/ | Rackspace | 1191 | /partners/rackspace/ | http://www.rackspace.com

    I've looked at the cmsContent table and the cmsContentType table in both databases to look for any differences (I'd deleted and copied it up from my dev machine, but just to be on the safe side). These Ids seem to refer to a folder and an image. Not what's indicated above.

    The issue seems to be cache related. If I look at the Umbraco.config file from Azure I see this...

            <Partners id="1149" parentID="1047" level="2" creatorID="0" sortOrder="3" createDate="2014-10-20T15:06:26" updateDate="2015-04-27T16:56:13" nodeName="Partners" urlName="partners" path="-1,1047,1149" isDoc="" nodeType="1147" creatorName="admin" writerName="admin" writerID="0" template="1146" nodeTypeAlias="Partners">
          <CorporatePartner id="1188" parentID="1149" level="3" creatorID="0" sortOrder="1" createDate="2015-03-04T22:41:44" updateDate="2015-03-04T22:41:44" nodeName="Microsoft" urlName="microsoft" path="-1,1047,1149,1188" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner" />
          <CorporatePartner id="1203" parentID="1149" level="3" creatorID="0" sortOrder="1" createDate="2015-04-27T13:16:39" updateDate="2015-04-27T16:56:12" nodeName="Umbraco" urlName="umbraco" path="-1,1047,1149,1203" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner">
            <badge>1201</badge>
            <summaryText><![CDATA[<p>We love Umbraco. We have certified Umbraco developers on staff to ensure that we can deliver to you the best in class in content managed websites whether this content is used for a traditional website or for distributed mobile applications.</p>]]></summaryText>
            <externalPartnerUrl><![CDATA[http://www.umbraco.com]]></externalPartnerUrl>
          </CorporatePartner>
          <CorporatePartner id="1189" parentID="1149" level="3" creatorID="0" sortOrder="2" createDate="2015-03-04T22:41:59" updateDate="2015-03-04T22:41:59" nodeName="RackSpace" urlName="rackspace" path="-1,1047,1149,1189" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner" />
          <CorporatePartner id="1202" parentID="1149" level="3" creatorID="0" sortOrder="0" createDate="2015-04-27T13:14:28" updateDate="2015-04-27T16:56:12" nodeName="Microsoft" urlName="microsoft" path="-1,1047,1149,1202" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner">
            <badge>1200</badge>
            <summaryText><![CDATA[<p>As a Microsoft Small Business Specialist, The Ministry of Technology can advise you on how to make the best of Microsoft operating systems, office and cloud solutions within your business.</p>
    <p>Our many years of developing products for a wide variety of Microsoft platforms help us design a solution uniquely tailored to your key requirements.</p>]]></summaryText>
            <externalPartnerUrl><![CDATA[https://www.microsoft.com/en-gb/smb/]]></externalPartnerUrl>
          </CorporatePartner>
          <CorporatePartner id="1191" parentID="1149" level="3" creatorID="0" sortOrder="2" createDate="2015-04-21T15:49:39" updateDate="2015-04-27T16:56:12" nodeName="Rackspace" urlName="rackspace" path="-1,1047,1149,1191" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner">
            <badge>1198</badge>
            <summaryText><![CDATA[<p><span>The Ministry of Technology has joined the Rackspace<sup>®</sup> Partner Network to provide you with a portfolio of Hybrid Cloud solutions.  Rackspace is a leading provider of hybrid clouds, which enable businesses to run their workloads where they run most effectively — whether on the public cloud, a private cloud, dedicated servers, or a combination of these platforms.</span></p>
    <p><span>Since The Ministry of Technology is a Rackspace Referral Partner, you can take advantage on your next hybrid cloud solution from Rackspace. <a href="/{localLink:1061}" title="Contact">Contact us</a> to start saving now.</span></p>]]></summaryText>
            <externalPartnerUrl><![CDATA[http://www.rackspace.com]]></externalPartnerUrl>
          </CorporatePartner>
    

    On my dev environment this looks like this...

            <Partners id="1149" parentID="1047" level="2" creatorID="0" sortOrder="3" createDate="2014-10-20T15:06:26" updateDate="2015-04-27T16:39:40" nodeName="Partners" urlName="partners" path="-1,1047,1149" isDoc="" nodeType="1147" creatorName="admin" writerName="admin" writerID="0" template="1146" nodeTypeAlias="Partners">
          <CorporatePartner id="1202" parentID="1149" level="3" creatorID="0" sortOrder="0" createDate="2015-04-27T13:14:28" updateDate="2015-04-27T16:39:40" nodeName="Microsoft" urlName="microsoft" path="-1,1047,1149,1202" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner">
            <badge>1200</badge>
            <summaryText><![CDATA[<p>As a Microsoft Small Business Specialist, The Ministry of Technology can advise you on how to make the best of Microsoft operating systems, office and cloud solutions within your business.</p>
    <p>Our many years of developing products for a wide variety of Microsoft platforms help us design a solution uniquely tailored to your key requirements.</p>]]></summaryText>
            <externalPartnerUrl><![CDATA[https://www.microsoft.com/en-gb/smb/]]></externalPartnerUrl>
          </CorporatePartner>
          <CorporatePartner id="1203" parentID="1149" level="3" creatorID="0" sortOrder="1" createDate="2015-04-27T13:16:39" updateDate="2015-04-27T16:39:40" nodeName="Umbraco" urlName="umbraco" path="-1,1047,1149,1203" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner">
            <badge>1201</badge>
            <summaryText><![CDATA[<p>We love Umbraco. We have certified Umbraco developers on staff to ensure that we can deliver to you the best in class in content managed websites whether this content is used for a traditional website or for distributed mobile applications.</p>]]></summaryText>
            <externalPartnerUrl><![CDATA[http://www.umbraco.com]]></externalPartnerUrl>
          </CorporatePartner>
          <CorporatePartner id="1191" parentID="1149" level="3" creatorID="0" sortOrder="2" createDate="2015-04-21T15:49:39" updateDate="2015-04-27T16:39:40" nodeName="Rackspace" urlName="rackspace" path="-1,1047,1149,1191" isDoc="" nodeType="1148" creatorName="admin" writerName="admin" writerID="0" template="0" nodeTypeAlias="CorporatePartner">
            <badge>1198</badge>
            <summaryText><![CDATA[<p><span>The Ministry of Technology has joined the Rackspace<sup>®</sup> Partner Network to provide you with a portfolio of Hybrid Cloud solutions.  Rackspace is a leading provider of hybrid clouds, which enable businesses to run their workloads where they run most effectively — whether on the public cloud, a private cloud, dedicated servers, or a combination of these platforms.</span></p>
    <p><span>Since The Ministry of Technology is a Rackspace Referral Partner, you can take advantage on your next hybrid cloud solution from Rackspace. <a href="/{localLink:1061}" title="Contact">Contact us</a> to start saving now.</span></p>]]></summaryText>
            <externalPartnerUrl><![CDATA[http://www.rackspace.com]]></externalPartnerUrl>
          </CorporatePartner>
    

    Nice and tidy, as expected.

    I have tried...

    • Republishing the site content
    • Republishing the app to Azure
    • Deleting and redeploying the database
    • Restarting the Azure Web site

    I am at a loss as to what to do next - The database seems fine, but the cache generation is failing somehow.

    I'm on Umbraco 7.1

Please Sign in or register to post replies

Write your reply to:

Draft