I just tried upgrading one of our 6.1.6 installations to 6.2.1, to do this I ran a package update in NuGet.
After the upgrade I started the site and was prompted to login which I was able to do. I was then taken to the install screen accepted the T&Cs and then moved onto the DB install screen which got stuck at 5%.
I followed the advice at http://our.umbraco.org/forum/core/general/50364-Error-Upgrading-Umbraco-612-to-6201-RC of overwriting the install folder with the content of the download zip file and the database upgrade then completes. I was then unable to move to the next screen due to a JS error so I changed the database in the URL to theend to complete the install and could then access the back office.
The back office is fine but when I try to access the site I receive the following error with a YSOD:
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.Routing.PublishedContentRequest.SetInternalRedirectPublishedContent(IPublishedContent content) +125
Umbraco.Web.Routing.PublishedContentRequestEngine.FollowInternalRedirects() +1457
Umbraco.Web.Routing.PublishedContentRequestEngine.HandlePublishedContent() +1177
Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContentAndTemplate() +297
Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +169
Umbraco.Web.Routing.PublishedContentRequest.Prepare() +36
Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +738
Umbraco.Web.UmbracoModule.<Init>b__7(Object sender, EventArgs e) +132
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
When I rerun the site I get taken back to the installation process again. Does anybody have any ideas how to fix this?
When in the back office after the upgrade I republished all content. The properties tab for various top level nodes is showing Oops: this document is published but is not in the cache (internal error).
I tried going from 6.1.6 to 6.2.0 instead but no joy. This is all running on my local machine with a remote SQL server 2008 DB.
You could try right-clicking the "Content" node at the top of the content tree and selecting "Republish Entire Site". If that doesn't work, delete the umbraco.config file in the /App_Data folder and try republishing everything again. That should force the cache to be rebuilt.
The document type is still there in settings and is also present in the umbraco.config file. When I select any of the document types in the back office I get another YSOD:
[NullReferenceException: Object reference not set to an instance of an object.]
umbraco.controls.GenericProperties.GenericProperty.UpdateInterface() +379
umbraco.controls.GenericProperties.GenericProperty.Page_Load(Object sender, EventArgs e) +51
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Control.LoadRecursive() +145
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
I've tried the upgrade again and by re-saving various templates and document types I was able to get different YSODs. I now get:
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' does not contain a definition for 'Partial' and no extension method 'Partial' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' could be found (are you missing a using directive or an assembly reference?)
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' could be found (are you missing a using directive or an assembly reference?)
Unfortunately that suggestion didn't help either. After searching further I think we are getting bitten by http://issues.umbraco.org/issue/U4-4862, some of the document types have hypens in them. I'm going to try and remove the hyphens in the old version of Umbraco and then try the upgrade again to see if that helps.
Upgrading 6.1.6 to 6.2.1 issues
Hi,
I just tried upgrading one of our 6.1.6 installations to 6.2.1, to do this I ran a package update in NuGet.
After the upgrade I started the site and was prompted to login which I was able to do. I was then taken to the install screen accepted the T&Cs and then moved onto the DB install screen which got stuck at 5%.
I followed the advice at http://our.umbraco.org/forum/core/general/50364-Error-Upgrading-Umbraco-612-to-6201-RC of overwriting the install folder with the content of the download zip file and the database upgrade then completes. I was then unable to move to the next screen due to a JS error so I changed the database in the URL to theend to complete the install and could then access the back office.
The back office is fine but when I try to access the site I receive the following error with a YSOD:
When I rerun the site I get taken back to the installation process again. Does anybody have any ideas how to fix this?
When in the back office after the upgrade I republished all content. The properties tab for various top level nodes is showing Oops: this document is published but is not in the cache (internal error).
I tried going from 6.1.6 to 6.2.0 instead but no joy. This is all running on my local machine with a remote SQL server 2008 DB.
Hi Richard,
You could try right-clicking the "Content" node at the top of the content tree and selecting "Republish Entire Site". If that doesn't work, delete the umbraco.config file in the /App_Data folder and try republishing everything again. That should force the cache to be rebuilt.
- Rob.
Hi Rob,
I've tried your suggestions but unfortunately a YSOD with the front end and viewing a node in the back office:
ok, the next thing to check is that you still have a content type with alias LandingPageHomePage - is it still in the Document Types tree in Settings?
The document type is still there in settings and is also present in the umbraco.config file. When I select any of the document types in the back office I get another YSOD:
I've tried the upgrade again and by re-saving various templates and document types I was able to get different YSODs. I now get:
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' does not contain a definition for 'Partial' and no extension method 'Partial' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' could be found (are you missing a using directive or an assembly reference?)
Compiler Error Message: CS1061: 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' does not contain a definition for 'Action' and no extension method 'Action' accepting a first argument of type 'System.Web.Mvc.HtmlHelper<Umbraco.Web.Models.RenderModel>' could be found (are you missing a using directive or an assembly reference?)
Getting the same errors as Richard, any solutions to this?
Copy the Umbraco and UmbracoClient folders manually. Nuget doesn't copy the files correctly.
Thanks for the suggestion. I will give this a try and provide an update.
Unfortunately that suggestion didn't help either. After searching further I think we are getting bitten by http://issues.umbraco.org/issue/U4-4862, some of the document types have hypens in them. I'm going to try and remove the hyphens in the old version of Umbraco and then try the upgrade again to see if that helps.
is working on a reply...