Mac app doesn't reflect changes made online or through cli
Hi,
I am currently investigating 1Password as a possible replacement for LastPass.
I played a lot with the cli and the web client.
However, I didn't see the changes I made in the native mac client.
How can I force a sync ?
Thanks,
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
Lock and Unlock the Mac app to force a sync, that is unless something has changed that I am not aware of.
0 -
Indeed, just make sure you're looking at the right account/vault too. :)
0 -
@brenty, @thightower Thanks for your answer, I locked/unlocked and remove my other test account. Here is a comparison of both view. Nothing looks like to sync :(
0 -
So I started over, deleted app, deleted all
*agilebits*
folders in~/Library
, reinstall, reauthenticate.Now, this is worse, I can't edit/see any secrets. If I click on a secret, nothing happens on the content pane. Clicking on edit, doesn't do anything also.
What's the correct way to clean up the installation ?
Thanks,
0 -
Ok got my answer here: https://support.1password.com/uninstall-1password/
0 -
So finally, after reading the support page, I was OK except that I didn't restart my Mac.
And sadly, still stuck :(
So it looks like there is a problem with the Private vault, others seems to be working fine.
0 -
@mickael - let's maybe back up to your original post. 1Password is designed to work without having to resort to fishing around in
~/Library/Group Containers
and~/Library/Containers
or using the CLI. I understand you're considering this for a production environment in a business context, but I'm now no longer certain that you haven't partially removed some of what you'd need to make 1Password work properly.Can you explain what "sadly, still stuck" means, and why you think there's a problem with your Private vault? What problem, specifically, and what steps have you taken to determine/troubleshoot this?
- What specific version of macOS are you using?
- What specific version of 1Password for Mac do you have installed currently?
- What specific version of browser (and which browser) is installed?
- What specific version of our CLI tool are you using, and what commands are you attempting to use?
- Anything else you think might be relevant to helping narrow down the trouble you're experiencing
Thanks.
0 -
@Lars thanks for taking steps furthers
Here are the details of my configuration:
- macOS: 10.14.4
- 1password: 7.2.5
- I use mainly Safari 12.1
- cli: 0.5.5
Symptoms on the private vault :
I have a bunch of entries that are stucked:
- those entries include entries created with CLI and also the default note "Welcome to 1Password"
- clicking on entries doesn't display content
- can't edit
- can't delete
New entries seem to work correctly
What I have done so far:
- worked on a CLI tool to migrate my LastPass data: autocreating missing fields, a vault for each lastpass share, keeping LastPass metadata like the LastPass id in custom fields...
- I mainly use the
op create item login
but tryied a lot of templates to understand how the undocumented JSON data works - Copy the local sqlite database in another directory to try to develop a query script using local data
0 -
@mickael - you may want to check in with @MrC here, one of our awesome forum moderators, who's taken his own time and energy to create fully-functional import mechanisms from dozens of sources, from other password managers to straight CSV files. We also have a web-based import mechanism for LastPass in particular, which works very well. No need re-invent the wheel, unless for some reason these tools aren't working for you.
0 -
You can add as many custom fields as you need to any converter in the suite. These fields can go in custom sections with custom names. Ask if you want some guidance or help.
The suite as you've noted does not create vaults, because no password manager exports export their data in any vault-like format. All exports are singular.
You can use a combination of your code to export a vault, create a vault, and converter it to a 1PIF, then import it into 1Password in your selected vault.
0 -
Indeed, if you save an export file for each set of data you want grouped, you can then import each into a specific vault as needed. :)
0 -
@MrC Thanks for your guidance. Are those scripts available on GitHub or else where ? I have only found a download link to a ZIP archive on the forum.
Regarding lastpass, I use the CLI to generate a full database export in JSON format. There is a property "share" that indicates on which vault the entry is assigned to. That's why I planned to use this entry to automatically create vaults and assign items to them.
0 -
The scripts are always at the dropbox location mentioned in the converter suite thread. I don't bother to use Github, as my development environment and packaging requires a process prior to creating the archive (e.g. my docs are auto-generated and post-processed using Marked2).
My email is at the top of the convert.pl script - feel free to send an email if you want to discuss anything. I'd love to hear more about the Lastpass CLI and its JSON export.
0 -
@Lars I sent an email to the support team with my diagnostics.
Logs are full of the following errors:
Thu Apr 25 00:48:41 2019| 70205002 [DATABASE:(Secondary Thread 0x600002fa8640):<OPLogin: 0x7fd024dbc2d0>] E encryptItemDataForExportWithKey: | Missing data for export. exportKey is nil, overviewData is not nil, detailsData is not nil Thu Apr 25 00:48:41 2019| 70205002 [DATABASE:(Secondary Thread 0x600002fa8640):<B5Database: 0x600000da8380>] E txUpdateExportDataForItem:error: | Can not encrypt export data for item: <OPLogin-unaufaipj2kvrhpferq6nxs5c4-6 0x7fd024dbc2d0> Thu Apr 25 00:48:41 2019| 70205002 [DATABASE:(Secondary Thread 0x600002fa8640):<B5Database: 0x600000da8380>] E txUpdateItem:itemVersion:localEditCount:changerUUID:error: | Could not save export data for item <OPLogin-unaufaipj2kvrhpferq6nxs5c4-6 0x7fd024dbc2d0> error: (null) Thu Apr 25 00:48:41 2019| 70205002 [DATABASE:(Secondary Thread 0x600002fa8640):<B5Database: 0x600000da8380>] X _performSyncTransaction:withPriority: | Exception caught in (/Users/iosdev/onepassword4/ApplicationFrameworks/Frameworks/OnePasswordDatabase/Common/OPDatabase+Private.m:217): -[__NSArrayM enumerateKeysAndObjectsUsingBlock:]: unrecognized selector sent to instance 0x600003811740
0 -
Make sure you don't have something like LittleSnitch or TripMode blocking 1Password for Mac but not the browser or CLI. Been there, done that. :lol:
0 -
@brenty Indeed, that could be an issue but I don't use LittleSnitch and TripMode is deactivated by default.
I don't understand what's happening with the Mac App things were working pretty fine.
The only remaining problem I had was the Mac app didn't display any items in some vaults.
Then, I decided to have a closer look at the import process and started to count the number of items in each vault. I realize that the mac app missed some in each vaults.
And then, things goes crazy, mac app didn't display most of the items on which I click.
Same issue I had in my second post :blush:
0 -
@mickael - maybe I'm missing something, but weren't these issues addressed successfully in this thread by @cohix?
0 -
I forgot to say that I started over when addressing the issue pointed by @cohix.
I deleted all existing entries and relaunch import process with UUIDS in CLI calls.
Web UI works fine so far.
Mac app seems to work better also since that change, but when inspecting deeper if mac app had all entries, things go wrong again :blush:
A ticket has been opened related to this issue with the number [#FRF-31578-159]. I sent troubleshooting logs.
0 -
@MrC I forgot to tell you how to perform the full lastpass export in JSON format using the unofficial/unsupported LastPass cli.
lpass show -xG ".*" --json
Beware that the JSON generated is invalid regarding UTF-8 encoded characters. I had some headaches to resolve this issue :)
0 -
Ah, interesting! Thanks for sharing mickael.
Ben
0