Copied to clipboard

Flag this post as spam?

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


  • Christoffer Frede 34 posts 144 karma points
    Feb 10, 2021 @ 08:10
    Christoffer Frede
    0

    Umbraco 8.6 on azure boot failed exception

    Hi all

    I currently have a handfull of umbraco 8.6.1 websites running on azure, where i have set the recommended settings in appSettings, according to the documentation regarding azure. see the docs. https://our.umbraco.com/documentation/Getting-Started/Setup/Server-Setup/azure-web-apps

    the issue is that sometimes the websites throws the boot failed exception. like yesterday for example all of our umbraco sites were throwing that exception and all of our other sites were running fine. does anyone know of furher configurations or is there any bug fixes on later umbraco versions that have adresses this issue ?

    Best regards Christoffer

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Feb 10, 2021 @ 08:45
    Nik
    0

    Hi Christoffer,

    There are lots of different reasons for a Boot Failed exception, can you share more details about what the actual error was? You should see more details in the individual error logs for each site.

    Thanks

    Nik

  • Christoffer Frede 34 posts 144 karma points
    Mar 08, 2021 @ 09:23
    Christoffer Frede
    0

    Hi Nik i checked the logs and i see errors that relates to Examine and lucene. manily 2 errors,

    System.ObjectDisposedException: The CancellationTokenSource has been disposed.
       at System.Threading.CancellationTokenSource.ThrowObjectDisposedException() 
    

    and

    Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed
       at Lucene.Net.Index.IndexReader.EnsureOpen() in d:\Lucene.Net\FullRepo\trunk\src\core\Index\IndexReader.cs:line 204
    

    do you have any thoughts on this ?

  • Nik 1617 posts 7263 karma points MVP 7x c-trib
    Mar 08, 2021 @ 09:37
    Nik
    0

    Hi Christoffer,

    If you look in your logs, do you see anything about Examine shutting down? Or MainDomLock released? (These will be info entrys not errors)

    The second error you shared makes me think you are suffering from an issue I've been having where the site "half shuts down" causing Examine Manager begin shutting down. Unfortunately there isn't a way for Examine Manager to restart without restarting the entire site.

    Thanks

    Nik

  • Christoffer Frede 34 posts 144 karma points
    Mar 15, 2021 @ 07:44
    Christoffer Frede
    0

    Hi again Nik. Yes there is an exception that gets thrown alot regarding Examine. i will paste it below. is that related to the Examine shut downs you are pointing out ?

    System.ObjectDisposedException: The CancellationTokenSource has been disposed.
       at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
       at Examine.LuceneEngine.Providers.LuceneIndex.SafelyProcessQueueItems(Action`1 onComplete) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneIndex.cs:line 783
       at Examine.LuceneEngine.Providers.LuceneIndex.PerformIndexItems(IEnumerable`1 values, Action`1 onComplete) in C:\projects\examine-qvx04\src\Examine\LuceneEngine\Providers\LuceneIndex.cs:line 302
       at Examine.Providers.BaseIndexProvider.IndexItems(IEnumerable`1 values) in C:\projects\examine-qvx04\src\Examine\Providers\BaseIndexProvider.cs:line 76
       at Umbraco.Forms.Core.Data.RecordIndex.FormsIndexPopulator.<AddOrUpdateInIndex>b__7_0(Record[] records, IIndex index)
       at Umbraco.Forms.Core.Data.RecordIndex.FormsIndexPopulator.HandleMediaItemsInIndex(Record record, Action`2 action)
       at Umbraco.Forms.Core.Data.RecordIndex.FormsIndexPopulator.AddOrUpdateInIndex(Record record)
       at Umbraco.Forms.Core.Components.UmbracoFormsComponent.RecordStorage_RecordInserting(Object sender, RecordEventArgs e)
       at Umbraco.Core.Events.EventDefinition`1.RaiseEvent() in D:\a\1\s\src\Umbraco.Core\Events\EventDefinition.cs:line 46
       at Umbraco.Core.Events.QueuingEventDispatcher.ScopeExitCompleted() in D:\a\1\s\src\Umbraco.Core\Events\QueuingEventDispatcher.cs:line 23
       at Umbraco.Core.Events.QueuingEventDispatcherBase.ScopeExit(Boolean completed) in D:\a\1\s\src\Umbraco.Core\Events\QueuingEventDispatcherBase.cs:line 337
       at Umbraco.Core.Scoping.Scope.<>c__DisplayClass71_0.<RobustExit>b__1() in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 434
       at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions) in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 472
       at Umbraco.Core.Scoping.Scope.TryFinally(Int32 index, Action[] actions) in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 476
       at Umbraco.Core.Scoping.Scope.RobustExit(Boolean completed, Boolean onException) in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 420
       at Umbraco.Core.Scoping.Scope.DisposeLastScope() in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 400
       at Umbraco.Core.Scoping.Scope.Dispose() in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:line 363
       at Umbraco.Forms.Core.Services.RecordService.Submit(Record record, Form form)
       at Umbraco.Forms.Web.Controllers.UmbracoFormsController.SubmitForm(Form form, FormViewModel model, Dictionary`2 state, ControllerContext context)
       at Umbraco.Forms.Web.Controllers.UmbracoFormsController.GoForward(Form form, FormViewModel model, Dictionary`2 state)
       at Umbraco.Forms.Web.Controllers.UmbracoFormsController.HandleForm(FormViewModel model)
       at lambda_method(Closure , ControllerBase , Object[] )
       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)
       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c.<BeginInvokeSynchronousActionMethod>b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass7_0.<BeginInvokeActionMethodWithFilters>b__1(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_6.<BeginInvokeAction>b__4()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__1(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.<>c.<BeginExecute>b__151_2(IAsyncResult asyncResult, Controller controller)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.MvcHandler.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
       at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
  • Christoffer Frede 34 posts 144 karma points
    May 07, 2021 @ 08:08
    Christoffer Frede
    100

    after alot of digging and checking on our azure database setup. i found that all websites with umbraco version 8.6 that frequently had similar errors/website breaks was running on SQL Databases on Elastic pool and the websites with umbraco versions lower than 8.6 was not breaking on elastic pool databases. so the problems was fixed by upgrading the database to MSSQL T1 database, after that the website stopped breaking frequently. Maybe this could be of some help to others with the same problem

Please Sign in or register to post replies

Write your reply to:

Draft