Copied to clipboard

Flag this post as spam?

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


  • Tom 18 posts 89 karma points
    Feb 08, 2018 @ 03:46
    Tom
    0

    Umbraco upgrade : Site just showing up "The website is restarting" message

    I upgraded Umbraco from v.6.1.6 to v.6.2.0. Republished all content. Deleted files/folder from TEMP folder.

    Now, Umbraco is working fine, but wen I go tot the actual website, its just showing up "The website is restarting" message. I waited long time but no luck.

    I checked the log and see a warning saying "Umbraco is not ready".

    Any help on this issue is appreciated.

    
    2018-02-08 14:37:56,299 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 10] Umbraco is not ready
    2018-02-08 14:37:56,366 [34] INFO  umbraco.content - [Thread 18] Loading content from disk cache...
    2018-02-08 14:38:18,206 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 11] Umbraco is not ready
    2018-02-08 14:38:18,694 [34] INFO  Umbraco.Core.PluginManager - [Thread 15] Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
    2018-02-08 14:38:18,725 [34] INFO  Umbraco.Core.PluginManager - [Thread 15] Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 20 (took 31ms)
    2018-02-08 14:38:39,201 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 19] Umbraco is not ready
    2018-02-08 14:39:00,204 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 11] Umbraco is not ready
    2018-02-08 14:39:21,205 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 11] Umbraco is not ready
    2018-02-08 14:39:42,319 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 18] Umbraco is not ready
    2018-02-08 14:40:03,202 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 18] Umbraco is not ready
    2018-02-08 14:40:26,231 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 11] Umbraco is not ready
    2018-02-08 14:40:47,240 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 11] Umbraco is not ready
    2018-02-08 14:41:08,296 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 35] Umbraco is not ready
    2018-02-08 14:41:29,198 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 33] Umbraco is not ready
    2018-02-08 14:41:50,220 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 29] Umbraco is not ready
    2018-02-08 14:42:11,216 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 33] Umbraco is not ready
    2018-02-08 14:42:32,213 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 29] Umbraco is not ready
    2018-02-08 14:42:53,213 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 18] Umbraco is not ready
    2018-02-08 14:43:14,207 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 37] Umbraco is not ready
    2018-02-08 14:43:35,203 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 32] Umbraco is not ready
    2018-02-08 14:43:57,302 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 18] Umbraco is not ready
    2018-02-08 14:44:18,206 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 35] Umbraco is not ready
    2018-02-08 14:44:39,208 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 37] Umbraco is not ready
    2018-02-08 14:45:00,204 [34] WARN  Umbraco.Web.UmbracoModule - [Thread 35] Umbraco is not ready
    
  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Feb 10, 2018 @ 23:16
    Alex Skrypnyk
    1

    Hi Tom

    Is the connection string to the database is fine?

    What about Examine indexes? Are they updated? Try to remove /app_data/TEMP folder, it should be recreated

    /Alex

  • Tom 18 posts 89 karma points
    Feb 11, 2018 @ 22:23
    Tom
    1

    Thanks Alex for your message.

    Connection string is fine and Umbraco back end section ({host}/Umbraco) works fine.

    I rebuilt all Examine Indexes. And even tried to delete the TEMP folder. It has been recreated automatically.

    The website page s still showing "The website is restarting message" and the log file is adding the line "Umbraco is not ready" repeatedly.

    2018-02-12 08:54:53,638 [7] WARN  Umbraco.Web.UmbracoModule - [Thread 10] Umbraco is not ready
    
  • Tom 18 posts 89 karma points
    Feb 19, 2018 @ 00:42
    Tom
    0

    The issue is still unresolved. Any help is appreciated

    Thanks, Tom

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Feb 19, 2018 @ 09:59
    Simon Dingley
    1

    Hi Tom,

    1. Have you tried logging in and publishing your root node?
    2. Can you preview pages from Umbraco?
  • Tom 18 posts 89 karma points
    Feb 19, 2018 @ 22:18
    Tom
    0

    Thanks Simon for your message.

    1.# - Yes, I tried publishing root node using right click and the dialog republish url

    2.# - Preview page is not working. It shows the same error

    It seems like there's an issue with ApplicationContext.Current.IsReady.

    It is returning false when I checked...

  • Alex Skrypnyk 6175 posts 24186 karma points MVP 8x admin c-trib
    Feb 20, 2018 @ 09:51
    Alex Skrypnyk
    0

    Hi Tom

    Has the site needed permissions for the folders?

    /Alex

  • Tom 18 posts 89 karma points
    Feb 21, 2018 @ 22:08
    Tom
    0

    Thanks Alex, I tried granting full permissions even to "Everyone" and the front end stays the same. I noticed it happening when I copy my project dlls but breakpoint debugging doesn't hit anywhere.. Really no clue...

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Feb 22, 2018 @ 11:10
    Simon Dingley
    0

    So without your custom project dll's the site starts ok? Sometimes (but not often) you might find some additional detail in your event log.

  • Tom 18 posts 89 karma points
    Feb 23, 2018 @ 02:46
    Tom
    0

    Thanks Simon for your message. When installing a fresh install, this issues start to happen when i copy my custom dlls. One issue I could find was ambiguity between one of my project classes "MembershipHelper" with the new "Umbraco.Web.Security.MembershipHelper". I resolved all instances of this issue by providing absolute references.

    But the issue still persists.

    Posting contents of log file.

    
    2018-02-23 13:41:52,487 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Determining hash of code files on disk
    2018-02-23 13:41:52,525 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Hash determined (took 30ms)
    2018-02-23 13:41:52,537 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
    2018-02-23 13:41:52,564 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 25 (took 24ms)
    2018-02-23 13:41:52,592 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
    2018-02-23 13:41:52,594 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 11 (took 2ms)
    2018-02-23 13:41:52,594 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyValueConverter
    2018-02-23 13:41:52,596 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyValueConverter, found 12 (took 1ms)
    2018-02-23 13:41:52,611 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
    2018-02-23 13:41:52,612 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 12 (took 1ms)
    2018-02-23 13:41:52,612 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
    2018-02-23 13:41:52,612 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 3 (took 0ms)
    2018-02-23 13:41:52,614 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
    2018-02-23 13:41:52,614 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 0ms)
    2018-02-23 13:41:52,614 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
    2018-02-23 13:41:52,615 [14] INFO  Umbraco.Core.PluginManager - [Thread 17] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 0ms)
    2018-02-23 13:41:52,799 [14] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 17] An unhandled exception occurred
    System.InvalidOperationException: Sequence contains no elements
       at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
       at OVE101.Logic.UmbracoEvents.ExamineEventHandler.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) in C:\Users\
    

    Any help is appreciated.

    Thanks, Tom

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Feb 26, 2018 @ 11:10
    Frans de Jong
    0

    What's in the ExamineEventHandler.cs?

  • Tom 18 posts 89 karma points
    Feb 26, 2018 @ 22:26
    Tom
    0

    Here's content of ove101.logic\umbracoevents\examineeventhandler.cs

    
    using System;
    using System.Linq;
    using System.Web.Caching;
    using System.Web.Mvc;
    using Umbraco.Core;
    using System.Web.WebPages;
    using umbraco.BusinessLogic;
    using Examine;
    using Examine.Providers;
    using OVE101.Logic.SearchIndex;
    
    namespace OVE101.Logic.UmbracoEvents
    {
        public class ExamineEventHandler : IApplicationEventHandler
        {
            public void OnApplicationInitialized(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
            {
            }
    
            public void OnApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
            {
            }
    
            public void OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
            {
    
                if (System.Web.HttpContext.Current == null)
                    return;
    
                AreaRegistration.RegisterAllAreas();
    
                // Disable view caching - http://aspnetwebstack.codeplex.com/workitem/280
                ViewEngines.Engines.OfType
Please Sign in or register to post replies

Write your reply to:

Draft