I ran the policy again with 'terminal' open. as the policy ran i kept pressing
ls /Volumes to see what was getting mounted
finally is see /Volumes/casper and then a pop-up telling me that 'self service' encountered a problem, contact your administrator.
Hi, not unmounting network drives is a common problem in OS X. It should unmounting once the policy has finished executing. If you have more than one task to run, can you just put them into once policy?
Basically these are separate printer policies.
Each printer policy calls a custom event that installs the print driver (once per computer) then returns to add the printer .
I run the first printer via self service and it installs fine, I then do a second printer policy via self service and then get the 'mount' error when it runs the policy to install that printers driver, it then add the printer without driver.
I have multiple of the same network printers scattered throughout the building so I use a policy that is a custom event that installs the driver (once per computer). Why install the same driver each time the same type printer is installed.
But now am running into this darn 'mount' issue.
If this continues I might just have each policy install the driver policy each time within the same policy, not using the custom event, maybe it will work that way.
I see the Casper drive being mounted, but then it says it can't mount
looks like the casper share doesn't unmount, causing this error.
when i run a printer policy the first time it's fine, casper share unmount
when i run a second printer policy right after, the casper share does not unmount, and i get the 'self service encountered a problem, contact administrator'
I tried this same process on a computer not AD joined, and it worked fine for both printers, i got no errors, printers/drivers installed.
this is only happening on macs that are bound to AD
when the second printer policy runs, via terminal, I see the casper share mount, but it does not unmount. The error in the policy though says 'could not mount distribution point "MAC Share"
i have to restart the computer then i am able to correctly install the second printer
diskutil unmount /Volumes/casper does not work, it unmounts, but policy still errors and restart is necessary.
We have "Unmount JSS Distribution" policy in Self Service which has "Files and Processes - Execute Command":
jamf unmountServer -mountPoint /Volumes/distpoint
@mhasman are you having the same issue I'm having with AD bound macs?
How do your users know when to run the SS policy?
After my first policy runs it unmounts then the second policy tries to mount and cannot, this only happens on AD bound macs. I have to restart computer and run the second policy to get it to work. If it is not AD bound there is no problem running multiple policies one after another.
Looking to switch to http DP
Just a suggestion but why not cache the drivers in a separate policy and have the printers show up based on cached status.
The install would then be done locally.
https://jamfnation.jamfsoftware.com/discussion.html?id=10178