Problem with Instiki update after OCI update

S

Stephan Kämper

Hi all,


I updated the One-Click-Installer to the brand new Ruby 1.8.4. After
that the Instiki 0.10.2 didn't start any longer (Constant Logger::Format
not defined). So I tried to update Instiki to 0.11.0

Now, while trying to migrate that Windows based Instiki installation
from 0.10.2 to 0.11.0 I ran into this following error message:
D:\tmp\test_instiki>ruby script\import_storage -t D:\tmp\instiki-0.10.2\storage\2500
-i d:\tmp\instiki-0.10.2 -d sqlite -o instiki_i
mport.sql
d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in `read': buffer error (Zlib::BufError)
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in `load'
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:402:in `load'
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:155:in `load'
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine.rb:211:in `recover_snapshot'
from c:/ruby/lib/ruby/1.8/open-uri.rb:88:in `open'
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine.rb:210:in `recover_snapshot'
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine.rb:53:in `new'
from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:272:in `initialize'
from d:/tmp/instiki-0.10.2/app/models/wiki_service.rb:184:in `initialize'
from d:/tmp/instiki-0.10.2/app/models/wiki_service.rb:147:in `instance'
from script/import_storage:165


(Let's hope the formatting doesn't get mangled...)


Might that be my fault? If yes, what might have caused it?


Happy rubying

Stephan
 
A

Assaph Mehr

I updated the One-Click-Installer to the brand new Ruby 1.8.4. After
that the Instiki 0.10.2 didn't start any longer (Constant Logger::Format
not defined). So I tried to update Instiki to 0.11.0

I think that was due to some version mismatch between
instiki/rails/ruby-1.8.2. nm.
d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in `read': buffer error (Zlib::BufError)
[snip]
Might that be my fault? If yes, what might have caused it?

Some mystery bug in zlib (i think) which I could never isolate, but it
caused the snapshot files to be considered as corrupt zips. Solution
is a bit of black magic: extract the latest .snapshot file contents
with a non-zlib zip (e.g. 7-zip.org), rezip them again as .gz and try
the upgrade script again.

HTH,
Assaph
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,698
Latest member
LydiaHalle

Latest Threads

Top