setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
249 stars 56 forks source link

Troubleshooting Infos get not displayed in RC 1.10.0-rc18 / script hangs #33

Closed colorenz closed 1 year ago

colorenz commented 1 year ago

The troubleshooting infos get not displayed in RC 1.10.0-rc18 the scripts hangs on the wait and does not go further. You can test it with the test.txt i have attached. I have only changed the validation from Globalprotect to generate a failure.

I tested with the following Parameters.

image test.txt

Best Regards

colorenz

robjschroeder commented 1 year ago

I am seeing the same thing. I commented out the wait and dialog went straight to failure dialog, then hung on the next wait when the failure details were presented. It does not seem like the button is taking the dialog past the wait.

colorenz commented 1 year ago

I did some more digging, I used jobs to show me the processes that are still running before the wait. It seems to be the caffeinate process is the problem.

image

colorenz commented 1 year ago

Okay tested to much.... I had 30 caffeinate processes open....

sudo killall caffeinate fixed the problem 👯 .... Or next time reboot...