Farkisen

Q: A Server Error has occurred, profile manager after upgrade to osX-10.11.4 server 5.1

After login to profile manager with safari and firefox I get this error message after my upgrade to el captian 10.11.4 and upgrade to server 5.1.


"A Server Error has occurred, please reload the webpage and try again.

If this error continues, please contact your administrator"

 

Any one that could give me any hints where to start troubleshooting?

 

SERVER LOG

     PROFILEMANAGER

         Service log:

######################################################################

##############     START          ###########################################

######################################################################

[738] [2016/04/08 17:48:56.170] I: Completed in 232ms (View: 1, DB: 62) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

[733] [2016/04/08 18:51:53.312] I: Processing MagicController#admin_will_load (for 1.1.1.1 at 2016-04-08 18:51:53) [POST]

[733] [2016/04/08 18:51:53.488] I: Completed in 157ms (View: 1, DB: 9) | 200 OK [https://macserver.elcapitan.com/magic/admin_will_load]

[734] [2016/04/08 18:51:54.555] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:54) [POST]

[734] [2016/04/08 18:51:55.346] I: Completed in 790ms (View: 0, DB: 92) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

[735] [2016/04/08 18:51:55.476] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:55) [POST]

[737] [2016/04/08 18:51:55.712] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:55) [POST]

[738] [2016/04/08 18:51:55.741] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:55) [POST]

[735] [2016/04/08 18:51:55.773] I: Completed in 296ms (View: 0, DB: 73) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

[739] [2016/04/08 18:51:55.841] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:55) [POST]

[738] [2016/04/08 18:51:55.892] I: Completed in 151ms (View: 0, DB: 18) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

[737] [2016/04/08 18:51:55.943] I: Completed in 230ms (View: 0, DB: 60) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

[739] [2016/04/08 18:51:55.980] E: \253Magic#do_magic->UserGroup.get_profiles\273 Caught unhandled exception uninitialized constant InactiveUserGroup at /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:469:in `load_missing_constant'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/dependencies.rb:106:in `const_missing_with_dependencies'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/md m_library_item_base.rb:22:in `const_get'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/md m_library_item_base.rb:22:in `library_item_by_id'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/mo dels/profile.rb:276:in `owner'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/mo dels/profile.rb:250:in `library_item_type'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/mo dels/profile.rb:257:in `modify_attributes'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/md m_record_base.rb:184:in `get_attributes'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/he lpers/user_group_helper.rb:85:in `get_profiles'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:180:in `block (5 levels) in do_magic'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7:in `block in ms'

    /Applications/Server.app/Contents/ServerRoot/usr/lib/ruby/1.9.1/benchmark.rb:29 5:in `realtime'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7:in `ms'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:180:in `block (4 levels) in do_magic'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstr act/database_statements.rb:136:in `transaction'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /initializers/dm_rails_monkey_patches.rb:152:in `transaction'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/transactions.rb:182:in `transaction'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/lib/md m_utilities.rb:242:in `process_in_transaction'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:163:in `block (3 levels) in do_magic'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:146:in `each'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:146:in `block (2 levels) in do_magic'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:137:in `each'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:137:in `block in do_magic'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:127:in `each'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/magic_controller.rb:127:in `do_magic'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in `perform_action'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:in `call_filters'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:638:in `block in run_before_filters'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/app/co ntrollers/application_controller.rb:111:in `give_session_to_models'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:178:in `evaluate_method'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:186:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:635:in `run_before_filters'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:615:in `call_filters'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:in `perform_action_with_filters'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `block in perform_action_with_benchmark'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7:in `block in ms'

    /Applications/Server.app/Contents/ServerRoot/usr/lib/ruby/1.9.1/benchmark.rb:29 5:in `realtime'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/core_ext/benchmark.rb:1 7:in `ms'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb:68:in `perform_action_with_benchmark'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in `perform_action_with_flash'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `process'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:in `process_with_filters'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in `process'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/routing/route_set.rb:43 8:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87:in `dispatch'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:121:in `_call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:130:in `block in build_middleware_stack'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:i n `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion.rb:25:i n `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/head.rb:9:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/methodoverride.rb:24:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb:15:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/session/abstract_store. rb:177:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29:in `block in call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstr act/query_cache.rb:34:in `cache'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:in `cache'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapters/abstr act/connection_pool.rb:361:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/lock.rb:11:in `block in call'

    <internal:prelude>:10:in `synchronize'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rack-1.1.6/lib/rack/lock.rb:11:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:106:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/static.rb:31:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/log_tailer.rb:17:in `call'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:81:in `block in pre_process'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `catch'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `pre_process'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in `process'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in `receive_data'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/server.rb:159:in `start'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:86:in `start'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'

    /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/thin:1 1:in `<main>'

[739] [2016/04/08 18:51:55.991] F: NameError (uninitialized constant InactiveUserGroup):

      vendor/ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/dependencies.rb: 469:in `load_missing_constant'

      vendor/ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/dependencies.rb: 106:in `const_missing_with_dependencies'

      lib/mdm_library_item_base.rb:22:in `const_get'

      lib/mdm_library_item_base.rb:22:in `library_item_by_id'

      app/models/profile.rb:276:in `owner'

      app/models/profile.rb:250:in `library_item_type'

      app/models/profile.rb:257:in `modify_attributes'

      lib/mdm_record_base.rb:184:in `get_attributes'

      app/helpers/user_group_helper.rb:85:in `get_profiles'

      app/controllers/magic_controller.rb:180:in `block (5 levels) in do_magic'

      app/controllers/magic_controller.rb:180:in `block (4 levels) in do_magic'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapter s/abstract/database_statements.rb:136:in `transaction'

      config/initializers/dm_rails_monkey_patches.rb:152:in `transaction'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/transactions.rb:18 2:in `transaction'

      lib/mdm_utilities.rb:242:in `process_in_transaction'

      app/controllers/magic_controller.rb:163:in `block (3 levels) in do_magic'

      app/controllers/magic_controller.rb:146:in `each'

      app/controllers/magic_controller.rb:146:in `block (2 levels) in do_magic'

      app/controllers/magic_controller.rb:137:in `each'

      app/controllers/magic_controller.rb:137:in `block in do_magic'

      app/controllers/magic_controller.rb:127:in `each'

      app/controllers/magic_controller.rb:127:in `do_magic'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:1333:in `perform_action'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:617:i n `call_filters'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:638:i n `block in run_before_filters'

      app/controllers/application_controller.rb:111:in `give_session_to_models'

      vendor/ruby/1.9.1/gems/activesupport-2.3.18/lib/active_support/callbacks.rb:178 :in `evaluate_method'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:186:i n `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:635:i n `run_before_filters'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:615:i n `call_filters'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:610:i n `perform_action_with_filters'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb: 68:in `block in perform_action_with_benchmark'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/benchmarking.rb: 68:in `perform_action_with_benchmark'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/rescue.rb:160:in `perform_action_with_rescue'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/flash.rb:151:in `perform_action_with_flash'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:532:in `process'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/filters.rb:606:i n `process_with_filters'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:391:in `process'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/base.rb:386:in `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/routing/route_se t.rb:438:in `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:87 :in `dispatch'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:12 1:in `_call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:13 0:in `block in build_middleware_stack'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion. rb:25:in `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/string_coercion. rb:25:in `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/params_parser.rb :15:in `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/session/abstract _store.rb:177:in `call'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:29: in `block in call'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapter s/abstract/query_cache.rb:34:in `cache'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:9:i n `cache'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/query_cache.rb:28: in `call'

      vendor/ruby/1.9.1/gems/activerecord-2.3.18/lib/active_record/connection_adapter s/abstract/connection_pool.rb:361:in `call'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/failsafe.rb:26:i n `call'

      <internal:prelude>:10:in `synchronize'

      vendor/ruby/1.9.1/gems/actionpack-2.3.18/lib/action_controller/dispatcher.rb:10 6:in `call'

      vendor/ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/static.rb:31:in `call'

      vendor/ruby/1.9.1/gems/rails-2.3.18/lib/rails/rack/log_tailer.rb:17:in `call'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:81:in `block in pre_process'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `catch'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `pre_process'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in `process'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in `receive_data'

      vendor/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'

      vendor/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/server.rb:159:in `start'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:86:in `start'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command'

      vendor/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!'

      thin:11:in `<main>'

[739] [2016/04/08 18:51:55.992] I: Rendering /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/public /500.html (500 Internal Server Error)

[740] [2016/04/08 18:51:55.998] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:55) [POST]

[741] [2016/04/08 18:51:56.060] I: Processing MagicController#do_magic (for 1.1.1.1 at 2016-04-08 18:51:56) [POST]

[740] [2016/04/08 18:51:56.278] I: Completed in 280ms (View: 1, DB: 115) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

[741] [2016/04/08 18:51:56.368] I: Completed in 307ms (View: 1, DB: 177) | 200 OK [https://macserver.elcapitan.com/magic/do_magic]

mpass1 kernel[0]: gfx: surf 15ea9c9f: clientClose:

Apr  8 18:52:14 macserver kernel[0]: gfx: surf 15ea9c9f: SetIDMode: id=330484187 mode=0x24

Apr  8 18:52:14 macserver kernel[0]: gfx: surf 15ea9c9f: clientClose:

 

######################################################################

##############     END               ##########################################

######################################################################

Mac Mini Server (Late 2012), OS X El Capitan (10.11.4), Server.app 5.1

Posted on Apr 8, 2016 10:07 AM

Close

Q: A Server Error has occurred, profile manager after upgrade to osX-10.11.4 server 5.1

  • All replies
  • Helpful answers

  • by Farkisen,Solvedanswer

    Farkisen Farkisen Apr 10, 2016 12:27 AM in response to Linc Davis
    Level 1 (9 points)
    Servers Enterprise
    Apr 10, 2016 12:27 AM in response to Linc Davis

    Thank you for your answer!

     

    How to reset Profile Manager to its original state

    This command resolved my issue:

    sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh

    OUTPUT:

    Stopping devicemgr service...

    devicemgr:state = "STOPPED"

    devicemgr:state = "STOPPED"

    Stopping devicemgrd...

    Stopping PostgreSQL...

    Restarting PostgreSQL...

    Starting dmpgHelper...

    Starting scep_helper...

    Running migration_tool...

    Starting devicemgr service...

    devicemgr:state = "RUNNING"

    Sending (asynchronously) command noOp

     

    After this I was able to login in again but all profiles was gone.

  • by Bi-noix,

    Bi-noix Bi-noix Apr 10, 2016 10:02 AM in response to Farkisen
    Level 1 (4 points)
    Mac App Store
    Apr 10, 2016 10:02 AM in response to Farkisen

    Hello,

     

    I do experience the same issues/error message.

     

    Did you have the opportunity to check if accessing server_url/changepassword give the same error message?

    It is the case on my server (I have not run the wipeDB script yet, and trying to investigate before losing all profiles...), so the problem could be a general issue with user accounts and not only the postgres database.

     

    Regards

  • by Farkisen,

    Farkisen Farkisen Apr 10, 2016 11:16 PM in response to Bi-noix
    Level 1 (9 points)
    Servers Enterprise
    Apr 10, 2016 11:16 PM in response to Bi-noix

    No I did not test that.

     

    After

    sudo /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/wipeDB .sh


    I do not have "Device Management" in Profile manager and I can't en enrole devices when login to https://server/mydevices.

    The TAB "ENROLLMENT " dosen't exist anymore.

     

    Is this expected?

    Is there any new configuration that have to be done from 5.0 to 5.1?

     

    I'm just thinking, could there be any setting that is missing and that's why the error is displayed?

  • by mysoros,

    mysoros mysoros Apr 11, 2016 9:16 PM in response to Farkisen
    Level 1 (12 points)
    Mac OS X
    Apr 11, 2016 9:16 PM in response to Farkisen

    Come on, this is not a solution at all.  You just reset and lost all existing profile.

    Any engineers from Apple could help and solve this kind of problem.  The upgrade path of OS Server always ***** from version to version.

    It is really frustrating!

  • by Farkisen,

    Farkisen Farkisen Apr 12, 2016 12:21 AM in response to mysoros
    Level 1 (9 points)
    Servers Enterprise
    Apr 12, 2016 12:21 AM in response to mysoros

    Yes, it's really frustrating. I've been struggling with apple server since 2.0  and there have been tons of unsolved problems... I've stopped calling apple support because they almost in every case ends up with the solution to reinstall the server... And this I can do without their help.

     

    And you are correct, wiping the DB is not an acceptable solution but I do not have allt time in the world. And apple software should give me more time for other stuff than trying to get my server running as expected of it?

  • by Farkisen,

    Farkisen Farkisen Apr 13, 2016 8:41 AM in response to Bi-noix
    Level 1 (9 points)
    Servers Enterprise
    Apr 13, 2016 8:41 AM in response to Bi-noix

    Bi-noix

     

    I've been thinking, when I did wipe the DB and accessed profile manager after this the enrollment and devices management was gone.

     

    I hade to enable it in server.app to get it once more.

     

    Could you see if by activating device settings i server.app profile manager will solve this problem?