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
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
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.
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).
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:
Actions:
Update: I've resorted to repeating the same action repeatedly and keep hoping for different results...
Other actions:
References:
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.
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é
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).
Was there ever a solution to this scenario other than upgrading the version
is working on a reply...