10-28-2021 02:05 AM - edited 10-28-2021 02:05 AM
Hi there,
I am noticing a number of machines not being able to check in when running 'sudo jamf recon'
We are running 10.33, on prem
➜ ~ sudo jamf recon Retrieving inventory preferences from https://xxx.xxx.co.uk:8443/... Finding extension attributes... Locating hard drive information... Locating accounts... Locating applications... Locating package receipts... Searching path: /System/Applications Locating software updates... Locating printers... Gathering application usage information from the JamfDaemon... Searching path: /Applications Locating hardware information (macOS 11.6.0)...
Is anyone else noticing this?
10-28-2021 02:52 AM - edited 10-28-2021 03:06 AM
Verbose shows the below, could be an EA that causes it to freeze?
verbose: Timeout: 10 verbose: Checking availability of xxx... verbose: The JSS is available. Retrieving inventory preferences from xxx... Finding extension attributes... verbose: Running script for the extension attribute Admin users Locating applications... Locating accounts... Searching path: /System/Applications Locating package receipts... Locating hard drive information... Locating software updates... Locating printers... verbose: Locating running services... Gathering application usage information from the JamfDaemon... verbose: Gathering auto login user verbose: Found app: /System/Applications/Siri.app verbose: Found app: /System/Applications/Music.app verbose: Found app: /System/Applications/FindMy.app verbose: Found app: /System/Applications/QuickTime Player.app verbose: Found app: /System/Applications/Chess.app verbose: Found app: /System/Applications/Photo Booth.app verbose: Found app: /System/Applications/Books.app verbose: Found app: /System/Applications/Notes.app verbose: Found app: /System/Applications/Image Capture.app verbose: Found app: /System/Applications/Home.app verbose: Found app: /System/Applications/Preview.app verbose: Found app: /System/Applications/News.app verbose: Found app: /System/Applications/TextEdit.app verbose: Found app: /System/Applications/Podcasts.app verbose: Found app: /System/Applications/TV.app verbose: Found app: /System/Applications/Stocks.app verbose: Found app: /System/Applications/Mail.app verbose: Found app: /System/Applications/Dictionary.app verbose: Found app: /System/Applications/Contacts.app verbose: Found app: /System/Applications/Time Machine.app verbose: Found app: /System/Applications/Utilities/AirPort Utility.app verbose: Found app: /System/Applications/Utilities/VoiceOver Utility.app verbose: Found app: /System/Applications/Utilities/Terminal.app verbose: Found app: /System/Applications/Utilities/Activity Monitor.app verbose: Found app: /System/Applications/Utilities/Screenshot.app verbose: Found app: /System/Applications/Utilities/Grapher.app verbose: Found app: /System/Applications/Utilities/Audio MIDI Setup.app verbose: Found app: /System/Applications/Utilities/System Information.app verbose: Found app: /System/Applications/Utilities/Keychain Access.app verbose: Found app: /System/Applications/Utilities/Migration Assistant.app verbose: Found app: /System/Applications/Utilities/Script Editor.app verbose: Found app: /System/Applications/Utilities/ColorSync Utility.app verbose: Found app: /System/Applications/Utilities/Console.app verbose: Found app: /System/Applications/Utilities/Disk Utility.app verbose: Found app: /System/Applications/Utilities/Bluetooth File Exchange.app verbose: Found app: /System/Applications/Utilities/Boot Camp Assistant.app verbose: Found app: /System/Applications/Utilities/Digital Color Meter.app verbose: Found app: /System/Applications/Font Book.app verbose: Found app: /System/Applications/FaceTime.app verbose: Found app: /System/Applications/Maps.app verbose: Running script for the extension attribute AWS CLI 1 verbose: Found app: /System/Applications/Mission Control.app verbose: Found app: /System/Applications/Stickies.app verbose: Found app: /System/Applications/Photos.app verbose: Found app: /System/Applications/Messages.app verbose: Found app: /System/Applications/Calculator.app verbose: Found app: /System/Applications/VoiceMemos.app verbose: Found app: /System/Applications/Launchpad.app verbose: Found app: /System/Applications/Reminders.app verbose: Found app: /System/Applications/App Store.app verbose: Found app: /System/Applications/Automator.app verbose: Found app: /System/Applications/Calendar.app verbose: Found app: /System/Applications/System Preferences.app Searching path: /Applications verbose: Found app: /Applications/Visual Studio Code.app verbose: Found app: /Applications/SourceTree.app verbose: Found app: /Applications/Keybase.app verbose: Found app: /Applications/Kaleidoscope.app verbose: Found app: /Applications/Keka.app verbose: Found app: /Applications/Tuple.app verbose: Found app: /Applications/Remove Netskope Client.app verbose: Found app: /Applications/Google Chrome.app verbose: Found app: /Applications/Self Service.app verbose: Found app: /Applications/Numbers.app verbose: Found app: /Applications/Beyond Compare.app verbose: Found app: /Applications/Microsoft Remote Desktop.app verbose: Found app: /Applications/iMovie.app verbose: Found app: /Applications/Citrix Workspace.app verbose: Found app: /Applications/DBeaver.app verbose: Running script for the extension attribute AWS CLI 2 verbose: Found app: /Applications/Microsoft Word.app verbose: Found app: /Applications/Endpoint Security VPN.app verbose: Found app: /Applications/Cisco/Cisco AnyConnect Secure Mobility Client.app verbose: Found app: /Applications/Cisco/Uninstall AnyConnect.app verbose: Found app: /Applications/Microsoft Remote Desktop.localized/Microsoft Remote Desktop.app verbose: Found app: /Applications/SQLDeveloper.app verbose: Found app: /Applications/Navicat Premium 11.app verbose: Found app: /Applications/Docker.app verbose: Found app: /Applications/Grammarly for Safari.app verbose: Found app: /Applications/CCMenu.app verbose: Found app: /Applications/Safari.app verbose: Found app: /Applications/Microsoft Excel.app verbose: Found app: /Applications/Workplace Chat.app verbose: Found app: /Applications/SecureCRT.app verbose: Found app: /Applications/zoom.us.app verbose: Found app: /Applications/Microsoft Outlook.app verbose: Found app: /Applications/IntelliJ IDEA.app verbose: Found app: /Applications/Keynote.app verbose: Found app: /Applications/Check Point Firewall.app verbose: Found app: /Applications/pgAdmin 4.app verbose: Found app: /Applications/Authy Desktop.app verbose: Found app: /Applications/Pages.app verbose: Found app: /Applications/GarageBand.app verbose: Found app: /Applications/VirtualBox.app verbose: Found app: /Applications/1Password 7.app verbose: Found app: /Applications/Jamf Connect.app verbose: Found app: /Applications/Falcon.app verbose: Found app: /Applications/Microsoft OneNote.app verbose: Found app: /Applications/Kitematic.app verbose: Found app: /Applications/iTerm.app verbose: Found app: /Applications/Firefox.app verbose: Found app: /Applications/DataGrip.app verbose: Found app: /Applications/Postman.app verbose: Found app: /Applications/Fotor Photo Editor.app verbose: Found app: /Applications/Microsoft PowerPoint.app verbose: Found app: /Applications/Evernote.app verbose: Found app: /Applications/CompareMerge2.app verbose: Found app: /Applications/Netskope Client.app verbose: Found app: /Applications/Microsoft Teams.app verbose: Found app: /Applications/Slack.app verbose: Found app: /Applications/Sublime Text.app verbose: Running script for the extension attribute Check if Domain joined verbose: Running script for the extension attribute CrowdStrike verbose: Running script for the extension attribute CrowdStrike Network Running Status verbose: Running script for the extension attribute CrowdstrikeFalconAgentv6HearbeatCheckEA verbose: Running script for the extension attribute CrowdstrikeFalconv6AgentIDEA verbose: Running script for the extension attribute CrowdstrikeFalconv6ExtensionStatusEA verbose: Running script for the extension attribute CrowdstrikeFalconv6ExtensionVersionEA verbose: Running script for the extension attribute CrowdstrikeFalconv6LastEstablishedEA verbose: Running script for the extension attribute CrowdstrikeFalconv6Sensorv2 verbose: Running script for the extension attribute Demobilization Status verbose: Running script for the extension attribute Find my Mac verbose: Running script for the extension attribute Homebrew verbose: Running script for the extension attribute Krb5 Realm verbose: Running script for the extension attribute Last User verbose: Running script for the extension attribute Network Account enabled verbose: Running script for the extension attribute Network Time Server verbose: Running script for the extension attribute Oracle Java 8 JDKVersion verbose: Finding CoreStorage information... verbose: Running script for the extension attribute SecureToken Users verbose: Running script for the extension attribute Uptime Locating hardware information (macOS 11.6.0)... verbose: Device is BLE capable: yes verbose: Device is SIP protected: Enabled verbose: Checking AD status... verbose: Gatekeeper status: App Store and identified developers
Posted on 11-01-2021 07:47 PM
We are having the exact same problem, stuck in the same spot, devices not checking in... I've been working with Jamf support for 3 weeks on this now with no resolution or even a cause. I just keep getting passed off to different people.
Our temporary work around was to disable any policy that required recon... Not ideal.
Posted on 11-02-2021 04:23 AM
So, I found that my inventory was set to 'once per computer' and not 'once per day' ... seems ok now but monitoring it
Posted on 11-18-2021 05:27 PM
Yeah, same issue, comes back to haunt us after a reboot eventually
Posted on 11-18-2021 05:35 PM
So our fix was updating to 12.0.1. No issues on the affected machines since updating.
11-18-2021 05:37 PM - edited 11-18-2021 05:38 PM
I'm on 12.0.1 and facing this issue
Posted on 11-29-2021 08:32 AM
Our issues started back last week with devices on 12.0.1.
Posted on 12-01-2021 08:46 AM
We're facing this issue with 10.15.7 and I had one user with this issue running under 11.4, I told him to upgrade.
Also, it happened today on my Mac running under 11.6.1 and fixed once rebooted... we will se tomorrow.
Posted on 12-07-2021 06:38 PM
Anyone have any luck with this? Haven't had much success with support.
Posted on 12-17-2021 09:29 AM
I am seeing this on some machines as well. Haven't gotten a solid workaround yet.
Anybody get this figured out?
It hangs at "Gatekeeper status: App Store and identified developers"
Posted on 12-24-2021 10:48 PM
Facing the same issue on all computers, however running
sudo jamf recon
locally works just fine, so I switched from using "Update Inventory" in Maintenance section of the policy to running a script which doesn't get stuck.
Posted on 01-26-2022 11:33 AM
I am also facing the same issue. I've noticed a few things on my machines as well:
1.) if the user is experience this, they also have issues checking for software updates. Clicking "System Preferences" - "Software Update" brings them to the "Checking For Updates" screen but it never finishes.
2.) Upgrading to Monterey seems to fix the issue.
Has anyone found a solution? We are running 10.35
Posted on 01-26-2022 03:17 PM
Same, having users on 11.6.1 (who were unable to update to 11.6.2) upgrade to 12.1 resolved the issue.
Posted on 01-26-2022 11:40 AM
This will fix the issue with Software Updates
Posted on 02-07-2022 02:36 PM
This worked for me. Thanks!
Posted on 01-26-2022 11:48 AM
@kissland
wow, that fixed our issue with software update I'm going to see if that fixes inventory updates.
Can I ask how you knew the solution? I feel like the softwareupdate issue happened a week or so ago and I can't figure out what caused it.
So far upgrading to Monterey has fixed it for the folks having the issue with recon/softwareupdate until you showed me this.
Posted on 01-26-2022 11:54 AM
I too noticed it a week or so ago, not sure what caused it. Someone mentioned it on MacAdmins Slack channel, a few others have this issue too. It has not solved the inventory problems though.
Posted on 01-26-2022 11:58 AM
Running that command has also fixed our jamf recon issues on a few users I just tried it on. I just pinged my former colleagues and they said they are experiencing the same thing with recon/softwareupdates. I appreciate the fix it sounds like something is going on with Apple's Software Update servers.
Posted on 01-26-2022 12:17 PM
Perhaps "Gatekeeper status: App Store and identified developers" or something with recon relies on the Software Update daemon?
I'm so glad that there's another fix that doesn't require restarting the machine!
Posted on 01-26-2022 12:49 PM
This looks like it potentially has fixed the issue... Ran this across a number of machines and the inventory is successful. Will continue to monitor.
Posted on 01-26-2022 03:04 PM
Chiming in to say we have about ~60 users with this issue on 11.6.1. Recons don't run, and another symptom was that (even after a restart) a user could never successfully check for updates from the command line or in System Preferences.
I have an open ticket with Jamf right now and will send them this thread along with the info I have gathered. It's a frustrating issue to resolve, b/c we'll have to reach out to every user individually. I actually had `sudo launchctl kickstart -k system/com.apple.softwareupdated` in Self Service to resolve another `softwareupdate` issue from a year or so ago, but Self Service is not successful due to `recon` stalling out from a previous run.
Posted on 01-28-2022 08:02 AM
Hey Everyone,
I just wanted to give an update on what we are experiencing and how it might help you as well.
1.) The SoftwareUpdate issue is still ongoing even after running `sudo launchctl kickstart -k system/com.apple.softwareupdated`. It fixes it but the issue has came back on some machines.
2.) This is critical: the reason your JAMF policies/recons are hanging is because JAMF Recon is, by default, set to collect software update information. If you go to Full JSS Settings - Inventory Collection - there will be a setting called "Collect Available Software Updates". If you turn this off, you will still have the "checking for updates" issue but at least your clients will be able to check-in.
I don't have Apple reps or contacts but this seems like an Apple outage/degradation. Has anyone been able to pinpoint the cause for the "checking for updates" issue? I've reached out to several colleagues that are running JAMF and told them to look for this in their environment and surely enough they've found that their machines stopped checking in about 1-2 weeks ago. Further, JAMF Support told me they've received numerous cases about this.
02-03-2022 05:05 PM - edited 02-03-2022 05:06 PM
Been ssh-ing into about 80 machines the last couple days to fix this. I love Jamf, but dang I hate Jamf sometimes.
03-17-2022 07:39 AM - edited 03-17-2022 07:43 AM
Just thought I'd chip in on this one having found the post after some head-scratching on why some machines hadn't been checking in!
Initially I tried the verbose recon on a users machine and it was also stalling at the Gatekeeper App store bit.
Ran the command to kickstart softwareupdate and then recon and it ran through fine!
The reboot bit got me thinking and I did a check on the machine I was working on and the last reboot (based on uptime) was around the time it stopped.
Posted on 05-02-2022 11:17 AM
I have one machine with the same issue on Gatekeeper hang. Ran the above command to no avail, Restarted to no avail, Inventory is not set to collect available updates.
Posted on 06-29-2022 06:50 AM
I am experiencing the same. Has anyone found a resolution.
Xxxxxxxxxxxxxxxx ~ % sudo jamf recon -verbose
verbose: Timeout: 10
verbose: Checking availability of xxxxxxx/…
verbose: JMFCommons.JamfKeychain.JamfKeychainSecurityError.failedToReadJmfKeychainPassword
verbose: Error Domain=com.jamf.jamfsecurity.error Code=-25293 "unlockWithPassword:error: : The user name or passphrase you entered is not correct." UserInfo={NSLocalizedDescription=unlockWithPassword:error: : The user name or passphrase you entered is not correct.}
There was an error.
Device Signature Error - A valid device signature is required to perform the action.
Posted on 09-14-2022 11:46 AM
I'm seeing this as well on machines.
sudo jamf enroll -prompt
and re-enrolling seems to fix.
Posted on 09-23-2022 02:22 PM
I had a stubborn MacBook Pro that wouldn't finish inventory. The "sudo jamf enroll -prompt" worked for me. Thanks!
Posted on 10-16-2023 08:48 AM
Didn't fix the issue for me, still hangs on "Locating hardware information".
Macos 12.6.9
Jamf 10.50.0
Posted on 09-25-2023 08:43 AM
Old thread I know, but recently had a bunch of machines failing to check in. What I found is that majority of these machines were running "jamf policy" and getting stuck, some of them went back months even.
I ran a "sudo killall jamf" on them, followed by "jamf policy" and they started checking in again without the need to re-enroll the device(s).
I do have a 3rd party patching tool though that allows me to push out scripts and stuff to machines, so that helped bypass Jamf where it couldn't talk to machines.
Its not ideal but better then walking around to 34-40 machines. I think Jamf should deploy some sort of failsafe where if a policy runs for so many hours or days it kills itself and restarts. I think that would fix a lot of these issues where machines are falling off and failing to check in.
Hope this help others.