Project

General

Profile

Help! trac to redmine migration problem ยป error.log

Don Doffe, 2011-09-02 04:40

 
1
[root@ausdc-osbdev01d redmine-1.2.1]# rake redmine:migrate_from_trac RAILS_ENV="production" --trace
2
(in /u00/redmine/redmine-1.2.1)
3
** Invoke redmine:migrate_from_trac (first_time)
4
** Invoke environment (first_time)
5
** Execute environment
6
** Execute redmine:migrate_from_trac
7

    
8
WARNING: a new project will be added to Redmine during this process.
9
Are you sure you want to continue ? [y/N] y
10

    
11
Trac directory []: bausupport
12
This directory doesn't exist!
13
Trac directory []: /u00/trac/soa
14
Trac database adapter (sqlite, sqlite3, mysql, postgresql) [sqlite]: posgresql
15
Unknown adapter: posgresql!
16
Trac database adapter (sqlite, sqlite3, mysql, postgresql) [sqlite]: postgresql
17
Trac database host [localhost]:
18
Trac database port [5432]:
19
Trac database name []: TRAC
20
Trac database schema [public]: trac
21
Trac database username []: trac
22
Trac database password []: ********
23
Trac database encoding [UTF-8]:
24
Target project identifier []: bausupport
25

    
26
Migrating components.....
27
Migrating milestones..
28
Migrating custom fields
29
Migrating tickets
30
Migrating wiki.rake aborted!
31
PGError: ERROR:  timestamp out of range: "40780483-05-28 22:03:50.802674"
32
: INSERT INTO "wiki_pages" ("wiki_id", "title", "created_on", "protected", "parent_id") VALUES(6, 'JulianCalendar', '40780483-05-28 22:03:50.802674', 'f', NULL)
33
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `log'
34
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:520:in `execute'
35
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:259:in `insert_sql'
36
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:44:in `insert_without_query_dirty'
37
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:19:in `insert'
38
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:467:in `insert'
39
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/base.rb:2961:in `create_without_timestamps'
40
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/timestamp.rb:53:in `create_without_callbacks'
41
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/callbacks.rb:266:in `create'
42
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/base.rb:2927:in `create_or_update_without_callbacks'
43
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/callbacks.rb:250:in `create_or_update'
44
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/base.rb:2577:in `save_without_validation'
45
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/validations.rb:1090:in `save_without_dirty'
46
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/dirty.rb:79:in `save_without_transactions'
47
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `send'
48
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:229:in `with_transaction_returning_status'
49
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
50
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:182:in `transaction'
51
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:228:in `with_transaction_returning_status'
52
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in `save'
53
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
54
/u00/redmine/redmine-1.2.1/vendor/rails/activerecord/lib/active_record/transactions.rb:196:in `save'
55
/u00/redmine/redmine-1.2.1/lib/tasks/migrate_from_trac.rake:559:in `migrate'
56
/u00/redmine/redmine-1.2.1/lib/tasks/migrate_from_trac.rake:80:in `fake'
57
/u00/redmine/redmine-1.2.1/lib/tasks/migrate_from_trac.rake:559:in `migrate'
58
/u00/redmine/redmine-1.2.1/lib/tasks/migrate_from_trac.rake:548:in `each'
59
/u00/redmine/redmine-1.2.1/lib/tasks/migrate_from_trac.rake:548:in `migrate'
60
/u00/redmine/redmine-1.2.1/lib/tasks/migrate_from_trac.rake:765
61
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
62
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
63
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
64
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
65
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
66
/u00/redmine/ruby/1.8.7/lib/ruby/1.8/monitor.rb:242:in `synchronize'
67
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
68
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
69
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
70
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
71
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
72
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
73
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
74
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
75
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
76
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
77
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
78
/u00/redmine/ruby/1.8.7/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
79
/u00/redmine/ruby/1.8.7/bin/rake:19:in `load'
80
/u00/redmine/ruby/1.8.7/bin/rake:19
    (1-1/1)