Comments on How To Install Plone CMS on Ubuntu 18.04
Plone is a free and open source content management system built on top of the Zope (Python) application server. In this tutorial, we will learn how to install Plone CMS on Ubuntu 18.04 server.
4 Comment(s)
Comments
Thanks for providing this walkthrough.
I encountered an error when I went to run the install.sh script:
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 as a system dev package\;2) Use --with-python=... option to point the installer to a useable python\; or3) Use the --build-python option to tell the installer to build Python.
It was solved by installing the package python-dev (as suggested by the error message).
Hi Hitesh
I've run in to a problem with my Plone installation. I wanted to install the Add-On collective.easyform
I modified the buildout.cfg and added it to the eggs section.
However, when I try to run buildout I get errors:
sudo -u plone_buildout bin/buildoutUninstalling precompiler.Uninstalling zopepy.Uninstalling instance.Installing instance.Getting distribution for 'collective.easyform'.warning: no previously-included files found matching '*.sh'warning: no previously-included files found matching '.*.cfg'warning: no previously-included files found matching '.coveragerc'warning: no previously-included files found matching '.DS_Store'warning: no previously-included files found matching '.tx'warning: no previously-included files found matching '.tx/config'warning: no previously-included files found matching 'tests.cfg'warning: no previously-included files matching '*.pyc' found anywhere in distributionGot collective.easyform 2.1.0.Generated script '/opt/plone/zinstance/bin/instance'.Generated interpreter '/opt/plone/zinstance/parts/instance/bin/interpreter'.Updating repozo.Updating backup.Installing zopepy.Generated interpreter '/opt/plone/zinstance/bin/zopepy'.Updating unifiedinstaller.Installing precompiler.Compiling Python files. File "/opt/plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickletools_3.py", line 2049 print("%5d:" % pos, end=' ', file=out) ^SyntaxError: invalid syntax File "/opt/plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/pickle_3.py", line 178 def __init__(self, file, protocol=None, *, fix_imports=True): ^SyntaxError: invalid syntax File "/opt/plone/buildout-cache/eggs/zodbpickle-0.7.0-py2.7-linux-x86_64.egg/zodbpickle/tests/pickletester_3.py", line 145 class use_metaclass(object, metaclass=metaclass): ^SyntaxError: invalid syntaxCompiling locale files.Error while compiling /opt/plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test5.poError while compiling /opt/plone/buildout-cache/eggs/python_gettext-3.0-py2.7.egg/pythongettext/tests/test_escape.poUpdating setpermissions.setpermissions: Running # Dummy references to force this to execute after referenced partsecho /opt/plone/zinstance/var/backups yes > /dev/nullchmod 600 .installed.cfg# Make sure anything we've created in var is r/w by our groupfind /opt/plone/zinstance/var -type d -exec chmod 770 {} \; 2> /dev/nullfind /opt/plone/zinstance/var -type f -exec chmod 660 {} \; 2> /dev/nullfind /opt/plone/zinstance/var -type d -exec chmod 770 {} \; 2> /dev/nullfind /opt/plone/zinstance/var -type f -exec chmod 660 {} \; 2> /dev/nullchmod 754 /opt/plone/zinstance/bin/*chmod: changing permissions of '/opt/plone/zinstance/bin/buildout': Operation not permittedVersions had to be automatically picked.The following part definition lists the versions picked:[versions]collective.easyform = 2.1.0plone.recipe.command = 1.1plone.recipe.precompiler = 0.6
The Plone installation appears to be working, but I cannot activate the collective.easyform Add-On (it doesn't appear in Site Setup under Add-Ons).
I've spent the last while googling and cannot identify what the problem is.
Do you know what the problem is, or how to fix it, please?
Thank you,
Cormac
P.S. It appears that these errors can be ignored: https://community.plone.org/t/upgrade-plone-5-0-7-to-5-1-0-fails/6277/9
Esse plone é uma piada para instalar, vc nao consegue, é cheio de pegadinhas, é feito para nao usar. Emora o produto instalado é bom.