sibprogrammer / owp

OpenVZ Web Panel
http://owp.softunity.com.ru/
Other
296 stars 106 forks source link

cant get list of installed templates. #46

Closed mrPsycho closed 10 years ago

mrPsycho commented 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

and also it don't see any of predownloaded templates.

mrPsycho commented 10 years ago

reinstalling helped