Copied to clipboard

Flag this post as spam?

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


  • RKE 5 posts 50 karma points
    Sep 21, 2012 @ 19:15
    RKE
    0

    Cache Problem - Preview and Publish Not Working (Umbraco v 4.0)

    I was asked to troubleshoot an Umbraco v 4.0.4.2 installation in a development environment that does not update the public pages when a page has been saved/published. The development site used to work properly, but currently an update only appears after publish if an IIS restart or App Pool recycle occurs. I’ll note details below and ask for suggestions to troubleshoot this problem.

    Configuration:

    • Two web servers with NLB and some replication mechanism from one server to the other
      • I stopped the second server in NLB for my testing
      • Binding to an Admin URL on one server ensures updates on one server are replicated to the other server in the NLB
      • The config/umbracoSettings.config file is enable distributed calls and lists all the servers in NLB (as noted here)
    • Another “branded” instance of Umbraco has been recently created by setting up a new site in IIS, duplicating the other site and database
    • Permissions match other server and it has it's onwn unique App Pool with same settings
    • The App Pool Identity for the site is Network Services which has Full Control permissions on the root and all files/folders below
    • The App Pool Managed Pipeline Mode is Classic and the .Net Framework 2.0
    • Site files reside under inetpub/wwwroot/

    Actions:

    • Renamed the unbraco.config in the “data” directory on the primary web server (as described here) and republished the complete site but published updates on the test page do not appear
      • The unbraco.config file does not “automatically” get recreated after renaming and republishing
    • Verified permissions on all sub directories have Network Services  and IIS_IUSRS both having Full Control
  • RKE 5 posts 50 karma points
    Oct 10, 2012 @ 01:08
    RKE
    0

    Update: I've resorted to repeating the same action repeatedly and keep hoping for different results...

    Other actions:

    • Republished entire site at top Content node but no change
    • Page Preview reflects changes after save/publish, but public pages does not show changes
    • Looked in UmbracoLog for errors (saw "Could not find file" in the _systemUmbracoIndexDontDelete directory so performed reindex and App Pool recycle to resolve)
    • Refreshed the node XML: /Umbraco/dialogs/republish.aspx?xml=true
    • I've toggled the umbraco.config tag "XmlCacheEnabled" (True/False) several times but neither setting helps

    References:

     

  • RKE 5 posts 50 karma points
    Oct 15, 2012 @ 17:50
    RKE
    0

    Here's a question to possibly stimulate some input from someone other than me

    How does Umbraco trigger a refresh of a cached page?

    If an App Pool recycle is required to get a "Published" page to display on the public site on our site, I assume a "Save/Publish" event should have the permissions to update a configuration file that is similar to the web.config save.

  • René 327 posts 852 karma points
    Oct 16, 2012 @ 10:39
    René
    0

    Hi RKE

    The issue with the "Publish Not Working"

    See here http://issues.umbraco.org/issue/U4-387

    The solution is on its way :-)

    René

  • RKE 5 posts 50 karma points
    Oct 16, 2012 @ 18:22
    RKE
    0

    Thanks for the encouraging news René, but that issue is pressent in the newer versions and I'm troubleshooting a 4.0 Umbraco installation. My last posted question was intended to ask in general how mechanically Umbraco forces clearing the cache when publishing pages. I'm just looking for clues to how to solve this on one of two sites on the same server that does not publish without an App Pool recycle. I suspect it is permissions-related, even though the IIS identity has Full Control permissions on all the necessary directories & files (/data, /config, umbraco.config, etc).

  • Andrew Munro 3 posts 23 karma points
    Oct 28, 2014 @ 16:30
    Andrew Munro
    0

    Was there ever a solution to this scenario other than upgrading the version

Please Sign in or register to post replies

Write your reply to:

Draft