Actions
Defect #12501
closedWiki history partially doesn't work after upgrade
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Wont fix
Affected version:
Description
Situation:
- I have upgraded Redmine from 1.2-stable to 2.1-stable.
- Wiki history is stored in gzip.
- When I try to open old revisions of some pages (not for all) I get the message:
Internal error An error occurred on the page you were trying to access. If you continue to experience problems please contact your Redmine administrator for assistance. If you are the Redmine administrator, check your log files for details about the error.
- In logs:
Started GET "/projects/project1/wiki/Start/diff/60" for 10.10.10.10 at 2012-12-04 16:23:26 +0400 Processing by WikiController#diff as HTML Parameters: {"project_id"=>"project1", "id"=>"Start", "version"=>"60"} Current user: admin (id=1) Completed 500 Internal Server Error in 10ms Zlib::DataError (invalid bit length repeat): app/models/wiki_content.rb:97:in `inflate' app/models/wiki_content.rb:97:in `text' app/models/wiki_page.rb:190:in `initialize' app/models/wiki_page.rb:120:in `new' app/models/wiki_page.rb:120:in `diff' app/controllers/wiki_controller.rb:202:in `diff'
Info page:
Default administrator account changed True Attachments directory writable True Plugin assets directory writable True RMagick available (optional) True Environment: Redmine version 2.1.4.stable.10899 Ruby version 1.9.3 (x86_64-linux) Rails version 3.2.8 Environment production Database adapter SQLite Redmine plugins: redmine_blogs 0.4.0
Gem list:
actionmailer (3.2.8) actionpack (3.2.8) activemodel (3.2.8) activerecord (3.2.8) activeresource (3.2.8) activesupport (3.2.8) acts-as-taggable-on (2.3.3) arel (3.0.2) builder (3.0.0) bundler (1.2.3) coderay (1.0.8) daemon_controller (1.1.0) erubis (2.7.0) fastthread (1.0.7) hike (1.2.1) i18n (0.6.1) journey (1.0.4) jquery-rails (2.0.3) json (1.7.5) mail (2.4.4) mime-types (1.19) multi_json (1.3.7) net-ldap (0.3.1) passenger (3.0.18) pg (0.14.1) polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.8) railties (3.2.8) rake (10.0.2) rdoc (3.12) rmagick (2.13.1) ruby-openid (2.1.8) rubygems-bundler (1.1.0) rvm (1.11.3.5) sprockets (2.1.3) sqlite3 (1.3.6) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35)
Actions