Plone升级2.1.3>;3.0.6因目录错误而失败

Plone升级2.1.3>;3.0.6因目录错误而失败,plone,plone-3.x,Plone,Plone 3.x,我正在将一个近乎普通的Plone从2.1.3升级到3.0.6(我知道这是老东西)。portal_迁移成功执行迁移,但在重建目录时报告错误 End of upgrade path, migration has finished Your ZODB and Filesystem Plone instances are now up-to-date. Exception was thrown while cataloging File "/home/applinet/local/intranet/pl

我正在将一个近乎普通的Plone从2.1.3升级到3.0.6(我知道这是老东西)。portal_迁移成功执行迁移,但在重建目录时报告错误

End of upgrade path, migration has finished
Your ZODB and Filesystem Plone instances are now up-to-date.
Exception was thrown while cataloging
File "/home/applinet/local/intranet/plone/intranet/Products/CMFPlone/MigrationTool.py", line 262, in upgrade catalog.refreshCatalog(clear=1)
File "/home/applinet/local/intranet/plone/installation/lib/python/Products/ZCatalog/ZCatalog.py", line 281, in refreshCatalog cat.clear()
File "/home/applinet/local/intranet/plone/installation/lib/python/Products/ZCatalog/Catalog.py", line 108, in clear self.getIndex(index).clear() 
查看站点失败,event.log中出现异常,该异常似乎与目录相关:

2017-09-05T17:33:27 ERROR Zope.SiteErrorLog 

http://stretch.fritz.box:49171/intranet/folder_listing
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 216, in _exec
  Module Products.CMFCore.FSPageTemplate, line 155, in pt_render
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
   - Warning: Macro expansion failed
   - Warning: exceptions.KeyError: 'kss_generic_macros'
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 536, in do_optTag_tal
  Module zope.tal.talinterpreter, line 521, in do_optTag
  Module zope.tal.talinterpreter, line 516, in no_tag
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 891, in do_useMacro
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: file:/home/applinet/local/intranet/plone/intranet/Products/CMFPlone/skins/plone_templates/global_defines.pt
   - Line 8, Column 0
   - Expression: <PathExpr standard:u'plone_view/globalize'>
   - Names:
      {'container': <PloneSite at /intranet>,
       'context': <PloneSite at /intranet>,
       'default': <object object at 0x7ff78a528200>,
       'here': <PloneSite at /intranet>,
       'loop': {},
       'nothing': None,
       'options': {'args': ()},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x7ff76027e758>,
       'request': <HTTPRequest, URL=http://stretch.fritz.box:49171/intranet/folder_listing>,
       'root': <Application at >,
       'template': <FSPageTemplate at /intranet/folder_listing>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 161, in _eval
  Module Products.PageTemplates.Expressions, line 123, in render
  Module Products.CMFPlone.browser.ploneview, line 68, in globalize
  Module Products.CMFPlone.browser.ploneview, line 125, in _initializeData
  Module Products.CMFPlone.browser.navigation, line 182, in topLevelTabs
  Module Products.ZCatalog.Lazy, line 158, in __getitem__
  Module Products.ZCatalog.Catalog, line 127, in __getitem__
KeyError: 403495479

有什么提示或想法可以解释是什么原因造成的吗?

我发现了问题所在。Plone目录工具中的索引列表显示三个处于断开状态的索引,因为未安装产品TextIndexNG3


我安装了TextIndexNG3 3.2.5,解决了这个问题。

很高兴你能解决这个问题!但总的来说,请在我们的论坛community.Plone.org中询问Plone支持问题,在那里很多人更可能看到这些问题。
2017-09-05T18:05:03 ERROR Zope.SiteErrorLog http://stretch.fritz.box:49171/intranet/portal_catalog/manage_catalogReindex
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Products.ZCatalog.ZCatalog, line 260, in manage_catalogReindex
  Module Products.ZCatalog.ZCatalog, line 281, in refreshCatalog
  Module Products.ZCatalog.Catalog, line 108, in clear
AttributeError: clear