Page 1 of 1

Storage tab errors with 500 error

Posted: Wed Aug 17, 2011 3:08 pm
by cardsharp
In the setup application when I click on the Storage tab I get a 500 error. I'm wondering how to troubleshoot and fix the error?

Re: Storage tab errors with 500 error

Posted: Wed Aug 17, 2011 7:42 pm
by bigfoot65
Can you please provide more info. For example, type of install, 32- or 64-bit? PC or Plug device. Also any logs you can attach would be helpful. The hda-install.log should be in the ~ folder when you log in as root user via SSH or terminal window.

Re: Storage tab errors with 500 error

Posted: Wed Aug 17, 2011 8:08 pm
by cardsharp
It's a 32-bit i-386 install on an Atom processor system with 1.5 and 1 TB WD EARS drives. It's actually a re-purposed Asus TS-Mini. I've attached the hda install log and the following is the error message:

Processing SetupController#index (for 192.168.0.10 at 2011-08-16 23:51:40) [GET]
Parameters: {"sub"=>"shares", "action"=>"index", "controller"=>"setup", "tab"=>"share"}
Rendering template within layouts/amahi
Rendering setup/index
Completed in 1178ms (View: 988, DB: 56) | 200 OK [http://hda/setup?sub=shares&tab=share]


Processing SetupController#index (for 192.168.0.10 at 2011-08-16 23:51:44) [GET]
Parameters: {"sub"=>"settings", "action"=>"index", "controller"=>"setup", "tab"=>"setting"}
Rendering template within layouts/amahi
Rendering setup/index
Completed in 542ms (View: 276, DB: 79) | 200 OK [http://hda/setup?sub=settings&tab=setting]


Processing SetupController#index (for 192.168.0.10 at 2011-08-16 23:51:51) [GET]
Parameters: {"sub"=>"dhcp", "action"=>"index", "controller"=>"setup", "tab"=>"network"}
Rendering template within layouts/amahi
Rendering setup/index
Completed in 333ms (View: 47, DB: 57) | 200 OK [http://hda/setup?sub=dhcp&tab=network]


Processing FrontController#index (for 192.168.0.10 at 2011-08-17 21:06:37) [GET]
Parameters: {"action"=>"index", "controller"=>"front"}
Redirected to http://hda/user_sessions/new
Filter chain halted as [:login_required_unless_guest_dashboard] rendered_or_redirected.
Completed in 38ms (DB: 3) | 302 Found [http://hda/]


Processing UserSessionsController#new (for 192.168.0.10 at 2011-08-17 21:06:37) [GET]
Parameters: {"action"=>"new", "controller"=>"user_sessions"}
Rendering template within layouts/login
Rendering user_sessions/new
Completed in 72ms (View: 50, DB: 2) | 200 OK [http://hda/user_sessions/new]


Processing FrontController#index (for 192.168.0.10 at 2011-08-17 21:06:37) [GET]
Parameters: {"action"=>"index", "controller"=>"front"}
Redirected to http://hda/user_sessions/new
Filter chain halted as [:login_required_unless_guest_dashboard] rendered_or_redirected.
Completed in 20ms (DB: 3) | 302 Found [http://hda/]


Processing UserSessionsController#new (for 192.168.0.10 at 2011-08-17 21:06:37) [GET]
Parameters: {"action"=>"new", "controller"=>"user_sessions"}
Rendering template within layouts/login
Rendering user_sessions/new
Completed in 33ms (View: 21, DB: 2) | 200 OK [http://hda/user_sessions/new]


Processing FrontController#index (for 192.168.0.10 at 2011-08-17 21:06:41) [GET]
Parameters: {"action"=>"index", "controller"=>"front"}
Rendering template within layouts/amahi
Rendering front/index
Completed in 1242ms (View: 679, DB: 112) | 200 OK [http://hda/]


Processing SetupController#index (for 192.168.0.10 at 2011-08-17 21:06:49) [GET]
Parameters: {"action"=>"index", "controller"=>"setup"}
Rendering template within layouts/amahi
Rendering setup/index
Completed in 416ms (View: 286, DB: 53) | 200 OK [http://hda/setup]


Processing SetupController#index (for 192.168.0.10 at 2011-08-17 21:06:52) [GET]
Parameters: {"sub"=>"partitions", "action"=>"index", "controller"=>"setup", "tab"=>"storage"}

NoMethodError (private method `gsub' called for nil:NilClass):
lib/disk-utils.rb:44:in `info'
lib/disk-utils.rb:41:in `each'
lib/disk-utils.rb:41:in `info'
app/controllers/setup_controller.rb:57:in `index'
passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/utils.rb:479:in `safe_fork'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:180:in `start'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize'
passenger (3.0.0) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application'
passenger (3.0.0) lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `__send__'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
passenger (3.0.0) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
passenger (3.0.0) helper-scripts/passenger-spawn-server:99

Rendering /var/hda/platform/html/public/500.html (500 Internal Server Error)

Re: Storage tab errors with 500 error

Posted: Wed Aug 17, 2011 11:03 pm
by cardsharp
I re-installed again and I still get the same error message. This time during install I carefully followed the guide that contains partitioning information hoping for better results. No dice. I noticed in the install log that the i686 packages are referenced. My install was using the i386 distro since I have a 32-bit Atom processor and the i386 is recommended. Could that be causing issues?

I've included the new install log for additional info.

Re: Storage tab errors with 500 error

Posted: Thu Aug 18, 2011 4:52 am
by bigfoot65
Not sure what is going on here. i386 and i686 are pretty much the same thing. Both are 32-bit, so no worries there.

As for your issue, have you checked the shares troubleshooter in the wiki?

http://wiki.amahi.org/index.php/Shares_troubleshooting

Do you have connectivity to the internet? I did not see anything in the log other than the error message, so that was not much help. What browser are you using to access the dashboard?

Re: Storage tab errors with 500 error

Posted: Thu Aug 18, 2011 7:20 pm
by cardsharp
Yes, I have internet connectivity. I'm using the built-in Firefox included in the Distro. Weird.

Re: Storage tab errors with 500 error

Posted: Thu Aug 18, 2011 8:08 pm
by bigfoot65
It is really odd as I don't see anything that appears to be an issue in the install log. Have you done the Fedora 14 Updates?

That might help and cannot hurt.