Project

General

Profile

migratin from mantis to redmine failure

Added by Ivana Larramendia about 13 years ago

Hi!

i have installed redmine 1.2.1 workig with postgresql as a Database.. now i'm trying to migrate from mantis ..
i used the migrate_from_mantis.. it did migrate de users table to redmine but all projects, bugs didn't work out.
if someone could fix this? this is the failure message ..

thankÇ! Ivana

-->

  • Invoke redmine:migrate_from_mantis (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:migrate_from_mantis

WARNING: Your Redmine data will be deleted during this process.
Are you sure you want to continue ? [y/N] y

Please enter settings for your Mantis database
adapter [mysql]: postgresql
host [localhost]: localhost
database [bugtracker]: mantis
username [root]: mantis
password []: admin
encoding [UTF-8]: UTF-8

rake aborted!
Validation failed: Lastname is invalid
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/validations.rb:1090:in `save_without_dirty!'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:200:in `save!'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:182:in `transaction'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:200:in `save!'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/var/lib/gems/1.8/gems/activerecord-2.3.5/lib/active_record/transactions.rb:200:in `save!'
/var/lib/redmine/lib/tasks/migrate_from_mantis.rake:254:in `migrate'
/var/lib/redmine/lib/tasks/migrate_from_mantis.rake:245:in `each'
/var/lib/redmine/lib/tasks/migrate_from_mantis.rake:245:in `migrate'
/var/lib/redmine/lib/tasks/migrate_from_mantis.rake:510
/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
Migrating users........................................................................................................................


Replies (1)

RE: migratin from mantis to redmine failure - Added by Ivana Larramendia about 13 years ago

i have change the structure of mantis_user_table because i was having problem due to the date differences..

i use this script to change the tables and create the functions

    (1-1/1)