nudge icon indicating copy to clipboard operation
nudge copied to clipboard

latest-supported in required of version seems broken

Open kylejericson opened this issue 10 months ago • 4 comments

I have tested this config with the latest Nudge on vms and real Macs. It seems it can't find the latest os version and just thinks you need to update even when you are on the latest.

Image

Full config:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>optionalFeatures</key>
    <dict>
      <key>acceptableAssertionUsage</key>
      <true/>
      <key>acceptableCameraUsage</key>
      <true/>
      <key>acceptableUpdatePreparingUsage</key>
      <true/>
      <key>acceptableScreenSharingUsage</key>
      <true/>
      <key>asynchronousSoftwareUpdate</key>
      <true/>
      <key>enforceMinorUpdates</key>
      <true/>
      <key>attemptToFetchMajorUpgrade</key>
      <true/>
      <key>utilizeSOFAFeed</key>
      <true/>
    </dict>
    <key>osVersionRequirements</key>
    <array>
      <dict>
        <key>activelyExploitedCVEsMajorUpgradeSLA</key>
        <integer>14</integer>
        <key>activelyExploitedCVEsMinorUpdateSLA</key>
        <integer>14</integer>
        <key>nonActivelyExploitedCVEsMajorUpgradeSLA</key>
        <integer>21</integer>
        <key>nonActivelyExploitedCVEsMinorUpdateSLA</key>
        <integer>21</integer>
        <key>requiredMinimumOSVersion</key>
        <string>latest-supported</string>
        <key>standardMajorUpgradeSLA</key>
        <integer>28</integer>
        <key>standardMinorUpdateSLA</key>
        <integer>28</integer>
      </dict>
    </array>
    <key>userInterface</key>
    <dict>
      <key>iconDarkPath</key>
      <string>/Library/Resources/logo.png</string>
      <key>iconLightPath</key>
      <string>/Library/Resources/logo.png</string>
    </dict>
  </dict>
</plist>

kylejericson avatar Mar 04 '25 17:03 kylejericson

From the Nudge Log:

com.github.macadmins.Nudge:softwareupdate-device] Error assessing DeviceID: remotectl: Unable to find device "localbridge".
2025-03-04 10:25:24.160453-0600  localhost Nudge[11564]: [com.github.macadmins.Nudge:utilities] Failed to fetch target-sub-type property.
2025-03-04 10:25:24.161058-0600  localhost Nudge[11564]: [com.github.macadmins.Nudge:sofa] Could not find requiredMinimumOSVersion latest-supported in SOFA feed

kylejericson avatar Mar 04 '25 17:03 kylejericson

After more testing this seems isolated to a parallels desktop vm issue.

kylejericson avatar Mar 05 '25 18:03 kylejericson

I have seen the issue as well on one physical device:

Image

kevinVodi avatar Mar 24 '25 18:03 kevinVodi

I am seeing this on several physical devices. Nudge profile is set to require 15.3.2, device has 15.3.1. I am getting this message in the log:

2025-04-16 16:27:21.576619-0400 localhost Nudge[3526]: [com.github.macadmins.Nudge:utilities] Current operating system (15.3.1) is greater than or equal to required operating system (0.0) 2025-04-16 16:27:21.576678-0400 localhost Nudge[3526]: [com.github.macadmins.Nudge:user-interface] Device is fully updated 2025-04-16 16:27:21.576726-0400 localhost Nudge[3526]: [com.github.macadmins.Nudge:user-interface] Nudge is terminating due to condition met

Rosie0530 avatar Apr 16 '25 20:04 Rosie0530