MigrationError during plone upgrading from 4.3.8 to 5.0.3

孤人 提交于 2019-12-25 16:04:53

问题


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:

  1. Disable all add-ons
  2. Add a sitecustomize.py in site-package director:
    import sys
    sys.setdefaultencoding('utf8')
  3. update and re-index all catalog in keti/portal_catalog/manage_main
  4. delete 'checkout_workflow_policy' in keti/portal_properties/site_properties/manage_propertiesForm
  5. 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


回答1:


After deleted the folder cited in MigrationError, I finally upgrade the server to 5.0.4. Then I will perform a testing.



来源:https://stackoverflow.com/questions/36456798/migrationerror-during-plone-upgrading-from-4-3-8-to-5-0-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!