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

1Password MAS Doesn't Pickup Dropbox Database

XCool
XCool Junior Member
Just updated to the MAS version. However, the new version doesn't seem to pickup my database which is stored in my Dropbox folder. Instead, it picked up some very old version, which I believe was the version I had before I moved everything into Dropbox syncing. Obviously, I told 1Password to use Dropbox instead - this effectively overwrites everything I have in my Dropbox folder with the OLD version.



+1 One Very Unhappy Customer
«1

Comments

  • XCool
    XCool Junior Member
    I dug around my files and noticed that my database file continues to live in its original Dropbox location! Phewww!

    There's a new 1Password database which is located in the root of my Dropbox folder - this is the new file that was created earlier.



    Needless to say, I double-clicked my original database file in Dropbox and was prompted by 1Password if I'd like to use the said database.

    That doesn't solve the problem at all. 1Password continues to use the "new" database that was created earlier - the outdated one.



    I finally solved it by deleting the "new" outdated database from Dropbox, then restart 1Password and choose "existing" user.

    I was prompted to choose my database again, so I picked the true original one in Dropbox and voila.







    That wasn't such a good out-of-the-box experience, and I hope other users who did the upgrade like me didn't fall into this. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/smile.png' class='bbc_emoticon' alt=':)' />
  • XCool
    XCool Junior Member
    edited September 2011
    Hmmm, this doesn't really solve the problem.



    1Password MAS edition insists on putting the database in Dropbox's root folder.

    Pointing it to another file, even if it's one inside the Dropbox folder only results in 1Password creating a new database in it's own container.



    Worst: I now have two 1Password.agilekeychain file in my Dropbox's root folder: 1Password.agilekeychain and 1Password-someRandomNumber.agilekeychain.

    One for my MBP, the other was created recently by my Mac mini when I told it to use Dropbox.

    How does one sync when the databases are stored in two different files?



    Sigh...
  • I too found that 1Password 3.9 found a different database. But, I was able to quickly find a good one in my dropbox.



    I suggest that users survey what's in the dropbox, and if there are multiple versions, hide all but the current one. Hide them by zipping or otherwise making them invisible i the dropbox.



    I've also found that the Safari extension may sometimes point to the wrong version of the keychain. This is resolved by uninstalling and reinstalling the Safari extension.



    Let me take this moment to congratulate the Agilebits team. I am more than happy to kick in another $20. This app is part of my workflow on my macs and iOS devices. I paid, as I recall, for the 2 to 3 upgrade. I see the current step as just the 3 to 4 upgrade fee.



    Keep up the good work, agile team.
  • Re database file location--set all copies to use the file at the root level. After that, it works.
  • roustem
    roustem AgileBits Founder
    [quote name='XCool' timestamp='1315535839' post='46004']

    Hmmm, this doesn't really solve the problem.



    1Password MAS edition insists on putting the database in Dropbox's root folder.

    Pointing it to another file, even if it's one inside the Dropbox folder only results in 1Password creating a new database in it's own container.



    Worst: I now have two 1Password.agilekeychain file in my Dropbox's root folder: 1Password.agilekeychain and 1Password-someRandomNumber.agilekeychain.

    One for my MBP, the other was created recently by my Mac mini when I told it to use Dropbox.

    How does one sync when the databases are stored in two different files?



    Sigh...

    [/quote]



    It looks like you had an older copy of your data in ~/Library/Application Support/1Password folder. This copy was automatically migrated into the Container when the Mac App Store version was launched for the first time and 1Password started using it. Then it seems that you used 1Password > Preferences to move this data into the Dropbox folder and 1Password had to rename your existing file there into "1Password-current-timestamp.agilekeychain"



    The best solution would be to

    1. Quit both 1Password and 1Password Helper. If you still have 1Password Helper running, use 1Password > Preferences > Extensions to not allow the helper to run.



    2. When you do not have the 1Password Helper running, move the existing "1Password.agilekeychain" into Trash and rename "1Password-someRandomNumber.agilekeychain" into "1Password.agilekeychain". Before you do that, make sure Dropbox is not syncing anything. It seems that it doesn't folders being renamed when it syncs them.



    3. Start 1Password.
  • XCool
    XCool Junior Member
    [quote name='roustem' timestamp='1315537983' post='46032']



    It looks like you had an older copy of your data in ~/Library/Application Support/1Password folder. This copy was automatically migrated into the Container when the Mac App Store version was launched for the first time and 1Password started using it. Then it seems that you used 1Password > Preferences to move this data into the Dropbox folder and 1Password had to rename your existing file there into "1Password-current-timestamp.agilekeychain"



    The best solution would be to

    1. Quit both 1Password and 1Password Helper. If you still have 1Password Helper running, use 1Password > Preferences > Extensions to not allow the helper to run.



    2. When you do not have the 1Password Helper running, move the existing "1Password.agilekeychain" into Trash and rename "1Password-someRandomNumber.agilekeychain" into "1Password.agilekeychain". Before you do that, make sure Dropbox is not syncing anything. It seems that it doesn't folders being renamed when it syncs them.



    3. Start 1Password.

    [/quote]



    Is it possible to put the database inside a folder within Dropbox instead of the root?
  • roustem
    roustem AgileBits Founder
    [quote name='XCool' timestamp='1315538644' post='46044']



    Is it possible to put the database inside a folder within Dropbox instead of the root?

    [/quote]



    No, not at this moment.
  • XCool, this happened to me too but it was very easy to fix. I just moved my correct 1password.agilebits file to Dropbox root and prompted it to overwrite the one it created with the old data. Deleted the folder.



    Incidentally, you'll have to re-point your iOS devices to that too by resetting the sync completely. Quit the app in multitasking to see the change reflected.
  • It seems there's something else at play here because some new users (myself included) are finding that dropbox sync doesn't work between the MAS app and the iPhone/iPad app -- seems related to the issue being discussed here. Here's another thread:



    http://forum.agilebits.com/index.php?/topic/8058-problems-syncing-iphone-with-dropbox/
  • I am totally confused, I have MAS 1password working from inside a folder called 1password that resides in my dropbox folder on my new air, this is working perfectly. On my Mac Pro I ran a few terminal commands as has been said on the forum and managed to access the same file as I got the new or existing user screen and could not load the data, however it imported it into the Mac Pro rather than using it in Dropbox, I am trying to point it at dropbox but I cannot get it to work, it continually copies and imports the file, to the library. Any ideas please?
  • roustem
    roustem AgileBits Founder
    [quote name='watteau' timestamp='1315540099' post='46072']

    I am totally confused, I have MAS 1password working from inside a folder called 1password that resides in my dropbox folder on my new air, this is working perfectly.

    [/quote]



    You probably had a previous version of 1Password using this location and the new version picked it up.





    [quote name='watteau' timestamp='1315540099' post='46072']

    On my Mac Pro I ran a few terminal commands as has been said on the forum and managed to access the same file as I got the new or existing user screen and could not load the data, however it imported it into the Mac Pro rather than using it in Dropbox, I am trying to point it at dropbox but I cannot get it to work, it continually copies and imports the file, to the library. Any ideas please?

    [/quote]



    It should work the same way on your Mac Pro. 1Password should simply find it in Dropbox and do not even show the welcome screen. Do you have Dropbox folder in the standard location (in your home folder) there?
  • RRRob
    RRRob Junior Member
    For reasons discussed elsewhere, I [b]must[/b] keep my Dropbox folder out on a NAS instead of in my home folder in order to sync it with my Windows machine at work using WebDAVS. 1Password v3.9 is unable to find my Dropbox folder at all in this configuration, generating the following error:



    [attachment=1301:1Password.jpg]



    Is there a fix for this coming soon? I'll have to go back to v3.8.5 otherwise.
  • I also have my Dropbox folder outside of my home folder on a secondary drive. Will 1Password 3.9 work if I symlink the Dropbox folder into the home folder?
  • milleri
    milleri Junior Member
    I'm a 3.8.5 user with my agilekeychain in a 1PasswordSync folder in the root of my Dropbox. My Dropbox is not in my home folder. Version 3.9 launches, presents the welcome screen, asks for the location of my keychain, and then proceeds to do nothing. No home window, just the 1Password menu. The only thing that works is Quit.



    As a long time 1Password user, I'm trying to by loyal. The announcements exude enthusiasm about a new version, but the new version doesn't work and doesn't seem to restore important functionality missing since the latest round of browser upgrades. I understand that new browser versions present a challenge, but if you are going to be enthusiastic, be enthusiastic about giving your loyal customers back the functionality they have recently lost. The marketing spin on a new version that doesn't work and doesn't restore features missing from older versions is disingenuous. I'm not a happy camper.
  • roustem
    roustem AgileBits Founder
    [quote name='RRRob' timestamp='1315634810' post='46989']

    For reasons discussed elsewhere, I [b]must[/b] keep my Dropbox folder out on a NAS instead of in my home folder in order to sync it with my Windows machine at work using WebDAVS. 1Password v3.9 is unable to find my Dropbox folder at all in this configuration, generating the following error:



    [attachment=1301:1Password.jpg]



    Is there a fix for this coming soon? I'll have to go back to v3.8.5 otherwise.

    [/quote]



    The Mac App Store version is sandboxed and can only read/write files in two locations — its Container folder (under ~/Library/Containers) and a ~/Dropbox folder. It is not possible to request an read/write exception for a symlinked location.



    I know it is pain, but perhaps it would be possible to for you to keep 1Password data in the container and use something like unison to sync with the Dropbox folder?
  • roustem
    roustem AgileBits Founder
    [quote name='milleri' timestamp='1315665256' post='47114']

    I'm a 3.8.5 user with my agilekeychain in a 1PasswordSync folder in the root of my Dropbox. My Dropbox is not in my home folder. Version 3.9 launches, presents the welcome screen, asks for the location of my keychain, and then proceeds to do nothing. No home window, just the 1Password menu. The only thing that works is Quit.



    As a long time 1Password user, I'm trying to by loyal. The announcements exude enthusiasm about a new version, but the new version doesn't work and doesn't seem to restore important functionality missing since the latest round of browser upgrades. I understand that new browser versions present a challenge, but if you are going to be enthusiastic, be enthusiastic about giving your loyal customers back the functionality they have recently lost. The marketing spin on a new version that doesn't work and doesn't restore features missing from older versions is disingenuous. I'm not a happy camper.

    [/quote]



    The Mac App Store requirements are pretty strict and sandboxing is going to be mandatory for all applications starting November. It creates certain limitations for the apps and we have rewrite 1Password to work in the sandbox. At the same time, it makes your system more stable and secure.
  • milleri
    milleri Junior Member
    So what do I need to do to get this working? My Dropbox is in a subfolder of my home folder.
  • milleri
    milleri Junior Member
    If you can make it work with ~/Dropbox, why not make it work with the Dropbox folder wherever it is? My Dropbox folder is where I need it to be for other reasons.
  • roustem
    roustem AgileBits Founder
    [quote name='milleri' timestamp='1315682081' post='47329']

    If you can make it work with ~/Dropbox, why not make it work with the Dropbox folder wherever it is? My Dropbox folder is where I need it to be for other reasons.

    [/quote]



    This is because the sandbox rules are defined when application is submitted to Mac App Store for review. We requested an exception that would allow 1Password to use ~/Dropbox folder but we cannot ask for access to your whole disk.
  • milleri
    milleri Junior Member
    How about asking for access to ~/*? Surely other apps ask for that.
  • RRRob
    RRRob Junior Member
    edited September 2011
    [quote name='roustem' timestamp='1315674284' post='47230']The Mac App Store version is sandboxed and can only read/write files in two locations — its Container folder (under ~/Library/Containers) and a ~/Dropbox folder. It is not possible to request an read/write exception for a symlinked location.



    I know it is pain, but perhaps it would be possible to for you to keep 1Password data in the container and use something like unison to sync with the Dropbox folder?[/quote]

    I can try, but that will make three different synchronization programs that all have to work together, each required to sync a different 1Password client of mine thanks to my employer blocking all access to Dropbox.com, breaking the Dropbox client there:[list]

    [*]GoodSync—WebDAVS still works over port 443 at work, so I use GoodSync to sync my Windows 1Password directory with that in the Dropbox folder I set up on a NAS share that could be easily configured for WebDAVS access. It's slower than Dropbox, but not likely to break anytime soon.

    [*]Dropbox—required to remotely sync my iOS 1Password client. Wifi sync doesn't do me much good most of the time.

    [*]Unison—which you propose for syncing 1Password folders between my NAS and a OS X user root Dropbox folder as enforced by the Mac App Store sandboxing rules you cite.

    [/list]

    I'm fully aware that Agilebits has looked into other remote synchronization options (WebDAV, MobileMe/.Mac iDisk, etc.), and I won't repeat my comments about your dependence upon Dropbox here. Nor will I debate the changes required by Apple for inclusion in the Mac App Store. But Agilebits [b]really[/b] needs to come up with a synchronization method that doesn't rely upon a central server that isn't under the user's control.
  • Johand
    Johand Junior Member
    This is a bit of a shot in the dark since I can't try it out myself at the moment, but can you move the 1password data to the base dropbox folder and then softlink to a non-base folder in dropbox? If it works, it seems like this would still allow the 1password data to show up in a shared folder etc.
  • milleri
    milleri Junior Member
    It seems the issue is that 1Password only has access to ~/Dropbox. The symbolic link would resolve to a real path name that would be outside of this sandbox, and therefore blocked.



    Did I get that right?
  • That's right, miller, only the 'true' ~/Dropbox can be used for your 1Password data, symlinks won't work. You asked about being able to have an exception for the entire home folder, or ~/*, well that just wouldn't be possible, we have to justify each exception to Apple and they will more than likely refuse such a wide scope of an exception.



    All exceptions have to be requested when we submit the app. As far as I know, the exception we have for ~/Dropbox should apply to all subfolders and I believe Roustem is planning to make the default ~/Dropbox/1Password for new Dropbox setups in the future.
  • Johand
    Johand Junior Member
    [quote name='milleri' timestamp='1315853884' post='48272']

    It seems the issue is that 1Password only has access to ~/Dropbox. The symbolic link would resolve to a real path name that would be outside of this sandbox, and therefore blocked.



    Did I get that right?

    [/quote]

    Just to clarify... I meant that you would put the actual data in ~/Dropbox ... and the symlink would only be used so that the data could also appear in an additional (shared) dropbox folder. Even so, I'm not sure if even that will work.

    If it does, that would be handy for my purposes of having my 1password data appear on my wife's dropbox acct... even if I can only use it for directly accessing the web interface. (not the 1password app)
  • Johand,



    If you know what you're doing with OS X, and feel confident about editing plist files then we do have [url="https://onepassword-osx.tenderapp.com/kb/advanced/advanced-how-to-use-non-standard-dropbox-folder-location"]a guide on how to do this[/url].



    That's a much better way than using symlinks as your data would actually be in the folder in question.
  • Johand
    Johand Junior Member
    [quote name='stu' timestamp='1315857551' post='48306']

    Johand,



    If you know what you're doing with OS X, and feel confident about editing plist files then we do have [url="https://onepassword-osx.tenderapp.com/kb/advanced/advanced-how-to-use-non-standard-dropbox-folder-location"]a guide on how to do this[/url].



    That's a much better way than using symlinks as your data would actually be in the folder in question.

    [/quote]

    Awesome. Thanks!
  • No problems, let me know how you get on with that method.
  • milleri
    milleri Junior Member
    edited September 2011
    I moved my Dropbox to ~/Dropbox and 1Password still doesn't work. It launches, shows the welcome screen, asks for the location of the agile keychain, shows the menubar, but no main window. The only thing it will do is open the preferences dialog and quit. What's up?





    Help! I'd dying here.
  • milleri
    milleri Junior Member
    I'm just stuck. I can't get it working with my 3.8 keychain. I also can't get it to create a new keychain. Any advice?