Zodbupdate transaction error
I am attempting to run zodbupdate on the Data.fs from the Silva 2.1 site in order to upgrade to Silva 2.2 but I get this error when I run zodbupdate, any thoughts?
[AUser@development silva-2.2]$ ./bin/zodbupdate -f /svn/silva-
Ignoring index for /svn/silva-
/svn/silva-
Traceback (most recent call last):
File "./bin/zodbupdate", line 123, in ?
zodbupdate.
File "build/
File "/svn/silva-
read_
File "/svn/silva-
name, pos)
File "/svn/silva-
raise CorruptedTransa
ZODB.FileStorag
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Silva Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2010-07-12
- Last reply:
- 2010-07-13
Sylvain Viollon (thefunny) said : | #1 |
It sounds like your Index is corrumpted. I recommand you to delete the Data.fs.index file, only the .index file. It will be rebuilt the next time you open the database (like re-run zodbupdate), it can take few minutes if your database is big.
I never saw this error before, but from this I doubt that you Zope will start in any case with this database.
Are you sure to have properly copy your database (and completely) ?
mallow (princemallow) said : | #2 |
You are right the Data.fs was corrupt, the md5 of the repozo backup I made on the actual server did not match the md5 of the file after it was downloaded, probably because it was so big. So instead I used PSCP? (a putty extention) to download it and after a few hours the md5 matched. After I restore the backup with repozo I am able to go through the ZODBupdate process however I run into a new roadblock.
The page that shows up after pressing the Upgrade Content on the silvaroot-
System problem
Something went wrong. Please use your back button to return to the previous page. Sorry for the irritation.
Error Type: ComponentLookup
Error Value: (, '')
[Here is the output of the zodbupdate from the console]
$ ./bin/zodbupdate -f ./var/filestora
Loaded 5 rules from silva.core.
New implicit rule detected BTrees._OOBTree OOBTree to BTrees.OOBTree OOBTree
New implicit rule detected BTrees._IOBTree IOBTree to BTrees.IOBTree IOBTree
New implicit rule detected BTrees._OIBTree OIBTree to BTrees.OIBTree OIBTree
New implicit rule detected BTrees._IOBTree IOBucket to BTrees.IOBTree IOBucket
New implicit rule detected BTrees._IIBTree IIBTree to BTrees.IIBTree IIBTree
New implicit rule detected BTrees._OIBTree OIBucket to BTrees.OIBTree OIBucket
New implicit rule detected BTrees._IIBTree IITreeSet to BTrees.IIBTree IITreeSet
New implicit rule detected BTrees._IIBTree IISet to BTrees.IIBTree IISet
Warning: Missing factory for Products.
/svn/silva-
from Products.
Warning: Missing factory for Products.
Warning: Missing factory for Products.
New implicit rule detected Persistence PersistentMapping to Persistence.mapping PersistentMapping
/svn/silva-
from Products.Silva.i18n import translate as _
New implicit rule detected BTrees._IIBTree IIBucket to BTrees.IIBTree IIBucket
New implicit rule detected BTrees._OOBTree OOBucket to BTrees.OOBTree OOBucket
Committing changes.
Found new rules:
{'BTrees._IIBTree IIBTree': 'BTrees.IIBTree IIBTree',
'BTrees._IIBTree IIBucket': 'BTrees.IIBTree IIBucket',
'BTrees._IIBTree IISet': 'BTrees.IIBTree IISet',
'BTrees._IIBTree IITreeSet': 'BTrees.IIBTree IITreeSet',
'BTrees._IOBTree IOBTree': 'BTrees.IOBTree IOBTree',
'BTrees._IOBTree IOBucket': 'BTrees.IOBTree IOBucket',
'BTrees._OIBTree OIBTree': 'BTrees.OIBTree OIBTree',
'BTrees._OIBTree OIBucket': 'BTrees.OIBTree OIBucket',
'BTrees._OOBTree OOBTree': 'BTrees.OOBTree OOBTree',
'BTrees._OOBTree OOBucket': 'BTrees.OOBTree OOBucket',
'Persistence PersistentMapping': 'Persistence.
[/end console]
and here are two links to the visuals that I receive from the Silva site
http://
http://
mallow (princemallow) said : | #3 |
I didn't notice the traceback, perhaps that can help too
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module silva.core.
- Class: Products.
- Object path: /silva/
- Object type: Silva Extension Service
Module grokcore.
Module zope.publisher.
- __traceback_info__: <bound method ManageExtension
Module zope.publisher.
Module Products.
Module Products.
Module Products.
Module silva.core.
Module silva.core.
- Object Info:
{'object': <Silva Root instance silva>,
'upgrader': <Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module silva.core.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module Products.
Module zope.component.
ComponentLookup
Sylvain Viollon (thefunny) said : | #4 |
Ok, so zodbupdate worked fine. The bug you have is because you have SilvaNews installed.
https:/
I will do a release of 2.2 in the coming weeks to fix this.
mallow (princemallow) said : | #5 |
Awesome, thank you so much for the help Sylvain I greatly appreciate the time you took out for me. Looking forward for the update :D
Can you help with this problem?
Provide an answer of your own, or ask mallow for more information if necessary.