Software update fails - Validation failed: The operation couldn't be completed (OSStatus : -676688)

JoshuaS
JoshuaS
Community Member
edited February 2018 in Mac

Hello,

I have been having update issues for some time and my workaround to just download the version from the website and install over the top.
But I thought that I would raise it this time as a bug.

This time I am trying to update from 6.8.2 to 6.8.6 and it keeps failing and it just goes back to the "Try Again"
Sometime I get the error: Validation failed: The operation couldn't be completed (OSStatus error: -676688)

Other times I get no error and it just fails to update.

From the logs, I can see:

Tue Feb  6 12:37:15 2018| 682003 [XPC:(Secondary Thread 0x608000a76740):<OPHelperConnection: 0x60800009a950>] E handleXPCError: | Problem talking to the helper: Error Domain=NSCocoaErrorDomain Code=4097 "Couldn’t communicate with a helper application." (connection to service named 2BUA8C4S2C.com.agilebits.onepassword4-helper) UserInfo=0x60800106e6c0 {NSDebugDescription=connection to service named 2BUA8C4S2C.com.agilebits.onepassword4-helper}
Tue Feb  6 12:37:15 2018| 682003 [XPC:(Secondary Thread 0x608000a76740):<OPHelperConnection: 0x60800009a950>] E handleXPCError: | Problem talking to the helper: Error Domain=NSCocoaErrorDomain Code=4097 "Couldn’t communicate with a helper application." (connection to service named 2BUA8C4S2C.com.agilebits.onepassword4-helper) UserInfo=0x60800106e6c0 {NSDebugDescription=connection to service named 2BUA8C4S2C.com.agilebits.onepassword4-helper}
Tue Feb  6 12:37:15 2018| 682003 [XPC:(Secondary Thread 0x608000a76740):<OPHelperConnection: 0x60800009a950>] E handleXPCError: | Problem talking to the helper: Error Domain=NSCocoaErrorDomain Code=4097 "Couldn’t communicate with a helper application." (connection to service named 2BUA8C4S2C.com.agilebits.onepassword4-helper) UserInfo=0x60800106e6c0 {NSDebugDescription=connection to service named 2BUA8C4S2C.com.agilebits.onepassword4-helper}
Tue Feb  6 12:48:08 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fa66a507470>] M applicationDidFinishLaunching: | Starting 1Password (WebStore) 6.8.2 #682003 built Sep 18 2017 10:16:31. Running from: /Applications/1Password 6.app
Tue Feb  6 12:48:08 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x608000099b90>] S connect | Connecting to helper
Tue Feb  6 12:48:08 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x608000099b90>] S startHelper | Starting '2BUA8C4S2C.com.agilebits.onepassword4-helper'
Tue Feb  6 12:48:08 2018| 682003 [XPC:(Secondary Thread 0x60000047f500):<OPHelperConnection: 0x608000099b90>] S exchangeStateWithCompletionOnMain: | Connected to 1Password mini <NSRunningApplication: 0x60000011f6e0 (2BUA8C4S2C.com.agilebits.onepassword4-helper - 15840)>, file:///Applications/1Password%206.app/Contents/Library/LoginItems/2BUA8C4S2C.com.agilebits.onepassword4-helper.app
Tue Feb  6 12:48:09 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fa66a507470>] S hockeyManagerStarted | Launch time: 1.09s
Tue Feb  6 12:48:09 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fa66a507470>] S configureUI | Processing pending URL handler: <OPURLHandler: 0x608000253140>
Tue Feb  6 12:48:09 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x608000099b90>] S stopHelper | Stopping '2BUA8C4S2C.com.agilebits.onepassword4-helper'
Tue Feb  6 12:48:09 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x608000099b90>] S invalidate | Invalidating XPC connection
Tue Feb  6 12:48:09 2018| Good-bye!

Tue Feb  6 12:50:06 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fe8e9501dc0>] M applicationDidFinishLaunching: | Starting 1Password (WebStore) 6.8.2 #682003 built Sep 18 2017 10:16:31. Running from: /Applications/1Password 6.app
Tue Feb  6 12:50:06 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x60000009c840>] S connect | Connecting to helper
Tue Feb  6 12:50:06 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x60000009c840>] S startHelper | Starting '2BUA8C4S2C.com.agilebits.onepassword4-helper'
Tue Feb  6 12:50:06 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x60000009c840>] S startHelper | '2BUA8C4S2C.com.agilebits.onepassword4-helper' is not yet running, waiting for 0.2s
Tue Feb  6 12:50:06 2018| 682003 [XPC:(Secondary Thread 0x60800086dd40):<OPHelperConnection: 0x60000009c840>] S exchangeStateWithCompletionOnMain: | Connected to 1Password mini <NSRunningApplication: 0x600000118db0 (2BUA8C4S2C.com.agilebits.onepassword4-helper - 15970)>, file:///Applications/1Password%206.app/Contents/Library/LoginItems/2BUA8C4S2C.com.agilebits.onepassword4-helper.app
Tue Feb  6 12:50:07 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fe8e9501dc0>] S hockeyManagerStarted | Launch time: 1.27s
Tue Feb  6 12:50:08 2018| 682003 [UI:(Main Thread):<OPMainWindowController: 0x7fe8e9434320>] S saveState:andReloadDataWithCompletionOnMain: | Selected 0 items: 0.002s
Tue Feb  6 12:51:44 2018| Good-bye!

Tue Feb  6 12:51:55 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fa7906057c0>] M applicationDidFinishLaunching: | Starting 1Password (WebStore) 6.8.2 #682003 built Sep 18 2017 10:16:31. Running from: /Applications/1Password 6.app
Tue Feb  6 12:51:55 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x600000288d90>] S connect | Connecting to helper
Tue Feb  6 12:51:55 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x600000288d90>] S startHelper | Starting '2BUA8C4S2C.com.agilebits.onepassword4-helper'
Tue Feb  6 12:51:56 2018| 682003 [XPC:(Secondary Thread 0x60000047e3c0):<OPHelperConnection: 0x600000288d90>] S exchangeStateWithCompletionOnMain: | Connected to 1Password mini <NSRunningApplication: 0x60800011a940 (2BUA8C4S2C.com.agilebits.onepassword4-helper - 15970)>, file:///Applications/1Password%206.app/Contents/Library/LoginItems/2BUA8C4S2C.com.agilebits.onepassword4-helper.app
Tue Feb  6 12:51:56 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7fa7906057c0>] S hockeyManagerStarted | Launch time: 1.09s
Tue Feb  6 12:51:58 2018| 682003 [UI:(Main Thread):<OPMainWindowController: 0x7fa790516580>] S saveState:andReloadDataWithCompletionOnMain: | Selected 0 items: 0.001s
Tue Feb  6 12:52:03 2018| 682003 [UI:(Main Thread):<OPMainWindowController: 0x7fa790516580>] S saveState:andReloadDataWithCompletionOnMain: | Selected 1463 items: 0.786s
Tue Feb  6 12:52:29 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x600000288d90>] S stopHelper | Stopping '2BUA8C4S2C.com.agilebits.onepassword4-helper'
Tue Feb  6 12:52:29 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x600000288d90>] S invalidate | Invalidating XPC connection
Tue Feb  6 12:52:29 2018| Good-bye!

Tue Feb  6 12:52:57 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7f8e22c09540>] M applicationDidFinishLaunching: | Starting 1Password (WebStore) 6.8.2 #682003 built Sep 18 2017 10:16:31. Running from: /Applications/1Password 6.app
Tue Feb  6 12:52:57 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x60000008dfc0>] S connect | Connecting to helper
Tue Feb  6 12:52:57 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x60000008dfc0>] S startHelper | Starting '2BUA8C4S2C.com.agilebits.onepassword4-helper'
Tue Feb  6 12:52:57 2018| 682003 [XPC:(Main Thread):<OPHelperConnection: 0x60000008dfc0>] S startHelper | '2BUA8C4S2C.com.agilebits.onepassword4-helper' is not yet running, waiting for 0.2s
Tue Feb  6 12:52:57 2018| 682003 [XPC:(Secondary Thread 0x608000474a40):<OPHelperConnection: 0x60000008dfc0>] S exchangeStateWithCompletionOnMain: | Connected to 1Password mini <NSRunningApplication: 0x60800010ea90 (2BUA8C4S2C.com.agilebits.onepassword4-helper - 16213)>, file:///Applications/1Password%206.app/Contents/Library/LoginItems/2BUA8C4S2C.com.agilebits.onepassword4-helper.app
Tue Feb  6 12:52:58 2018| 682003 [APP:(Main Thread):<OPAppDelegate: 0x7f8e22c09540>] S hockeyManagerStarted | Launch time: 1.27s
Tue Feb  6 12:52:59 2018| 682003 [UI:(Main Thread):<OPMainWindowController: 0x7f8e22d19420>] S saveState:andReloadDataWithCompletionOnMain: | Selected 0 items: 0.001s
Tue Feb  6 12:53:02 2018| 682003 [UI:(Main Thread):<OPMainWindowController: 0x7f8e22d19420>] S saveState:andReloadDataWithCompletionOnMain: | Selected 1463 items: 0.560s

Any idea's or things I can try to get the app update to work, it's a pain to get the pkg from the web each time.

Thanks
Josh


1Password Version: 6.8.2
Extension Version: Not Provided
OS Version: OS X 10.10.5
Sync Type: Not Provided

Comments

  • Lars
    Lars
    1Password Alumni

    @JoshuaS - I’m sorry for the trouble! The fact that this keeps happening to you over multiple version upgrades is almost certainly because something on your system is preventing the update from being validated. That might be some security software you installed interfering, or it might be a deeper OS issue. Without taking a closer look, we have no way of knowing, but it's something you should probably look into. FWIW, I don't see anything in those logs you included that point in any particular direction. You might try deleting 1Password completely by quitting 1Password and the Mini by typing ^⌥⌘Q (or just holding down the Control and Option keys as you choose Quit from the 1Password menu) and then dragging the 1Password app to the trash. Empty the trash and then restart your Mac and get a fresh copy of the 1Password installer pkg from our downloads page, and try a completely fresh install. If that doesn't work, however, it's probably time to look at either macOS or security software you may have installed.

  • JoshuaS
    JoshuaS
    Community Member

    Hi @Lars,

    I have not installed any security software, using just the standard ones that come with OSX

    This time, I stopped the 1Password mini and any other running process, then moved /Applications/1Password\ 6.app out of the way and did an install from the latest version from the website.

    Will see if I get the upgrade issue again.

    Where else does 1Password put it's cached data? Maybe there is something else that needs to be removed.

    ie.
    ~/Library/Caches/2BUA8C4S2C.com.agilebits.onepassword4-helper
    ~/Library/Caches/com.agilebits.ImageService
    ~/Library/Caches/com.agilebits.onepassword4
    ~/Library/Caches/com.agilebits.onepassword4-updater
    ~/Library/Containers/com.agilebits.onepasswordnativemessaginghost
    ~/Library/Containers/com.agilebits.onepasswordnativemessaginghost/Data/Library/Application Scripts/com.agilebits.onepasswordnativemessaginghost
    ~/Library/Containers/com.agilebits.onepasswordnativemessaginghost/Data/Library/Logs/1Password/com.agilebits.onepasswordnativemessaginghost.log
    ~/Library/Containers/com.agilebits.onepasswordnativemessaginghost/Data/Library/Preferences/com.agilebits.onepasswordnativemessaginghost.LSSharedFileList.plist
    ~/Library/Group Containers/2BUA8C4S2C.com.agilebits
    ~/Library/Group Containers/2BUA8C4S2C.com.agilebits/Library/Preferences/2BUA8C4S2C.com.agilebits.plist

    Thanks
    Joshua

  • Lars
    Lars
    1Password Alumni

    @JoshuaS - if by "data" you mean your actual 1Password items, that's inside ~/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper/Data/Library/Data/OnePassword.sqlite. If you mean data related to the functioning of the app, well, you've pulled just about every location 1Password writes to for various aspects of its functionality. I wouldn't delete any of those just yet, unless you get the same issue. Removing or changing any of the above will definitely affect 1Password's functioning and might prevent it altogether, depending on what you change/remove. My advice for now would be "wait and see." Let us know if the problem recurs.

  • JoshuaS
    JoshuaS
    Community Member

    Hi @Lars,

    Good news, I just did the in-app update from 6.8.6 to 6.8.7 and it's worked. It prompted for my admin password and updated.

    All I did was move the previous version 6.8.2 out of the way and do a clean install of 6.8.6 and it's all back to normal now with updates.
    Fingers crossed the next one works too.

    Thanks
    Joshua

  • Lars
    Lars
    1Password Alumni

    @JoshuaS - great! I'm glad to hear you're back up and running. Let us know if you run into any further issues with updating/upgrading. :)

This discussion has been closed.