Hello everyone,
I just migrated from 5.1.1 to 5.2.4 with bin / buildout.
During compilation, no errors:
Unused options for buildout: 'unzip'.
Updating instance.
Updating zopepy.
Updating zopeskel.
Updating unifiedinstaller.
Updating repozo.
Updating backup.
Updating chown.
chown: Running echo Dummy references to force this to execute after referenced parts
echo /data/Plone/zinstance/var/backups sudo -u plone
chmod 600 .installed.cfg
find /data/Plone/zinstance/var -type d -exec chmod 700 {} \;
chmod 744 /data/Plone/zinstance/bin/*
Dummy references to force this to execute after referenced parts
/data/Plone/zinstance/var/backups sudo -u plone
So then I run the instance with bin/instance fg
2021-06-11 11:53:52,591 WARNING [Application:394][MainThread] Duplicate Product name: After loading Product 'Five' from '/data/Plone/buildout-cache/eggs/Zope-4.5.5-py2.7.egg/Products', I skipped the one in '/usr/local/lib/python2.7/site-packages/Products'.
2021-06-11 11:53:52,618 WARNING [Application:394][MainThread] Duplicate Product name: After loading Product 'OFSP' from '/data/Plone/buildout-cache/eggs/Zope-4.5.5-py2.7.egg/Products', I skipped the one in '/usr/local/lib/python2.7/site-packages/Products'.
2021-06-11 11:53:52,619 WARNING [Application:394][MainThread] Duplicate Product name: After loading Product 'PageTemplates' from '/data/Plone/buildout-cache/eggs/Zope-4.5.5-py2.7.egg/Products', I skipped the one in '/usr/local/lib/python2.7/site-packages/Products'.
2021-06-11 11:53:52,757 WARNING [Application:394][MainThread] Duplicate Product name: After loading Product 'SiteAccess' from '/data/Plone/buildout-cache/eggs/Zope-4.5.5-py2.7.egg/Products', I skipped the one in '/usr/local/lib/python2.7/site-packages/Products'.
2021-06-11 11:53:52,862 WARNING [TemporaryStorage:93][MainThread] DEPRECATED: Usage of the package tempstorage is deprecated, as it is known to randomly lose data.
Especially on Zope 4. For details see https://github.com/zopefoundation/tempstorage/issues/8
and https://github.com/zopefoundation/tempstorage
/data/Plone/buildout-cache/eggs/tempstorage-5.1-py2.7.egg/tempstorage/TemporaryStorage.py:94: DeprecationWarning: DEPRECATED: Usage of the package tempstorage is deprecated, as it is known to randomly lose data.
Especially on Zope 4. For details see https://github.com/zopefoundation/tempstorage/issues/8
and https://github.com/zopefoundation/tempstorage
warnings.warn(deprecation_warning, DeprecationWarning)
2021-06-11 11:53:53,824 INFO [chameleon.config:38][MainThread] directory cache: /data/Plone/zinstance/var/cache.
2021-06-11 11:53:57,013 INFO [Zope:45][MainThread] Ready to handle requests
Starting server in PID 30228.
Serving on http://0.0.0.0:8080
And when I access the website I have:
Internal Server Error
The server encountered an unexpected internal server error
(generated by waitress)
And in the log :
2021-06-11 11:56:02,358 ERROR [ZODB.Connection:809][waitress-0] Couldn't load state for zope.component.persistentregistry.PersistentAdapterRegistry 0x02ea
[...]
AttributeError: type object 'IATCTTool' has no attribute '__iro__'
2021-06-11 11:56:02,364 ERROR [ZODB.Connection:809][waitress-0] Couldn't load state for zope.component.persistentregistry.PersistentAdapterRegistry 0x02ea
[...]
AttributeError: type object 'IATCTTool' has no attribute '__iro__'
2021-06-11 11:56:02,364 ERROR [root:28][waitress-0] PageTemplateFile: Error in template /data/Plone/buildout-cache/eggs/Products.CMFPlone-5.2.4-py2.7.egg/Products/CMFPlone/browser/template
s/error_message.pt: Compilation failed
exceptions.AttributeError: type object 'IATCTTool' has no attribute '__iro__'
2021-06-11 11:56:02,366 ERROR [ZODB.Connection:809][waitress-0] Couldn't load state for zope.component.persistentregistry.PersistentAdapterRegistry 0x02ea
[...]
AttributeError: type object 'IATCTTool' has no attribute '__iro__'
2021-06-11 11:56:02,367 ERROR [root:28][waitress-0] PageTemplateFile: Error in template /data/Plone/buildout-cache/eggs/Products.CMFPlone-5.2.4-py2.7.egg/Products/CMFPlone/browser/template
s/basic_error_message.pt: Compilation failed
exceptions.AttributeError: type object 'IATCTTool' has no attribute '__iro__'
2021-06-11 11:56:02,368 ERROR [ZODB.Connection:809][waitress-0] Couldn't load state for zope.component.persistentregistry.PersistentAdapterRegistry 0x02ea
[...]
AttributeError: type object 'IATCTTool' has no attribute '__iro__'
2021-06-11 11:56:02,369 ERROR [waitress:358][waitress-0] Exception while serving /VirtualHostBase/https/10.203.7.2:443/intranet/VirtualHostRoot/
[...]
AttributeError: type object 'IATCTTool' has no attribute '__iro__'
Do you have an idea please?
For information, the server is running with Centos 7.5 and python 2.7.14.
The buildout.cfg :
[buildout]
index = https://pypi.org/simple/
extends =
base.cfg
http://dist.plone.org/release/5.2.4/versions.cfg
find-links +=
http://dist.plone.org/release/5.2.4
http-address = 8080
effective-user = plone
eggs =
Plone
Pillow
lxml
zcml =
develop =
debug-mode = off
deprecation-warnings = off
verbose-security = off
backups-dir=${buildout:directory}/var
environment-vars =
zope_i18n_compile_mo_files true
PYTHON_EGG_CACHE ${buildout:directory}/var/.python-eggs
user=admin:toto
parts =
instance
zopepy
zopeskel
unifiedinstaller
repozo
backup
chown
[backup]
scripts = repozo
recipe = zc.recipe.egg
eggs = ZODB3
scripts = repozo
dependent-scripts = true
recipe = collective.recipe.backup
[versions]
[repozo]
recipe = zc.recipe.egg
-ggs = ZODB3
wcripts = repozo
dependent-scripts = true
Thank you in advance for your help.
Best regards,
Zami3l