i had erroneously deleted a mimetype markdown_to_html . it has never been used in the site. i now face a failed migration due to the same. any suggestions on how to resolve.
Ran upgrade step: Miscellaneous
Upgrade aborted. Error:
Traceback (most recent call last):
File "/opt/plone/buildout-cache/eggs/Products.CMFPlone-5.2.4-py2.7.egg/Products/CMFPlone/MigrationTool.py", line 292, in upgrade
step['step'].doStep(setup)
File "/opt/plone/buildout-cache/eggs/Products.GenericSetup-2.1.1-py2.7.egg/Products/GenericSetup/upgrade.py", line 168, in doStep
self.handler(tool)
File "/opt/plone/buildout-cache/eggs/plone.app.upgrade-2.0.38-py2.7.egg/plone/app/upgrade/v52/final.py", line 155, in move_markdown_transform_settings_to_registry
extensions = pt.markdown_to_html._config.get('enabled_extensions') or
AttributeError: 'RequestContainer' object has no attribute 'markdown_to_html'
End of upgrade path, main migration has finished.
The upgrade path did NOT reach current version.
Migration has failed
Hello @ sudhan77,
Didn't you make a recent backup of the site before the accidental deletion?
If so, wouldn't it be easier to start from this backup?
Maybe I didn't quite understand the context?
Another way to reset a mimetypes registry is to create a second parallel vanilla plone site, then in ZMI delete the registry in your original site, copy the registry from the vanilla site and insert it in the original site.
thanks. i started afresh from a backup restore. resolved the upgrade and migration from 5.0.5 to 5.2.4. Of course for the easier site. the difficult ones will deal another day. too challenging for non-developers. I have understood the issues involved.