Nudge 2.0 not updating OS

jzastrow
New Contributor III

i had the same problem with my test run but on day 3 i got the update prompt, then i moved to adding 2 test users and nothing, i set it to give them 2 weeks to update and had them check after 3 and 9 days and they get "can not reopen app" error

Police set to Recurring Check-in.

i show it installed no error

 

Config profile

Preference Domain Properties
Properties to configure for the preference domain

 

<?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>acceptableCameraUsage</key>
      <true/>
      <key>acceptableScreenSharingUsage</key>
      <true/>
      <key>attemptToBlockApplicationLaunches</key>
      <true/>
      <key>enforceMinorUpdates</key>
      <true/>
    </dict>
    <key>osVersionRequirements</key>
    <array>
      <dict>
        <key>requiredInstallationDate</key>
        <string>2024-1-07T22:00:00</string>
        <key>requiredMinimumOSVersion</key>
        <string>14.1</string>
      </dict>
    </array>
    <key>userExperience</key>
    <dict>
      <key>allowGracePeriods</key>
      <true/>
      <key>allowedDeferrals</key>
      <integer>20</integer>
      <key>approachingWindowTime</key>
      <integer>48</integer>
      <key>imminentWindowTime</key>
      <integer>24</integer>
      <key>randomDelay</key>
      <true/>
    </dict>
    <key>userInterface</key>
    <dict>
      <key>showDeferralCount</key>
      <true/>
      <key>updateElements</key>
      <array>
        <dict>
          <key>_language</key>
          <string>en</string>
          <key>actionButtonText</key>
          <string>Open System Update</string>
          <key>mainContentText</key>
          <string>A Fully up-to-date Mac is required to ensure you device is protected.</string>
          <key>subHeader</key>
          <string>A friendly reminder from your local IT team</string>
        </dict>
      </array>
    </dict>
  </dict>
</plist>

7 REPLIES 7

sdagley
Esteemed Contributor II

@jzastrow Not sure if it's why you're having an issue, but you've got a malformed requiredInstallationDate because the month field must be 2 digits and you've only got 1 in the "2024-1-07T22:00:00" date shown in your configuration plist.

jzastrow
New Contributor III

i set it to 2024-11-04T22:00:00 i will see what happens 

jzastrow
New Contributor III

did not work still does not prompt to update and i still get can not reopen app error 

howie_isaacks
Valued Contributor II

There's a Nudge channel in Mac Admins Slack. You could ask for help there. A lot of those guys have been very helpful when I have had problems with Nudge.

howie_isaacks
Valued Contributor II

I was having an issue with Nudge 2.0 myself. What ended up solving it was me completely replacing the JSON used in my Nudge configuration profile. I don't need to customize a lot so I'm totally OK using the JSON found here: https://github.com/macadmins/nudge/blob/main/Schema/jamf/com.github.macadmins.Nudge.json When I did this I took the opportunity to make Nudge a bit more aggressive so it all worked out well in the end.

MPHEGGELO
New Contributor

I am testing Nudge and I am having a couple issues. First my consfig profile is not creating the dialig box features that are deployed. Not getting the defer dropdown, etc.

Second, the latest version is checking SOFA and stating the computer is up-to-date. "Current system (14.6.1) is greater or equal to required operating system (0.0)"

Just before that in the logs it states "could not find requiredMinimumOSVersion 0.0 in SOFA feed."