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
231 stars 52 forks source link

/var/log/com.setupyourmac - additional debugging #119

Closed clevelandbread closed 9 months ago

clevelandbread commented 9 months ago

Is your feature request related to a problem? Please describe.

I am frustrated when a computer does not have enough storage space to complete the enrollment process and the logs would not provide that information when completing the trigger of a policy.

Describe the solution you'd like

I would like a little bit more debugging in the logs, I know it's rare but it might come useful as time goes on. Specifically, I would like debugging to include the explanation if there is not enough storage to complete the installation of the targeted application(s).

Additional context Add any other context or screenshots about the feature request here.

dan-snelson commented 9 months ago

Thanks for the FR, @clevelandbread.

Please help me understand:

  1. Are you enrolling personally owned Macs which already have nearly full drives?
  2. Are the logs not be saved at all?

(We’re only enrolling organizationally owned devices, fresh out-of-box, so we never worry about available disk space.)

Please see the disk usage info in: B. Dynamic Download Estimates

clevelandbread commented 9 months ago
  1. Enrolling virtual machines with set drive capacity.
  2. The logs are logging as normal, but it was not giving the reason of failure due to low disk space.
dan-snelson commented 9 months ago

Thanks for the additional details.

My recommendation is to allocate enough space to your VM to accommodate what you’re trying to install.

Closing as not planned.