Zodbverify: Porting Plone with ZopeDB to Python3

  • You need to pack the Database to 0 days before migrating to Python 3..
  • I had to add a alias for IPersistentExtra to be able to migrate one DB. I've not investigated why:
    from plone.app.upgrade.utils import alias_module
    try:
        from App.interfaces import IPersistentExtra
        IPersistentExtra  # noqa
    except ImportError:
        alias_module('App.interfaces.IPersistentExtra', IDummy)
    
  • alias_module is great to fix such issues. I choose to live with these.
  • I tend to not put too much stock into the output of zodbverify as long as the site and all it's content works. Make sure you can pack the DB after migrating and are able to rebuild the catalog. Then you should be mostly fine.
1 Like