[Instiki] Madeleine corruption

Chris Roos chris at seagul.co.uk
Thu May 26 07:39:58 EDT 2005


Alexey Verkhovsky wrote:
> Chris Roos wrote:
> 
>> I have instiki 0.10.1 configured with multiple webs on FreeBsd.  It 
>> has been working fine for quite a while now.  Unfortunately I was just 
>> editing a page and on saving received an error.  From that point on I 
>> was unable to access that particular web - all of the others could be 
>> accessed fine.
>>
>> I copied the snapshot files to a local windows machine (with Instiki 
>> from svn) and tested on there.  I get an error "undefined method 
>> `length' for nil:NilClass" when clicking on the corrupt web.  In 
>> addition, the web is opened in edit mode automatically.  No changes 
>> can be made.  I have copied the log file (when running on windows) at 
>> the bottom of the email.
>>
>> I removed the latest snapshot file and the corrupt web can be accessed 
>> correctly, so the corruption is only in the latest snapshot. 
>> Unfortunately the previous snapshot is four days old and so I would 
>> prefer it if somehow I could recover the information from the latest 
>> snapshot.  The question is, I don't really have a clue as to how I 
>> would about doing that..?
>>
>> Any help and advice would be much appreciated.
> 
> 
> One oif these days I will write some thing to enable users poke in the 
> Madeleine storage and save their results. Until then, please email me 
> your last snapshot and tell me the name of the page that you edited.
> 

Before I send you the .snapshot file I wanted to say that I can't 
remember which page it would have been that I was editing.  Is it 
(relatively) easy for you to spot corruption in a page or would it be a 
case of manually looking into each page to check for malformed html 
(which I'm led to believe is the cause of the problem from Tamas)?

In addition do you have any pointers as to how one would go about 
replicating the procedure that you will use to attempt to retrieve a 
corrupt snapshot file?  Maybe this is something I could take a stab at 
myself.  I realise that I could just find this out myself by digging 
into the code but if you have any pointers then it makes that process a 
lot easier ;-)

Thanks in advance,

Chris



More information about the Instiki-users mailing list