This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

1Password USB Sync Betas

roustem
roustem AgileBits Founder
edited December 2012 in iOS Beta
We have a very first build of the USB Sync utility for everyone who is missing the option to sync directly with your Mac.



This utility is based on the new iTunes File Sharing sync feature available in 1Password 4 for iOS. It detects changes made on both desktop and iOS device and synchronizes both.





Please sign up as a tester here: [url="https://rink.hockeyapp.net/recruit/81dd2bf42b4942f893963d47f0e7dc83"]https://rink.hockeya...3963d47f0e7dc83[/url]



After we accept the request, you'll get an email about being approved and then be able to download the USB Sync Utility.
«1

Comments

  • MikeT
    MikeT Agile Samurai
    A few things:

    [list=1]

    [*]This is a very early beta, be sure to back up your data before testing this. Also, please test it while you have old data in the app and also do fresh installs to see how the tool works with a clean app and no data in it.

    [*]If 1Password 4 on iOS devices is still running after you complete the sync, please go to Settings > Sync, and tap on Sync Now. This will reload the data in the app. We plan to improve it in a future update to 1Password 4 to make it a bit more automatic.

    [*]Be sure to test changes in both ways, make sure it's working properly.

    [/list]
  • jasonrudolph
    jasonrudolph Junior Member
    I gave it a try, but the 1PasswordUSBSync app crashes shortly after I open it. When I first open the app, I see the first screenshot (attached). Then, about a second later, I see the error shown in the other screenshot (attached) saying "USB Sync: Cannot find local data file on this Mac."





    - Mac OS X 10.8.2 running 1Password 3.8.20 (build 31499)

    - iOS 6.0.2 running 1Password 4.1b9 (401009)

    - 1PasswordUSBSync 1.0b4



    Steps to reproduce:



    1. Connect iPhone to Mac via USB

    2. Launch 1PasswordUSBSync



    Are there any steps required to make the sync work (e.g., removing the *old* version of 1Password Pro from the iPhone, opening 1Password on the iPhone or the Mac, etc)?



    If there's any additional info I can provide to help troubleshoot the issue, please let me know.
  • I am observing the very same app behavior as jasonrudolph. Any hints would be appreciated.
  • roustem
    roustem AgileBits Founder
    What version of the Mac app are you running?



    Please open 1Password > Preferences > General menu to see the location of the data file on your Mac.



    Thanks!
  • TheMaJa
    edited December 2012
    I am running the MAS version. Data location is: /Users/<user name>/Library/Containers/com.agilebits.onepassword-osx-helper/Data/Documents/
  • roustem
    roustem AgileBits Founder
    Thank you. I think I found and fixed the crash.



    Please use the HockeyApp distribution page to get the new beta:

    [url="https://rink.hockeyapp.net/recruit/81dd2bf42b4942f893963d47f0e7dc83"]https://rink.hockeyapp.net/recruit/81dd2bf42b4942f893963d47f0e7dc83[/url]
  • Tested beta 7, still getting the "[color=#282828][font=helvetica, arial, sans-serif]Cannot find local data file on this Mac" error ([/font][/color]actually twice). But no crash afterwards.
  • roustem
    roustem AgileBits Founder
    Thank you! I am publishing b8, hopefully that will fix it.
  • jhm
    jhm Junior Member
    edited December 2012
    (My previous post in this forum about USB sync not working seems to have disappeared ?!?)



    I tested b8 and it worked - I could sync a change from iPhone to Mac and vice versa.



    However, it does not seem reliable, e.g. I've had a few crashes.



    My latest test is a deletion on the Mac (so that it has 231 items) compared to the iPhone (232 items). However, when I run USB sync b8, it initially shows:





    "1,320 items ... 1,325 items

    1 changed item ... 6 changed items

    Label"



    and then after a while:



    "(iPhone 1Password icon) (Mac 1Password icon)

    232 items ... 231 items

    no changes ... <blank>

    Changes found, ready to sync."



    i.e. it shows the wrong info initially (why 1320/5 items compared to my actual 230 or so?!?) and then it doesn't seem to show correctly that 1 change is required ?
  • jhm
    jhm Junior Member
    I've synced the 1 change. Quit the app and restart the app (b8). It again shows the initial wrong values and then after a while:



    "231 items ... 231 items

    no changes

    Changes found, ready to sync."



    I press sync. Quit and restart the app and get the same again.
  • jhm
    jhm Junior Member
    Checking both, my Mac has 231 items but the iPhone still has 232 items, i.e. they do not sync even though I go through the sync process and it says "sync complete".
  • jhm
    jhm Junior Member
    Tried b9. The initial incorrect display has been fixed but the above problem remains, i.e.



    I run the app and it shows:





    "231 items ... 231 items

    no changes

    Changes found, ready to sync."



    I click sync - "Sync completed".



    I rerun the app and get the above again.



    When I go into 1Password on the iPhone, I sync the data but still find it out of sync with my Mac (the iPhone has an extra item which should not be there).
  • Beta 9 worked in my first tests. Unfortunately the new year is coming very close here in Europe now, no more time for testing today. Will continue tomorrow!



    Thanks Roustem for all the betas and all the best in 2013 for AgileBits!
  • roustem
    roustem AgileBits Founder
    Thank you so much for your time!



    Happy New Year!!!
  • I do notice that it crashes on open if your iOS device is not attached. Happy New Year!
  • jdonato
    jdonato Junior Member
    Hi

    Having the same issue as jasonrudolph: Utility tells me "Cannot Sync: [color=#282828][font=helvetica, arial, sans-serif]Cannot find local data file on this Mac"[/font][/color]



    [color=#282828][font=helvetica, arial, sans-serif]- Mac OS X 10.8.2 running 1Password 3.8.20 (build 31499)[/font][/color]

    [color=#282828][font=helvetica, arial, sans-serif]- iOS 6.0.1 running 1Password 4.1b10[/font][/color]

    [color=#282828][font=helvetica, arial, sans-serif]- 1PasswordUSBSync 1.0b9[/font][/color]



    [color=#282828][font=helvetica, arial, sans-serif]Steps to reproduce:[/font][/color]



    [color=#282828][font=helvetica, arial, sans-serif]1. Connect iPad to Mac via USB[/font][/color]

    [color=#282828][font=helvetica, arial, sans-serif]2. Launch 1PasswordUSBSync[/font][/color]



    [color=#282828][font=helvetica, arial, sans-serif]or[/font][/color]

    [color=#282828][font=helvetica, arial, sans-serif]1. [/font][/color][color=#282828][font=helvetica, arial, sans-serif]Launch 1PasswordUSBSync[/font][/color]

    [color=#282828][font=helvetica, arial, sans-serif]2.[/font][/color][color=#282828][font=helvetica, arial, sans-serif]Connect iPad to Mac via USB[/font][/color]



    [color=#282828][font=helvetica, arial, sans-serif]It does not matter if 1Password on the Mac is running or not. I have restarted, permissions are perfect, 5GB available RAM, 500GB available HD[/font][/color]

    [color=#282828][font=helvetica, arial, sans-serif]My data file is on ~/Library/Application Support/1Password/1Password.agilekeychain[/font][/color]



    [font="helvetica, arial, sans-serif"][color="#282828"]​Anything I should be doing or activating or turning on/off on any of the devices/apps that maybe I am missing?[/color][/font]



    [font="helvetica, arial, sans-serif"][color="#282828"]Thanks and Happy New Year!![/color][/font]
  • jdonato
    jdonato Junior Member
    By the way, no crashes here, it just can't find my local data file. Even if I click Reload on the Utility's "File" menu, same dialog window...
  • roustem
    roustem AgileBits Founder
    [quote name='jdonato' timestamp='1356998057' post='66603']

    By the way, no crashes here, it just can't find my local data file. Even if I click Reload on the Utility's "File" menu, same dialog window...

    [/quote]



    Thank you. This should be fixed in the b10.
  • roustem
    roustem AgileBits Founder
    [quote name='Henry Y.' timestamp='1356997082' post='66601']

    I do notice that it crashes on open if your iOS device is not attached. Happy New Year!

    [/quote]



    Happy New Year!



    I cannot recreate the crash on OS X 10.8.2, iTunes 11.0.1. It just shows "Waiting for device" message.
  • jdonato
    jdonato Junior Member
    [quote name='roustem' timestamp='1357054990' post='66649']

    Happy New Year!



    I cannot recreate the crash on OS X 10.8.2, iTunes 11.0.1. It just shows "Waiting for device" message.

    [/quote]



    Same here. And the utility immediately recognizes my device when I connect it.
  • jhm
    jhm Junior Member
    edited January 2013
    I tried the latest v14 beta but the syncing is still not working.





    iPhone:

    234 items

    ==

    189 logins

    44 secure notes

    1 generated password



    On my Mac, I do not have the 1 generated password and there should be 1 less login, i.e. 232 items.



    USB sync shows:

    "232 items == 232 items

    no changes== ...

    Changes found, ready to sync."



    I press "sync" and it instantly changes to "Sync completed".



    However, the two are not in sync. There is still the 232/234 discrepancy.



    I can repeat the above and get the same result (232/234). Syncing is not happening.
  • It's still crashing for me, I submitted the crash logs w/ HockeyApp
  • cortig
    cortig Senior Member
    Does the app need to be localized??





    Corentin
  • roustem
    roustem AgileBits Founder
    [quote name='cortig' timestamp='1357230493' post='66735']

    Does the app need to be localized??





    Corentin

    [/quote]



    Yes, it would be great to localize it. I am waiting a bit for the things to settle to avoid re-translating the changes.
  • o.ne
    o.ne Junior Member
    edited January 2013
    Which version is used for sync if both versions are installed on iOS, beta and normal?
  • roustem
    roustem AgileBits Founder
    [quote name='o.ne' timestamp='1357252520' post='66750']

    Which version is used for sync if both versions are installed on iOS, beta and normal?

    [/quote]



    Currently USB Sync will only sync with the iOS beta version, if the beta version is installed.



    I would like to add an option to choose beta or non-beta at some point.
  • cortig
    cortig Senior Member
    [quote name='roustem' timestamp='1357238449' post='66744']

    Yes, it would be great to localize it. I am waiting a bit for the things to settle to avoid re-translating the changes.

    [/quote]





    If you add the strings to the iOS project it should be easy. If you create a new one for this app, ping me <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_wink.png' class='bbc_emoticon' alt=';-)' />





    Corentin
  • o.ne
    o.ne Junior Member
    When connecting an iDevice to iTunes via wifi, the sync tool recognizes it, but can not sync:





    [color=#808080](null) connected, searching for 1Password app...[/color]

    [color=#808080]-----[/color]

    [color=#808080]Found com.agilebits.beta.onepassword-ios installed on (null)[/color]

    [color=#808080]Loading encryption keys[/color]

    [color=#808080]Loading local items[/color]

    [color=#808080]Ready to copy data to (null)[/color]

    [color=#808080]Copying data to (null)...[/color]

    [color=#808080]Sync completed[/color]



    Will this be supported in the future?
  • jhm
    jhm Junior Member
    [quote name='jhm' timestamp='1357095633' post='66679']I can repeat the above and get the same result (232/234). Syncing is not happening.[/quote]



    I tried with the latest 1Password 4.1b12 (401012):





    "Fixed problem where item deletion was not synced."



    but my Mac and iPhone are still out of sync (the phone has two additional items which should not be there anymore).
  • o.ne
    o.ne Junior Member
    I found one serious problem (at least for me):



    When there are changes in one element on both sides, the conflict is not identified, the last changed side (property 'updatedAt') overwrites the other.

    By contrast, the 'old' wifi sync identifies the conflict and shows the data with the possibility to choose which side is correct.



    I think this is because there is no sync state saved for the sync partners in the new usb sync tool.

    I hope this is going to be fixed, as i think it is a 'no-go' if i could possibly lose data without even noticing it.

    There must be the possibility to choose which side is correct or (even better) to merge the data.



    For most people this is a situation that will never occur, but for a power user who uses more than one desktop and more than one mobile device, there is a higher risk of changing data of one entry on multiple devices.

    Just think of expiring passwords that you need to renew on the go (mobile), but you just updated the notes of that entry a day ago (desktop) without having the time to sync yet.

    Back home again... sync... notes are gone.