The 1Password Community forums are in read-only mode from Jan 28th - Feb 4th, 2025. Find out more.

Cannot read property 'replace' of undefined in Dropbox view

swy
swy
Community Member

Hi all,

Besides my Primary vault, I have a secondary vault for sharing content with another person, stored in Dropbox. Today we found that if either of us try to load 1Password.html in multiple browsers and across Win and Mac, we get the following error:

Additionally, when the offer to stop reporting errors from the page is accepted, there are issues in showing the proper content, such as entries that never update to show the content of the selected login.

I cannot replicate this error when accessing my existing 1Password.agilekeychain through dropbox.

I am a paid 1P license holder, the other I tried to share credentials with is not yet. Could this lead to the above result?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: 10.10.3, Win8
Sync Type: dropbox

Comments

  • Drew_AG
    Drew_AG
    1Password Alumni

    Hi @swy,

    I'm sorry you're getting that error message when trying to open the 1Password.html file! I'm not familiar with that error so I'm not quite sure what's going on. To help us figure out what's happening, can you please let us know some more details:

    • What exact version of 1Password are you using on your Mac(s)?
    • Are you using the AgileBits Store version or the Mac App Store version of 1Password?
    • What exact version of 1Password are you using on your Windows PC(s)?
    • What web browsers & versions have you tried using to open 1Password.html?
    • Are you trying to open a local copy of 1Password.html, or are you opening it from the dropbox.com website?
    • Do you have any trouble using that secondary/shared vault in the 1Password app on Mac or Windows?
    • Do changes to that vault on one computer sync correctly to the other computers?
    • You said you noticed this problem yesterday - was it working correctly before that?

    Thanks in advance!

    I am a paid 1P license holder, the other I tried to share credentials with is not yet. Could this lead to the above result?

    No, licensing wouldn't make a difference here. If your friend is using a trial version, any restrictions that would happen once the trial expires wouldn't cause something like this. In an expired trial, sync still works the same way.

  • swy
    swy
    Community Member
    • 1Password 4
      Version 4.4.3 (443000)
      Agile Web Store
      on one laptop. Direct download version.

    • 1P Version 5.latest, NOT from the MAS on my iMac (not involved in this observation- it's down for a failed hdd)

    • Windows was a fresh download: 5.latest
    • Above screenshot was from Chrome 43.0.2357.124 (64-bit) on Mac.
    • Error was replicated on recent versions of IE and FF on Windows (version unavailable), And on 7.1.6 on MacOS 10.9.5:
    • 1Password.html was opened by authenticating to the dropbox webpage and opening the html from a url beginning with https://dl-web.dropbox.com
    • Yes, I am seeing sync issues with another source: My work laptop shows an All Items count of 146. My phone is showing 87 items. Both show last sync values within the last minute.
    • The web alert was first seen yesterday, as it was the first time a browser has been asked to open this vault.
  • Drew_AG
    Drew_AG
    1Password Alumni

    Hi @swy,

    Thank you for the additional details! It sounds like there might be a problem with the .agilekeychain for your secondary/shared vault, so resetting Dropbox sync for that vault should hopefully take care of that. First, you may want to backup your data as a precaution. On your Mac, open 1Password and go to File > Backup.

    When you're ready, go ahead and follow these steps:

    On your Mac:

    • Open 1Password and go to 1Password > Preferences, then choose the Sync tab.
    • Select the secondary/shared vault on the left, then change the sync from Dropbox to None.
    • Check the box to Delete data from Dropbox, then click Disable Sync.
    • Open your Dropbox folder on that Mac and make sure the .agilekeychain has been deleted.
    • In 1Password, go back to the Sync settings for your secondary vault, and select Dropbox from the “Sync vault with” pop-up menu.
    • Click the Choose button and select the same shared folder you had been using in your Dropbox folder (then click Open).
    • Click Create New, then allow Dropbox to fully sync the new .agilekeychain.

    Your other devices will stop syncing that vault when they realize the .agilekeychain was removed from Dropbox. You'll need to re-enable Dropbox sync for the secondary vaults on those other devices. On iOS, switch to the secondary vault, go through the steps to enable Dropbox sync for that vault, and choose to merge it with the .agilekeychain in Dropbox. On Windows, you'll just need to allow the new .agilekeychain to download to the local Dropbox folder, then open that vault in 1Password.

    Please let us know how it all goes, and if you have questions about any of that. Thanks!

  • swy
    swy
    Community Member

    Hey Drew- after removing the keychain from Dropbox and pushing a new one, everything is looking clean: I'm now seeing the count of items match between my phone, the web interface, and the app. Thanks for the guidance.

    Kinda crazy how all sides would say they're properly synced, but the count and items wouldn't match. Another observation: my original shared keychain has a Date Modified of May 7. I would expect that to be updated each time the content of the 1P keychain was modified.

    Again, thanks- things are now behaving as intended.

  • Megan
    Megan
    1Password Alumni

    Hi @swy,

    I'm glad to hear that you are back up and running!

    Another observation: my original shared keychain has a Date Modified of May 7. I would expect that to be updated each time the content of the 1P keychain was modified.

    Don't pay too much attention to the modified date of the 1Password.agilekeychain. The 1Password.agilekeychain is actually a file bundle with several folders containing all your data inside. For example: 1Password.agilekeychain/data/default. (You can see the file structure yourself by right-clicking on the 1Password.agilekeychain file and selecting 'Show Package Contents'.)

    Since the operating system only changes the 'Date Modified' for the next level folder, the date modified on the 1Password.agilekeychain itself will not reflect if/when changes have been made within the data/default folder.

This discussion has been closed.