Plone5 Unified Installer - issues after installation

Python 2.7 installed. Plone 5.0.6 sucessfully installed. ( using Cygwin) .

instance fg shows error.

  1. OpenID system packages not installed. OpenID support not available.
  2. ZODB.connection could not load state for oxoo

instance status shows ' daemon manager not running'.

Please suggest config steps after installation.

The first error isn't an error but really a warning.

Can you post the full log messages on startup?

I assume the "oxoo" is in fact "0x00". This would mean that the ZODB root could not be read.

I have not yet seen this precise error. I guess something is wrong with the file containing the ZODB data (usually called "Data.fs"). Maybe, it is unreadable or unwritable.

When you first start a new installation of Plone the Data.fs hasn't been created yet so this may also not be a real error

Hi, I have attached plonectl fg messges here.

$ bin/plonectl fg
instance: 2017-01-31 11:00:55 INFO ZServer HTTP server started at Tue Jan 31 11:00:55 2017
Hostname: admin-PC
Port: 8080
2017-01-31 11:01:53 INFO DocFinderTab Applied patch version 1.0.5.
2017-01-31 11:02:00 INFO Products.PloneHotfix20160830 Applied resource patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied confirm patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied z3c_form patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied in_portal patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied plonerootlogin patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied redirects patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied redirect_folderfactories patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied redirect_qi patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied redirectto patch
2017-01-31 11:02:01 INFO Products.PloneHotfix20160830 Applied discussion patch
2017-01-31 11:02:06 INFO Products.PloneHotfix20160830 Applied user patch
2017-01-31 11:02:06 INFO Products.PloneHotfix20160830 Applied zmi patch
2017-01-31 11:02:06 INFO Products.PloneHotfix20160830 Hotfix installed
2017-01-31 11:02:10 INFO Products.PloneHotfix20161129 Applied publishing patch
2017-01-31 11:02:10 INFO Products.PloneHotfix20161129 Applied copy patch
2017-01-31 11:02:10 INFO Products.PloneHotfix20161129 You should call /@@apply-hotfix20161129 on all Plone Sites that have comments enabled.
2017-01-31 11:02:10 INFO Products.PloneHotfix20161129 Applied comments patch
2017-01-31 11:02:10 INFO Products.PloneHotfix20161129 Hotfix installed
2017-01-31 11:02:16 INFO ZODB.blob (3236) Blob directory /cygdrive/d/zplone/zinstance/var/blobstorage is unused and has no layout marker set. Selected bushy layout.
2017-01-31 11:02:16 INFO ZODB.blob (3236) Blob temporary directory '/cygdrive/d/zplone/zinstance/var/blobstorage/tmp' does not exist. Created new directory.
/cygdrive/d/zplone/buildout-cache/eggs/plone.app.dexterity-2.3.2-py2.7.egg/plone/app/dexterity/init.py:12: DeprecationWarning: Name clash, now use '_' as usal. Will be removed in Plone 5.2
DeprecationWarning)
/cygdrive/d/zplone/buildout-cache/eggs/plone.app.multilingual-4.0.3-py2.7.egg/plone/app/multilingual/browser/migrator.py:11: DeprecationWarning: LanguageRootFolder: LanguageRootFolders should be migrate to DexterityContainers
from plone.app.multilingual.content.lrf import LanguageRootFolder
/cygdrive/d/zplone/buildout-cache/eggs/plone.portlet.collection-3.1-py2.7.egg/plone/portlet/collection/collection.py:2: DeprecationWarning: isDefaultPage is deprecated. Import from Products.CMFPlone instead
from plone.app.layout.navigation.defaultpage import isDefaultPage
2017-01-31 11:05:19 INFO Plone OpenID system packages not installed, OpenID support not available
2017-01-31 11:05:54 ERROR Application Could not add a /temp_folder mount point due to an error.
Traceback (most recent call last):
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 342, in install_tempfolder_and_sdc
self.commit('Added temp_folder')
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 266, in commit
transaction.commit()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_manager.py", line 89, in commit
return self.get().commit()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 329, in commit
self._commitResources()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 443, in _commitResources
rm.commit(self)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/Connection.py", line 562, in commit
self._commit_savepoint(transaction)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/Connection.py", line 1173, in _commit_savepoint
if isinstance(self._reader.getGhost(data), Blob):
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/serialize.py", line 599, in getGhost
return klass.new(klass, *args)
TypeError: Acquirer.new(Application) is not safe, use Persistence.Persistent.new()
Traceback (most recent call last):
File "/cygdrive/d/zplone/zinstance/parts/instance/bin/interpreter", line 280, in
exec(compile(__file__f.read(), file, "exec"))
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 76, in
run()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 92, in prepare
self.startZope()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 268, in startZope
Zope2.startup()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 129, in startup
OFS.Application.initialize(application)
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 251, in initialize
initializer.initialize()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 272, in initialize
self.install_session_data_manager()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 423, in install_session_data_manager
app._setObject('session_data_manager', sdm)
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/ObjectManager.py", line 340, in _setObject
self._objects = self._objects + ({'id': id, 'meta_type': t},)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/Connection.py", line 979, in register
self._register(obj)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/Connection.py", line 989, in _register
self.transaction_manager.get().join(self)
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 213, in join
self._prior_operation_failed() # doesn't return
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 209, in _prior_operation_failed
self._failure_traceback.getvalue())
transaction.interfaces.TransactionFailedError: An operation previously failed, with traceback:

File "/cygdrive/d/zplone/zinstance/parts/instance/bin/interpreter", line 280, in
exec(compile(__file__f.read(), file, "exec"))
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 76, in
run()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/run.py", line 22, in run
starter.prepare()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 92, in prepare
self.startZope()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Startup/init.py", line 268, in startZope
Zope2.startup()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/init.py", line 47, in startup
_startup()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App/startup.py", line 129, in startup
OFS.Application.initialize(application)
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 251, in initialize
initializer.initialize()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 271, in initialize
self.install_tempfolder_and_sdc()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 342, in install_tempfolder_and_sdc
self.commit('Added temp_folder')
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/OFS/Application.py", line 266, in commit
transaction.commit()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_manager.py", line 89, in commit
return self.get().commit()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 336, in commit
t, v, tb = self._saveAndGetCommitishError()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 329, in commit
self._commitResources()
File "/cygdrive/d/zplone/buildout-cache/eggs/transaction-1.1.1-py2.7.egg/transaction/_transaction.py", line 443, in _commitResources
rm.commit(self)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/Connection.py", line 562, in commit
self._commit_savepoint(transaction)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/Connection.py", line 1173, in _commit_savepoint
if isinstance(self._reader.getGhost(data), Blob):
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x86_64.egg/ZODB/serialize.py", line 599, in getGhost
return klass.new(klass, *args)
TypeError: Acquirer.new(Application) is not safe, use Persistence.Persistent.new()

Thanks

I have seen errors similar to this one when a previously non persistent class has started to inherit from "persistent.Persistent" (i.e. became persistent); loading "old" objects then caused similar problems. Are you using an "old" "Data.fs" (i.e. one from a previous Plone installation)?

Likely, your problem is different. "Acquirer" is a "runtime only" class -- its instances should never be made persistent (and therefore not be involved in "unghostifying"). Previous versions of the ZODB contained a hack to remove "Acquirer" wrappers automatically when storing objects - thus preventing the storing of "Acquirer"s. Maybe, your ZODB version no longer has this hack.

Once again tested plonectl fg. The displayed log messages is here.

$ bin/plonectl fg
instance: 2017-01-31 16:36:19 INFO ZServer HTTP server started at Tue Jan 31 16: 36:19 2017
Hostname: admin-PC
Port: 8080
2017-01-31 16:36:44 INFO DocFinderTab Applied patch version 1.0.5.
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied resource patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied confirm patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied z3c_form patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied in_portal patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied plonerootlogin pat ch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied redirects patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied redirect_folderfac tories patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied redirect_qi patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied redirectto patch
2017-01-31 16:36:47 INFO Products.PloneHotfix20160830 Applied discussion patch
2017-01-31 16:36:49 INFO Products.PloneHotfix20160830 Applied user patch
2017-01-31 16:36:49 INFO Products.PloneHotfix20160830 Applied zmi patch
2017-01-31 16:36:49 INFO Products.PloneHotfix20160830 Hotfix installed
2017-01-31 16:36:51 INFO Products.PloneHotfix20161129 Applied publishing patch
2017-01-31 16:36:51 INFO Products.PloneHotfix20161129 Applied copy patch
2017-01-31 16:36:51 INFO Products.PloneHotfix20161129 You should call /@@apply-h otfix20161129 on all Plone Sites that have comments enabled.
2017-01-31 16:36:51 INFO Products.PloneHotfix20161129 Applied comments patch
2017-01-31 16:36:51 INFO Products.PloneHotfix20161129 Hotfix installed
/cygdrive/d/zplone/buildout-cache/eggs/plone.app.dexterity-2.3.2-py2.7.egg/plone /app/dexterity/init.py:12: DeprecationWarning: Name clash, now use '_' as us al. Will be removed in Plone 5.2
DeprecationWarning)
/cygdrive/d/zplone/buildout-cache/eggs/plone.app.multilingual-4.0.3-py2.7.egg/plone/ap: LanguageRootFolder: LanguageRootFolders should be migrate to DexterityContainers
from plone.app.multilingual.content.lrf import LanguageRootFolder
/cygdrive/d/zplone/buildout-cache/eggs/plone.portlet.collection-3.1-py2.7.egg/plone/poefaultPage is deprecated. Import from Products.CMFPlone instead
from plone.app.layout.navigation.defaultpage import isDefaultPage
2017-01-31 16:37:48 INFO Plone OpenID system packages not installed, OpenID support no
2017-01-31 16:38:06 ERROR ZODB.Connection Couldn't load state for 0x00
Traceback (most recent call last):
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 484, in _persistent_load
return self.load_persistent(*reference)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 518, in load_persistent
return self._conn.get(oid)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/Connection.py", line 249, in get
obj = self._reader.getGhost(p)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 599, in getGhost
return klass.new(klass, *args)
TypeError: Acquirer.new(Application) is not safe, use Persistence.Persistent .new()
Traceback (most recent call last):
File "/cygdrive/d/zplone/zinstance/parts/instance/bin/interpreter", line 280, in
exec(compile(__file__f.read(), file, "exec"))
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Sta rtup/run.py", line 76, in
run()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Sta rtup/run.py", line 22, in run
starter.prepare()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Sta rtup/init.py", line 92, in prepare
self.startZope()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/Sta rtup/init.py", line 268, in startZope
Zope2.startup()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/i nit.py", line 47, in startup
_startup()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/Zope2/App /startup.py", line 123, in startup
DB, 'Application', OFS.Application.Application, ()
File "/cygdrive/d/zplone/buildout-cache/eggs/Zope2-2.13.24-py2.7.egg/App/ZAppl ication.py", line 31, in init
if not root.has_key(name):
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/Connection.py", line 860, in setstate
self._setstate(obj)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/Connection.py", line 914, in _setstate
self._reader.setGhostState(obj, p)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 612, in setGhostState
state = self.getState(pickle)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 605, in getState
return unpickler.load()
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 484, in _persistent_load
return self.load_persistent(*reference)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 518, in load_persistent
return self._conn.get(oid)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/Connection.py", line 249, in get
obj = self._reader.getGhost(p)
File "/cygdrive/d/zplone/buildout-cache/eggs/ZODB3-3.10.5-py2.7-cygwin-2.6.1-x 86_64.egg/ZODB/serialize.py", line 599, in getGhost
return klass.new(klass, *args)
TypeError: Acquirer.new(Application) is not safe, use Persistence.Persistent .new()

Thanks

instance status and plonectl status shows ' daemon manager not running'.
Is there any other config steps to do. What changes in settings to be done in buildout.cfg.
Thanks

While the initiating message is different, you apparently see the same base problem: trying to get a "ghost object" for Zope's "Application" object fails due to an inappropriate use of "new".

The error message comes from Python's "tp_new_wrapper" in "typeobject.c" which implements an important part of the "new" during object creation. It is essentially called with a "type" and a "subtype". Walking upward from "subtype" towards "type", it looks for the first "non heap type". The error occurs when this type's "tp_new" differs from "type"'s "tp_new".

In your case, "type" is "Acquirer", "subtype" is "Application" and the first "non heap type" encountered is "Persistence.Persistent". This looks very wrong.

Your installation should have created a script "zopepy" (in the "bin" directory, beside "plonectl"). This is the Python interpreter properly set up to find the Plone packages. Start this script and then type:
from OFS.Application import Application type(Application)
I expect that you will see "Acquirer" while you should see "ExtensionClass.ExtensionClass". If you see "Acquirer", then something went fundamentally wrong (at the "C"/compiler level) with your installation.

@saicbe is this on Windows? The recommended install for Windows is not the unified installer.