Mario Panighetti

Results 35 comments of Mario Panighetti

Newer versions of Jamf Pro support regex comparisons for version strings. Might make it easier to write a check that accounts for older versions (e.g. if latest version is 1.3,...

Saw this happening today on every JamfUploader recipe run during the JamfCategoryUploader step. Issue went away after we deleted `/private/tmp/jamf_upload` and `/private/tmp/jamf_upload_token` based on troubleshooting guidance given in MacAdmins Slack....

Interesting. When a Jamf Pro policy installs this payload, the script execution is kicked off from a LaunchDaemon, so I don't think the policy trigger is necessarily what's causing this....

If you see it happening with manual package install, recommend enabling debug mode on the script by changing the first line to `#!/bin/bash -x` then reloading the LaunchDaemon. This should...

This isn't necessarily a fix, but I just released version [4.1.4](https://github.com/mpanighetti/install-or-defer/releases/tag/v4.1.4) which, among other things, provides more consistent variable string protection. Recommend giving this a try, and I'd suggest trying...

@Eliesmbr @dpertschi On an affected system, try running `sudo launchctl kickstart -k system/com.apple.softwareupdated`, then pushing Install or Defer, see if that forces the software update daemon to reload and properly...

I'd put this kickstart [right before the pending update check in `check_for_updates`](https://github.com/mpanighetti/install-or-defer/blob/main/payload/Library/Scripts/Install%20or%20Defer.sh#L144) to ensure the process is ready to go.

That's a bummer, but it seems like there are enough issues with stability around the `softwareupdate` process in macOS Big Sur+ that it's still probably worthwhile to add this kickstart...

Yeah, this was my suspicion, that the update check is actually running but not seeing updates for some reason. That would seem to be a macOS bug, which isn't surprising...

From previous logs, it looks like you were testing this in macOS Monterey? I haven't had a chance to play with this script much in Monterey since I'm looking at...