10.9.2 Mavericks Not Updating Agent
Updated to 6.0 yesterday and used two of our department groups in KACE as a test. One group has 35 Dell PCs, the other has 15 Macs and 1 Dell PC.
I found that all of the PCs updated with no issues, not surprising. The Macs on the other hand had an issue. Any of the Macs running 10.8.5 or below updated the agent fine. Any of them running 10.9.2 refused to upgrade and in addition stopped checking in once added to the list of upgrades.
Basically the issue is:
-Mac "xyz" running 10.9.2 running the 5.x version of the agent is checking in fine
-Add machine "xyz" to list of devices to update agent version to 6.0.1079
-Go to inventory to see details on "xyz" and click to Force Inventory to force client to check in and update agent
-Machine "xyz" never checks in again despite stopping/starting ampagent or rebooting
The only way around this is to do a manual install of the 6.0.1079 agent which is not a viable solution as we have ~200 Macs in our environment running 10.9.x.
Anyone else running into this issue?
Actually, I think that using an Online Shell Script is the way to go. Also, if you already have the Macs set for the Agent Upgrade, turn off the agent update (at least for the Macs) while the script is running, then trun it on after the script has replaced the runkbot file.
Here is a bash script that should work. Make the 6.0 version of the runkbot executable the dependancy.
/bin/cp ./runkbot /Library/Application\ Support/Dell/KACE/bin/runkbot
/Library/Application\ Support/Dell/KACE/bin/runkbot 2 0
- Run the script which replaces runkbot on the agent with the one from 5.5 AP1 before attempting to upgrade on the affected Mac. The script will be uploaded separately.
- Manually upgrade the agent, or unprovision then reprovision the agent.