Project

General

Profile

Upgrade Issue

Added by Jonathan Hall over 13 years ago

Redmine 0.8.5.devel.2902 (MySQL)

New server (Win 2008 64bit), clean install, latest stable Redmine release, MySQL Community release 5.0.67

DB:Migrate results in:
Mysql::Error: Key column 'parent_id' doesn't exist in table: CREATE INDEX `inde
x_wiki_pages_on_parent_id` ON `wiki_pages` (`parent_id`)

On the current build, when I try to go to the wiki tab I get:

D:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/attribute_methods.rb:255:in `method_missing'
D:/RedMine/app/models/wiki_page.rb:113:in `editable_by?'
D:/RedMine/app/controllers/wiki_controller.rb:226:in `editable?'
D:/RedMine/app/controllers/wiki_controller.rb:64:in `edit'
D:/RedMine/app/controllers/wiki_controller.rb:36:in `index'

Could this be an issue with my rails?


Replies (3)

RE: Upgrade Issue - Added by Felix Schäfer over 13 years ago

No, something went wrong during the db migration.

RE: Upgrade Issue - Added by Jonathan Hall over 13 years ago

Ya, sorry didnt mean to leave that question there (originally posted the above in the wrong place)

From what I can see the wiki table isn't populated on my current build

RE: Upgrade Issue - Added by Felix Schäfer over 13 years ago

Which still results a migration error :-) Try creating a fresh redmine database (create a new database, point redmine to it, run the migration, make sure everything goes through without errors) and copying your data (and only the data, not the schema) to it, that might do the trick.

And as usual: be sure to have a backup, don't try this at home, and so on ;-)

    (1-3/3)