Getting the following while trying to use the search function in the hosts
section of version 0.5:
Started GET "/hosts/auto_complete_search?search=f" for 172.30.17.251 at Fri
Jun 01 11:23:53 -0400 2012
Processing by HostsController#auto_complete_search as JSON
Parameters: {"search"=>"f"}
Operation FAILED: Table 'puppet.images' doesn't exist
Rendered common/500.rhtml (4.7ms)
Completed 500 Internal Server Error in 13ms (Views: 5.7ms | ActiveRecord:
0.8ms)
Getting the following while trying to use the search function in the hosts section of version 0.5:
Started GET “/hosts/auto_complete_search?search=f” for 172.30.17.251 at Fri Jun 01 11:23:53 -0400 2012
Processing by HostsController#auto_complete_search as JSON
Parameters: {“search”=>“f”}
Operation FAILED: Table ‘puppet.images’ doesn’t exist
Rendered common/500.rhtml (4.7ms)
Completed 500 Internal Server Error in 13ms (Views: 5.7ms | ActiveRecord: 0.8ms)
Sort of. Did it initially, then moved everything over to a new server.
Did the following and it is fixed now:
>> RAILS_ENV=production rake db:migrate
(in /opt/foreman)
rake aborted!
You have already activated rake 0.8.7, but your Gemfile requires rake
0.9.2.2. Using bundle exec may solve this.
/opt/foreman/Rakefile:1
(See full trace by running task with --trace)
>> gem install rake
Successfully installed rake-0.9.2.2
1 gem installed
Installing ri documentation for rake-0.9.2.2…
Installing RDoc documentation for rake-0.9.2.2…
On Friday, June 1, 2012 11:27:23 AM UTC-4, Roger wrote:
Getting the following while trying to use the search function in the hosts
section of version 0.5:
Started GET “/hosts/auto_complete_search?search=f” for 172.30.17.251 at
Fri Jun 01 11:23:53 -0400 2012
Processing by HostsController#auto_complete_search as JSON
Parameters: {“search”=>“f”}
Operation FAILED: Table ‘puppet.images’ doesn’t exist
Rendered common/500.rhtml (4.7ms)
Completed 500 Internal Server Error in 13ms (Views: 5.7ms | ActiveRecord:
0.8ms)
> Sort of. Did it initially, then moved everything over to a new server.
>
> Did the following and it is fixed now:
>
> >> RAILS_ENV=production rake db:migrate
> (in /opt/foreman)
> rake aborted!
> You have already activated rake 0.8.7, but your Gemfile requires rake
> 0.9.2.2. Using bundle exec may solve this.
> /opt/foreman/Rakefile:1
>
next time:
bundle exec RAILS_ENV=production rake db:migrate
Ohad
···
On Fri, Jun 1, 2012 at 10:29 PM, Roger wrote:
(See full trace by running task with --trace)
gem install rake
Successfully installed rake-0.9.2.2
1 gem installed
Installing ri documentation for rake-0.9.2.2…
Installing RDoc documentation for rake-0.9.2.2…
On Friday, June 1, 2012 11:27:23 AM UTC-4, Roger wrote:
Getting the following while trying to use the search function in the
hosts section of version 0.5:
Started GET “/hosts/auto_complete_search?**search=f” for 172.30.17.251
at Fri Jun 01 11:23:53 -0400 2012
Processing by HostsController#auto_complete_**search as JSON
Parameters: {“search”=>“f”}
Operation FAILED: Table ‘puppet.images’ doesn’t exist
Rendered common/500.rhtml (4.7ms)
Completed 500 Internal Server Error in 13ms (Views: 5.7ms | ActiveRecord:
0.8ms)