-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Restart fails with "The operation couldn't be completed. (Cocoa error 132001.) #25
Comments
I've also come across this, but not exclusively when using erase-install, but when running any policy that takes longer, such as an Office or Adobe installation. I consider it a bug with Self Service, but I will ask if there is a recommended way to close the app by script (I use |
I have the same issue as well it failed to reboot. I did what Grahampugh suggested and run it the self-service from terminal and succeeded. I will open a ticket with JAMF if someone has a reference bug I would appreciate it. |
@grahampugh was this resolved with your updates in 900ad86? |
Hard to say as it doesn’t usually happen to me - only if the download takes so long that Self Service does its silly timeout thing, which hasn’t happened to me in testing these changes. Please test :) |
@grahampugh Tested on a VM that is connected to a NAS for storage (so not super quick). 900ad86 worked fine for me. I will test again tomorrow and see about how long the download takes. I tend to always use |
I had a chance to further test the script, I'm still facing the same issue mostly with Catalina build when I run the Erase-Install from Self-Service. If I rerun the policy off of terminal no problem at all. |
I was able to successfully run the script by manually adding Output from
I bring this up because making |
Okay after a second glance, I think that there is a typo on line 629. Current line: What it should be: This would force |
Created #37 to fix above. |
I've merged your PR. Hopefullt that does the trick - thanks! |
Testing erase-install from the self-service app and I receive the error:
Restart fails with "The operation couldn't be completed. (Cocoa error 132001.)
I believe this is related to quitting the Self Service app. If I wait before clicking OK I see the following message on the screen:
Your Mac hasn't restarted because "Self Service" failed to quit. To continue restarting, quit "Self Service".
Clicking OK on the Cocoa message and clicking Try Again on the "hasn't restarted" message results in the machine restarting with the installer.
The text was updated successfully, but these errors were encountered: