5.2 to 6.0 Migration error

I try to migrate a small Plone 5.2 instance to 6.0. There are almost no customizations in use.

Installation of the 6.0 works, but when I copy my old data over I get an error from the instance. Does anybody has an idea what’s going wrong?

Traceback (most recent call last):
  File "/data/Plone-605/eggs/waitress-2.1.2-py3.9.egg/waitress/channel.py", line 428, in service
    task.service()
  File "/data/Plone-605/eggs/waitress-2.1.2-py3.9.egg/waitress/task.py", line 168, in service
    self.execute()
  File "/data/Plone-605/eggs/waitress-2.1.2-py3.9.egg/waitress/task.py", line 434, in execute
    app_iter = self.channel.server.application(environ, start_response)
  File "/data/Plone-605/eggs/Paste-3.5.2-py3.9.egg/paste/translogger.py", line 69, in __call__
    return self.application(environ, replacement_start_response)
  File "/data/Plone-605/eggs/Zope-5.8.2-py3.9.egg/ZPublisher/httpexceptions.py", line 30, in __call__
    return self.application(environ, start_response)
  File "/data/Plone-605/eggs/Zope-5.8.2-py3.9.egg/ZPublisher/WSGIPublisher.py", line 395, in publish_module
    environ['REMOTE_USER'] = user.getUserName()
  File "/usr/lib64/python3.9/contextlib.py", line 137, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/data/Plone-605/eggs/Zope-5.8.2-py3.9.egg/ZPublisher/WSGIPublisher.py", line 233, in transaction_pubevents
    notify(pubevents.PubBeforeAbort(request, exc_info, retry))
  File "/data/Plone-605/eggs/zope.event-4.6-py3.9.egg/zope/event/__init__.py", line 33, in notify
    subscriber(event)
  File "/data/Plone-605/eggs/zope.component-5.1.0-py3.9.egg/zope/component/event.py", line 27, in dispatch
    component_subscribers(event, None)
  File "/data/Plone-605/eggs/zope.component-5.1.0-py3.9.egg/zope/component/_api.py", line 134, in subscribers
    return sitemanager.subscribers(objects, interface)
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/registry.py", line 445, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/adapter.py", line 896, in subscribers
    subscription(*objects)
  File "/data/Plone-605/eggs/plone.transformchain-3.0.0-py3.9.egg/plone/transformchain/zpublisher.py", line 105, in applyTransformOnFailure
    applyTransformOnSuccess(event)
  File "/data/Plone-605/eggs/plone.transformchain-3.0.0-py3.9.egg/plone/transformchain/zpublisher.py", line 75, in applyTransformOnSuccess
    transformed = applyTransform(event.request)
  File "/data/Plone-605/eggs/plone.transformchain-3.0.0-py3.9.egg/plone/transformchain/zpublisher.py", line 51, in applyTransform
    transformer = queryUtility(ITransformer)
  File "/data/Plone-605/eggs/zope.component-5.1.0-py3.9.egg/zope/component/_api.py", line 169, in queryUtility
    return getSiteManager(context).queryUtility(interface, name, default)
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/registry.py", line 285, in queryUtility
    return self.utilities.lookup((), provided, name, default)
  File "/data/Plone-605/eggs/ZODB-5.8.0-py3.9.egg/ZODB/Connection.py", line 792, in setstate
    self._reader.setGhostState(obj, p)
  File "/data/Plone-605/eggs/ZODB-5.8.0-py3.9.egg/ZODB/serialize.py", line 640, in setGhostState
    obj.__setstate__(state)
  File "/data/Plone-605/eggs/zope.component-5.1.0-py3.9.egg/zope/component/persistentregistry.py", line 105, in __setstate__
    self._createLookup()
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/adapter.py", line 193, in _createLookup
    self._v_lookup = self.LookupClass(self)
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/adapter.py", line 747, in __init__
    self.init_extendors()
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/adapter.py", line 784, in init_extendors
    self.add_extendor(p)
  File "/data/Plone-605/eggs/zope.interface-6.0-py3.9-linux-x86_64.egg/zope/interface/adapter.py", line 788, in add_extendor
    for i in provided.__iro__:
AttributeError: type object 'ICacheSettingsRecordProvider' has no attribute '__iro__'

Is this possibly related to some Memcached add-on installed inside the old Plone site?

1 Like

Good call. I forgot the pas.plugins.ldap egg in the new buildout.cfg. Thank you very much!