Skip to main content
Solved

depNotify Broken with MacOS 12.3.1

  • May 11, 2022
  • 8 replies
  • 38 views

Forum|alt.badge.img+11

I know with MacOS 12.3 the Python version changed and the python call for current user did not work. I changed that when 12.3 was released a few months back and depNotify worked again. Now with 12.3.1 depNotify will not launch with enrollment.

 

I have followed the solutions in the following post with no luck on this MacOS version. Anyone find a solution for MacOS 12.3.1??

https://community.jamf.com/t5/jamf-pro/dep-notify-and-monterey-12-2-3-python-call/m-p/258525

 

 

Best answer by Tonydig11

With help from a Slack channel I have my DEPNotify back up and running. I had my DEPNotify package in pre stage enrollment. I was asked to try to create a policy then add the DEPNotify package in there and have it run on "enrollment complete". I did this and removed the package from pre stage. I also added a custom trigger to point to the policy that has the script.

8 replies

gabe2385
Forum|alt.badge.img+10
  • Valued Contributor
  • 59 replies
  • May 11, 2022

Hello @Tonydig11 

I have been using DEPNotify with 12.3.1 and 12.4 (Beta) with no issues. Are you using the DEPNotify Starter Script for your deployments? https://github.com/jamf/DEPNotify-Starter 


Forum|alt.badge.img+11
  • Author
  • Contributor
  • 16 replies
  • May 11, 2022

Hello @Tonydig11 

I have been using DEPNotify with 12.3.1 and 12.4 (Beta) with no issues. Are you using the DEPNotify Starter Script for your deployments? https://github.com/jamf/DEPNotify-Starter 


I was at this link a few this morning. Noticed that I was on version 2.0.5 of the script. So I updated my script to the new 2.0.7 script and modified it for my deployment and it is still not launching during the build.


gabe2385
Forum|alt.badge.img+10
  • Valued Contributor
  • 59 replies
  • May 11, 2022

I was at this link a few this morning. Noticed that I was on version 2.0.5 of the script. So I updated my script to the new 2.0.7 script and modified it for my deployment and it is still not launching during the build.


Hello @Tonydig11 

Is DEPNotify installed already on the machine before the script is run? We are deploying the DEPNotify package through prestage enrollment packages and having the script run after enrollment. We had to notarize the DEPNotify pkg in order for it to work correctly.  Also check the Jamf logs and see if the script is actually running during your deployment ( /var/log/Jamf.log) 


Forum|alt.badge.img+11
  • Author
  • Contributor
  • 16 replies
  • May 11, 2022

Hello @Tonydig11 

Is DEPNotify installed already on the machine before the script is run? We are deploying the DEPNotify package through prestage enrollment packages and having the script run after enrollment. We had to notarize the DEPNotify pkg in order for it to work correctly.  Also check the Jamf logs and see if the script is actually running during your deployment ( /var/log/Jamf.log) 


Yes. I deploy DEPNotify in prestage enrollment. Just tested and it still works with 12.2.1. Not working with 12.3.1


Forum|alt.badge.img+11
  • Author
  • Contributor
  • 16 replies
  • May 11, 2022

the log shows that the DEPNotify policy that holds the script has started.


Forum|alt.badge.img+11
  • Author
  • Contributor
  • 16 replies
  • Answer
  • May 11, 2022

With help from a Slack channel I have my DEPNotify back up and running. I had my DEPNotify package in pre stage enrollment. I was asked to try to create a policy then add the DEPNotify package in there and have it run on "enrollment complete". I did this and removed the package from pre stage. I also added a custom trigger to point to the policy that has the script.


mickl089
Forum|alt.badge.img+11
  • Valued Contributor
  • 147 replies
  • May 12, 2022

It is definitely the case that you need to lift the script to version 2.0.7 - triggered by the fact that in the previous versions Python code was still used, which now no longer works because with 12.3.1 Python was removed.

Find the script in v2.0.7 and adapt it to your script - I think there are only 20-30 lines of code that have been changed.

Everything else can be left as it is, it's definitely the script!


Forum|alt.badge.img+10
  • Contributor
  • 41 replies
  • August 10, 2022

@Tonydig11 what other installers do you have in the DepNotifywithinstallers.pkg file?