Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

plone zodb ERROR CMFUid ASSERT

Tags:

plone

zodb

we have a very large Data.fs (~15Gb) - I think this comes trough usage of "Working Copy Support" with custom folderish content types!

If I try to use "portal_historiestorage", the instance quits and shows > XX errors of:

ERROR CMFUid ASSERT: 17 objects have 1642 as uid!!!

How can I clear this objects and shrink my DB? I already cleared/rebuild "portal_catalog", reference_catalog and uid_catalog

thanks in advance

plone 3.3.6

like image 519
user966660 Avatar asked Mar 04 '26 08:03

user966660


1 Answers

I also had this kind of problem. In my case it was the cmf_uid index missing in the portal_catalog: so every search was returning all the catalog brains.

So I guess that the problem in the question was related to the fact that multiple objects have been indexed with the same cmf_uid (which is an attribute on the object).

[b.getObject() for b in portal_catalog(cmf_uid='1642')] 

should point out the relevant objects.

You should take the objects and verify they have a proper cmf_uid, taking care of possible acquisition problems.

like image 55
alepisa Avatar answered Mar 06 '26 01:03

alepisa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!