Plone stops working after running add-on buildout

Dear colleagues,

I am new to Plone community and I just installed Plone-4.3.15 using UnifiedInstaller on CentOS Linux release 7.5.1804 (Core). I followed instructions "Installing add-on packages using buildout" at
https://docs.plone.org/4/en/manage/installing/installing_addons.html,

by (1) runing " sudo -u plone_daemon /usr/local/Plone/zinstance/bin/plonectl stop ",
(2) adding "solgema.fullcalendar" to the "eggs" section,
(3) adding "index = https://pypi.python.org/simple" under "[buildout]"
(4) runing " sudo -u plone_buildout bin/buildout "
(5) runing " sudo -u plone_daemon /usr/local/Plone/zinstance/bin/plonectl start ", getting response "daemon process started, pid=7453" ( /usr/local/Plone/zinstance/var/log/instance.log also shows "ZServer HTTP server started" ).

However, in Firefox, "http://localhost:8080/" just shows "Unable to connect".
runing " sudo -u plone_daemon /usr/local/Plone/zinstance/bin/plonectl status " shows "instance: daemon manager not running".

Does anybody has similar experience? Where are the error logs located, besides /usr/local/Plone/zinstance/var/log/instance.log? ...

Thanks a lot in advance! -- Lei

##########
Attachment: output of runing " sudo -u plone_buildout bin/buildout "
##########

Uninstalling unifiedinstaller.
Uninstalling repozo.
Installing instance.
/usr/local/Plone/buildout-cache/eggs/setuptools-27.3.0-py2.7.egg/pkg_resources/__init__.py:188: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
  stacklevel=1,
Getting distribution for 'solgema.fullcalendar'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got Solgema.fullcalendar 2.3.6.
Getting distribution for 'Solgema.ContextualContentMenu'.
warning: no previously-included files matching '*pyc' found anywhere in distribution
Got Solgema.ContextualContentMenu 0.3.
Getting distribution for 'plone.formwidget.contenttree==1.0.15'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got plone.formwidget.contenttree 1.0.15.
Getting distribution for 'collective.js.jqueryui==1.10.4'.
warning: no files found matching '*.pdf' under directory 'collective'
warning: no files found matching '*.po' under directory 'collective'
warning: no files found matching '*.pot' under directory 'collective'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*~' found anywhere in distribution
Got collective.js.jqueryui 1.10.4.
Getting distribution for 'collective.js.fullcalendar>=1.5.2.1'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got collective.js.fullcalendar 1.6.4.
Getting distribution for 'collective.js.colorpicker'.
Got collective.js.colorpicker 1.0.
Getting distribution for 'plone.formwidget.autocomplete==1.2.11'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got plone.formwidget.autocomplete 1.2.11.
Generated script '/usr/local/Plone/zinstance/bin/instance'.
Generated interpreter '/usr/local/Plone/zinstance/parts/instance/bin/interpreter'.
Generated script '/usr/local/Plone/zinstance/bin/thresholder.py'.
Generated script '/usr/local/Plone/zinstance/bin/pilprint.py'.
Generated script '/usr/local/Plone/zinstance/bin/viewer.py'.
Generated script '/usr/local/Plone/zinstance/bin/painter.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/createfontdatachunk.py'.
Generated script '/usr/local/Plone/zinstance/bin/player.py'.
Generated script '/usr/local/Plone/zinstance/bin/pilprint.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/pilfont.py'.
Generated script '/usr/local/Plone/zinstance/bin/viewer.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/pilfile.py'.
Generated script '/usr/local/Plone/zinstance/bin/explode.py'.
Generated script '/usr/local/Plone/zinstance/bin/pildriver.py'.
Generated script '/usr/local/Plone/zinstance/bin/painter.py'.
Generated script '/usr/local/Plone/zinstance/bin/explode.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/enhancer.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/player.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/pilfile.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/gifmaker.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/pildriver.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/pilconvert.py'.
Generated script '/usr/local/Plone/zinstance/bin/createfontdatachunk.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/pilfont.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/gifmaker.py'.
Generated script '/usr/local/Plone/zinstance/bin/enhancer.py'.
Generated script '/usr/local/Plone/zinstance/bin/pilconvert.pyc'.
Generated script '/usr/local/Plone/zinstance/bin/thresholder.pyc'.
Installing repozo.
Generated script '/usr/local/Plone/zinstance/bin/repozo'.
Updating backup.
Installing zopepy.
Generated interpreter '/usr/local/Plone/zinstance/bin/zopepy'.
Installing unifiedinstaller.
Installing precompiler.
Compiling Python files.
Compiling locale files.
Updating setpermissions.
setpermissions: Running # Dummy references to force this to execute after referenced parts
echo /usr/local/Plone/zinstance/var/backups yes > /dev/null
chmod 600 .installed.cfg
# Make sure anything we've created in var is r/w by our group
find /usr/local/Plone/zinstance/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zinstance/var -type f -exec chmod 660 {} \; 2> /dev/null
# but not the egg cache
chmod -R g-w /usr/local/Plone/zinstance/var/.python-eggs
find /usr/local/Plone/zinstance/var -type d -exec chmod 770 {} \; 2> /dev/null
find /usr/local/Plone/zinstance/var -type f -exec chmod 660 {} \; 2> /dev/null
chmod 754 /usr/local/Plone/zinstance/bin/*
chmod: cannot access \u2018/usr/local/Plone/zinstance/var/.python-eggs\u2019: No such file or directory
Versions had to be automatically picked.
The following part definition lists the versions picked:
[versions]
Solgema.fullcalendar = 2.3.6
collective.js.fullcalendar = 1.6.4
plone.recipe.command = 1.1
plone.recipe.precompiler = 0.6

# Required by:
# Solgema.fullcalendar==2.3.6
Solgema.ContextualContentMenu = 0.3

# Required by:
# Solgema.fullcalendar==2.3.6
collective.js.colorpicker = 1.0

Depending on the Plone version, that message may be very early. The startup may fail later. Do you see the message Ready to handle requests in your log file? This is the point where Plone/Zope is really working.

Your description indicates that you Plone/Zope either did not fully start or died prematurely. The end of you log file should give some hints towards the cause.

It never hurts to check on the project issues when there are available, see for example:

so you could try to pin this product to 2.3.4 as advised.

Thanks a lot, Dieter!

Actually I got some error information by running
sudo -u plone_daemon /usr/local/Plone/zinstance/bin/plonectl fg

instance: 2018-06-17 15:55:44 INFO ZServer HTTP server started at Sun Jun 17 15:55:44 2018
Hostname: 0.0.0.0
Port: 8080
2018-06-17 15:55:45 INFO DocFinderTab Applied patch version 1.0.5.
2018-06-17 15:55:46 WARNING ZODB.blob (31850) Blob dir /usr/local/Plone/zinstance/var/blobstorage/ has insecure mode setting
Traceback (most recent call last):
File "/usr/local/Plone/zinstance/parts/instance/bin/interpreter", line 281, in
exec(compile(__file__f.read(), file, "exec"))
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 76, in
run()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/init.py", line 92, in prepare
self.startZope()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/Startup/init.py", line 268, in startZope
Zope2.startup()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/startup.py", line 120, in startup
load_zcml()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
load_site()
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
_context = xmlconfig.file(site_zcml)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
include(context, name, package)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 210, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 352, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
xmlconfig.include(_context, zcml, package=product)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 210, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 352, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/usr/local/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.5-py2.7.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective
includeZCMLGroup(_context, info, filename)
File "/usr/local/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.5-py2.7.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup
include(_context, filename, includable_package)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 210, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 352, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
actions = self.handler(context, **args)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
processxmlfile(f, context)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
parser.parse(src)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib64/python2.7/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 210, in feed
self._parser.Parse(data, isFinal)
File "/usr/lib64/python2.7/xml/sax/expatreader.py", line 352, in end_element_ns
self._cont_handler.endElementNS(pair, None)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
self.context.end()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
self.stack.pop().finish()
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish
args = toargs(context, *self.argdata)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs
args[str(name)] = field.fromUnicode(s)
File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 139, in fromUnicode
raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/usr/local/Plone/zinstance/parts/instance/etc/site.zcml", line 16.2-16.23
ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.3.15-py2.7.egg/Products/CMFPlone/configure.zcml", line 98.4-102.10
ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/Solgema.fullcalendar-2.3.6-py2.7.egg/Solgema/fullcalendar/configure.zcml", line 15.2-15.52
ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/Solgema.ContextualContentMenu-0.3-py2.7.egg/Solgema/ContextualContentMenu/configure.zcml", line 17.2-25.8
ConfigurationError: ('Invalid value for', 'for', "ImportError: Couldn't import plone.event.interfaces, No module named event.interfaces")

I think this error is because Solgema.fullcalendar needs another version of plone.event.

That said: is there any reason why you are using Plone 4 ?
If you are developing a new site, you should use Plone 5.

If you are setting up an environment to fix (etc) an existing site, you should probably use the same versions (versions.cfg) as the other site ?

Espen,

Thanks a lot for your help!

The real reason that I am using Plone-4.3.15 is that it seems that senaite.lims is reported to work with Plone-4.3.15, but not with Plone-5.1.2.

Plone stops working after add-on buildout for senaite.lims, on both Plone 4 and 5. So I thought I'd better start with some simpler add-on, so I chose solgema.fullcalendar in the instruction page since that might be tested by a number of people. But now it seems that adding solgema.fullcalendar is not an easy job.

I will look into what you and other folks have pointed out. Thanks!

Then I will go back to check the pre-requisite packages of CentOS Linux release 7.5.1804 (Core). Maybe I should build Plone from the source code?I am wondering if my /usr/local/Plone/buildout-cache and /usr/local/Python-2.7 generated by UnifiedInstaller are sufficient to do the build-out.