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

Local Validation “Local” Missing #20

Open
AymenAbb opened this issue Jan 2, 2024 · 0 comments
Open

Local Validation “Local” Missing #20

AymenAbb opened this issue Jan 2, 2024 · 0 comments

Comments

@AymenAbb
Copy link

AymenAbb commented Jan 2, 2024

I'm sure this is entirely on me and not a bug, but for the life of me I cannot figure out where I went wrong especially after following the video multiple times. Basically when I run the bash export script it'll error out on an app (I just did Chrome), and say Local Validation “Local” Missing. Updating inventory though works. I have checked the validation and trigger to be correct. Below is the full debug.

Setup Your Mac (1.13.0)

https://snelson.us/sym

2024-01-02 10:11:39 - PRE-FLIGHT CHECK: Initiating …
2024-01-02 10:11:39 - PRE-FLIGHT CHECK: Setup Assistant is no longer running; proceeding …
2024-01-02 10:11:39 - PRE-FLIGHT CHECK: Finder & Dock are running; proceeding …
2024-01-02 10:11:39 - PRE-FLIGHT CHECK: Check for Logged-in System Accounts …
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: Current Logged-in User: test
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: Current Logged-in User First Name: Test
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: Current Logged-in User ID: 502
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: 'requiredMinimumBuild' has been set to disabled; skipping OS validation.
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: macOS 13.6 (22G120) installed
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: Caffeinating this script (PID: 13216)
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: DEBUG MODE: Normally, 'jamf' binary check-in would be temporarily disabled
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 454 # # #
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: swiftDialog version 2.3.3.4734 found; proceeding...
2024-01-02 10:11:40 - PRE-FLIGHT CHECK: Complete
2024-01-02 10:11:40 - WELCOME DIALOG: welcomeBannerImage is available, using it
2024-01-02 10:11:40 - WELCOME DIALOG: Auto-caching hosted 'green-abstract-geometric-wallpaper_52683-29623.jpg' …
2024-01-02 10:11:40 - WELCOME DIALOG: bannerImage is available
2024-01-02 10:11:40 -

VERBOSE DEBUG MODE | Dialog: v2.3.3.4734 • Setup Your Mac: v1.13.0

2024-01-02 10:11:40 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2344 # # #
2024-01-02 10:11:40 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2349 # # #
2024-01-02 10:11:41 - WELCOME DIALOG: Disk Space: 92.2 GB free (79.90% available)
2024-01-02 10:11:41 - WELCOME DIALOG: Starting checkNetworkQualityConfigurations …
2024-01-02 10:11:41 - WELCOME DIALOG: Write 'welcomeJSON' to /var/tmp/welcomeJSONFile.FlA …
2024-01-02 10:11:41 - WELCOME DIALOG: Display Welcome dialog 'infobox' animation …
2024-01-02 10:11:41 - WELCOME DIALOG: Display 'Welcome' dialog …
2024-01-02 10:11:47 - WELCOME DIALOG: test entered information and clicked Continue
execution error: Error: TypeError: undefined is not an object (evaluating 'JSON.parse(env)['Position']['selectedValue']') (-2700)
2024-01-02 10:11:47 - WELCOME DIALOG: • Computer Name:
2024-01-02 10:11:47 - WELCOME DIALOG: • User Name:
2024-01-02 10:11:47 - WELCOME DIALOG: • Real Name:
2024-01-02 10:11:47 - WELCOME DIALOG: • E-mail:
2024-01-02 10:11:47 - WELCOME DIALOG: • Asset Tag:
2024-01-02 10:11:47 - WELCOME DIALOG: • Configuration: Required
2024-01-02 10:11:47 - WELCOME DIALOG: • Department: Staff
2024-01-02 10:11:47 - WELCOME DIALOG: • Building: Grade School
2024-01-02 10:11:47 - WELCOME DIALOG: • Room:
2024-01-02 10:11:47 - WELCOME DIALOG: • Position:
2024-01-02 10:11:47 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 921 # # #
2024-01-02 10:11:47 - WELCOME DIALOG: PolicyJSON Configuration: Required
2024-01-02 10:11:47 - WELCOME DIALOG: test did NOT specify a new computer name
2024-01-02 10:11:47 - WELCOME DIALOG: • Current Computer Name: "test’s MacBook Air"
2024-01-02 10:11:47 - WELCOME DIALOG: • Current Local Host Name: "tests-MacBook-Air"
2024-01-02 10:11:47 - WELCOME DIALOG: reconOptions: -department "Staff" -building "Grade School"
2024-01-02 10:11:48 - WELCOME DIALOG: 'Setup Your Mac' dialog displayed; ensure it's the front-most app
2024-01-02 10:11:48 - Run "osascript -e tell application "Dialog" to activate" as "502" …
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2613 # # #
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2629 # # #
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: Total Number of Steps: 2
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: Progress Increment Value: 50
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2643 # # #
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: list: Enrollment: Google Chrome, Computer Inventory
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: listitem: index: 0, icon: https://use2.ics.services.jamfcloud.com/icon/hash_38652ddedd3a1819465dd1076b7847b8d512aa784d371a69d91e2121bdfd37db, status: pending, statustext: Pending …
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: listitem: index: 1, icon: https://ics.services.jamfcloud.com/icon/hash_ff2147a6c09f5ef73d1c4406d00346811a9c64c0b6b7f36eb52fcb44943d26f9, status: pending, statustext: Pending …
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: list: show
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2658 # # #
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: Initial progress bar
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: progress: 1
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2669 # # #
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2679 # # #
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: Updating 'infobox'
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: infobox: Configuration:
Required

Department:
Staff

Building:
Grade School

2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2731 # # #
2024-01-02 10:11:48 - Update 'helpmessage' with support-related information …
2024-01-02 10:11:48 - Update 'helpmessage' with Configuration: Required …
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: helpmessage: If you need assistance, please contact:

Support Team Name

Configuration:

  • Required

Computer Information:

  • Operating System: 13.6 (22G120)
  • Serial Number: FVFK10D61WFT
  • Dialog: 2.3.3.4734
  • Started: 2024-01-02-101140
    2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2784 # # #
    2024-01-02 10:11:48 -

#

SETUP YOUR MAC DIALOG: policyJSON > listitem: Enrollment: Google Chrome

#

2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: listitem: index: 0, status: wait, statustext: Installing …,
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: icon: https://use2.ics.services.jamfcloud.com/icon/hash_38652ddedd3a1819465dd1076b7847b8d512aa784d371a69d91e2121bdfd37db
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: progresstext: Google Chrome is a browser.
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1339 # # #
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: Confirm Policy Execution: 'chromeEnrollment' 'None'
2024-01-02 10:11:48 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1366 # # #
2024-01-02 10:11:48 - SETUP YOUR MAC DIALOG: Confirm Policy Execution: None
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: Skipping Policy Execution due to 'Local' validation
2024-01-02 10:11:51 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1413 # # #
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: Validate Policy Result: 'chromeEnrollment' 'Local'
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: Locally Validate Policy Result: Local Validation “Local” Missing
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: listitem: index: 0, status: fail, statustext: Missing Local “Local” Validation
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: progress: increment 50
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: Elapsed Time for 'chromeEnrollment' 'Local': 0h:0m:3s
2024-01-02 10:11:51 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2784 # # #
2024-01-02 10:11:51 -

#

SETUP YOUR MAC DIALOG: policyJSON > listitem: Computer Inventory

#

2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: listitem: index: 1, status: wait, statustext: Installing …,
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: icon: https://ics.services.jamfcloud.com/icon/hash_ff2147a6c09f5ef73d1c4406d00346811a9c64c0b6b7f36eb52fcb44943d26f9
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: progresstext: A listing of your Mac’s apps and settings — its inventory — is sent automatically to the Jamf Pro server daily.
2024-01-02 10:11:51 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1339 # # #
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: Confirm Policy Execution: 'recon' 'recon'
2024-01-02 10:11:51 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1377 # # #
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: Confirm Policy Execution: recon
2024-01-02 10:11:51 - SETUP YOUR MAC DIALOG: DEBUG MODE: Set 'debugMode' to false to update computer inventory with the following 'reconOptions': "-department "Staff" -building "Grade School" " …
2024-01-02 10:11:54 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1413 # # #
2024-01-02 10:11:54 - SETUP YOUR MAC DIALOG: Validate Policy Result: 'recon' 'recon'
2024-01-02 10:11:54 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1651 # # #
2024-01-02 10:11:54 - SETUP YOUR MAC DIALOG: Confirm Policy Execution: recon
2024-01-02 10:11:54 - SETUP YOUR MAC DIALOG: listitem: index: 1, status: success, statustext: Updated
2024-01-02 10:11:54 - SETUP YOUR MAC DIALOG: progress: increment 50
2024-01-02 10:11:54 - SETUP YOUR MAC DIALOG: Elapsed Time for 'recon' 'recon': 0h:0m:3s
2024-01-02 10:11:55 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 2838 # # #
2024-01-02 10:11:55 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1155 # # #
2024-01-02 10:11:55 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1159 # # #
2024-01-02 10:11:55 - FINALISE USER EXPERIENCE: Disk Space: 92.2 GB free (79.90% available)
2024-01-02 10:11:55 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1166 # # #
2024-01-02 10:11:55 - Failed polcies detected …
2024-01-02 10:11:55 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1176 # # #
2024-01-02 10:11:55 - Display Failure dialog: true
2024-01-02 10:11:55 - Attempting to terminate the 'caffeinate' process …
2024-01-02 10:11:55 - (Termination message indicates success.)
Setup-Your-Mac.bash: line 1679: 13294 Terminated: 15 caffeinate -dimsu -w $symPID
2024-01-02 10:11:55 - SETUP YOUR MAC DIALOG: title: Sorry Test, something went sideways
2024-01-02 10:11:55 - SETUP YOUR MAC DIALOG: icon: SF=xmark.circle.fill,weight=bold,colour1=#BB1717,colour2=#F31F1F
2024-01-02 10:11:55 - SETUP YOUR MAC DIALOG: progresstext: Failures detected. Please click Continue for troubleshooting information.
2024-01-02 10:11:55 - SETUP YOUR MAC DIALOG: button1text: Continue …
2024-01-02 10:11:55 - SETUP YOUR MAC DIALOG: button1: enable
2024-01-02 10:11:55 - SETUP YOUR MAC DIALOG: progress: reset
2024-01-02 10:12:11 - # # # SETUP YOUR MAC VERBOSE DEBUG MODE: Line No. 1887 # # #
Setup-Your-Mac.bash: line 189: 13418 Terminated: 15 welcomeDialogInfoboxAnimation "$myPID"
2024-01-02 10:12:11 - WELCOME DIALOG: Completed networkQualityTest …
2024-01-02 10:12:11 - WELCOME DIALOG: 290.78 (Mbps)
2024-01-02 10:12:11 - WELCOME DIALOG: Configuration One Estimated Seconds: 399
2024-01-02 10:12:11 - WELCOME DIALOG: Configuration One Estimate: 0h:6m:39s
2024-01-02 10:12:11 - WELCOME DIALOG: Configuration Two Estimated Seconds: 763
2024-01-02 10:12:11 - WELCOME DIALOG: Configuration Two Estimate: 0h:12m:43s
2024-01-02 10:12:11 - WELCOME DIALOG: Configuration Three Estimated Seconds: 1308
2024-01-02 10:12:11 - WELCOME DIALOG: Configuration Three Estimate: 0h:21m:48s
2024-01-02 10:12:11 - WELCOME DIALOG: Network Quality Test: Started: 1/2/24, 10:11:41 AM, Ended: 1/2/24, 10:12:11 AM; Download: 290.78 Mbps, Responsiveness: 600
2024-01-02 10:12:11 - SETUP YOUR MAC DIALOG: quit:
2024-01-02 10:12:11 -

#

FAILURE DIALOG

#

2024-01-02 10:12:11 - Jamf Pro Policy Name Failures:
2024-01-02 10:12:11 - • Enrollment: Google Chrome

2024-01-02 10:12:11 - FAILURE DIALOG: message: A failure has been detected, Test.

Please complete the following steps:

  1. Reboot and login to your MacBook Air
  2. Login to Self Service
  3. Re-run any failed policy listed below

The following failed:
• Enrollment: Google Chrome

If you need assistance, please contact the Support Team Name:

2024-01-02 10:12:11 - FAILURE DIALOG: icon: SF=xmark.circle.fill,weight=bold,colour1=#BB1717,colour2=#F31F1F
2024-01-02 10:12:11 - FAILURE DIALOG: button1text: Restart

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

1 participant