【发布时间】:2015-10-10 01:36:18
【问题描述】:
我正在尝试将现有站点从 Plone 3.3.6 升级到 Plone 4.3.7,然后再升级到 Plone 5.0。
现有网站非常小,没有安装附加产品(原版 Plone、原版模板等)。它确实安装了 CacheFu,但在一些较早的明显错误之后,我在升级之前删除了它。我只是将 var/filestorage(Data.fs 等)的内容从 v3 站点复制到 v4 站点并重新运行构建。
在 Plone 4.3.7 中,运行 UPGRADE 选项时,我看到很多成功的活动,然后在底部出现以下错误:
Upgrade aborted. Error:
Traceback (most recent call last):
File "/usr/local/Plone4_migration/buildout-cache/eggs/Products.CMFPlone-4.3.7-py2.7.egg/Products/CMFPlone/MigrationTool.py", line 259, in upgrade
step['step'].doStep(setup)
File "/usr/local/Plone4_migration/buildout-cache/eggs/Products.GenericSetup-1.7.7-py2.7.egg/Products/GenericSetup/upgrade.py", line 160, in doStep
self.handler(tool)
File "/usr/local/Plone4_migration/buildout-cache/eggs/plone.app.upgrade-1.3.18-py2.7.egg/plone/app/upgrade/v40/betas.py", line 99, in beta3_beta4
value.remove('Large Plone Folder')
AttributeError: 'tuple' object has no attribute 'remove'
如果我跳过 Plone 4.x 并直接跳转到 Plone 5.0,我什至无法运行 UPGRADE 功能,只会在控制台上获得以下错误跟踪:
2015-10-09 01:14:21 ERROR Zope.SiteErrorLog 1444371261.060.792132208718 http://www.example.com/example
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.BaseRequest, line 444, in traverse
Module ZPublisher.BeforeTraverse, line 97, in __call__
Module Products.CMFCore.PortalObject, line 75, in __before_publishing_traverse__
Module zope.event, line 31, in notify
Module zope.component.event, line 24, in dispatch
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module zope.component.event, line 32, in objectEventNotify
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module plone.app.theming.plugins.hooks, line 33, in onRequest
Module plone.app.theming.policy, line 90, in isThemeEnabled
AttributeError: 'NoneType' object has no attribute 'enabled'
【问题讨论】:
-
先尝试升级到 Plone 4
-
我尝试升级到 4.3.7,并且能够在升级工具失败之前开始运行升级工具。对上面更新的错误描述有什么建议吗?)
标签: plone