More on dropbox sync issues after upgrading from 1P3
OS X 10.8.5 (12F45)
1P Version 4.0 (400200)
My 1P data has been stored in dropbox for several years, syncing with 2 Macs, 1 Windows, and an iPhone (though the phone is a recent addition).
I upgraded from 1P3 to 1P4 via the Mac App Store yesterday and selected dropbox as the location of my data. The upgrade seemed to go just fine, but I immediately noticed problems with the backups failing as others have reported. Restarting the app did not solve that problem, but rebooting did seem to solve it.
I have only done the 1P4 upgrade on the 1 Mac I have access to at the moment.
Next I created a new login for a new site, and noticed that it did not get sync'd via dropbox to my iPhone. 1P claimed that it was sync'd on both ends and dropbox claimed that it was up to date. Neither time nor restarts solved this problem. I began to look deeper. I did the upgrade around 11:15 on Oct 4. From within 1P I can see that I generated the new password at 15:19 on Oct 4, and then created the login at 15:21. The only file in the dropbox folder modified Oct 4 is 1Password.html:
-rw-r--r--@ 1 fahnoe staff 320380 Oct 4 10:56 /Users/fahnoe/Dropbox/1Password.agilekeychain/1Password.html
It seems clear that 1P4 is not writing to the dropbox folder even though the folder is clearly shown in the sync preferences, thus no syncing with other devices. But where is it writing to? I have rebooted since creating the new login, and thankfully it is still showing up in 1P4, but where was it stored? Based upon file timestamps, it certainly looks like the data is being written to OnePassword.sqlite:
-rw-r--r--@ 1 fahnoe staff 724992 Oct 5 07:51 /Users/fahnoe/Library/Containers/2BUA8C4S2C.com.agilebits.onepassword-osx-helper/Data/Library/Data/OnePassword.sqlite
Looking next at the system logs, I see that sandboxd is spewing alerts since the upgrade. First error seems to be only once, however access to the dropbox folder is blocked consistently thereafter.
Oct 4 11:33:32 zephyr kernel[0]: Sandbox: sandboxd(346) deny mach-lookup com.apple.coresymbolicationd
Oct 4 11:33:36 zephyr.alex.fahnoetech.com sandboxd[346] ([323]): 2BUA8C4S2C.com.a(323) deny file-write-mode /Users/fahnoe/Library/Application Scripts
Oct 4 11:33:36 zephyr.alex.fahnoetech.com sandboxd[346] ([323]): 2BUA8C4S2C.com.a(323) deny file-write-mode /Users/fahnoe/Library/Application Scripts/2BUA8C4S2C.com.agilebits.onepassword-osx-helper
Oct 4 11:52:36 zephyr kernel[0]: Sandbox: sandboxd(372) deny mach-lookup com.apple.coresymbolicationd
Oct 4 11:52:37 zephyr.alex.fahnoetech.com sandboxd[372] ([323]): 2BUA8C4S2C.com.a(323) deny file-read-data /Users/fahnoe/Dropbox/1Password.agilekeychain/data/default/1password.keys
Oct 4 11:52:37 zephyr.alex.fahnoetech.com sandboxd[372] ([323]): 2BUA8C4S2C.com.a(323) deny file-read-data /Users/fahnoe/Dropbox/1Password.agilekeychain/data/default/.1password.keys
As a side note, it seems odd to me that the new 1P4 app is naming itself with the 2BUA8C4S2C prefix:
(from ~Library/Containers)
drwx------ 4 fahnoe staff 136 Oct 4 11:28 2BUA8C4S2C.com.agilebits.onepassword-osx-helper
drwx------ 5 fahnoe staff 170 Oct 4 11:28 com.agilebits.onepassword-osx
drwx------ 5 fahnoe staff 170 Jun 5 21:43 com.agilebits.onepassword-osx-helper
drwx------ 4 fahnoe staff 136 Jun 23 11:51 com.agilebits.onepassword-osx-thumbs
--Larry
Comments
-
After reading the following post on gathering diagnostics data, I've sent a note off to support with my diagnostics report.
http://discussions.agilebits.com/discussion/16315/sending-us-your-diagnostics-report-to-help-us-help-youTo others having issues, there is a lot of very worthwhile reading in the Knowledgebase and FAQ section here:
http://discussions.agilebits.com/categories/1password-for-mac-knowledge-base-and-faqsI should have read this before my posting as it explains some of what I was seeing (the new sqlite local database for example), but not the current dropbox issue.
--Larry
0 -
I'm having the same issue here. Wiped all 1Password files from ~/Library as described in [http://discussions.agilebits.com/discussion/13303/how-to-how-do-i-start-over]. Then restarted 1P4 choosing my old Dropbox keychain. The data gets loaded but updates from other devices do not show up and vice versa. Similar messages from sandboxd appear in the Console App. Also created an diagnostic report and sent it to Agilebits..
0 -
Same problem here: Upgraded to 1Password Version 4.0 (400200) on one of my Macs running OSX 10.8.5. The keychain was imported from Dropbox, but is no longer synced back. Also saw error messages about backups failing which went away after a restart. In /var/adm/system.log I have a lot of these:
Oct 5 17:46:56 xoxo.local 2BUA8C4S2C.com.agilebits.onepassword-osx-helper[7177]: 400200 [SYNC:0x7fb8be242150:<OPAgileKeychainSyncer (Dropbox) 0x7fb8be05d840>] E setupKeychainProfile | Cannot sync, failed to load keychain profile: Error Domain=com.agilebits.onepassword.ErrorDomain Code=100 "Profil konnte nicht geladen werden" UserInfo=0x7fb8b9c3e000 {NSURL=file://localhost/Users/logan/Dropbox/COMMON/1Password.agilekeychain/data/default/.1password.keys?applesecurityscope=653435643138633866313236363865376334643633383335343537373532393163666233626233393b30303030303030303b303030303030303030303030303032303b636f6d2e6170706c652e6170702d73616e64626f782e726561642d77726974653b30303030303030313b30313030303030363b303030303030303030303036316335653b2f75736572732f61726e64742f64726f70626f782f6162732f3170617373776f72642e6167696c656b6579636861696e, NSLocalizedDescription=Profil konnte nicht geladen werden, NSUnderlyingError=0x7fb8be2951b0 "Die Datei „.1password.keys“ konnte nicht geöffnet werden, da Sie nicht die Zugriffsrechte haben, um sie anzuzeigen."} Oct 5 17:46:56 xoxo.local 2BUA8C4S2C.com.agilebits.onepassword-osx-helper[7177]: 400200 [SYNC:0x7fb8be242150:<OPAgileKeychainSyncer (Dropbox) 0x7fb8be05d840>] E setupAndUnlockKeychainProfile | Cannot sync: no active profile Oct 5 17:46:57 xoxo.local sandboxd[8045] ([7177]): 2BUA8C4S2C.com.a(7177) deny file-read-data /Users/logan/Dropbox/COMMON/1Password.agilekeychain/data/default/1password.keys Oct 5 17:46:57 xoxo.local sandboxd[8045] ([7177]): 2BUA8C4S2C.com.a(7177) deny file-read-data /Users/logan/Dropbox/COMMON/1Password.agilekeychain/data/default/.1password.keys
The fact that syncing is broken sucks big time since I am using multiple Macs plus an iPhone.
Please indicate whether you think you will have this fixed quickly or whether it makes sense for affected users to go back to 1Password 3.
0 -
The mail was sent to support@agilebits.com (so Google Apps, then?). I did not get any mail back so I think it was accepted...
0 -
Hello!
Thanks to everyone who's sent us diagnostic reports. I apologize for any delays in individually responding to them. I'm not sure why yours was blocked, @fahnoe. Did you try sending it from a different account?
Good news! We've found a cause for permission issues between 1P4 (MAS version) and Dropbox, described by @roustem here, which I encourage you to read.
Until the fix is available workarounds (at least temporary) have been mentioned in that topic (post #7) and others. Please let us know if you'd like any specific help doing that.
0