I deployed successfully, but after I did. I could not access the configuration sections of "states" and "users". I'm not sure where I should start to solve these issues.
I'm using Spree 1.2, Ruby 1.9.3, Rails 3.2.8 on my local machine. It works just fine. I am using the spree deployment process that worked successfully.
Any pointers on where I should start?
Error I get: "We're sorry, but something went wrong." Is there a way to enable more meaningful errors on the production server?
EDIT
Error:
Processing by Spree::Admin::StatesController#index as HTML
Parameters: {"country_id"=>"214"} Completed 500 Internal Server Error in 16msNoMethodError (undefined method
states' for nil:NilClass):
collection' spree_core (1.2.0) app/controllers/spree/admin/states_controller.rb:21:in
spree_core (1.2.0) app/controllers/spree/admin/resource_controller.rb:172:incollection'
load_resource' activesupport (3.2.8) lib/active_support/callbacks.rb:473:in
spree_core (1.2.0) app/controllers/spree/admin/resource_controller.rb:129:in_run__4032520494098752802__process_action__736043668495006995__callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:405:in
__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks' activesupport (3.2.8) lib/active_support/callbacks.rb:81:in
run_callbacks' actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:inprocess_action'
process_action' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in
actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:inblock in process_action' activesupport (3.2.8) lib/active_support/notifications.rb:123:in
block in instrument'
activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:ininstrument'
instrument' actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in
activesupport (3.2.8) lib/active_support/notifications.rb:123:inprocess_action' actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in
process_action' activerecord (3.2.8) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.8) lib/abstract_controller/base.rb:121:in
process' actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.8) lib/action_controller/metal.rb:203:in
dispatch' actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.8) lib/action_controller/metal.rb:246:in
block in action' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:incall' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in
dispatch'
actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:incall' journey (1.0.4) lib/journey/router.rb:68:in
block in call'
journey (1.0.4) lib/journey/router.rb:56:ineach' journey (1.0.4) lib/journey/router.rb:56:in
call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:incall' spree_core (1.2.0) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in
call' spree_core (1.2.0) lib/spree/core/middleware/seo_assist.rb:27:incall' railties (3.2.8) lib/rails/engine.rb:479:in
call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:inmethod_missing' journey (1.0.4) lib/journey/router.rb:68:in
block in call' journey (1.0.4) lib/journey/router.rb:56:ineach' journey (1.0.4) lib/journey/router.rb:56:in
call' actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:incall' warden (1.1.1) lib/warden/manager.rb:35:in
block in call' warden (1.1.1) lib/warden/manager.rb:34:incatch' warden (1.1.1) lib/warden/manager.rb:34:in
call' actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:incall' rack (1.4.1) lib/rack/etag.rb:23:in
call' rack (1.4.1) lib/rack/conditionalget.rb:25:incall' actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in
call' actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:incall'
call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in
actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:incontext' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in
call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:incall' activerecord (3.2.8) lib/active_record/query_cache.rb:64:in
call' activerecord (3.2.8) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:incall' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in
block in call'
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in_run__4438386178050912955__call__4341646712790791334__callbacks'
__run_callback' activesupport (3.2.8) lib/active_support/callbacks.rb:385:in
activesupport (3.2.8) lib/active_support/callbacks.rb:405:in_run_call_callbacks'
run_callbacks' actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in
activesupport (3.2.8) lib/active_support/callbacks.rb:81:incall' actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in
call'
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall'
call'
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in
railties (3.2.8) lib/rails/rack/logger.rb:26:incall_app' railties (3.2.8) lib/rails/rack/logger.rb:16:in
call' actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.1) lib/rack/methodoverride.rb:21:in
call' rack (1.4.1) lib/rack/runtime.rb:17:incall' activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in
call' rack (1.4.1) lib/rack/lock.rb:15:incall' rack-cache (1.2) lib/rack/cache/context.rb:136:in
forward' rack-cache (1.2) lib/rack/cache/context.rb:245:infetch' rack-cache (1.2) lib/rack/cache/context.rb:185:in
lookup' rack-cache (1.2) lib/rack/cache/context.rb:66:incall!' rack-cache (1.2) lib/rack/cache/context.rb:51:in
call' railties (3.2.8) lib/rails/engine.rb:479:incall' railties (3.2.8) lib/rails/application.rb:223:in
call' railties (3.2.8) lib/rails/railtie/configurable.rb:30:inmethod_missing' unicorn (4.3.1) lib/unicorn/http_server.rb:531:in
process_client' unicorn (4.3.1) lib/unicorn/http_server.rb:606:inworker_loop' unicorn (4.3.1) lib/unicorn/http_server.rb:487:in
spawn_missing_workers'
unicorn (4.3.1) lib/unicorn/http_server.rb:137:instart' unicorn (4.3.1) bin/unicorn_rails:209:in
'
/data/spree/shared/bundle/ruby/1.9.1/bin/unicorn_rails:23:inload'
'
/data/spree/shared/bundle/ruby/1.9.1/bin/unicorn_rails:23:in