Copied to clipboard

Flag this post as spam?

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


  • Nadine Fisch 159 posts 429 karma points
    Oct 31, 2018 @ 10:18
    Nadine Fisch
    0

    Umbraco - server shut down

    Hi,

    I am facing a big issue with my umbraco website. For example, I can't save properties in my document type and I always get different error messages if I make a azure git deployment. I always have to restart the server. We also recognized a high ram usage on the server.

    The currently server problem was caused by this error message. Can anyone help me please?

     ERROR Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Failed to build models.
    System.Threading.ThreadAbortException: Thread was being aborted.
       at System.Threading.Monitor.ReliableEnter(Object obj, Boolean& lockTaken)
       at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetCompiledAssembly(String virtualPath)
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GetModelsAssembly(Boolean forceRebuild)
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.EnsureModels()
     2018-10-31 10:09:41,235 [P2300/D2/T47] WARN  Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Running without models.
     2018-10-31 10:09:41,248 [P2300/D2/T16] INFO  Jumoo.uSync.BackOffice.Handlers.DataTypeHandler - Save: Saving uSync file for item: Text Page - Slider Item Position - Numeric (7)
     2018-10-31 10:09:41,248 [P2300/D2/T27] INFO  Jumoo.uSync.BackOffice.Handlers.DataTypeHandler - Save: Saving uSync file for item: Text Page - Slider Item Position - Numeric (8)
     2018-10-31 10:09:41,248 [P2300/D2/T45] INFO  Jumoo.uSync.BackOffice.Handlers.DataTypeHandler - Save: Saving uSync file for item: Text Page - Slider Item Position - Numeric (9)
    
  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Oct 31, 2018 @ 13:00
    Alex Skrypnyk
    0

    Hi Nadine

    What Umbraco version are you using?

    It can be that you have a naming collision in one of your document types. Make sure to check if there's any property type alias matching the parent document type alias. Property type aliases may not be equal to their document type aliases.

    Alex

  • Nadine Fisch 159 posts 429 karma points
    Oct 31, 2018 @ 14:04
    Nadine Fisch
    0

    Hi Alex :)

    thank you for reply. I use Umbraco version 7.5.4, because of missing budget I couldn't make any upgrades.

    Do you know how can I check the Property type alias / document type aliases via databases? In which table I could look.

    Thanks for your advice.

    Nadine

  • Nadine Fisch 159 posts 429 karma points
    Oct 31, 2018 @ 14:32
    Nadine Fisch
    1
    SELECT DISTINCT pt.Alias, ct.alias FROM cmsPropertyData pd
    INNER JOIN cmsPropertyType pt ON pt.id = pd.propertytypeid
    INNER JOIN umbracoNode n ON n.id = pd.contentNodeId
    INNER JOIN cmsContentType ct ON ct.alias  = pt.Alias
    

    got it :)

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Nov 01, 2018 @ 11:30
    Alex Skrypnyk
    0

    Nadine, so did you fix the issue?

  • Nadine Fisch 159 posts 429 karma points
    Nov 02, 2018 @ 09:28
    Nadine Fisch
    0

    No :( If I try to add a property to server crashes:

    Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Failed to build models.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Umbraco.ModelsBuilder.Umbraco.Application.GetTypes(PublishedItemType itemType, IContentTypeBase[] contentTypes)
       at Umbraco.ModelsBuilder.Umbraco.Application.GetAllTypes()
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.GetModelsAssembly(Boolean forceRebuild)
       at Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory.EnsureModels()
     2018-11-02 09:23:16,592 [P8696/D10/T166] WARN  Umbraco.ModelsBuilder.Umbraco.PureLiveModelFactory - Running without models.
     2018-11-02 09:23:16,641 [P8696/D10/T166] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
    Umbraco.Web.Mvc.ModelBindingException: Cannot bind source content type Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedContent to model content type Umbraco.Web.PublishedContentModels.Home.
       at Umbraco.Web.Mvc.RenderModelBinder.ThrowModelBindingException(Boolean sourceContent, Boolean modelContent, Type sourceType, Type modelType)
       at Umbraco.Web.Mvc.RenderModelBinder.BindModel(Object source, Type modelType, CultureInfo culture)
       at Umbraco.Web.Mvc.UmbracoViewPage`1.SetViewData(ViewDataDictionary viewData)
       at System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
       at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(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.<BeginExecuteCore>b__1d(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.<BeginExecute>b__15(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.<BeginProcessRequest>b__5(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)
    
  • Nadine Fisch 159 posts 429 karma points
    Nov 05, 2018 @ 08:28
    Nadine Fisch
    1

    I fixed the duplicate alias names, but I think there is still another (big) problem. I have to found the reason. Thanks for your advice.

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Nov 05, 2018 @ 08:39
    Alex Skrypnyk
    0

    You are welcome, Nadine. Can you share with our community what another big problem is?

    So the topic is solved?

  • Nadine Fisch 159 posts 429 karma points
    Nov 05, 2018 @ 09:04
    Nadine Fisch
    0

    The main big problem is that the Index-Rebuilder seems not to work properly, so there are server crashes for different reasons. This topic was one of it, so I can't say it is solved at the moment.

    I think the indexer is a main reason and it seems no to run properly because of this error ( at least I often recognized this error in the log)

    System.Exception: Error indexing queue items,System.ArgumentException: Illegal characters in path.
    

    I've tried to find the illegal character, but with no luck and I've already asked for help here https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/88434-illegal-characters-in-path

    I also regonized after running the index-rebuilder I get lost of some images on the mainpage..the behaviour is very strange and the errors seems to be pile up.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Nov 02, 2018 @ 09:48
    Dave Woestenborghs
    1

    Hey Nadine,

    The error is generated by Modelsbuilder. So it seems like a permissions error to me.

    If you are not using models builder maybe you can set the mode to Nothing to disable modelsbuilder.

    Go in to the web.config and change the following values :

    <add key="Umbraco.ModelsBuilder.Enable" value="false" />
    <add key="Umbraco.ModelsBuilder.ModelsMode" value="Nothing" />
    

    If you are using the models builder generated by models builder make sure the account you are running your application pool under has modify rights on this folder : \App_Data\Models

    Dave

  • Nadine Fisch 159 posts 429 karma points
    Nov 02, 2018 @ 12:57
    Nadine Fisch
    0

    I do not have access to azure to modify the permissions. But I've seen that the datatypes to the properties have been created multiple times (altough the server crashed). I removed all duplicate entries ( server crashed 3 times :( ) and after updating (resave) several datatypes for my document type and I could add the properties.

Please Sign in or register to post replies

Write your reply to:

Draft