从4.3.8升级到5.0.3的过程中出现MigrationError [英] MigrationError during plone upgrading from 4.3.8 to 5.0.3
问题描述
操作系统:debian 8.3
我从4.3.8升级到5.0.3.我陷入了向敏捷迁移的错误.
我在4.3.8升级之前所做的过程:
- 禁用所有加载项
- 在站点包导演中添加一个sitecustomize.py:
导入系统
sys.setdefaultencoding('utf8') - 更新并重新索引keti/portal_catalog/manage_main中的所有目录
- 在keti/portal_properties/site_properties/manage_propertiesForm中删除"checkout_workflow_policy"
- 删除/keti/reference_catalog/manage_catalogView中的所有对象
升级过程:
1.Plone 5.0.3的全新安装
2.从现有服务器(克隆4.3.8)中复制数据库,并将大对象存储复制到Plone 5.0.3服务器中.
3.运行升级
在此期间,除了2个无效的导入处理程序外,其他所有内容看起来都很不错( http://pastie.org/10787693 中的报告):
**步骤collection.z3cform.datetimewidget具有无效的导入处理程序
** Step languagetool的导入处理程序无效
4.在升级页面上,单击升级现有内容以使用敏捷"(@@ pac_installer).然后,我可以访问实例.
5.单击以安装灵活性.它起作用,除了页面顶部的消息:
呈现plone.resourceregistries.scripts时出现错误呈现plone.resourceregistries.styles时出现错误
6.在迁移控制面板"页面中,已选择BlobFile,文档和文件夹进行迁移.
漫长的等待之后,错误弹出( http://pastie.org/10787685 ) >
Event.log: http://pastie.org/10792956 >
最新进度:
好消息:我在/@@ language-controlpanel中单击显示特定于国家/地区的语言变体",然后在语言列表中选择简体中文".这样就解决了ConstraintNotSatisfied问题.现在,我回到第一个问题:/keti/switch/shbpsh/2010/2010ybps上obj的MigrationError:服务器中没有内容规则,并且已在全局禁用.)
在4.3.8中激活的附加组件:Diazo主题支持,敏捷内容类型,collection.z3cform.datetimewidget,静态资源存储
有什么建议吗?
最好的问候.
雨果
在删除MigrationError中引用的文件夹之后,我最终将服务器升级到5.0.4.然后,我将进行测试.
OS: debian 8.3
I upgraded partially from 4.3.8 to 5.0.3. I get stuck in migration error to Dexterity.
The process I did before upgrade in 4.3.8:
- Disable all add-ons
- Add a sitecustomize.py in site-package director:
import sys
sys.setdefaultencoding('utf8') - update and re-index all catalog in keti/portal_catalog/manage_main
- delete 'checkout_workflow_policy' in keti/portal_properties/site_properties/manage_propertiesForm
- delete all objects in /keti/reference_catalog/manage_catalogView
The process of upgrading:
1.Clean Install of Plone 5.0.3
2.Copy database from existing server (plone 4.3.8), along with blobstorage to the Plone 5.0.3 server.
3.Run upgrade
During this, all look good(report in http://pastie.org/10787693) except 2 invalid import handlers:
**Step collective.z3cform.datetimewidget has an invalid import handler
**Step languagetool has an invalid import handler
4. On the upgrade page Click "Upgrade your existing content to use Dexterity"(@@pac_installer). Then I can visit the instance.
5. Click to Install dexterity. It works except a message on the topline of the page:
error while rendering plone.resourceregistries.scripts error while rendering plone.resourceregistries.styles
6. In Migration control panel page, BlobFile, Document and Folder were selected to migrate.
After a long waiting, errors pop up (http://pastie.org/10787685)
Event.log: http://pastie.org/10792956
Newest Progress:
Good news: I click on " Show country-specific language variants " in /@@language-controlpanel, then select "simplified chinese" in the language list. So the problem of ConstraintNotSatisfied is resolved. Now I go back to the first problem: MigrationError: MigrationError for obj at /keti/switch/shbpsh/2010/2010ybps There is no content rules in the server and I disabled globally.)
Add-ons activated in 4.3.8: Diazo theme support, Dexterity Content Types, collective.z3cform.datetimewidget, Static resource storage
Any suggestion?
Best Regards.
Hugo
After deleted the folder cited in MigrationError, I finally upgrade the server to 5.0.4. Then I will perform a testing.
这篇关于从4.3.8升级到5.0.3的过程中出现MigrationError的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!