Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network state changes resetting Nudge config #561

Closed
ahousseini opened this issue Mar 8, 2024 · 2 comments
Closed

Network state changes resetting Nudge config #561

ahousseini opened this issue Mar 8, 2024 · 2 comments

Comments

@ahousseini
Copy link

This issue is a consequence from this Slack discussion.

When using Nudge with a remote JSON config and something happens on the network side, Nudge thinks the config changed and is resetting the required macOS version to the default 0.0. This is also resetting all deferred values. Installed Nudge version is 1.1.15.81559.

2024-03-08 12:35:09.672276+0100  localhost Nudge[62663]: [com.github.macadmins.Nudge:user-interface] Failed to serialize profile configuration
2024-03-08 12:35:09.672490+0100  localhost Nudge[62663]: [com.github.macadmins.Nudge:preferences-json] Failed to load data from URL: https://[redacted]/Nudge.json
2024-03-08 12:35:09.757488+0100  localhost Nudge[62663]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true
2024-03-08 12:35:09.818662+0100  localhost Nudge[62663]: [com.github.macadmins.Nudge:utilities] Current operating system (14.3.1) is greater than or equal to required operating system (0.0)
2024-03-08 12:35:09.818683+0100  localhost Nudge[62663]: [com.github.macadmins.Nudge:user-interface] Device is fully updated
2024-03-08 12:35:09.818711+0100  localhost Nudge[62663]: [com.github.macadmins.Nudge:user-interface] Nudge is terminating due to condition met
2024-03-08 13:12:32.910791+0100  localhost Nudge[62809]: [com.github.macadmins.Nudge:user-interface] Failed to serialize profile configuration
2024-03-08 13:12:32.911973+0100  localhost Nudge[62809]: [com.github.macadmins.Nudge:preferences-json] Failed to load data from URL: https://[redacted]/Nudge.json
2024-03-08 13:12:33.009624+0100  localhost Nudge[62809]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true
2024-03-08 13:12:33.074288+0100  localhost Nudge[62809]: [com.github.macadmins.Nudge:utilities] Current operating system (14.3.1) is greater than or equal to required operating system (0.0)
2024-03-08 13:12:33.074318+0100  localhost Nudge[62809]: [com.github.macadmins.Nudge:user-interface] Device is fully updated
2024-03-08 13:12:33.074348+0100  localhost Nudge[62809]: [com.github.macadmins.Nudge:user-interface] Nudge is terminating due to condition met
2024-03-08 13:30:05.952572+0100  localhost Nudge[64699]: [com.github.macadmins.Nudge:user-interface] Delaying initial run (in seconds) by: 114
2024-03-08 13:32:00.028151+0100  localhost Nudge[64699]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true
2024-03-08 13:32:00.113703+0100  localhost Nudge[64699]: [com.github.macadmins.Nudge:user-interface] New Nudge event detected - resetting all deferral values
2024-03-08 13:32:00.117054+0100  localhost Nudge[64699]: [com.github.macadmins.Nudge:user-interface] User has selected a deferral date (2024-03-09 10:56:40 +0000) that is greater than the launch date (2024-03-08 12:32:00 +0000
2024-03-08 13:32:00.117071+0100  localhost Nudge[64699]: [com.github.macadmins.Nudge:user-interface] Nudge is terminating due to condition met
2024-03-08 14:00:05.273776+0100  localhost Nudge[67899]: [com.github.macadmins.Nudge:user-interface] Delaying initial run (in seconds) by: 57
2024-03-08 14:01:02.279904+0100  localhost Nudge[67899]: [com.github.macadmins.Nudge:softwareupdate-download] enforceMinorUpdates: true
@erikng
Copy link
Member

erikng commented Mar 11, 2024

I wrote a quick fix vs trying retry logic.

2f38780

Please try https://github.com/macadmins/nudge/releases/tag/v1.1.15.81560

@erikng
Copy link
Member

erikng commented Mar 13, 2024

I'm going to just assume this is fixed. Please re-open if it's not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants