Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

10.7.2 Profile manager semi broken

Hi,

Yesterday morning i've upgraded a Mac mini to 10.7.2, since that moment profile manager is acting weird.


I can still register devices, but when i try to update information or lock the device from the interface, it just hangs.

However, it doesn't do this all the time.


The last issue i encountered, was an unhandeld exception when i was testing with the App pushing.

Oct 14 12:37:03 mac01 ProfileManager[283]: Caught unhandled exception undefined method `each' for nil:NilClass at /usr/share/devicemgr/backend/app/models/cfprefs_knob_set.rb:45:in `replace_string_types'


When i got this error, the Update Info also stopped working, same for the App push.



Anyone else who encountered this problems, and perhaps knows a fix?

Thanks.

Mac mini, Mac OS X (10.7.2)

Posted on Oct 14, 2011 3:45 AM

Reply
10 replies

Oct 14, 2011 5:21 AM in response to Mbovet

I've had a lot of issues with Profile Manager since 10.7.2 as well. Absolutely no devices are able to hit any component of the service via WiFi. The same devices are able to hit the landing page of the server, but when they try to hit either /mydevices or /devicemanagement it fails to find the server.


Console reports that an "auth_token" fails to be created, and it then terminates the redirect request. I have an appointment with an Apple engineer this morning, I'll follow up with any fixes they provide.

Jan 9, 2012 1:31 AM in response to David Kurtz2

Hi David,


here is the output of profilemanager.log:


Jan 9 09:43:40 fqdn ProfileManager[254] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:40) [POST]

Jan 9 09:43:40 fqdn ProfileManager[255] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:40) [POST]

Jan 9 09:43:41 fqdn ProfileManager[255] <Info>: Completed in 103ms (View: 0, DB: 3) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:41 fqdn ProfileManager[256] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:41) [POST]

Jan 9 09:43:41 fqdn ProfileManager[254] <Info>: Completed in 294ms (View: 1, DB: 19) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:41 fqdn ProfileManager[259] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:41) [POST]

Jan 9 09:43:41 fqdn ProfileManager[257] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:41) [POST]

Jan 9 09:43:41 fqdn ProfileManager[256] <Info>: Completed in 303ms (View: 0, DB: 4) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:41 fqdn ProfileManager[257] <Info>: Completed in 311ms (View: 0, DB: 4) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:41 fqdn ProfileManager[260] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:41) [POST]

Jan 9 09:43:41 fqdn ProfileManager[259] <Info>: Completed in 465ms (View: 0, DB: 16) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:41 fqdn ProfileManager[260] <Info>: Completed in 114ms (View: 0, DB: 3) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:41 fqdn ProfileManager[261] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:41) [POST]

Jan 9 09:43:42 fqdn ProfileManager[261] <Info>: Completed in 398ms (View: 0, DB: 95) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:43:54 fqdn ProfileManager[254] <Info>: Processing DataFileController#upload (for 172.16.0.201 at 2012-01-09 09:43:54) [POST]

Jan 9 09:43:55 fqdn ProfileManager[254] <Info>: Completed in 103ms (View: 1, DB: 11) | 200 OK [https://fqdn/data_file/upload]

Jan 9 09:43:55 fqdn ProfileManager[255] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:43:55) [POST]

Jan 9 09:43:55 fqdn ProfileManager[255] <Error>: Caught unhandled exception undefined method `each' for nil:NilClass at /usr/share/devicemgr/backend/app/models/cfprefs_knob_set.rb:45:in `replace_string_types'

/usr/share/devicemgr/backend/app/helpers/data_file_helper.rb:63:in `create_ios_application_from_file'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:202:in `send'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:202:in `do_magic'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:176:in `each'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:176:in `do_magic'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:175:in `each'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:175:in `do_magic'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:168:in `each'

/usr/share/devicemgr/backend/app/controllers/magic_controller.rb:168:in `do_magic'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /base.rb:1333:in `send'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /base.rb:1333:in `perform_action_without_filters'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:617:in `call_filters'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:638:in `run_before_filters'

/usr/share/devicemgr/backend/app/controllers/application_controller.rb:71: in `give_session_to_models'

/usr/share/devicemgr/backend/vendor/rails/activesupport/lib/active_support /callbacks.rb:178:in `send'

/usr/share/devicemgr/backend/vendor/rails/activesupport/lib/active_support /callbacks.rb:178:in `evaluate_method'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:186:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:635:in `run_before_filters'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:615:in `call_filters'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:610:in `perform_action_without_benchmark'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /benchmarking.rb:68:in `perform_action_without_rescue'

/usr/share/devicemgr/backend/vendor/rails/activesupport/lib/active_support /core_ext/benchmark.rb:17:in `ms'

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/be nchmark.rb:308:in `realtime'

/usr/share/devicemgr/backend/vendor/rails/activesupport/lib/active_support /core_ext/benchmark.rb:17:in `ms'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /benchmarking.rb:68:in `perform_action_without_rescue'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /rescue.rb:160:in `perform_action_without_flash'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /flash.rb:151:in `perform_action'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /base.rb:532:in `send'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /base.rb:532:in `process_without_filters'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /filters.rb:606:in `process'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /base.rb:391:in `process'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /base.rb:386:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /routing/route_set.rb:438:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /dispatcher.rb:87:in `dispatch'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /dispatcher.rb:121:in `_call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /dispatcher.rb:130:in `build_middleware_stack'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /string_coercion.rb:25:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /string_coercion.rb:25:in `call'

/usr/share/devicemgr/backend/vendor/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'

/usr/share/devicemgr/backend/vendor/gems/rack-1.1.0/lib/rack/methodoverrid e.rb:24:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /params_parser.rb:15:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /session/abstract_store.rb:177:in `call'

/usr/share/devicemgr/backend/vendor/rails/activerecord/lib/active_record/q uery_cache.rb:29:in `call'

/usr/share/devicemgr/backend/vendor/rails/activerecord/lib/active_record/c onnection_adapters/abstract/query_cache.rb:34:in `cache'

/usr/share/devicemgr/backend/vendor/rails/activerecord/lib/active_record/q uery_cache.rb:9:in `cache'

/usr/share/devicemgr/backend/vendor/rails/activerecord/lib/active_record/q uery_cache.rb:28:in `call'

/usr/share/devicemgr/backend/vendor/rails/activerecord/lib/active_record/c onnection_adapters/abstract/connection_pool.rb:361:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /failsafe.rb:26:in `call'

/usr/share/devicemgr/webserver/gems/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'

/usr/share/devicemgr/webserver/gems/gems/rack-1.1.0/lib/rack/lock.rb:11:in `synchronize'

/usr/share/devicemgr/webserver/gems/gems/rack-1.1.0/lib/rack/lock.rb:11:in `call'

/usr/share/devicemgr/backend/vendor/rails/actionpack/lib/action_controller /dispatcher.rb:106:in `call'

/usr/share/devicemgr/backend/vendor/rails/railties/lib/rails/rack/static.r b:31:in `call'

/usr/share/devicemgr/backend/vendor/rails/railties/lib/rails/rack/log_tail er.rb:17:in `call'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/connection.rb :76:in `pre_process'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/connection.rb :74:in `catch'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/connection.rb :74:in `pre_process'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/connection.rb :57:in `process'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/connection.rb :42:in `receive_data'

/usr/share/devicemgr/webserver/gems/gems/eventmachine-0.12.10/lib/eventmac hine.rb:256:in `run_machine'

/usr/share/devicemgr/webserver/gems/gems/eventmachine-0.12.10/lib/eventmac hine.rb:256:in `run'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/backends/base .rb:57:in `start'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/server.rb:156 :in `start'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/controllers/c ontroller.rb:80:in `start'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/runner.rb:177 :in `send'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/runner.rb:177 :in `run_command'

/usr/share/devicemgr/webserver/gems/gems/thin-1.2.7/lib/thin/runner.rb:143 :in `run!'

/usr/share/devicemgr/webserver/thin:8

Jan 9 09:43:55 fqdn ProfileManager[255] <Info>: Completed in 362ms (View: 0, DB: 3) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[259] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:23 fqdn ProfileManager[257] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:23 fqdn ProfileManager[259] <Info>: Completed in 109ms (View: 0, DB: 3) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[261] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:23 fqdn ProfileManager[257] <Info>: Completed in 311ms (View: 0, DB: 17) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[254] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:23 fqdn ProfileManager[255] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:23 fqdn ProfileManager[261] <Info>: Completed in 307ms (View: 0, DB: 3) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[254] <Info>: Completed in 105ms (View: 0, DB: 4) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[256] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:23 fqdn ProfileManager[256] <Info>: Completed in 97ms (View: 0, DB: 2) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[255] <Info>: Completed in 404ms (View: 0, DB: 16) | 200 OK [https://fqdn/magic/do_magic]

Jan 9 09:45:23 fqdn ProfileManager[258] <Info>: Processing MagicController#do_magic (for 172.16.0.201 at 2012-01-09 09:45:23) [POST]

Jan 9 09:45:24 fqdn ProfileManager[258] <Info>: Completed in 392ms (View: 0, DB: 72) | 200 OK [https://fqdn/magic/do_magic]




We can't upload any apps. Do you have any ideas to solve this?


Thank you!


Bye Gunnar...

10.7.2 Profile manager semi broken

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.