Project

General

Profile

Trying to upgrade Redmine 0.7.3.31518 to current (1.1)

Added by David Lyons almost 14 years ago

I am looking for a bit of direction

I took an ubuntu 10.10 VM, followed the install instructions at http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu. At this point, I went to the site and it was working. I backed up the database, loaded a copy of our current .7.3 install, then followed the upgrade instructions at http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade. The problem is when I try to update the Database, and I get:


** Execute db:migrate
==  PopulateMemberRoles: migrating ============================================
rake aborted!
An error has occurred, all later migrations canceled:

Validation failed: Role is invalid
/usr/lib/ruby/1.8/active_record/validations.rb:1090:in `save_without_dirty!'
/usr/lib/ruby/1.8/active_record/dirty.rb:87:in `save_without_transactions!'
/usr/lib/ruby/1.8/active_record/transactions.rb:200:in `save!'
/usr/lib/ruby/1.8/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/usr/lib/ruby/1.8/active_record/transactions.rb:182:in `transaction'
/usr/lib/ruby/1.8/active_record/transactions.rb:200:in `save!'
/usr/lib/ruby/1.8/active_record/transactions.rb:208:in `rollback_active_record_state!'
/usr/lib/ruby/1.8/active_record/transactions.rb:200:in `save!'
/usr/lib/ruby/1.8/active_record/validations.rb:1059:in `create!'
./db/migrate//20090503121505_populate_member_roles.rb:5:in `up_without_benchmarks'
./db/migrate//20090503121505_populate_member_roles.rb:4:in `each'
./db/migrate//20090503121505_populate_member_roles.rb:4:in `up_without_benchmarks'
/usr/lib/ruby/1.8/active_record/migration.rb:282:in `send'
/usr/lib/ruby/1.8/active_record/migration.rb:282:in `migrate'
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/1.8/active_record/migration.rb:282:in `migrate'
/usr/lib/ruby/1.8/active_record/migration.rb:365:in `__send__'
/usr/lib/ruby/1.8/active_record/migration.rb:365:in `migrate'
/usr/lib/ruby/1.8/active_record/migration.rb:486:in `migrate'
/usr/lib/ruby/1.8/active_record/migration.rb:562:in `call'
/usr/lib/ruby/1.8/active_record/migration.rb:562:in `ddl_transaction'
/usr/lib/ruby/1.8/active_record/migration.rb:485:in `migrate'
/usr/lib/ruby/1.8/active_record/migration.rb:472:in `each'
/usr/lib/ruby/1.8/active_record/migration.rb:472:in `migrate'
/usr/lib/ruby/1.8/active_record/migration.rb:400:in `up'
/usr/lib/ruby/1.8/active_record/migration.rb:383:in `migrate'
/usr/share/redmine/vendor/rails/railties/lib/tasks/databases.rake:116
/usr/lib/ruby/1.8/rake.rb:636:in `call'
/usr/lib/ruby/1.8/rake.rb:636:in `execute'
/usr/lib/ruby/1.8/rake.rb:631:in `each'
/usr/lib/ruby/1.8/rake.rb:631:in `execute'
/usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:583:in `invoke'
/usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2029:in `each'
/usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
/usr/lib/ruby/1.8/rake.rb:2001:in `run'
/usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1998:in `run'
/usr/bin/rake:28

I am at a loss, and google isn't much help. The info page from our current install:
Information

Redmine 0.7.3.31518 (MySQL)

Default administrator account changed    
File repository writable    
RMagick available (optional)    

Plugins

Timesheet Plugin    This is a Timesheet plugin for Redmine to show timelogs for all projects    Eric Davis of Little Stream Software    0.0.1    


    (1-1/1)