From: John A. <joh...@gm...> - 2012-09-24 19:55:59
|
I managed to get this fixed. It turns out that the :all_blank symbol is not available in rails 2.3.2 even though that is the version specified in both the install.sh and install_centos6.sh scripts. It's also the version specified everywhere in the wiki. Now... to get the client working. :) John On Fri, Sep 21, 2012 at 4:48 PM, John Alberts <joh...@gm...>wrote: > I just got nventory installed on a new centos 5.8 server using the > install.sh script in the server directory with a few minor modifications. > The system ruby, which is 1.8.5, was too old, so I installed enterprise > ruby 1.8.7 and rubygems 1.3.5. I also installed nginx version 1.2.3. The > web app started ok and browsing around on the pages doesn't show any > errors; however, when I try to create my first node and hit the create > button, I get an error page. This is what I have in production.log. > > > Processing NodesController#create (for 64.94.37.83 at 2012-09-21 17:33:26) > [POST] > Parameters: {"commit"=>"Create", "node"=>{"physical_memory"=>"", > "os_processor_count"=>"", "serial_number"=>"", "name"=>"test node", > "hardware_lifecycle_attributes"=>{"out_of_service_date(1i)"=>"", > "out_of_service_date(2i)"=>"", "out_of_service_date(3i)"=>"", > "out_of_service_date(4i)"=>"", "ship_date(1i)"=>"", > "out_of_service_date(5i)"=>"", "ship_date(2i)"=>"", "ship_date(3i)"=>"", > "ship_date(4i)"=>"", "ship_date(5i)"=>""}, > "os_virtual_processor_count"=>"", "uniqueid"=>"", > "hardware_profile_id"=>"1", "processor_count"=>"", "asset_tag"=>"", > "virtualarch"=>"", "config_mgmt_tag"=>"", "kernel_version"=>"", > "preferred_operating_system_id"=>"", "operating_system_id"=>"", > "expiration(1i)"=>"", "contact"=>"", "timezone"=>"", > "power_supply_count"=>"", "expiration(2i)"=>"", "console_type"=>"", > "processor_core_count"=>"", "processor_speed"=>"", "expiration(3i)"=>"", > "expiration(4i)"=>"", "description"=>"", "swap"=>"", "os_memory"=>"", > "processor_model"=>"", "expiration(5i)"=>"", "status_id"=>"2", > "processor_socket_count"=>"", "physical_memory_sizes"=>"", > "processor_manufacturer"=>""}, "action"=>"create", "controller"=>"nodes"} > > NoMethodError (undefined method `call' for :all_blank:Symbol): > app/controllers/nodes_controller.rb:159:in `new' > app/controllers/nodes_controller.rb:159:in `create' > unicorn (4.3.1) lib/unicorn/http_server.rb:531:in `process_client' > unicorn (4.3.1) lib/unicorn/http_server.rb:606:in `worker_loop' > unicorn (4.3.1) lib/unicorn/http_server.rb:487:in `spawn_missing_workers' > unicorn (4.3.1) lib/unicorn/http_server.rb:137:in `start' > unicorn (4.3.1) bin/unicorn_rails:209 > /usr/local/bin/unicorn_rails:19:in `load' > /usr/local/bin/unicorn_rails:19 > > Rendering /opt/nventory/public/500.html (500 Error) > > > > Any idea what's wrong? > > Thanks > John > > -- John Alberts |