Umbraco 6升级后没有内容节点

Umbraco 6升级后没有内容节点,umbraco,Umbraco,三天前我在Umbraco论坛上问过这个问题,但没有一个答案。我有一个网站,其内容我无法再编辑,我知道SO的人是最好的,所以这里是: 我刚刚将一个站点从Umbraco版本4.6.1升级到6.0.0,现在在后端的“内容”选项卡中显示的唯一内容是“内容”节点。整个树都消失了,但该网站实际上仍在运行。只是我无法访问后端的任何内容——媒体、设置、开发人员等。所有选项卡似乎都正常工作 如果我右键单击唯一的可视节点“内容”,我会得到“创建”、“排序”、“重新发布整个站点”和“重新加载节点” Create为我提

三天前我在Umbraco论坛上问过这个问题,但没有一个答案。我有一个网站,其内容我无法再编辑,我知道SO的人是最好的,所以这里是:

我刚刚将一个站点从Umbraco版本4.6.1升级到6.0.0,现在在后端的“内容”选项卡中显示的唯一内容是“内容”节点。整个树都消失了,但该网站实际上仍在运行。只是我无法访问后端的任何内容——媒体、设置、开发人员等。所有选项卡似乎都正常工作

如果我右键单击唯一的可视节点“内容”,我会得到“创建”、“排序”、“重新发布整个站点”和“重新加载节点”

Create为我提供了预期的创建对话框,但我不想尝试创建任何东西,直到我知道出了什么问题

排序引发以下错误:

Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   umbraco.cms.businesslogic.CMSNode..ctor(IUmbracoEntity entity) +32
   umbraco.cms.businesslogic.Content..ctor(IContentBase contentBase) +18
   umbraco.cms.businesslogic.web.Document.<GetRootDocuments>b__1(IContent c) +38
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +151
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +325
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +78
   umbraco.cms.businesslogic.web.Document.GetRootDocuments() +123
   umbraco.cms.presentation.sort.OnPreRender(EventArgs e) +813
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
“/”应用程序中出现服务器错误。 对象引用未设置为对象的实例。 描述:执行当前web请求期间发生未处理的异常。请查看堆栈跟踪以了解有关错误的更多信息以及错误在代码中的起源。 异常详细信息:System.NullReferenceException:对象引用未设置为对象的实例。 源错误: 在执行当前web请求期间生成了未经处理的异常。有关异常的起源和位置的信息可以使用下面的异常堆栈跟踪来识别。 堆栈跟踪: [NullReferenceException:对象引用未设置为对象的实例。] umbraco.cms.businesslogic.CMSNode..ctor(IUmbracoEntity实体)+32 umbraco.cms.businesslogic.Content..ctor(IContentBase contentBase)+18 umbraco.cms.businesslogic.web.Document.b_u 1(IContent c)+38 System.Linq.WhereSelectEnumerableIterator`2.MoveNext()+151 System.Linq.Buffer`1..ctor(IEnumerable`1源)+325 System.Linq.Enumerable.ToArray(IEnumerable`1源)+78 umbraco.cms.businesslogic.web.Document.GetRootDocuments()+123 umbraco.cms.presentation.sort.OnPreRender(EventArgs e)+813 System.Web.UI.Control.PreRenderRecursiveInternal()+103 System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔includeStagesAfterAsyncPoint)+2496 版本信息:Microsoft.NET Framework版本:4.0.30319;ASP.NET版本:4.0.30319.272 重新发布在App_数据文件夹中重新创建umbraco.config文件时不会出错

重新加载节点似乎正在尝试重新加载节点,但最终没有显示任何结果

我使用的是一个MySql数据库,我很乐意用一些sql命令来破解它,以使事情恢复正常,因为我怀疑可能是一些错误的节点ID造成的,但我不知道应该查看哪些表

感谢所有的帮助


PS:Umbraco“About”显示了以下版本信息--“Umbraco v6.0.0(汇编版本:1.0.4779.24222)

我建议,与其在此时排除问题,更像是在洞中追捕兔子,不如复制备份并再次尝试升级。您可能错过了升级过程中的一个步骤。请特别注意和(几乎每个版本特定的注释都适用于您)

如果您在第二次尝试后发现仍然存在问题,我建议您采用更精细的升级路径,例如升级到最高版本4.7,然后升级到最高版本4.11,最后升级到最高版本6.0,再次注意升级说明,并在每次升级后检查站点是否仍然有效


在这两种情况下,请确保在最后运行安装程序,因为这将允许umbraco对数据库进行一些必要的更改

请改进格式。我很抱歉,Kimi,我在Galaxy Note平板电脑上做了这件事,要把所有东西都放进去是一件非常困难的事。当我使用计算机时,我会改进它。格式得到了改进…我希望这看起来更好,并且更容易回答:-)对不起,但我必须问一个问题-升级之前你做了备份吗?是的,我做了网站和MySql数据库的完整备份。