I've been trying to update umbraco from v. 7.1.3 to v. 7.5.11.
Several issues has occured. I will try to give you the full story.
Background of the project
This is an older project starting in umbraco 4. it has then been updated to umbraco 6 and lastly umbraco 7.1.3. It still uses the good ol' masterpages.
It has a bunch of different domains "attached" to it for all the different regions the company is active in. Sort of like this:
region1.se
region2.se
region3.se
and these different domains have different home nodes in umbraco and relies upon url providers and content finderns to pull this off.
The upgrade
I'm doing the update locally on IIS 10, the database is hosted on Azure.
The first thing i tried was to update straight to 7.5.11 via nuget and then update the database, i got an error about a document type property having the same alias as an inherited document type property, so i changed the name of it using the umbraco backend and then the error disappeared and the installation was successful.
However, when i visited the page i got this error:
The Xml cache is corrupt. Use the Health Check data integrity dashboard to fix it.
I went to the health check tab and got this info:
Content - Total XML: 3954, Total published: 3926, Total invalid: 1951
Media - Total XML: 945, Total: 940, Total invalid: 945
(Note. Number of nodes that used the invalid property alias mentioned above is 1369)
I tried to click the fix button, then this error appeared:
Failed to execute action with alias checkContentXmlTable and healthCheckId + d999eb2b-64c2-400f-b50c-334d41f8589a
I also get errors when i try to publish nodes. This appears:
System.NullReferenceException: Object reference not set to an instance of an object.
Stack trace (In Swedish, but i think you get the point)
vid umbraco.cms.businesslogic.web.Document.ToXml(XmlDocument xd, Boolean Deep)
vid umbraco.content.PublishNodeDo(Document d, XmlDocument xmlContentCopy, Boolean updateSitemapProvider)
vid umbraco.content.UpdateDocumentCache(Document d)
vid Umbraco.Web.Cache.PageCacheRefresher.Refresh(IContent instance)
vid Umbraco.Core.Sync.ServerMessengerBase.DeliverLocal[T](ICacheRefresher refresher, MessageType messageType, Func`2 getId, IEnumerable`1 instances)
vid Umbraco.Core.Sync.ServerMessengerBase.Deliver[T](IEnumerable`1 servers, ICacheRefresher refresher, MessageType messageType, Func`2 getId, IEnumerable`1 instances)
vid Umbraco.Web.Cache.DistributedCache.Refresh[T](Guid factoryGuid, Func`2 getNumericId, T[] instances)
vid Umbraco.Web.Cache.DistributedCacheExtensions.RefreshPageCache(DistributedCache dc, IContent[] content)
vid Umbraco.Web.Cache.CacheRefresherEventHandler.PublishingStrategy_Published(IPublishingStrategy sender, PublishEventArgs`1 e)
vid Umbraco.Core.Events.TypedEventHandler`2.Invoke(TSender sender, TEventArgs e)
vid Umbraco.Core.Events.EventExtensions.RaiseEvent[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSender sender)
vid Umbraco.Core.Services.ContentService.SaveAndPublishDo(IContent content, Int32 userId, Boolean raiseEvents)
vid Umbraco.Core.Services.ContentService.Umbraco.Core.Services.IContentServiceOperations.SaveAndPublish(IContent content, Int32 userId, Boolean raiseEvents)
vid Umbraco.Core.Services.ContentService.SaveAndPublishWithStatus(IContent content, Int32 userId, Boolean raiseEvents)
vid Umbraco.Web.Editors.ContentController.PostSave(ContentItemSave contentItem)
vid lambda_method(Closure , Object , Object[] )
vid System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
vid System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
--- Slut på stackspårningen från föregående plats där ett undantag utlöstes ---
vid System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
vid System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
vid System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
I thought that the database might have gotten corrupted during the upgrade, so i redid everything from start but got the same results.
After that i tried to go in steps, and updated first to 7.4.1 and then 7.5.11 and it worked! For a while.. Then suddenly the same problem came back again.
I've done the whole process several times, i've also tried to create a new project from scratch and done the upgrade, but the same thing happens.
What I've tried
removed the App_Data/TEMP/* and umbraco.config. the TEMP is rebuilt when i try to load the page, but umbraco.config is never recreated.
Cleared the cache using /umbraco/dialogs/republish.aspx?xml=true
Removed all business logic and custom settings in web.config
I came across this thread which seemed similar. Both the error and the problems with a documenttype property being invalid. I cant however find any more issues with properties. I've checked the DB and the property I renamed seems to have changed correctly in all the xml fields in cmsContentXml
The most peculiar thing with all this (I think atleast) is that it has been working, then all of a sudden, it stops. I can't seem to find a pattern or a specific action that might have caused it.
ANY input or ideas are very welcome! I've been on this for a week now and i cant figure it out :/
Update from 7.1.3 to 7.5.11 issues.
Hi,
I've been trying to update umbraco from v. 7.1.3 to v. 7.5.11.
Several issues has occured. I will try to give you the full story.
Background of the project
This is an older project starting in umbraco 4. it has then been updated to umbraco 6 and lastly umbraco 7.1.3. It still uses the good ol' masterpages.
It has a bunch of different domains "attached" to it for all the different regions the company is active in. Sort of like this:
and these different domains have different home nodes in umbraco and relies upon url providers and content finderns to pull this off.
The upgrade
I'm doing the update locally on IIS 10, the database is hosted on Azure.
The first thing i tried was to update straight to 7.5.11 via nuget and then update the database, i got an error about a document type property having the same alias as an inherited document type property, so i changed the name of it using the umbraco backend and then the error disappeared and the installation was successful.
However, when i visited the page i got this error:
The Xml cache is corrupt. Use the Health Check data integrity dashboard to fix it.
I went to the health check tab and got this info:
Content - Total XML: 3954, Total published: 3926, Total invalid: 1951
Media - Total XML: 945, Total: 940, Total invalid: 945
(Note. Number of nodes that used the invalid property alias mentioned above is 1369)
I tried to click the fix button, then this error appeared:
Failed to execute action with alias checkContentXmlTable and healthCheckId + d999eb2b-64c2-400f-b50c-334d41f8589a
I also get errors when i try to publish nodes. This appears:
System.NullReferenceException: Object reference not set to an instance of an object.
Stack trace (In Swedish, but i think you get the point)
I thought that the database might have gotten corrupted during the upgrade, so i redid everything from start but got the same results.
After that i tried to go in steps, and updated first to 7.4.1 and then 7.5.11 and it worked! For a while.. Then suddenly the same problem came back again.
I've done the whole process several times, i've also tried to create a new project from scratch and done the upgrade, but the same thing happens.
What I've tried
removed the App_Data/TEMP/* and umbraco.config. the TEMP is rebuilt when i try to load the page, but umbraco.config is never recreated.
Cleared the cache using /umbraco/dialogs/republish.aspx?xml=true
Removed all business logic and custom settings in web.config
I came across this thread which seemed similar. Both the error and the problems with a documenttype property being invalid. I cant however find any more issues with properties. I've checked the DB and the property I renamed seems to have changed correctly in all the xml fields in cmsContentXml
The most peculiar thing with all this (I think atleast) is that it has been working, then all of a sudden, it stops. I can't seem to find a pattern or a specific action that might have caused it.
ANY input or ideas are very welcome! I've been on this for a week now and i cant figure it out :/
Thanks,
Isak
Finally found it!
Somehow a user had been removed, and that user was referenced as writer and creator on a bunch of nodes.
Hi,
I am receiving a similar issue to this, do you recall how you came to the conclusion it was a user that had been removed?
Many thanks
Rich
is working on a reply...