Page 1 of 1

can't access share tab in dashboard

Posted: Fri Dec 24, 2010 3:03 pm
by jimtremblay
I can't access the share tab in dashboard, but I can access every other tabs. When I try to access share tab, I receive an application error and I'm redirected on debug tab. Can someone help me? There is the last line from production log file:

Code: Select all

Processing SetupController#index (for 192.168.1.7 at 2010-12-24 17:01:43) [GET] Parameters: {"sub"=>"app_logs", "action"=>"index", "controller"=>"setup", "tab"=>"debug"} Rendering template within layouts/amahi Rendering setup/index Completed in 158ms (View: 72, DB: 50) | 200 OK [http://hda/setup?sub=app_logs&tab=debug] Processing SetupController#index (for 192.168.1.7 at 2010-12-24 17:01:53) [GET] Parameters: {"sub"=>"shares", "action"=>"index", "controller"=>"setup", "tab"=>"share"} Rendering template within layouts/amahi Rendering setup/index ActionView::TemplateError (undefined method `disk_pool_copies' for #<Share:0xb6d54074>) on line #3 of app/views/share/_disk_pool_share.html.erb: 1: <% id = "greyhole_#{share.id}" %> 2: <span id="<%= id %>"> 3: <%= checkbox_to_remote share.disk_pool_copies > 0, 4: { :url => { :controller => 'share', :action => 'toggle_disk_pool_enabled', :id => share }, 5: :submit => id, 6: :before => "Element.show('spinner-greyhole-#{share.id}')", app/views/share/_disk_pool_share.html.erb:3 app/views/share/_share.html.erb:86 app/views/share/_list.rhtml:13:in `_run_rhtml_app47views47share47_list46rhtml_locals_list_object_shares' app/views/share/_body.html.erb:1 app/views/share/_shares.html.erb:2 app/views/setup/index.html.erb:39 passenger (2.2.11) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.11) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:418:in `start_request_handler' passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:358:in `handle_spawn_application' passenger (2.2.11) lib/phusion_passenger/utils.rb:184:in `safe_fork' passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:354:in `handle_spawn_application' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.11) lib/phusion_passenger/railz/application_spawner.rb:213:in `start' passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.11) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.11) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.11) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' /usr/lib/phusion_passenger/passenger-spawn-server:61 Rendering /var/hda/platform/html/public/500.html (500 Internal Server Error)

Re: can't access share tab in dashboard

Posted: Mon Dec 27, 2010 5:51 am
by bigfoot65
What is the status of your system? For example, is it Fedora 12 and do you have the latest Amahi platform which is 5.6-11 I believe.

Have you done the Fedora updates? We need more info about your set up and what you are running to assist.

Re: can't access share tab in dashboard

Posted: Mon Dec 27, 2010 6:36 am
by jimtremblay
I'm on Fedora 12 and I have the latest hda-platform 5.6.11-1. All fedora updates has being applied and I have tried to force reinstall of every amahi* and hda* packages, but this doesn't help me.

Jim

Re: can't access share tab in dashboard

Posted: Mon Dec 27, 2010 8:24 am
by bigfoot65
That is really odd. Were there any dependency issues with updates? Might try:

yum clean all
yum update

See if that brings in anything else. Also could do:

service hdactl restart

Just a few thoughts....not sure the issue but maybe this might help.

Re: can't access share tab in dashboard

Posted: Mon Dec 27, 2010 8:59 am
by jimtremblay
The clean and update brings nothing and after restart of hdactl, share tab continue to be inaccessible.

Re: can't access share tab in dashboard

Posted: Mon Dec 27, 2010 10:24 am
by bigfoot65
The more I look at the log entries, the more it appears to me something with GreyHole. Might want to post in that area and refer to your first post.

Sorry, but this is a bit beyond my capability. May be a bug.

Re: can't access share tab in dashboard

Posted: Sat Jan 01, 2011 11:45 am
by gboudreau
Nothing handled by Greyhole here. This is an issue with hda-platform.
If cpg didn't see this thread, one might want to send him a note about it. Or file a bug in the Amahi bug tracker.

Re: can't access share tab in dashboard

Posted: Fri Jan 07, 2011 6:49 am
by jimtremblay
Is there anyone checking my problem?

Jim

Re: can't access share tab in dashboard

Posted: Sun Jan 09, 2011 3:40 pm
by jimtremblay
Is there anyone than can help me resolving this problem?

Jim

Re: can't access share tab in dashboard

Posted: Sun Jan 09, 2011 5:55 pm
by gboudreau
I suggest email support at amahi dot org
Or file a bug in the Amahi bug tracker.