Copied to clipboard

Flag this post as spam?

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


  • Andy 11 posts 31 karma points
    Oct 12, 2011 @ 19:46
    Andy
    0

    Unpublishing a linked node made all content inaccessible

    I have a web site in Umbraco 4.7.1. On the home page is a footer and in the footer is a link to another page. We set the Umbraco permissions to forbid anyone from deleting, moving, renaming or otherwise messing with the linked page but unfortunately that didn't stop them unpublishing it. We now have a published home page with one or more links to an unpublished node. 

    The problem is that this stops the Content tree displaying anything (you get the ajax loading icon for about 5 minutes and then nothing) so we can't get to the missing page to republish it. Presumably this is because the problem with the link to the missing (unpublished) node is in the home page which is a root node of the content tree. The web site is still working (with the link) but we can't do anything else.

    We get a missing node error in the logs every couple of minutes "Couldn't find any page with the nodeId = <nodeID>. This is most likely caused by the page isn't published!  Parameter name: nodeId" and a treemap error every 30 minutes or so (don't have the text for that).

    and a treemap error ever 30 minutes or so.

    We tried reloading nodes. No effect.

    We tried republishing the whole site. No effect.

    We tried manually marking the unpublished node as published in the database. No effect (I'm guessing the publish process is more complicated than that).

    We tried the various ideas for removing bad nodes, but the nodeId appears in every version of the home page in cmsPreviewXML so it's a bit embedded. Having given up on that route we've restored the database from backup but that is unfortunately after the problem unpublish. 

    Any ideas how to resolve this?

    For example, does anyone have a step by step guide to publishing a node manually without the aid of the Umbraco interface or possibly creating a new one with the same nodeId?

  • Andy 11 posts 31 karma points
    Oct 14, 2011 @ 18:43
    Andy
    0

    We recovered from a much older backup and got the site going again.

    Then it happened again today. It looks like someone unpublishes a node that something else uses in a RelatedLink or a link entered via the rich text editor. We then get an error for that node every few seconds and then for the nodes that link to that one and so on. The errors increase exponentially until either the database fills up, Umbraco falls over or the content tree refuses to refresh. Re-publishing the offending node doesn't seem to fix it. We still get errors saying that nodeID is missing even after republishing it. As a hail Mary we even tried unpublishing the whole content tree and republishing it. Didn't stop the errors and after an hour the site went down. Recovering from backup again now.

    Any suggestions gratefully received.

Please Sign in or register to post replies

Write your reply to:

Draft