1Password iCloud Syncing Problem Fix
/2014-10-21 Update: This guide is for those who have NOT moved to iCloud Drive. I still have not fully investigated where the data has moved once iCloud Drive has been activated.
Recently I discovered that my wife's 1Password information was not syncing correctly with iCloud. I had just updated the password to our Airport and wanted to make sure that her info in 1Password had the new password. I shared the new login with her via iMessage and clicked the link on her Macbook which brought the data into 1Password. I opened up 1Password on her iPhone to copy the new password and set up her wifi for her, and the old router information was in still in her database on her phone. I closed the app, reopened it and checked again; still the same old info. I tried her iPad and got the same results.
What followed next was hours of frustration trying to get all her devices to sync seamlessly. I exported the data from 1Password on her Macbook to her desktop so I had a copy of the data and then removed every trace of 1Password from her computer, stopped syncing the data to iCloud from her devices and deleted the iOS apps from her iPhone and iPad. On her computer I went into the local iCloud folder (~/Library/Mobile Documents) and deleted the two folders that had looked like this
I restarted her computer reinstalled 1Password and imported the data that I had on her desktop. Went into the Preferences, Sync, and chose iCloud Sync. Made sure that the folders in the screenshot above were in the Mobile Documents folder indicating to me that the documents were in the process of being pushed up to iCloud.
I reinstalled the 1Password iOS apps and had to go through the initial setup again. I selected that I am an existing user, chose that I would like to sync with iCloud, and the next screen said that it was looking for existing data, and returned a screen that stated that Data Was Not Found.
At this point I was at a loss for words. I turned to trying to find the answer on the web, and followed the advice, multiple times, that was given on AgileBits Forums:
- Please ensure that you are logged in with the same iCloud account on all computers and devices.
- Please ensure that Documents and Data is enabled on all computers and devices.
- On your iOS devices, open 1Password 4 for iOS, tap Settings > Sync > Sync Service and tap 'Disable Sync’.
- On the Mac, open 1Password 4 for Mac, and click the 1Password menu, then Preferences. Click Sync, and click Change syncing.
- Check the box to remove the data from iCloud and confirm that you want to disable sync.
- Restart the Mac and iOS devices.
- On the Mac, go back to the Sync preferences, and enable iCloud.
- Wait about 20 minutes to give iCloud time to run the initial sync to all devices.
- Go back into the iOS app and re-enable iCloud sync. It should work this time.
The above solution did not work. I had wasted most of my Saturday trying to figure this out, and finally threw in the towel. The next day I tried the above solution again and it did not work. Fed up I contacted AgileBits support team and after multiple back and forth emails I believe that I had stumped them. I appreciated all of their support, but I finally figured out how to get it working again.
At some point in between emails I had decided to go into the iCloud System Preferences and turn off only Documents & Data and I happened to have the Mobile Documents folder open, and noticed that there was a change to the folder name. It went from being named Mobile Documents to Mobile Documents.92991882.
I turned Documents & Data back on and I noticed that the folder changed back to just Mobile Documents. I decided to take all of my previous attempts into account and pieced together the following solution:
Fixing 1Password iCloud Sync Issues:
Macbook Air:
Open 1Password Preference -> Sync -> Change Syncing and check the box that says Delete data from iCloud, and click Disable Sync button. Accept the warning that states that it will delete your data. Quit 1 Password.
Open System Preferences iCloud -> Uncheck Documents & Data -> Click Delete from Mac button
(You may have to restart in between these steps. I did, but am not sure if that is what helped it)
On your iOS devices, now is a good time to go to the iCloud settings -> Documents & Data -> Click the Toggle Switch at the top of the screen, and confirm by clicking Turn Off Documents. Restart Your Devices
In the Finder Menu Bar click Go. Select Go to Folder -> Enter ~/Library/ and click Go Look for the Mobile Documents folder that now has what looks like a file extension at the end of it. Should look like Mobile Documents.92994182 Drag this folder to the trash.
Open System Preferences iCloud -> Re check Documents & Data
This will cause iCloud to re-sync your iCloud folder locally to your Mac.
iOS Devices:
Your devices should have restarted by now.
Go into Settings, Documents & Data and Toggle the Switch back to On.
Open 1Password and follow the setup screen as an existing user, and 1Password will find existing data in iCloud.
I have verified that everything syncs between devices by creating a login on one device and watching it appear on the other two. Hope this helps anyone who is having an issue with their 1Password data not syncing.