Working Installation Documentation

Hi there

I try to install 5.2.2 on a default Debian Buster. Is there a working documentation to install with Plone-5.2.2-UnifiedInstaller.tgz?

I tried to install with this documentation "https://docs.plone.org/manage/installing/index.html" but it seems to be not up to date and throw errors:

Error: gcc is required for the install.
See README.txt for dependencies. -->There is no README.txt in the installation package

After installing gcc next error pop up

Testing /usr/bin/python3.7 for Zope/Plone requirements....
Traceback (most recent call last):
  File "/root/Plone-5.2.2-UnifiedInstaller/helper_scripts/checkPython.py", line 5, in <module>
    from distutils.sysconfig import get_python_inc
ModuleNotFoundError: No module named 'distutils.sysconfig'

/usr/bin/python3.7 does not meet the requirements for Zope/Plone.

Please do one of the following:
1) Install python2.7 or python3.6+ as a system dev package\;
2) Use --with-python=... option to point the installer to a useable python\; or
3) Only if no system package is available, use the --build-python option
   to tell the installer to build Python 2.7 or --build-python=3 to build Python 3.x.

same with python2.7

Testing /usr/bin/python2.7 for Zope/Plone requirements....
Failed: We need to be able to use Python.h, which is missing.
You may be able to resolve this by installing the python-dev package.

/usr/bin/python2.7 does not meet the requirements for Zope/Plone.


Please do one of the following:
1) Install python2.7 or python3.6+ as a system dev package\;
2) Use --with-python=... option to point the installer to a useable python\; or
3) Only if no system package is available, use the --build-python option
   to tell the installer to build Python 2.7 or --build-python=3 to build Python 3.x.

and so on ....

Did you try to apt-get install python-setuptools python3-dev python2-dev?

hi jensens

thanks for you suggestions, but i wasted too much time with tryings. I am looking for an official up to date documentation for 5.2.2 for a debian buster OS.

Short answer: no, there is no specific documentation for debian buster OS.

Longer answer:

We don't have documentation for specific Linux distributions. There are simply too many of them, and different versions for each, which means required packages can have different names. For example for the Python development package, some distributions may call it python-dev, others python3-dev or python-lib or python3-lib or other variations.

The documentation you point to does say you need "Python 2.7 (dev)", or for Plone 5.2 you can use a Python 3 version. Important is that you need the development package. The last error about missing Python.h on 2.7 is caused by that. The suggestion of Jens helps for that.
I would also expect that gcc gets installed when you install a Python development version.

I don't get the No module named 'distutils.sysconfig' error in the Pythons that I have. The suggested apt-get install python-setuptools may indeed help there. distutils is a part of standard Python, but some distributions have opted to move this to a separate package.

Anyway, you can always use options 3 that the installer proposes: call it with --build-python=3.

1 Like

There are broad installation instructions for installing Plone at https://docs.plone.org/manage/installing/installation.html .

These were written for Plone 5.0, but except for the Python 3 support added in Plone 5.2 you can siltl follow the instructions and guidance there there when it comes to system library dependencies, etc for unix/linux hosts. here are the requirements: https://docs.plone.org/manage/installing/requirements.html

Helle Fred van Dijk

This i already found but is old, not working, throwing errors --> useless

If you except help, be nice and constructive.

Hi mauritsvanrees

Thx for the information. Im only trying to get our 5.1.6 to any of the 5.2.
Normal Upgrade to 5.2.0 end with

error: Setup script exited with error in ZODB setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
Couldn't install: ZODB 5.5.1.

upgrade to 5.2.1 or 5.2.2 end with

Installing waitress 1.4.4
Caused installation of a distribution:
UNKNOWN 0.0.0
with a different project name.
Installing waitress 1.4.4
Caused installation of a distribution:
UNKNOWN 0.0.0
with a different version.
Got None.
Version and requirements information containing waitress:
[versions] constraint on waitress: 1.4.4
Requirement of plone.recipe.zope2instance==6.7.5: waitress>=1.2.0
Could't load zc.buildout entry point default
from plone.recipe.zope2instance:
There is a version conflict.
We already have: UNKNOWN 0.0.0.
While:
Installing.
Getting section instance.
Initializing section instance.
Installing recipe plone.recipe.zope2instance.
Error: There is a version conflict.
We already have: UNKNOWN 0.0.0

sorry for this, just getting frustrated cause i can't figure it out to get it running

After all, installing Plone on Debian/Ubuntu is quite straight forward. The installer adds here some complexity.

Try the minimal variant with one out Python 3.6.x-3.8.x (system Python is fine):

  • if not installed already, do apt install python3 python3-venv python3-dev
  • install the build dependencies with apt like here: https://docs.plone.org/manage/deploying/preparing.html#debian-ubuntu
  • create a folder to install in, and cd into it.
  • install a virtualenv: python -m venv py
  • install the pip dependencies ./py/bin/pip install -r https://dist.plone.org/release/5.2.2/requirements.txt
  • create a buildout.cfg with a plain text editor of your choice like so:
[buildout]
extends = https://dist.plone.org/release/5.2.2/versions.cfg
parts = instance

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
eggs = Plone
  • run ./py/bin/buildout
  • start Plone ./bin/instance fg
  • open http://localhost:8080 in the browser of your choice

In theory that's all.

thank you jensens.

This one did the trick so far.

The upgrade worked fine to 5.2.2 but the instance cannot start now.

instance: Error: u'products' is not a known key name
For help, use /data/plone5.0.5/plone.almi.at/bin/instance -h

Could you please show us your buildout.cfg?

############################################
#
# Buildout Configuration File for Plone
# -------------------------------------
#
# ALWAYS back up all Plone/Zope data and components
# before changing configuration.
#
# Running "bin/buildout" will update your installation,
# installing missing components as necessary.
#
# This will update the add-on products you've added in the eggs= lines.
# This will not, however, upgrade Plone itself (or anything else you've
# pinned with a version specification). To upgrade Plone itself, see the
# comments in "Plone Component Versions".
#
# Tutorial instructions for using zc.buildout for
# configuration management are available at:
# http://plone.org/documentation/tutorial/buildout
# Full details at http://pypi.python.org/pypi/zc.buildout
#
############################################

[buildout]
############################################
# Plone Component Versions
# ------------------------
# This version of the Unified Installer has the components of Plone 5
# preloaded so that it can install without an Internet connection.
# If you want to update, uncomment the "http://..." line below,
# edit it to point to the current version URL, comment out the
# "versions.cfg" line and run "bin/buildout" while attached to the
# Internet. Generally, you only want to do that as part of a planned migration.
# Note that if you are updating components, you should also check the versions
# section at the end of this file, since recipes or components other than
# those of Zope and Plone may need updating at the same time.
#
index = https://pypi.python.org/simple

extends =
    base.cfg
#    versions.cfg
    https://dist.plone.org/release/5.2-latest/versions.cfg

# If you change your Plone version, you'll also need to update
# the repository link below.
find-links +=
    https://dist.plone.org/release/5.2-latest

# If you try to start Zope as root, it will change user id to run as
# the effective user specified here. This user id must own the var directory
# of your buildout.
effective-user = plone_daemon
# This user will own the rest of the installation, and should be used to
# run buildout.
buildout-user = plone_buildout
# A flag to tell the Unified Installer whether or not to document sudo use.
need-sudo = yes

# for Installation of webcouturier.dropdownmenu
auto-checkout = webcouturier.dropdownmenu

extensions = mr.developer

############################################
# Eggs
# ----
# Add an indented line to the eggs section for any Python
# eggs or packages you wish to include in your Plone instance.
#
# Note that versions may be specified here or in the [versions]
# section below. You should always specify versions that you know
# are compatible with the Plone release and at an acceptable
# development level.
#
# If you update to a later version of Plone, remove the hotfix.
#
eggs =
    Plone
    Pillow
    collective.documentviewer
    webcouturier.dropdownmenu
    plone.app.imagecropping
    plone.app.mosaic

############################################
# ZCML Slugs
# ----------
# Some eggs need ZCML slugs to tell Zope to
# use them. This is increasingly rare.
zcml =
#    plone.reload

############################################
# Development Eggs
# ----------------
# You can use paster to create "development eggs" to
# develop new products/themes. Put these in the src/
# directory.
# You will also need to add the egg names in the
# eggs section above, and may also need to add them
# to the zcml section.
#
# Provide the *paths* to the eggs you are developing here:
develop =
#    src/my.package

############################################
# var Directory
# -------------
# Sets the target directory for the "var" components of the install such as
# database and log files.
#
var-dir=${buildout:directory}/var

############################################
# Backup Directory
# ----------------
# Sets the target directory for the bin/backup and bin/snapshotbackup
# commands. Default is inside this project's var directory, but ideally
# this should be on a separate volume or backup server.
#
backups-dir=${buildout:var-dir}

############################################
# Initial User
# ------------
# This is the user id and password that will be used to create the initial
# user id that will allow you to log in and create a Plone site. This only
# sets the initial password; it will not allow you to change an already
# existing password. If you change the admin password via the web interface,
# the one below will no longer be valid.
# If you find yourself locked out of your Zope/Python installation, you may
# add an emergency user via "bin/plonectl adduser".
user=admin:admin

############################################
# Debug Options
# -------------
# Start Zope/Plone instances in "fg" mode to turn on debug mode;
# this will dramatically slow Plone.
#
# Add-on developers should turn deprecation warnings on
deprecation-warnings = off
# change verbose-security to "on" for useful security errors while developing
verbose-security = off

############################################
# Parts Specification
#--------------------
# Specifies the components that should be included in the buildout.
# Most are defined in the base.cfg extension; you may add your
# own if you need them at the end of this file.
parts =
    instance
    repozo
    backup
    zopepy
    unifiedinstaller
    precompiler
    setpermissions

############################################
# Major Parts
# ----------------------
# These common parts make use of sane base settings from
# base.cfg. To customize a part, just add whatever options
# you need. Read base.cfg for common settings.

# for Installation of webcouturier.dropdownmenu
[sources]
webcouturier.dropdownmenu = git https://github.com/collective/webcouturier.dropdownmenu.git branch=plone5

[instance]
<= instance_base
recipe = plone.recipe.zope2instance
http-address = 8080

############################################
# Versions Specification
# ----------------------
# Version information supplied here will "pin" Python packages to a particular
# version number, even when you use the "newest" flag running buildout.
# Specifying versions for all packages is a good idea and can prevent
# accidental changes when you add new packages to your buildout.
# Note that versions specified here will override those specified earlier
# in the configuration, including those from the Plone and Zope version
# config files.
#
[versions]
# Use the setuptools and zc.buildout versions that are
# available in our Python environment.
setuptools =
zc.buildout =

Short review:

The contents of this file is missing

This link is outdated and usually index not needed, since the default works fine.

Usually superfluos, since all those packages are on PyPI as well

I am not sure if this is supported in Plone 5.2 at all - and 5.2 comes with dropdown menus by default.
Those are way faster than webcouturier.dropdownmenu (which eats up lots of time - up to half of the whole rendering time of a page).

Pillow is not needed here since Plone 5.0 (but it does not hurt).
webcouturier.dropdownmenu -> see above

Do not reset the setuptools and zc.buildout version here, remove those lines.
They must be pinned in extended versions.cfg and must be the same as in the requirements.txt used to install buildout with pip install -r requirements.txt.

[versions]
# Use the setuptools and zc.buildout versions that are
# available in our Python environment.
setuptools =
zc.buildout =

hi jensens

Thanks again for your help

downloaded base.cfg from "Installers-UnifiedInstaller/base_skeleton at master · plone/Installers-UnifiedInstaller · GitHub" that solved this error.

I disabled your suggestions and did a new buildout and get a new error

2020-10-05 12:22:21,816 WARNING [Init:89][MainThread] Class Products.CMFFormController.ControllerPythonScript.ControllerPythonScript has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
2020-10-05 12:22:21,822 WARNING [Init:89][MainThread] Class Products.CMFFormController.ControllerValidator.ControllerValidator has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
2020-10-05 12:22:22,213 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 GitHub - zopefoundation/tempstorage: A RAM-based storage for ZODB

2020-10-05 12:22:23,628 INFO [chameleon.config:38][MainThread] directory cache: /data/plone5.0.5/plone.almi.at/var/cache.

These are warnings save to ignore - except you use an add-on utilizing the old session system (advised not to use since a long time).

this is the output from "plonectl fg", maybe this explains why it tries to start serval time until the deamon stops himself

instance: program running; pid=17913
instance: daemon manager running; daemon process not running
instance: program running; pid=17963
instance: daemon manager running; daemon process not running
instance: program running; pid=18023
instance: daemon manager not running

instance: /data/plone5.0.5/buildout-cache/eggs/Products.Archetypes-1.16.2-py2.7.egg/Products/Archetypes/generator/widget.py:4: DeprecationWarning: InitializeClass is deprecated. Please import from AccessControl.class_init.
from App.class_init import InitializeClass
/data/plone5.0.5/buildout-cache/eggs/Products.Archetypes-1.16.2-py2.7.egg/Products/Archetypes/interfaces/event.py:4: DeprecationWarning: IObjectEvent is deprecated. Import from zope.interface.interfaces
from zope.component.interfaces import IObjectEvent
/data/plone5.0.5/buildout-cache/eggs/Products.Archetypes-1.16.2-py2.7.egg/Products/Archetypes/ReferenceEngine.py:31: DeprecationWarning: LazyMap is deprecated. Please import from ZTUtils.Lazy.
from Products.ZCatalog.Lazy import LazyMap
/data/plone5.0.5/buildout-cache/eggs/plone.app.imaging-2.1.1-py2.7.egg/plone/app/imaging/init.py:2: DeprecationWarning: setDefaultRoles is deprecated. Please use addPermission from AccessControl.Permission.
from Products.CMFCore.permissions import setDefaultRoles
/data/plone5.0.5/buildout-cache/eggs/Products.Archetypes-1.16.2-py2.7.egg/Products/Archetypes/event.py:6: DeprecationWarning: ObjectEvent is deprecated. Import from zope.interface.interfaces
from zope.component.interfaces import ObjectEvent
/data/plone5.0.5/buildout-cache/eggs/Products.GenericSetup-2.0.2-py2.7.egg/Products/GenericSetup/registry.py:16: ImportWarning: Not importing directory '/data/plone5.0.5/buildout-cache/eggs/Products.GenericSetup-2.0.2-py2.7.egg/Products/GenericSetup/xml': missing init.py
from xml.sax import parseString
2020-10-05 12:43:23,250 WARNING [Init:89][MainThread] Class Products.CMFFormController.ControllerPythonScript.ControllerPythonScript has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
2020-10-05 12:43:23,256 WARNING [Init:89][MainThread] Class Products.CMFFormController.ControllerValidator.ControllerValidator has a security declaration for nonexistent method 'ZPythonScriptHTML_changePrefs'
/data/plone5.0.5/buildout-cache/eggs/Products.PortalTransforms-3.1.8-py2.7.egg/Products/PortalTransforms/transforms/text_to_html.py:2: DeprecationWarning: html_quote is deprecated. Please import from DocumentTemplate.html_quote. These shims will go away in DocumentTemplate 4.0.
from DocumentTemplate.DT_Util import html_quote
2020-10-05 12:43:23,647 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 GitHub - zopefoundation/tempstorage: A RAM-based storage for ZODB

/data/plone5.0.5/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 GitHub - zopefoundation/tempstorage: A RAM-based storage for ZODB

warnings.warn(deprecation_warning, DeprecationWarning)
/data/plone5.0.5/buildout-cache/eggs/collective.documentviewer-5.0.0-py2.7.egg/collective/documentviewer/interfaces.py:7: DeprecationWarning: zope.site.hooks has moved to zope.component.hooks. Import of zope.site.hooks will become unsupported in Version 5.0
from zope.site.hooks import getSite
/data/plone5.0.5/buildout-cache/eggs/Products.Archetypes-1.16.2-py2.7.egg/Products/Archetypes/mimetype_utils.py:9: DeprecationWarning: ComponentLookupError is deprecated. Import from zope.interface.interfaces
from zope.component.interfaces import ComponentLookupError
/data/plone5.0.5/buildout-cache/eggs/plone.app.upgrade-2.0.34-py2.7.egg/plone/app/upgrade/init.py:155: DeprecationWarning: GopipIndex is deprecated. Please import from plone.folder.nogopip
from plone.app.folder.nogopip import GopipIndex
/data/plone5.0.5/buildout-cache/eggs/plone.app.upgrade-2.0.34-py2.7.egg/plone/app/upgrade/init.py:167: DeprecationWarning: LockItem is deprecated. Please import from OFS.LockItem.
from webdav.LockItem import LockItem
/data/plone5.0.5/buildout-cache/eggs/plone.app.content-3.8.6-py2.7.egg/plone/app/content/browser/vocabulary.py:10: DeprecationWarning: IFieldPermissionChecker is deprecated. Import IFieldPermissionChecker from plone.app.z3cform.interfaces instead
from plone.app.widgets.interfaces import IFieldPermissionChecker
2020-10-05 12:43:25,040 INFO [chameleon.config:38][MainThread] directory cache: /data/plone5.0.5/plone.almi.at/var/cache.
/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py:241: DeprecationWarning: IComponentRegistry is deprecated. Import from zope.interface.interfaces
obj = getattr(mod, oname)
Traceback (most recent call last):
File "/data/plone5.0.5/plone.almi.at/parts/instance/bin/interpreter", line 310, in
exec(compile(__file__f.read(), file, "exec"))
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/serve.py", line 255, in
sys.exit(main() or 0)
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/serve.py", line 251, in main
return command.run()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/serve.py", line 190, in run
global_conf=vars)
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/serve.py", line 220, in loadapp
return loadapp(app_spec, name=name, relative_to=relative_to, **kw)
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/loadwsgi.py", line 253, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/loadwsgi.py", line 278, in loadobj
return context.create()
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/loadwsgi.py", line 715, in create
return self.object_type.invoke(self)
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/loadwsgi.py", line 209, in invoke
app = context.app_context.create()
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/loadwsgi.py", line 715, in create
return self.object_type.invoke(self)
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/loadwsgi.py", line 152, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/data/plone5.0.5/buildout-cache/eggs/PasteDeploy-2.1.0-py2.7.egg/paste/deploy/util.py", line 55, in fix_call
val = callable(*args, **kw)
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/run.py", line 71, in make_wsgi_app
starter.prepare()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/starter.py", line 41, in prepare
self.startZope()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/Startup/starter.py", line 99, in startZope
Zope2.startup_wsgi()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/init.py", line 50, in startup_wsgi
_startup()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/App/startup.py", line 143, in startup
load_zcml()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/App/startup.py", line 58, in load_zcml
load_site()
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/Zope2/App/zcml.py", line 45, in load_site
_context = xmlconfig.file(site_zcml)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 657, in file
include(context, name, package)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 557, in include
processxmlfile(f, context)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 704, in end
self.stack.pop().finish()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 869, in finish
actions = self.handler(context, **args)
File "/data/plone5.0.5/buildout-cache/eggs/Zope-4.5.1-py2.7.egg/OFS/metaconfigure.py", line 47, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 557, in include
processxmlfile(f, context)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 704, in end
self.stack.pop().finish()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 869, in finish
actions = self.handler(context, **args)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 557, in include
processxmlfile(f, context)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 704, in end
self.stack.pop().finish()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 869, in finish
actions = self.handler(context, **args)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 557, in include
processxmlfile(f, context)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 704, in end
self.stack.pop().finish()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 869, in finish
actions = self.handler(context, **args)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 557, in include
processxmlfile(f, context)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 704, in end
self.stack.pop().finish()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 869, in finish
actions = self.handler(context, **args)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 557, in include
processxmlfile(f, context)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 407, in processxmlfile
parser.parse(src)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 365, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 393, in endElementNS
self._handle_exception(ex, info)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 235, in _handle_exception
reraise(exc, None, sys.exc_info()[2])
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/xmlconfig.py", line 391, in endElementNS
self.context.end()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 704, in end
self.stack.pop().finish()
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 868, in finish
args = toargs(context, *self.argdata)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 1687, in toargs
args[str(name)] = field.fromUnicode(s)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/fields.py", line 269, in fromUnicode
v = vt.fromUnicode(s)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/fields.py", line 172, in fromUnicode
value = self.context.resolve(name)
File "/data/plone5.0.5/buildout-cache/eggs/zope.configuration-4.4.0-py2.7.egg/zope/configuration/config.py", line 226, in resolve
import(mname)
File "/data/plone5.0.5/buildout-cache/eggs/plone.protect-4.1.5-py2.7.egg/plone/protect/auto.py", line 51, in
from plone.app.blob.content import ATBlob
File "/data/plone5.0.5/buildout-cache/eggs/plone.app.blob-1.8.1-py2.7.egg/plone/app/blob/content.py", line 6, in
from plone.app.blob.field import BlobMarshaller
File "/data/plone5.0.5/buildout-cache/eggs/plone.app.blob-1.8.1-py2.7.egg/plone/app/blob/field.py", line 27, in
from plone.app.blob.mixins import ImageFieldMixin
File "/data/plone5.0.5/buildout-cache/eggs/plone.app.blob-1.8.1-py2.7.egg/plone/app/blob/mixins.py", line 7, in
from Products.ATContentTypes.lib.imagetransform import ATCTImageTransform
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/data/plone5.0.5/buildout-cache/eggs/plone.protect-4.1.5-py2.7.egg/plone/protect/configure.zcml", line 32.4-35.10
File "/data/plone5.0.5/plone.almi.at/parts/instance/etc/site.zcml", line 16.2-16.23
File "/data/plone5.0.5/buildout-cache/eggs/Products.CMFPlone-5.2.2-py2.7.egg/Products/CMFPlone/configure.zcml", line 14.2-14.46
File "/data/plone5.0.5/buildout-cache/eggs/plone.app.contenttypes-2.1.10-py2.7.egg/plone/app/contenttypes/configure.zcml", line 20.2-20.43
File "/data/plone5.0.5/buildout-cache/eggs/plone.app.dexterity-2.6.5-py2.7.egg/plone/app/dexterity/configure.zcml", line 15.2-15.42
File "/data/plone5.0.5/buildout-cache/eggs/plone.schemaeditor-3.0.1-py2.7.egg/plone/schemaeditor/configure.zcml", line 8.2-8.36
ImportError: No module named ATContentTypes.lib.imagetransform

But why? I have to pass here. Anybody with an idea?

hi jensens

thank you for your help. I migrated to a fresh server and now the upgrade worked.