Help (emergency) How to Undo last ZODB transaction when Zope is down
Hi, I'm in panic... I made an error when changing a site access rule and this caused ZMI to be not available. So I can't undo tat through the ZMI ! How to undo the latest transactions from command line ? The bbb.py provided with Zope plays only with ZODB2 files (in fact it's useless till it's not upgraded) TIA (it's an emergency) --Gerd
Try: http://yoursite/_SUPPRESS_ACCESSRULE/manage Gerd Zeif wrote:
Hi,
I'm in panic... I made an error when changing a site access rule and this caused ZMI to be not available. So I can't undo tat through the ZMI ! How to undo the latest transactions from command line ? The bbb.py provided with Zope plays only with ZODB2 files (in fact it's useless till it's not upgraded)
TIA (it's an emergency)
--Gerd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com """ Killing hundreds of birds with thousands of stones """
Chris, Erich and Steve... Many thanks to you ! Worked ! 8-))))) I was in process to mount last backup and lose 1 day of work ! ----- Original Message ----- From: "Chris McDonough" <chrism@zope.com> To: "Gerd Zeif" <glenfant@bigfoot.com> Cc: <zope@zope.org> Sent: Wednesday, August 01, 2001 3:16 PM Subject: Re: [Zope] Help (emergency) How to Undo last ZODB transaction when Zope is down
Try:
http://yoursite/_SUPPRESS_ACCESSRULE/manage
Gerd Zeif wrote:
Hi,
I'm in panic... I made an error when changing a site access rule and this caused ZMI to
be
not available. So I can't undo tat through the ZMI ! How to undo the latest transactions from command line ? The bbb.py provided with Zope plays only with ZODB2 files (in fact it's useless till it's not upgraded)
TIA (it's an emergency)
--Gerd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Chris McDonough Zope Corporation http://www.zope.org http://www.zope.com
""" Killing hundreds of birds with thousands of stones """
I'm in panic...
don't panic ;-)
I made an error when changing a site access rule and this caused ZMI to be not available. So I can't undo tat through the ZMI ! How to undo the latest transactions from command line ? The bbb.py provided with Zope plays only with ZODB2 files (in fact it's useless till it's not upgraded)
To quote form SiteAccess' documentation:
In particular, Access Rules and SiteRoots trigger whether you want them to or not, and I've had to tell many a panicked email correspondent how to disable one or the other (put _SUPPRESS_ACCESSRULE or _SUPPRESS_SITEROOT in the right place in your URL) because they were locked out of their Zope.
AFAIK you could also use the SUPPRESS_ACCESSRULE environment variable Bye Erich -- Aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
Two ideas: 1) Ftp in and delete the SiteAccess object 2) Use tranalyzer.. http://www.zope.org/Members/tsarna/Tranalyzer -steve On Wednesday, August 1, 2001, at 08:05 AM, Gerd Zeif wrote:
Hi,
I'm in panic... I made an error when changing a site access rule and this caused ZMI to be not available. So I can't undo tat through the ZMI ! How to undo the latest transactions from command line ? The bbb.py provided with Zope plays only with ZODB2 files (in fact it's useless till it's not upgraded)
TIA (it's an emergency)
--Gerd
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Chris McDonough -
Erich Seifert -
Gerd Zeif -
Steve Spicklemire