nudge
nudge copied to clipboard
Choosing to defer updates and nudge no longer presents itself
A small group of people (myself incl) in the #nudge channel on macadmins slack channel have been experiencing issues when we choose to defer the update. the ~/Plist file updates with the time to recheck, but nudge doesn't relaunch, even when left overnight.
Filtering the log data using "subsystem == "com.github.macadmins.Nudge"" Timestamp (process)[PID] 2022-06-21 10:33:16.692606-0500 localhost Nudge[3022]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true 2022-06-21 10:33:40.286845-0500 localhost Nudge[3022]: [com.github.macadmins.Nudge:softwareupdate-list] softwareupdate found macOS Monterey 12.4-21F79 available for download - attempting download Filtering the log data using "subsystem == "com.github.macadmins.Nudge"" Timestamp (process)[PID] 2022-06-21 10:39:16.458901-0500 localhost Nudge[579]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true 2022-06-21 10:39:44.821377-0500 localhost Nudge[579]: [com.github.macadmins.Nudge:softwareupdate-list] softwareupdate did not find 12.4 available for download - skipping download attempt 2022-06-21 10:39:45.075186-0500 localhost Nudge[579]: [com.github.macadmins.Nudge:user-interface] New Nudge event detected - resetting all deferral values 2022-06-21 10:39:45.084553-0500 localhost Nudge[579]: [com.github.macadmins.Nudge:utilities] Device pastRequiredInstallationDate: false 2022-06-21 10:40:10.621208-0500 localhost Nudge[579]: [com.github.macadmins.Nudge:user-interface] User initiated a deferral: 2022-06-21 16:40:10 +0000 2022-06-21 10:40:10.621998-0500 localhost Nudge[579]: [com.github.macadmins.Nudge:user-interface] User clicked primaryQuitButton 2022-06-21 11:00:04.234552-0500 localhost Nudge[1241]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true 2022-06-21 11:01:31.287812-0500 localhost Nudge[1241]: [com.github.macadmins.Nudge:softwareupdate-list] softwareupdate found macOS Monterey 12.4-21F79 available for download - attempting download Filtering the log data using "subsystem == "com.github.macadmins.Nudge"" Filtering the log data using "subsystem == "com.github.macadmins.Nudge"" Timestamp (process)[PID] 2022-06-21 13:58:23.807065-0500 localhost Nudge[593]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true 2022-06-21 14:03:49.298433-0500 localhost Nudge[593]: [com.github.macadmins.Nudge:softwareupdate-list] softwareupdate did not find 12.4 available for download - skipping download attempt 2022-06-21 14:03:49.445926-0500 localhost Nudge[593]: [com.github.macadmins.Nudge:utilities] Device pastRequiredInstallationDate: false 2022-06-21 14:04:24.983028-0500 localhost Nudge[593]: [com.github.macadmins.Nudge:user-interface] User initiated a deferral: 2022-06-21 20:04:24 +0000 2022-06-21 14:04:24.983853-0500 localhost Nudge[593]: [com.github.macadmins.Nudge:user-interface] User clicked primaryQuitButton 2022-06-21 14:30:00.118863-0500 localhost Nudge[1116]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true 2022-06-21 14:31:12.500184-0500 localhost Nudge[1116]: [com.github.macadmins.Nudge:softwareupdate-list] softwareupdate did not find 12.4 available for download - skipping download attempt 2022-06-21 14:31:12.617014-0500 localhost Nudge[1116]: [com.github.macadmins.Nudge:utilities] Device pastRequiredInstallationDate: false 2022-06-21 14:31:12.618182-0500 localhost Nudge[1116]: [com.github.macadmins.Nudge:user-interface] User has selected a deferral date (2022-06-21 20:04:24 +0000) that is greater than the launch date (2022-06-21 19:31:12 +0000) 2022-06-21 14:31:12.618222-0500 localhost Nudge[1116]: [com.github.macadmins.Nudge:user-interface] Nudge is terminating due to condition met 2022-06-21 15:00:05.692247-0500 localhost Nudge[1396]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true 2022-06-21 15:00:18.646766-0500 localhost Nudge[1396]: [com.github.macadmins.Nudge:softwareupdate-list] softwareupdate found macOS Monterey 12.4-21F79 available for download - attempting download
@n0brainer Do you have asynchronousSoftwareUpdate set to false? It looks like softwareupdate is failing to download the update. Have you restarted these computers or tried force quitting all softwareupdated processes?
When I restart nudge kicks off, Async Updates is set to False. And yes, once I force quit the software update command nudge pops up immediately. is nudge just calling the binary softwareupdate then for macOS 12+?
@n0brainer Yes, Nudge calls softwareupdate:
https://github.com/macadmins/nudge/blob/b77495ce405d2166a72a37f5484e8b84e46e9b55/Nudge/Utilities/SoftwareUpdate.swift
Unless you configure it not to:
https://github.com/macadmins/nudge/wiki/optionalFeatures