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
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...
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\
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
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.
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
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.
The issue is still unresolved. Any help is appreciated
Thanks, Tom
Hi Tom,
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...
Hi Tom
Has the site needed permissions for the folders?
/Alex
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...
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.
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.
Any help is appreciated.
Thanks, Tom
What's in the ExamineEventHandler.cs?
Here's content of ove101.logic\umbracoevents\examineeventhandler.cs
is working on a reply...