System: Debian 9.4
From plone 4.3.17 to plone 5.1.1 ( Plone 5.0.8 installation failed. There will be another post.)
After a success migration to plone 5.1.1, it stuck in the step of "Upgrade your existing content to use Dexterity".
I checked all the folders and files and can not find any issue to tell.
Here is the error output:
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module z3c.form.form, line 233, in __call__
Module z3c.form.form, line 228, in update
Module plone.app.z3cform.csrf, line 22, in execute
Module z3c.form.action, line 98, in execute
Module z3c.form.button, line 315, in __call__
Module z3c.form.button, line 170, in __call__
Module plone.app.contenttypes.migration.browser, line 353, in handle_migrate
Module plone.app.contenttypes.migration.browser, line 188, in __call__
Module plone.app.contenttypes.migration.migration, line 352, in migrate_folders
Module plone.app.contenttypes.migration.migration, line 52, in migrate
Module Products.contentmigration.basemigrator.walker, line 146, in go
Module Products.contentmigration.basemigrator.walker, line 225, in migrate
MigrationError: MigrationError for obj at /keti/switch/shbpsh/2010/2010ybsb (Folder -> Folder):
Traceback (most recent call last):
File "/opt/plone5/buildout-cache/eggs/Products.contentmigration-2.1.19-py2.7.egg/Products/contentmigration/basemigrator/walker.py", line 194, in migrate
migrator.migrate()
File "/opt/plone5/buildout-cache/eggs/Products.contentmigration-2.1.19-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 220, in migrate
method()
File "/opt/plone5/buildout-cache/eggs/plone.app.contenttypes-1.4.9-py2.7.egg/plone/app/contenttypes/migration/migration.py", line 183, in migrate_contentrules
copy_contentrules(self.old, self.new)
File "/opt/plone5/buildout-cache/eggs/plone.app.contenttypes-1.4.9-py2.7.egg/plone/app/contenttypes/migration/utils.py", line 181, in copy_contentrules
assign_rule(target_object, rule_id)
File "/opt/plone5/buildout-cache/eggs/plone.app.contentrules-4.0.18-py2.7.egg/plone/app/contentrules/api.py", line 36, in assign_rule
insert_assignment(storage[rule_id], path)
File "/opt/plone5/buildout-cache/eggs/zope.container-3.11.2-py2.7-linux-x86_64.egg/zope/container/ordered.py", line 89, in __getitem__
return self._data[key]
KeyError: 'rule-1'
Regards.