Project

General

Profile

Bug #720

Greyhole: cannot configure number of copies from webinterface

Added by nathanbloemendaal78 over 10 years ago. Updated over 10 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
-
Start date:
01/12/2011
Due date:
% Done:

0%


Description

I cannot change the number of copies on the Shares configuration page. It produces an error report on each share.
Fpaste of /etc/greyhole.conf: http://fpaste.org/Tx0z

Example error:

DA APP LOG

>  lib/greyhole.rb:106:in `header'
>  lib/greyhole.rb:65:in `greyhole_conf'
>  lib/greyhole.rb:42:in `save_conf_file'
>  app/models/share.rb:155:in `after_save_hook'
>  app/controllers/share_controller.rb:263:in `toggle_disk_pool_enabled'
>  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)
>
>
> Processing SetupController#index (for 80.187.218.57 at 2011-01-12 06:36:23) [GET]
>  Parameters: {"action"=>"index", "controller"=>"setup", "tab"=>"debug"}
> Rendering template within layouts/amahi
> Rendering setup/index
> Completed in 88ms (View: 25, DB: 50) | 200 OK [http://nathanbloemendaal78.yourhda.com/setup?tab=debug]
>
>
> Processing SetupController#index (for 80.187.218.57 at 2011-01-12 06:37:26) [GET]
>  Parameters: {"sub"=>"settings", "action"=>"index", "controller"=>"setup", "tab"=>"setting"}
> Rendering template within layouts/amahi
> Rendering setup/index
> Completed in 324ms (View: 71, DB: 33) | 200 OK [http://nathanbloemendaal78.yourhda.com/setup?sub=settings&tab=setting]

History

#1 Updated by cpg over 10 years ago

The fpaste fdoes not seem to exist any more or the one listed is missing something. could you do it again?
we would like to see the contetents of that file, because amahi cannot parse it and produces an error.

#3 Updated by cpg over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to cpg

ok, i think i see the bug.

Also available in: Atom