1
|
root@redmine2:/var/www/redmine/plugins# rake db:migrate RAILS_ENV=production --trace
|
2
|
(in /var/www/redmine)
|
3
|
** Invoke db:migrate (first_time)
|
4
|
** Invoke environment (first_time)
|
5
|
** Execute environment
|
6
|
** Invoke db:load_config (first_time)
|
7
|
** Invoke rails_env (first_time)
|
8
|
** Execute rails_env
|
9
|
** Execute db:load_config
|
10
|
** Execute db:migrate
|
11
|
== CreateChangesetParents: migrating =========================================
|
12
|
-- create_table(:changeset_parents, {:id=>false})
|
13
|
rake aborted!
|
14
|
An error has occurred, all later migrations canceled:
|
15
|
|
16
|
Mysql::Error: Table 'changeset_parents' already exists: CREATE TABLE `changeset_parents` (`changeset_id` int(11) NOT NULL, `parent_id` int(11) NOT NULL) ENGINE=InnoDB
|
17
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `query'
|
18
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `execute'
|
19
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:280:in `log'
|
20
|
/usr/lib/ruby/gems/1.8/gems/activesupport-3.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
21
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
|
22
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:243:in `execute'
|
23
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:170:in `create_table'
|
24
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:432:in `create_table'
|
25
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:466:in `send'
|
26
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:466:in `method_missing'
|
27
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:438:in `say_with_time'
|
28
|
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
|
29
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:438:in `say_with_time'
|
30
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:458:in `method_missing'
|
31
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:334:in `send'
|
32
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:334:in `method_missing'
|
33
|
/var/www/redmine/db/migrate/20110902000000_create_changeset_parents.rb:3:in `up'
|
34
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:370:in `up'
|
35
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:410:in `send'
|
36
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:410:in `migrate'
|
37
|
/usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
|
38
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:410:in `migrate'
|
39
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:119:in `with_connection'
|
40
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:389:in `migrate'
|
41
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:528:in `__send__'
|
42
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:528:in `migrate'
|
43
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:720:in `migrate'
|
44
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:777:in `call'
|
45
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:777:in `ddl_transaction'
|
46
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:719:in `migrate'
|
47
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:700:in `each'
|
48
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:700:in `migrate'
|
49
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:570:in `up'
|
50
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/migration.rb:551:in `migrate'
|
51
|
/usr/lib/ruby/gems/1.8/gems/activerecord-3.2.3/lib/active_record/railties/databases.rake:153
|
52
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
|
53
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
|
54
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
|
55
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
|
56
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
|
57
|
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
|
58
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
|
59
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
|
60
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
|
61
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
|
62
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
|
63
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
|
64
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
|
65
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
|
66
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
|
67
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
|
68
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
|
69
|
/usr/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
|
70
|
/usr/bin/rake:23:in `load'
|
71
|
/usr/bin/rake:23
|
72
|
Tasks: TOP => db:migrate
|
73
|
root@redmine2:/var/www/redmine/plugins#
|