将sitecore从8.1升级到8.2后出现错误

本文关键字:错误 sitecore 1升 | 更新日期: 2023-09-27 18:16:59

升级情景中心后,日志根据以下抛出一些异常

16644 17:36:50信息[Sitecore Mvc]:注册区域:AppCenterManagedPool线程#14 17:36:50已创建信息缓存:"ItemCloningRelations"(最大大小:50MB,运行总数:3237MB(879617:36:50错误[Index=sitecore_marketing_definitions_web,Crawler=SitecoreItemCrawler,Database=web]根项无法为发现:{09CF9489-8F71-4A16-B707-4F013D8CDEFB}。ManagedPool线程#1417:36:51错误异常异常:System.Reflection.TargetInvocationException消息:异常具有被调用的目标抛出。来源:mscorlibSystem.RuntimeMethodHandle.IInvokeMethod(对象目标,对象[]arguments,Signature sig,布尔构造函数(System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(对象obj,Object[]参数,Object[]参数(System.Reflection.RuntimeMethodInfo.IInvoke(Object obj,BindingFlagsinvokeAttr、Binder绑定器、Object[]参数、CultureInfo区域性(
位于Sitecore.Reflection.ReflectionUtil.InvokeMethod(MethodInfo方法,Object[]参数,Object obj(位于(Object,对象[](位于Sitecore.Priness.CorePipeline.Run(PipelineArgsargs(,位于Sitecore.Pelines.DefaultCorePipelineManager.Run(字符串pipelineName、PipelineArgs args、String pipelineDomain(Sitecore.Jobs.Job.ThreadEntry(对象状态(

嵌套异常

异常:System.AggregateException消息:一个或多个错误发生。来源:mscorlibSystem.Threading.Tasks.Task.SthrowIfExceptional(布尔includeTaskCanceledExceptions(System.Threading.Tasks.Task.Wait(Int32毫秒超时,CancellationToken取消令牌(System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32.fromInclusive,Int32 to Exclusive,ParallelOptions ParallelOptions,Action 1 body, Action 2 bodyWithState,Func 4 bodyWithLocal, Func 1 localInit,行动1 localFinally) at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable 1source,ParallelOptions ParallelOptions,Action 1 body, Action 2bodyWithState,动作3 bodyWithStateAndIndex, Func 4bodyWithStateAndLocal,函数5 bodyWithEverything, Func 1 localInit,动作CCD_ 7 1来源,ParallelOptions ParallelOptions,操作2 body) at Sitecore.ContentSearch.AbstractSearchIndex.PerformUpdate(IEnumerable 1indexableInfo,IndexingOptions IndexingOptions(

嵌套异常

异常:System.InvalidOperationException消息:[Index=sitecore_marketing_definitions_web,Crawler=SitecoreItemCrawler,数据库=web]找不到根项目:{09CF9489-8F71-4A16-B707-4F013D8CDEFB}。来源:Sitecore.ContentSearch位于的Sitecore.ContentSearch.SitecoreItemCrawler.get_RootItem((Sitecore.ContentSearch.SitecoreItemCrawler.IsAncestorOf(项目项(
在Sitecore.ContentSearch.SitecoreItemCrawler.IsExcludedFromIndex(IIndexableUniqueIdindexableUniqueId,IndexEntryOperationContext operationContext,布尔checkLocation(Sitecore.ContentSearch.SitecoreItemCrawler.Update(IProviderUpdateContext上下文,IIndexableUniqueId indexableUniqueId,IndexEntryOperationContext operationContext,IndexingOptionsindexingOptions(Sitecore.ContentSearch.AbstractSearchIndex。<>c_DisplayClass16.b_10(可索引信息info,ParallelLoopStateparallelLoopState(系统。线程。任务。并行。<>c_DisplayClass17_0`1.b_1((位于System.Threading.Tasks.Task.InerInvokeWithArg(任务子任务(
在System.Threading.Tasks.Task。<>c__DisplayClass176_0.b_0(对象)

将sitecore从8.1升级到8.2后出现错误

检查您的索引"sitecore_marketingdefinitions_web"的配置。如果您的索引根项"{09CF9489-8F71-4A16-B707-4F013D8CDEFB}"似乎不存在于web数据库中,则sitecore发布可以解决此问题。