Closed mrPsycho closed 10 years ago
centos - 6.5 owp - 2.4 ruby - 1.8.7
production.log: NoMethodError (undefined method get_advanced_limits' for nil:NilClass): /app/controllers/admin/server_templates_controller.rb:11:inlist' /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in send' /vendor/rails/actionpack/lib/action_controller/base.rb:1253:inperform_action_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:617:in call_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:610:inperform_action_without_benchmark' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:inmeasure' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue' /vendor/rails/actionpack/lib/action_controller/rescue.rb:136:inperform_action_without_caching' /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in perform_action' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:incache' /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in cache' /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:inperform_action' /vendor/rails/actionpack/lib/action_controller/base.rb:524:in send' /vendor/rails/actionpack/lib/action_controller/base.rb:524:inprocess_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:606:in process_without_session_management_support' /vendor/rails/actionpack/lib/action_controller/session_management.rb:134:inprocess' /vendor/rails/actionpack/lib/action_controller/base.rb:392:in process' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:inhandle_request' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:in dispatch_unlocked' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:indispatch' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in synchronize' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:indispatch' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:in dispatch_cgi' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:indispatch' /vendor/rails/railties/lib/webrick_server.rb:103:in handle_dispatch' /vendor/rails/railties/lib/webrick_server.rb:74:inservice' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:inrun' /usr/lib/ruby/1.8/webrick/server.rb:173:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:instart' /usr/lib/ruby/1.8/webrick/server.rb:162:in start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:instart' /usr/lib/ruby/1.8/webrick/server.rb:92:in each' /usr/lib/ruby/1.8/webrick/server.rb:92:instart' /usr/lib/ruby/1.8/webrick/server.rb:37:in start' /usr/lib/ruby/1.8/webrick/server.rb:82:instart' /vendor/rails/railties/lib/webrick_server.rb:60:in dispatch' /vendor/rails/railties/lib/commands/servers/webrick.rb:66 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require' /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:inrequire' /vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in new_constants_in' /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:inrequire' /vendor/rails/railties/lib/commands/server.rb:49 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' //script/server:3
get_advanced_limits' for nil:NilClass): /app/controllers/admin/server_templates_controller.rb:11:in
send' /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in
call_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:610:in
perform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in
perform_action_without_rescue' /vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in
perform_action' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
cache' /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in
send' /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
process_without_session_management_support' /vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in
process' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in
dispatch_unlocked' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in
synchronize' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
dispatch_cgi' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in
handle_dispatch' /vendor/rails/railties/lib/webrick_server.rb:74:in
service' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
start_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in
start_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in
each' /usr/lib/ruby/1.8/webrick/server.rb:92:in
start' /usr/lib/ruby/1.8/webrick/server.rb:82:in
dispatch' /vendor/rails/railties/lib/commands/servers/webrick.rb:66 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
new_constants_in' /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
and also it don't see any of predownloaded templates.
reinstalling helped
centos - 6.5 owp - 2.4 ruby - 1.8.7
production.log: NoMethodError (undefined method
get_advanced_limits' for nil:NilClass): /app/controllers/admin/server_templates_controller.rb:11:in
list' /vendor/rails/actionpack/lib/action_controller/base.rb:1253:insend' /vendor/rails/actionpack/lib/action_controller/base.rb:1253:in
perform_action_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:617:incall_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:610:in
perform_action_without_benchmark' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' /usr/lib/ruby/1.8/benchmark.rb:293:in
measure' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:inperform_action_without_rescue' /vendor/rails/actionpack/lib/action_controller/rescue.rb:136:in
perform_action_without_caching' /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:inperform_action' /vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in
cache' /vendor/rails/activerecord/lib/active_record/query_cache.rb:8:incache' /vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in
perform_action' /vendor/rails/actionpack/lib/action_controller/base.rb:524:insend' /vendor/rails/actionpack/lib/action_controller/base.rb:524:in
process_without_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:606:inprocess_without_session_management_support' /vendor/rails/actionpack/lib/action_controller/session_management.rb:134:in
process' /vendor/rails/actionpack/lib/action_controller/base.rb:392:inprocess' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:183:in
handle_request' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:110:indispatch_unlocked' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:123:in
dispatch' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:insynchronize' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:122:in
dispatch' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:132:indispatch_cgi' /vendor/rails/actionpack/lib/action_controller/dispatcher.rb:39:in
dispatch' /vendor/rails/railties/lib/webrick_server.rb:103:inhandle_dispatch' /vendor/rails/railties/lib/webrick_server.rb:74:in
service' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:inservice' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in
run' /usr/lib/ruby/1.8/webrick/server.rb:173:instart_thread' /usr/lib/ruby/1.8/webrick/server.rb:162:in
start' /usr/lib/ruby/1.8/webrick/server.rb:162:instart_thread' /usr/lib/ruby/1.8/webrick/server.rb:95:in
start' /usr/lib/ruby/1.8/webrick/server.rb:92:ineach' /usr/lib/ruby/1.8/webrick/server.rb:92:in
start' /usr/lib/ruby/1.8/webrick/server.rb:37:instart' /usr/lib/ruby/1.8/webrick/server.rb:82:in
start' /vendor/rails/railties/lib/webrick_server.rb:60:indispatch' /vendor/rails/railties/lib/commands/servers/webrick.rb:66 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inrequire' /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
require' /vendor/rails/activesupport/lib/active_support/dependencies.rb:521:innew_constants_in' /vendor/rails/activesupport/lib/active_support/dependencies.rb:153:in
require' /vendor/rails/railties/lib/commands/server.rb:49 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:ingem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require' //script/server:3and also it don't see any of predownloaded templates.