Hi. I'm currently in a quite embarrassing situation. A site has been running for about half a year non-stop but now a problem arise when I tried to pack the database : there is a corrupted record dated 08-08-1999 which makes it impossible to start up the database. I was able to get into a state preceeding that date by running fixbbbtt.py, but a lot of work has been done since, and the site should even look absolutely different by now. Is there an easy way to fix things, or is the only possibility for me becoming an expert in ZODB2 format and doing it by hand ? ------------- Hannu
Hannu Krosing wrote:
Hi.
I'm currently in a quite embarrassing situation.
A site has been running for about half a year non-stop but now a problem arise when I tried to pack the database : there is a corrupted record dated 08-08-1999 which makes it impossible to start up the database.
I take it that this is a Zope 1.x site?
I was able to get into a state preceeding that date by running fixbbbtt.py, but a lot of work has been done since, and the site should even look absolutely different by now.
Is there an easy way to fix things, or is the only possibility for me becoming an expert in ZODB2 format and doing it by hand ?
There should be a .old file left from the pack that you can revert to. Were you backing up the site? Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
Jim Fulton wrote:
Hannu Krosing wrote:
Hi.
I'm currently in a quite embarrassing situation.
A site has been running for about half a year non-stop but now a problem arise when I tried to pack the database : there is a corrupted record dated 08-08-1999 which makes it impossible to start up the database.
I take it that this is a Zope 1.x site?
Yes
There should be a .old file left from the pack that you can revert to.
I should have been more precise - I have never packed the site. When I saw that Undo tab reported nothing to undo I thought (stupidly) that packing the site would help. It refused to pack (with some error I donät remember. Then I (even more stupidly) thought that Shutdown/Restart would help. It did not start up any more ;(
Were you backing up the site?
I think backing up would'nt have helped, as the file itself is corrupted. It could have bee a good idea to do regular Exports and backup them. ------------ Hannu
Hannu Krosing wrote:
Jim Fulton wrote:
Hannu Krosing wrote:
Hi.
I'm currently in a quite embarrassing situation.
A site has been running for about half a year non-stop but now a problem arise when I tried to pack the database : there is a corrupted record dated 08-08-1999 which makes it impossible to start up the database.
I take it that this is a Zope 1.x site?
Yes
There should be a .old file left from the pack that you can revert to.
I should have been more precise - I have never packed the site.
When I saw that Undo tab reported nothing to undo I thought (stupidly) that packing the site would help.
It refused to pack (with some error I donät remember.
Then I (even more stupidly) thought that Shutdown/Restart would help. It did not start up any more ;(
Were you backing up the site?
I think backing up would'nt have helped, as the file itself is corrupted.
OK, please (g)zip up and send me (via private email) your database and I'll see what I can do with it. Jim -- Jim Fulton mailto:jim@digicool.com Python Powered! Technical Director (888) 344-4332 http://www.python.org Digital Creations http://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.
participants (2)
-
Hannu Krosing -
Jim Fulton