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

DEPNotify not starting until Self Service is manually Opened #20

Open
lozbraz opened this issue Mar 8, 2019 · 9 comments
Open

DEPNotify not starting until Self Service is manually Opened #20

lozbraz opened this issue Mar 8, 2019 · 9 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@lozbraz
Copy link

lozbraz commented Mar 8, 2019

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
I have NoMAD Login configured in the Prestage enrollment, and DEPnotify triggered by enrollment complete.
After initial setup and logging in with a user account with ¬NoMAD login, the DEPNotify GUI does not start- however If I manually start the Self Service, it kicks in and runs as expected.

Expected behavior
I expect the DEPNotify GUI to run as soon as the User is logged in

Logs
Please attach the following logs:
depnotify.log
depnotifyDebug.log

Software Versions (please complete the following information):

  • macOS Version [e.g. 10.14.3

]

  • Jamf Version 10.10.1
  • DEP Notify Version 1.1.4
    screenshot 2019-03-08 at 11 08 28
    screenshot 2019-03-08 at 11 08 21

Additional context
It looks like Self Service is not starting because JAMF can't find the logged in user- is this necessary to start the DEPNotify GUI?

Here is the DEP Notify Script I am using-

dep-notify-script.txt

Thanks in advance!

@lozbraz
Copy link
Author

lozbraz commented Mar 11, 2019

An update on this- it looks like DEPNotify is hanging on-

"waiting for branding image from JAMF pro" over and over, however if I open Self Service it seems to pick up the branding and DEPNotify kicks in. I'm not sure why it is unable to pick up the branding until it is opened though?

Thanks!

@arekdreyer
Copy link
Contributor

The comments in the script say: "custom branding is downloaded from Jamf Pro after Self Service has opened at least one time. The script is designed to wait until the files have been downloaded." I am guessing that you need to open Settings > Global Management > User-Initiated Enrollment > Platforms > macOS and enable "Launch Self Service when done" so that Self Service opens to download the branding.

@lozbraz
Copy link
Author

lozbraz commented Mar 11, 2019

Thanks arekdreyer- sorry I should have seen that in the script. Self Service is set to open automatically, however from the jamf logs I am getting-"Unable to launch Self Service. Unable to determine the logged in user."
It looks like the DEPNotify script has run before JAMF has notified the JSS about the logged in user. This is obviously a timing issue- can teh @enrolment DEPNotify script be delayed, or do I need a launchDaemon?
I really appreciate your advice on this...

@arekdreyer
Copy link
Contributor

How are you running the DEPNotify starter script?

@lozbraz
Copy link
Author

lozbraz commented Mar 11, 2019

I have a policy that is triggered by enrolment complete. It installs DEPNotify then runs the starter script

@arekdreyer
Copy link
Contributor

Sorry, you said that in the original post, "and DEPnotify triggered by enrollment complete." I don't know why "Unable to determine the logged in user" is happening!

@lozbraz
Copy link
Author

lozbraz commented Mar 11, 2019

Interesting- I set the custom branding to false, and it is now working as expected! I still need to find a way to get the company logo in though...

@kbareis
Copy link
Contributor

kbareis commented Mar 14, 2019

Hey @lozbraz, are you changing the name of Self Service.app to something different? I see in the debug log that the script didn't find the Self Service process ID which leads me to believe that you have changed the name of the app.

@kbareis kbareis self-assigned this Mar 14, 2019
@kbareis kbareis added the help wanted Extra attention is needed label Mar 14, 2019
@master-vodawagner
Copy link

Hi all,

Just to chip in here but I get the exact same behaviour.

macOS Big Sur 11.1
DEPNotify 1.1.6

Inside the depnotifyDebug,log it is constantly being spammed by the below

Waiting for branding image from Jamf Pro

Thing is the Self Service app (Named differently) has opened and the icon image has changed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants