Can't update MAS version of 1Password 7 #614

Closed
opened 2026-01-19 18:34:42 +00:00 by michael · 2 comments
Owner

Originally created by @SmithersJr on GitHub.

I'm not sure if this problem is related to MAS apps in general or 1Password 7 specifically.

I had previously installed the MAS version of 1Password via Jamf and used that with no problems. I tried to replace that with their web site version (added functionality) via Installomator v. 0.4 (via Jamf policy and separately independent of Jamf). Either way, I get the "Quit and Update" dialog box and select that option. After 3 tries, it fails. I tried checking Activity Monitor and adding "blocking processes" and ended up with this label:

1password7)
    name="1Password 7"
    type="pkg"
    downloadURL="https://app-updates.agilebits.com/download/OPM7"
    expectedTeamID="2BUA8C4S2C"
    blockingProcesses=( "1Password 7" "1Password Extension Helper" "1PasswordNativeMessageHost" "1Password (Safari)" )
    ;;

Installomator succeeded after I manually deleted 1Password 7 from /Applications.

Screenshots:
Screen Shot 2020-11-18 at 11 11 42 AM
Screen Shot 2020-11-18 at 3 02 59 PM
Screen Shot 2020-11-18 at 3 06 33 PM

That last screenshot is what I got when I first tried to drag 1Password to the Trash. After killing all the processes via Activity Monitor, I was able to delete it.

Jamf's error before adding blocking processes:

[STEP 1 of 5]
--
Executing Policy 1Password-Installomator
[STEP 2 of 5]
Running script Installomator...
Script exit code: 11
Script result: 2020-11-18 11:11:27 shifting arguments for Jamf
2020-11-18 11:11:27 ################## Start Installomator 
2020-11-18 11:11:27 ################## 1password7 
2020-11-18 11:11:27 no blocking processes defined, using 1Password 7 as default 
2020-11-18 11:11:27 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Rnw5UIpL 
2020-11-18 11:11:28 found app at /Applications/1Password 7.app, version 7.6 
2020-11-18 11:11:28 found blocking process 1Password 7 
2020-11-18 11:11:44 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128)
2020-11-18 11:11:45 waiting 30 seconds for processes to quit 
2020-11-18 11:12:15 found blocking process 1Password 7 
2020-11-18 11:13:40 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128)
2020-11-18 11:13:41 waiting 30 seconds for processes to quit 
2020-11-18 11:14:11 found blocking process 1Password 7 
2020-11-18 11:14:15 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128)
2020-11-18 11:14:15 waiting 30 seconds for processes to quit 
2020-11-18 11:14:45 ERROR: could not quit all processes, aborting... 
2020-11-18 11:14:45 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Rnw5UIpL 
2020-11-18 11:14:45 ################## End Installomator
Error running script: return code was 11.
[STEP 3 of 5]
[STEP 4 of 5]
Inventory will be updated when all queued actions in Self Service are complete.
[STEP 5 of 5]

Jamf's error with the blocking processes added:

[STEP 1 of 5]
--
Executing Policy 1Password-Installomator
[STEP 2 of 5]
Running script Installomator...
Script exit code: 11
Script result: 2020-11-18 15:03:19 shifting arguments for Jamf
2020-11-18 15:03:19 ################## Start Installomator 
2020-11-18 15:03:19 ################## 1password7 
2020-11-18 15:03:19 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.onDI3Rjp 
2020-11-18 15:03:19 found app at /Applications/1Password 7.app, version 7.6 
2020-11-18 15:03:19 found blocking process 1PasswordNativeMessageHost 
2020-11-18 15:03:26 telling app 1PasswordNativeMessageHost to quit 
2020-11-18 15:03:26 waiting 30 seconds for processes to quit 
2020-11-18 15:03:56 found blocking process 1PasswordNativeMessageHost 
2020-11-18 15:03:59 telling app 1PasswordNativeMessageHost to quit 
2020-11-18 15:03:59 waiting 30 seconds for processes to quit 
2020-11-18 15:04:29 found blocking process 1PasswordNativeMessageHost 
2020-11-18 15:04:32 telling app 1PasswordNativeMessageHost to quit 
2020-11-18 15:04:33 waiting 30 seconds for processes to quit 
2020-11-18 15:05:03 ERROR: could not quit all processes, aborting... 
2020-11-18 15:05:03 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.onDI3Rjp 
2020-11-18 15:05:03 ################## End Installomator
Error running script: return code was 11.
[STEP 3 of 5]
[STEP 4 of 5]
Inventory will be updated when all queued actions in Self Service are complete.
[STEP 5 of 5]

Terminal error:

2020-11-18 14:33:31 ################## Start Installomator
2020-11-18 14:33:31 ################## 1password7
2020-11-18 14:33:31 no blocking processes defined, using 1Password 7 as default
2020-11-18 14:33:31 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.8OgFDEgJ
2020-11-18 14:33:31 found app at /Applications/1Password 7.app, version 7.6
2020-11-18 14:33:31 found blocking process 1Password 7
2020-11-18 14:33:35 telling app 1Password 7 to quit
26:30: execution error: 1Password 7 got an error: User canceled. (-128)
2020-11-18 14:33:35 waiting 30 seconds for processes to quit
2020-11-18 14:34:05 found blocking process 1Password 7
2020-11-18 14:34:18 ERROR: user aborted update
2020-11-18 14:34:18 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.8OgFDEgJ
2020-11-18 14:34:18 ################## End Installomator 

It succeeded after I manually deleted 1Password 7 from /Applications.


[STEP 1 of 5]
--
Executing Policy 1Password-Installomator
[STEP 2 of 5]
Running script Installomator...
Script exit code: 0
Script result: 2020-11-18 15:09:24 shifting arguments for Jamf
2020-11-18 15:09:24 ################## Start Installomator 2020-11-18 15:09:24 ################## 1password7 2020-11-18 15:09:24 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.zZPMu1g4 
2020-11-18 15:09:24 Spotlight not returning any app, trying manually in /Applications. 
2020-11-18 15:09:24 could not find 1Password 7.app 
2020-11-18 15:09:24 no more blocking processes, continue with update 
2020-11-18 15:09:24 Downloading https://app-updates.agilebits.com/download/OPM7 to 1Password 7.pkg 
2020-11-18 15:10:06 Verifying: 1Password 7.pkg 
2020-11-18 15:10:06 Team ID: 2BUA8C4S2C (expected: 2BUA8C4S2C ) 
2020-11-18 15:10:06 Installing 1Password 7.pkg to / installer: Package name is 1Password 7 installer: Installing at base path / installer: The install was successful. 
2020-11-18 15:10:29 found app at /Applications/1Password 7.app, version 7.7 
2020-11-18 15:10:30 Installed 1Password 7, version 7.7 
2020-11-18 15:10:30 notifying 2020-11-18 15:10:34 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.zZPMu1g4 
2020-11-18 15:10:34 ################## End Installomator
[STEP 3 of 5]
[STEP 4 of 5]
Inventory will be updated when all queued actions in Self Service are complete.
[STEP 5 of 5]
Originally created by @SmithersJr on GitHub. I'm not sure if this problem is related to MAS apps in general or 1Password 7 specifically. I had previously installed the MAS version of 1Password via Jamf and used that with no problems. I tried to replace that with their web site version (added functionality) via Installomator v. 0.4 (via Jamf policy and separately independent of Jamf). Either way, I get the "Quit and Update" dialog box and select that option. After 3 tries, it fails. I tried checking Activity Monitor and adding "blocking processes" and ended up with this label: ``` 1password7) name="1Password 7" type="pkg" downloadURL="https://app-updates.agilebits.com/download/OPM7" expectedTeamID="2BUA8C4S2C" blockingProcesses=( "1Password 7" "1Password Extension Helper" "1PasswordNativeMessageHost" "1Password (Safari)" ) ;; ``` Installomator succeeded after I manually deleted 1Password 7 from `/Applications`. Screenshots: <img width="532" alt="Screen Shot 2020-11-18 at 11 11 42 AM" src="https://user-images.githubusercontent.com/13539331/99584758-6082c600-29b3-11eb-828e-ab701f817fad.png"> <img width="1072" alt="Screen Shot 2020-11-18 at 3 02 59 PM" src="https://user-images.githubusercontent.com/13539331/99584767-62e52000-29b3-11eb-8237-aec1647a409e.png"> <img width="532" alt="Screen Shot 2020-11-18 at 3 06 33 PM" src="https://user-images.githubusercontent.com/13539331/99584764-624c8980-29b3-11eb-984f-26b361b7c77a.png"> That last screenshot is what I got when I first tried to drag 1Password to the Trash. After killing all the processes via Activity Monitor, I was able to delete it. Jamf's error before adding blocking processes: ``` [STEP 1 of 5] -- Executing Policy 1Password-Installomator [STEP 2 of 5] Running script Installomator... Script exit code: 11 Script result: 2020-11-18 11:11:27 shifting arguments for Jamf 2020-11-18 11:11:27 ################## Start Installomator 2020-11-18 11:11:27 ################## 1password7 2020-11-18 11:11:27 no blocking processes defined, using 1Password 7 as default 2020-11-18 11:11:27 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Rnw5UIpL 2020-11-18 11:11:28 found app at /Applications/1Password 7.app, version 7.6 2020-11-18 11:11:28 found blocking process 1Password 7 2020-11-18 11:11:44 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128) 2020-11-18 11:11:45 waiting 30 seconds for processes to quit 2020-11-18 11:12:15 found blocking process 1Password 7 2020-11-18 11:13:40 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128) 2020-11-18 11:13:41 waiting 30 seconds for processes to quit 2020-11-18 11:14:11 found blocking process 1Password 7 2020-11-18 11:14:15 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128) 2020-11-18 11:14:15 waiting 30 seconds for processes to quit 2020-11-18 11:14:45 ERROR: could not quit all processes, aborting... 2020-11-18 11:14:45 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.Rnw5UIpL 2020-11-18 11:14:45 ################## End Installomator Error running script: return code was 11. [STEP 3 of 5] [STEP 4 of 5] Inventory will be updated when all queued actions in Self Service are complete. [STEP 5 of 5] ``` Jamf's error with the blocking processes added: ``` [STEP 1 of 5] -- Executing Policy 1Password-Installomator [STEP 2 of 5] Running script Installomator... Script exit code: 11 Script result: 2020-11-18 15:03:19 shifting arguments for Jamf 2020-11-18 15:03:19 ################## Start Installomator 2020-11-18 15:03:19 ################## 1password7 2020-11-18 15:03:19 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.onDI3Rjp 2020-11-18 15:03:19 found app at /Applications/1Password 7.app, version 7.6 2020-11-18 15:03:19 found blocking process 1PasswordNativeMessageHost 2020-11-18 15:03:26 telling app 1PasswordNativeMessageHost to quit 2020-11-18 15:03:26 waiting 30 seconds for processes to quit 2020-11-18 15:03:56 found blocking process 1PasswordNativeMessageHost 2020-11-18 15:03:59 telling app 1PasswordNativeMessageHost to quit 2020-11-18 15:03:59 waiting 30 seconds for processes to quit 2020-11-18 15:04:29 found blocking process 1PasswordNativeMessageHost 2020-11-18 15:04:32 telling app 1PasswordNativeMessageHost to quit 2020-11-18 15:04:33 waiting 30 seconds for processes to quit 2020-11-18 15:05:03 ERROR: could not quit all processes, aborting... 2020-11-18 15:05:03 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.onDI3Rjp 2020-11-18 15:05:03 ################## End Installomator Error running script: return code was 11. [STEP 3 of 5] [STEP 4 of 5] Inventory will be updated when all queued actions in Self Service are complete. [STEP 5 of 5] ``` Terminal error: ``` 2020-11-18 14:33:31 ################## Start Installomator 2020-11-18 14:33:31 ################## 1password7 2020-11-18 14:33:31 no blocking processes defined, using 1Password 7 as default 2020-11-18 14:33:31 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.8OgFDEgJ 2020-11-18 14:33:31 found app at /Applications/1Password 7.app, version 7.6 2020-11-18 14:33:31 found blocking process 1Password 7 2020-11-18 14:33:35 telling app 1Password 7 to quit 26:30: execution error: 1Password 7 got an error: User canceled. (-128) 2020-11-18 14:33:35 waiting 30 seconds for processes to quit 2020-11-18 14:34:05 found blocking process 1Password 7 2020-11-18 14:34:18 ERROR: user aborted update 2020-11-18 14:34:18 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.8OgFDEgJ 2020-11-18 14:34:18 ################## End Installomator ``` It succeeded after I manually deleted 1Password 7 from `/Applications`. ``` [STEP 1 of 5] -- Executing Policy 1Password-Installomator [STEP 2 of 5] Running script Installomator... Script exit code: 0 Script result: 2020-11-18 15:09:24 shifting arguments for Jamf 2020-11-18 15:09:24 ################## Start Installomator 2020-11-18 15:09:24 ################## 1password7 2020-11-18 15:09:24 Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.zZPMu1g4 2020-11-18 15:09:24 Spotlight not returning any app, trying manually in /Applications. 2020-11-18 15:09:24 could not find 1Password 7.app 2020-11-18 15:09:24 no more blocking processes, continue with update 2020-11-18 15:09:24 Downloading https://app-updates.agilebits.com/download/OPM7 to 1Password 7.pkg 2020-11-18 15:10:06 Verifying: 1Password 7.pkg 2020-11-18 15:10:06 Team ID: 2BUA8C4S2C (expected: 2BUA8C4S2C ) 2020-11-18 15:10:06 Installing 1Password 7.pkg to / installer: Package name is 1Password 7 installer: Installing at base path / installer: The install was successful. 2020-11-18 15:10:29 found app at /Applications/1Password 7.app, version 7.7 2020-11-18 15:10:30 Installed 1Password 7, version 7.7 2020-11-18 15:10:30 notifying 2020-11-18 15:10:34 Deleting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.zZPMu1g4 2020-11-18 15:10:34 ################## End Installomator [STEP 3 of 5] [STEP 4 of 5] Inventory will be updated when all queued actions in Self Service are complete. [STEP 5 of 5] ```
Author
Owner

@SmithersJr commented on GitHub:

This Slack thread may have some info pertinent to quitting 1Password 7.

@SmithersJr commented on GitHub: [This Slack thread](https://macadmins.slack.com/archives/C0Z5F0G91/p1605806264103300) may have some info pertinent to quitting 1Password 7.
Author
Owner

@Theile commented on GitHub:

Hi @SmithersJr
If I go through the link to Slack and your above suggestion, I get this for blockingProcesses:
blockingProcesses=( "1Password Extension Helper" "1Password 7" "1Password (Safari)" "1PasswordNativeMessageHost" "1PasswordSafariAppExtension" )
I have not deployed 1Password like this, so do not have any experience, but we should find the processes that needs to be quit, and then we will see how it works. I do not know if we really need the two last items.
We have version 0.5 in dev, and it includes version checking as well. If you can, please check with that. it would be a great help.
Thank you!

@Theile commented on GitHub: Hi @SmithersJr If I go through the link to Slack and your above suggestion, I get this for blockingProcesses: `blockingProcesses=( "1Password Extension Helper" "1Password 7" "1Password (Safari)" "1PasswordNativeMessageHost" "1PasswordSafariAppExtension" )` I have not deployed 1Password like this, so do not have any experience, but we should find the processes that needs to be quit, and then we will see how it works. I do not know if we really need the two last items. We have version 0.5 in dev, and it includes version checking as well. If you can, please check with that. it would be a great help. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Installomator/Installomator#614