将Plone 3.0迁移到4.1问题

时间:2012-05-03 12:19:44

标签: migration plone

我正在尝试将我们的plone站点从Windows Server 2003迁移到在Windows Server 2008上运行。我在2008服务器上安装了Plone 4.1,然后从Plone 3.0复制了data.fs文件。我还发现我需要将CMFPLONE扩展目录从3.0复制到新版本。一旦我做了该网站出现但没有任何图形。当我尝试登录以查看是否可以更正网站样式时,我收到以下错误:

我们很抱歉,但似乎有错误...... 以下是完整的错误消息:

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFFormController.FSControllerPageTemplate, line 91, in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line 28, in _call
  Module Products.CMFFormController.ControllerBase, line 231, in getNext
  Module Products.CMFFormController.Actions.TraverseTo, line 38, in __call__
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 130, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 29, in logged_in <FSControllerPythonScript at /Plone/logged_in> Line 29
  Module Products.PlonePAS.tools.membership, line 635, in loginUser
  Module Products.PlonePAS.plugins.cookie_handler, line 91, in login
  Module Products.PluggableAuthService.PluggableAuthService, line 1109, in      updateCredentials
  Module plone.session.plugins.session, line 220, in updateCredentials
  Module plone.session.plugins.session, line 136, in _setupSession
  Module plone.session.plugins.session, line 130, in _getSigningSecret
  Module zope.component._api, line 169, in getUtility
ComponentLookupError: (<InterfaceClass plone.keyring.interfaces.IKeyManager>, '') 

有关如何更正错误以及可能导致网站无法正确显示的内容的任何想法?

2 个答案:

答案 0 :(得分:1)

来自:https://dev.plone.org/ticket/8579

  

重新安装“plone.keyring KeyManager Registration”中的所有步骤以修复在Site Setup中工作时的ComponentLookupError:(,'')错误

通常,升级时,需要执行一些升级步骤。登录时出错,在Web界面中运行它们可能会出现问题。所以我同意最好升级到最新的3.X然后升级到4.X

答案 1 :(得分:0)

我刚做了类似的事情,仅从3.1.5.1到4.1.4。首先迁移到3.3.5(最后支持的3x版本),然后再迁移到4x是非常可取的。