Hi,
I'm getting following error, when i'm trying to upgrade from 1.11 to 1.12.
Please help, it's urgent.
/usr/sbin/foreman-rake db:migrate --trace --verbose
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
== 20131023140100 AddProvisioners: migrating
==================================
-- create_table(:setup_provisioners)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:
Mysql2::Error: Table 'foreman.setup_provisioners' doesn't exist: CREATE
TABLE `setup_provisioners` (`id` int(11) auto_increment PRIMARY KEY,
`host_id` int(11), `smart_proxy_id` int(11), `provision_interface`
varchar(255), `subnet_id` int(11), `timestamps` varchar(255))
ENGINE=InnoDB/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in
`query'
MariaDB [foreman]> show tables like "%setup_provisioners%"
-> ;
+------------------------------------------+
| Tables_in_foreman (%setup_provisioners%) |
+------------------------------------------+
| setup_provisioners |
+------------------------------------------+
1 row in set (0.00 sec)
Regards,
Suresh
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.