CLOSED: Ruby application couldn't be started after install

andrewfernie
Posts: 5
Joined: Tue Jan 25, 2011 1:43 pm

CLOSED: Ruby application couldn't be started after install

Postby andrewfernie » Sun Sep 28, 2014 5:44 am

I have a fresh install of Amahi 7 from the Express install. Then tried to install the Greyhole UI app (through the one click install). I now get the following message when I try to access the HDA. Any clues?

Thank you,
Andrew
Ruby (Rack) application could not be started
These are the possible causes:
There may be a syntax error in the application's code. Please check for such errors and fix them.
A required library may not installed. Please install all libraries that this application requires.
The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.
A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.
Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.
Error message:
Invalid route name, already in use: 'pooling_engine' You may have defined two routes with the same name using the `:as` option, or you may be overriding a route already defined by a resource with the same naming. For the latter, you can restrict the routes created with `resources` as explained here: http://guides.rubyonrails.org/routing.h ... es-created
Exception class:
ArgumentError
Application root:
/var/hda/platform/html
Backtrace:
# File Line Location
0 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb 430 in `add_route'
1 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/mapper.rb 1489 in `add_route'
2 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/mapper.rb 1466 in `decomposed_match'
3 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/mapper.rb 1447 in `block in match'
4 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/mapper.rb 1437 in `each'
5 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/mapper.rb 1437 in `match'
6 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/mapper.rb 530 in `mount'
7 /var/hda/platform/html/config/initializers/amahi_plugins.rb 7 in `block in amahi_plugin_routes'
8 /var/hda/platform/html/config/initializers/amahi_plugins.rb 5 in `each'
9 /var/hda/platform/html/config/initializers/amahi_plugins.rb 5 in `amahi_plugin_routes'
10 /var/hda/platform/html/config/routes.rb 4 in `block in '
11 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb 337 in `instance_exec'
12 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb 337 in `eval_block'
13 /var/hda/platform/html/vendor/bundle/ruby/gems/actionpack-4.1.4/lib/action_dispatch/routing/route_set.rb 315 in `draw'
14 /var/hda/platform/html/config/routes.rb 1 in `'
15 /var/hda/platform/html/vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/dependencies.rb 241 in `load'
16 /var/hda/platform/html/vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/dependencies.rb 241 in `block in load'
17 /var/hda/platform/html/vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/dependencies.rb 232 in `load_dependency'
18 /var/hda/platform/html/vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/dependencies.rb 241 in `load'
19 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 40 in `block in load_paths'
20 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 40 in `each'
21 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 40 in `load_paths'
22 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 16 in `reload!'
23 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 26 in `block in updater'
24 /var/hda/platform/html/vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/file_update_checker.rb 75 in `call'
25 /var/hda/platform/html/vendor/bundle/ruby/gems/activesupport-4.1.4/lib/active_support/file_update_checker.rb 75 in `execute'
26 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 27 in `updater'
27 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/routes_reloader.rb 7 in `execute_if_updated'
28 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application/finisher.rb 71 in `block in '
29 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/initializable.rb 30 in `instance_exec'
30 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/initializable.rb 30 in `run'
31 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/initializable.rb 55 in `block in run_initializers'
32 /usr/share/ruby/tsort.rb 150 in `block in tsort_each'
33 /usr/share/ruby/tsort.rb 183 in `block (2 levels) in each_strongly_connected_component'
34 /usr/share/ruby/tsort.rb 219 in `each_strongly_connected_component_from'
35 /usr/share/ruby/tsort.rb 182 in `block in each_strongly_connected_component'
36 /usr/share/ruby/tsort.rb 180 in `each'
37 /usr/share/ruby/tsort.rb 180 in `each_strongly_connected_component'
38 /usr/share/ruby/tsort.rb 148 in `tsort_each'
39 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/initializable.rb 54 in `run_initializers'
40 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/application.rb 300 in `initialize!'
41 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/railtie.rb 194 in `public_send'
42 /var/hda/platform/html/vendor/bundle/ruby/gems/railties-4.1.4/lib/rails/railtie.rb 194 in `method_missing'
43 /var/hda/platform/html/config/environment.rb 8 in `'
44 config.ru 3 in `require'
45 config.ru 3 in `block in
'
46 /var/hda/platform/html/vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/builder.rb 55 in `instance_eval'
47 /var/hda/platform/html/vendor/bundle/ruby/gems/rack-1.5.2/lib/rack/builder.rb 55 in `initialize'
48 config.ru 1 in `new'
49 config.ru 1 in `
'
50 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 225 in `eval'
51 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 225 in `load_rack_app'
52 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 157 in `block in initialize_server'
53 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/utils.rb 563 in `report_app_init_status'
54 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 154 in `initialize_server'
55 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 204 in `start_synchronously'
56 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 180 in `start'
57 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 129 in `start'
58 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 253 in `block (2 levels) in spawn_rack_application'
59 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 132 in `lookup_or_add'
60 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 246 in `block in spawn_rack_application'
61 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 82 in `block in synchronize'
62 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
63 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
64 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 244 in `spawn_rack_application'
65 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 137 in `spawn_application'
66 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 275 in `handle_spawn_application'
67 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 357 in `server_main_loop'
68 /usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 206 in `start_synchronously'
69 /usr/share/gems/gems/passenger-3.0.21/helper-scripts/passenger-spawn-server 102 in `
'

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Ruby (Rack) application could not be started after insta

Postby bigfoot65 » Sun Sep 28, 2014 7:25 am

Hello,

After completing the Amahi 7 install, what else was done prior to attempting to install this app? Was the HDA working correctly?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

andrewfernie
Posts: 5
Joined: Tue Jan 25, 2011 1:43 pm

Re: Ruby (Rack) application could not be started after insta

Postby andrewfernie » Sun Sep 28, 2014 12:35 pm

I had installed the gnome desktop and the VNC and dlna apps. It appeared to be working in the sense that I could see the shares, but the desktop login was hanging. Decided to reinstall from scratch as I had not moved any data. Just did the basic install and the greyhole ui install and I don't have the same issue anymore. The greyhole service shows as being stopped, but I will investigate further before asking for support on that.
Thank you,
Andrew

[ Post made via Android ] Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Ruby (Rack) application could not be started after insta

Postby bigfoot65 » Sun Sep 28, 2014 12:44 pm

Sounds good. I will close this thread and you can start a new one with the issues you have then.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

andrewfernie
Posts: 5
Joined: Tue Jan 25, 2011 1:43 pm

Re: CLOSED: Ruby application couldn't be started after insta

Postby andrewfernie » Mon Sep 29, 2014 4:14 pm

Just to close it off for good...

All is well. I uninstalled then reinstalled the greyhole ui app and everything started to work.

Thank you,
Andrew

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: CLOSED: Ruby application couldn't be started after insta

Postby bigfoot65 » Mon Sep 29, 2014 5:14 pm

Interesting. How were you able to uninstall the app? I presumed the dashboard was not working with this error message.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 22 guests