Nudge install help

jzastrow
New Contributor III

Think i missed something in the install i followed the instructions and from a video done about a year or two ago and i get that cannot reopen error 

i ran the log command and i do see the JSON missing error and i can see it in the setup but i am guessing it's not installing it 

 

Nudge -simulate-os-version "14.2" -disable-random-delay

zsh: command not found: Nudge

IT Admin@jason-zs-mini MacOS % log stream --predicate 'subsystem == "com.github.macadmins.Nudge"' --style syslog --color none

Filtering the log data using "subsystem == "com.github.macadmins.Nudge""

Timestamp                       (process)[PID]   

2024-09-17 15:42:24.183975-0500  localhost Nudge[627]: [com.github.macadmins.Nudge:user-interface] Finished delay

2024-09-17 15:42:24.190505-0500  localhost Nudge[627]: [com.github.macadmins.Nudge:sofa] Failed to decode previously cached local sofa JSON: The data couldn’t be read because it is missing.

2024-09-17 15:42:24.190871-0500  localhost Nudge[627]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"SecurityInfo\", intValue: nil) (\"SecurityInfo\").", underlyingError: nil))

2024-09-17 15:42:24.205348-0500  localhost Nudge[627]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: The data couldn’t be read because it is missing.

2024-09-17 15:42:24.205470-0500  localhost Nudge[627]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"SecurityInfo\", intValue: nil) (\"SecurityInfo\").", underlyingError: nil))

2024-09-17 15:42:24.205509-0500  localhost Nudge[627]: [com.github.macadmins.Nudge:sofa] Could not fetch SOFA feed

 

 

^[2024-09-17 16:00:00.134136-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:user-interface] Failed to serialize profile configuration

2024-09-17 16:00:00.134458-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:preferences-profile] Failed to load data from URL: file:///Library/Preferences/com.github.macadmins.Nudge.json

2024-09-17 16:00:00.217266-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:user-interface] Delaying initial run (in seconds) by: 1112

2024-09-17 16:28:31.193677-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:user-interface] Finished delay

2024-09-17 16:28:31.199416-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:sofa] Failed to decode previously cached local sofa JSON: The data couldn’t be read because it is missing.

2024-09-17 16:28:31.199794-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"SecurityInfo\", intValue: nil) (\"SecurityInfo\").", underlyingError: nil))

2024-09-17 16:28:31.214430-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: The data couldn’t be read because it is missing.

2024-09-17 16:28:31.214551-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"SecurityInfo\", intValue: nil) (\"SecurityInfo\").", underlyingError: nil))

2024-09-17 16:28:31.214576-0500  localhost Nudge[1661]: [com.github.macadmins.Nudge:sofa] Could not fetch SOFA feed

2024-09-17 16:30:00.133076-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:user-interface] Failed to serialize profile configuration

2024-09-17 16:30:00.133356-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:preferences-profile] Failed to load data from URL: file:///Library/Preferences/com.github.macadmins.Nudge.json

2024-09-17 16:30:00.221101-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:user-interface] Delaying initial run (in seconds) by: 325

2024-09-17 16:59:21.069732-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:user-interface] Finished delay

2024-09-17 16:59:21.076270-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:sofa] Failed to decode previously cached local sofa JSON: The data couldn’t be read because it is missing.

2024-09-17 16:59:21.076528-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"SecurityInfo\", intValue: nil) (\"SecurityInfo\").", underlyingError: nil))

2024-09-17 16:59:21.087796-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: The data couldn’t be read because it is missing.

2024-09-17 16:59:21.087896-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"SecurityInfo\", intValue: nil) (\"SecurityInfo\").", underlyingError: nil))

2024-09-17 16:59:21.087919-0500  localhost Nudge[2440]: [com.github.macadmins.Nudge:sofa] Could not fetch SOFA feed

2024-09-17 17:00:00.021181-0500  localhost Nudge[2741]: [com.github.macadmins.Nudge:user-interface] Failed to serialize profile configuration

2024-09-17 17:00:00.021503-0500  localhost Nudge[2741]: [com.github.macadmins.Nudge:preferences-profile] Failed to load data from URL: file:///Library/Preferences/com.github.macadmins.Nudge.json

2024-09-17 17:00:00.095543-0500  localhost Nudge[2741]: [com.github.macadmins.Nudge:user-interface] Delaying initial run (in seconds) by: 439

1 REPLY 1

jamf-42
Valued Contributor II

I have tickets open with SOFA and Nudge.. I think something is busted.. been getting issues all day with the logs back from Nudge.. 

 

 

2024-09-18 08:00:30.338133+0100 localhost Nudge[52127]: [com.github.macadmins.Nudge:user-interface] Finished delay
2024-09-18 08:00:30.358448+0100 localhost Nudge[52127]: [com.github.macadmins.Nudge:sofa] Failed to decode previously cached local sofa JSON: The data couldn’t be read because it is missing.
2024-09-18 08:00:30.360667+0100 localhost Nudge[52127]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: "SecurityInfo", intValue: nil) ("SecurityInfo").", underlyingError: nil))
2024-09-18 08:00:30.593398+0100 localhost Nudge[52127]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: The data couldn’t be read because it is missing.
2024-09-18 08:00:30.593903+0100 localhost Nudge[52127]: [com.github.macadmins.Nudge:sofa] Failed to decode sofa JSON after redownload: keyNotFound(CodingKeys(stringValue: "SecurityInfo", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "OSVersions", intValue: nil), _JSONKey(stringValue: "Index 0", intValue: 0), CodingKeys(stringValue: "Latest", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: "SecurityInfo", intValue: nil) ("SecurityInfo").", underlyingError: nil))
2024-09-18 08:00:30.593957+0100 localhost Nudge[52127]: [com.github.macadmins.Nudge:sofa] Could not fetch SOFA feed