Copied to clipboard

Flag this post as spam?

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


  • Mike Poole 53 posts 165 karma points
    May 11, 2016 @ 13:49
    Mike Poole
    0

    Restarting IIS publishes old content

    We are experiencing an issue whereby upon the restart of IIS, our Umbraco site is reverting to old content/branding. The log reads that umbraco.content is loading XML from file

    Only 1 of the 7 sites in IIS is affected by this behaviour. We are running the full version of MS-SQL Server (not SQL CE)

    Where is Umbraco getting this content from and how can we prevent it happening when IIS restarts (a nightly task). Is there an Umbraco setting that is only present on this specific database/config?

    The logs read:

    2016-05-11 12:50:37,715 [35] INFO  Umbraco.Core.CoreBootManager - [T29/D5] Umbraco application starting
    2016-05-11 12:50:37,762 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Determining hash of code files on disk
    2016-05-11 12:50:37,793 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Hash determined (took 18ms)
    2016-05-11 12:50:37,793 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
    2016-05-11 12:50:37,809 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 38 (took 10ms)
    2016-05-11 12:50:37,949 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
    2016-05-11 12:50:37,949 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 0 (took 0ms)
    2016-05-11 12:50:37,949 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
    2016-05-11 12:50:37,949 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 16 (took 1ms)
    2016-05-11 12:50:37,965 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
    2016-05-11 12:50:37,965 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 14 (took 1ms)
    2016-05-11 12:50:37,965 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
    2016-05-11 12:50:37,980 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 61 (took 10ms)
    2016-05-11 12:50:38,043 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
    2016-05-11 12:50:38,043 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 0ms)
    2016-05-11 12:50:38,043 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
    2016-05-11 12:50:38,059 [35] INFO  Umbraco.Core.PluginManager - [T29/D5] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 6ms)
    2016-05-11 12:50:39,809 [35] INFO  Umbraco.Web.Search.ExamineEvents - [T29/D5] Initializing Examine and binding to business logic events
    2016-05-11 12:50:39,996 [35] INFO  Umbraco.Web.Search.ExamineEvents - [T29/D5] Adding examine event handlers for index providers: 3
    2016-05-11 12:50:39,996 [35] INFO  Umbraco.Core.CoreBootManager - [T29/D5] Umbraco application startup complete (took 2282ms)
    2016-05-11 12:50:41,293 [35] INFO  Umbraco.Web.UmbracoModule - [T34/D5] Setting OriginalRequestUrl: xxx.xxx.com/umbraco
    2016-05-11 12:50:41,465 [35] INFO  umbraco.content - [T34/D5] Load Xml from file...
    2016-05-11 12:50:41,465 [35] INFO  umbraco.content - [T34/D5] Loaded Xml from file.
    

    Many thanks

    Mike

  • John Churchley 272 posts 1258 karma points c-trib
    May 11, 2016 @ 14:43
    John Churchley
    0

    What version of umbraco are you using?

    Have you tried deleting AppData\TEMP folder and deleting the AppData\umbraco.config file?

    You could also clear the contentXML table then refresh the app pool.

  • Mike Poole 53 posts 165 karma points
    May 11, 2016 @ 16:19
    Mike Poole
    0

    John

    We are running version 7.2.6

    All the other sites within the same IIS have the AppData\TEMP folder (and obviously the AppData\umbraco.config file)

    Looking at the cmsContentXml table, the node ids all look OK.

    Can I ask what the app pool refresh would do - and if I clear the cmsContentXml table, do I need to republish the entire site first?

    Mike

  • John Churchley 272 posts 1258 karma points c-trib
    May 11, 2016 @ 16:53
    John Churchley
    1

    The app pool recycle will cause the Temp/cmsContentXmL table/umbraco.config file to rebuild.

    Try just deleting the TEMP and umbraco.config file followed by an app pool recycle first.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    May 11, 2016 @ 19:42
    Jan Skovgaard
    0

    Hi Mike

    I'm wondering whether you perhaps have some agressive caching setup, which could be the cause of this somehow? Just a random though that might be worth exploring maybe? :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft