Hello, Is there any way to "rebuild" the Zope Database? Our production server has been through a lot of updates and it looks like our database contains a lot of objects with broken properties. Is there any way to fix this? -Petter-
fsrecover? packing the ZODB? -aj --On Freitag, 16. Januar 2004 10:08 Uhr +0200 Petter Holmström <petter.holmstrom@abo.fi> wrote:
Hello,
Is there any way to "rebuild" the Zope Database? Our production server has been through a lot of updates and it looks like our database contains a lot of objects with broken properties. Is there any way to fix this?
-Petter-
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Petter Holmström wrote:
Andreas Jung wrote:
fsrecover? packing the ZODB?
Thanks. What does fsrecover do? I only found instructions for how to run in (which i did).
It makes sure all transactions are in a sane state. It'll really only fix actual disk-layer failures, and I don't think that's your problem. You may have to write a script to walk through your objects and fix what's wrong, and exactly what that does depends on what's actually screwed up and why. (Products should take care of updating their own old instances, btw.) If you provide symptoms, possibly somebody on the list can provide a solution. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
Petter Holmström wrote at 2004-1-16 10:08 +0200:
... Is there any way to "rebuild" the Zope Database? Our production server has been through a lot of updates and it looks like our database contains a lot of objects with broken properties.
What are broken properties? Do you mean objects that display: This object of the XXX product is broken ... These are objects for which you have no longer installed the defining products. When you are sure, you no longer need it, you can delete them. You may try to automate this with a script ("ZopeFind" might help you). -- Dieter
participants (4)
-
Andreas Jung -
Dieter Maurer -
J. Cameron Cooper -
Petter Holmström