I migrated from 4.3 to 5.1 and then to 5.2-python2. I had to delete several product objects that didn't have support for Plone 5.1 and 5.2 at the time (collective.cover, PloneFormGen, Plone True Gallery, Reset Password Tool), I also used wildcard.fixpersistentutilities and @atct_migrator. I had to add wiked and Plone [archetypes] in buildout.cfg in version 5.2-python2. I had to uninstall Products.Archetypes and plone.app.collections for each site using portal_quickinstaler, in addition to deleting the folders portal_atct, portal_factory, portal_languages, and portal_tinymce.
So far everything has worked on Plone 5.2-python2, but I haven't been able to migrate to version 5.2-python3. I was able to run zodbupdate after adding wicked, Plone [archetypes] and eea.aliases to [buildout] eggs, but when I start Plone 5.2-python3 there are several errors like "AttributeError: type object 'IATCTTool' has no attribute 'iro' ".
I returned to Plone 5.2-python2 and followed the procedure described by fulv, getting the following error messages:
- pleonformgen - ERROR: Step pleonformgen has an invalid import handler
toolset: Toolset imported. - languagetool - ERROR: Step languagetool has an invalid import handler
toolset: Toolset imported. - collective.plonetruegallery.install - ERROR: Step collective.plonetruegallery.install has an invalid import handler
collective.plonetruegallery.uninstall - ERROR: Step collective.plonetruegallery.uninstall has an invalid import handler - collective.portlet.calendar-upgrades - ERROR: Step collective.portlet.calendar-upgrades has an invalid import handler
- collective.z3cform.datetimewidget - ERROR: Step collective.z3cform.datetimewidget has an invalid import handler
When I run zodbupdate and start Plone 5.2-python 3 there are still errors (AttributeError: type object 'IATCTTool' has no attribute 'iro' ) and Plone does not work.
Can someone help me?
How do I execute the script reported by @pbauer (Aug '19)? Do I save it to a clean_plone.py file and run "bin/instance run /plone/instance/clean_plone.py"?
This did not work for me. I got the following error messages:
Traceback (most recent call last):
File "/plone/instance/parts/instance/bin/interpreter", line 287, in <module>
exec(_val)
File "<string>", line 1, in <module>
File "/plone/instance/clean_plone.py", line 15, in <module>
portal.manage_delObjects([tool])
NameError: name 'portal' is not defined