Fixing the .DAT File Location After Upgrading on macOS

These instructions explain how to fix the .DAT file location after upgrading Delinea Connection Manager on macOS. This resolves an issue where Connection Manager occasionally saves session files in the incorrect folder, resulting in the loss of local connections.

Expected File Location

After upgrading Connection Manager, local connection files may occasionally save in an incorrect location, such as:

/Users/$USER/Documents/Library/Application Support/Delinea/Connection Manager/ConnectionManager.dat

The expected location for local connections is:

/Users/$USER/Library/Application Support/Delinea/Connection Manager/ConnectionManager.dat

Possible Solutions

Solution 1: Move the File Manually to the Correct Location (Recommended)

  1. Close Connection Manager.

  2. Move all files stored in incorrect local connection file directory by the executing the following command in the terminal:

    Copy
    rsync -r “/Users/$USER/Documents/Library/Application Support/Delinea/Connection Manager/“ “Users/$USER/Library/Application Support/Delinea/”


  3. Execute the following command in the terminal to change the local connection file directory:

    Copy
    defaults write com.Delinea.ConnectionManager Env.DataLocation “/Users/$USER/Library/Application Support/Delinea/Connection Manager”

     

Solution 2: Reinstalling Connection Manager (Not Recommended)

This solution is not recommended as all local connections, Delinea vaults, and custom configurations will be lost.

  1. Uninstall Connection Manager.

  2. Remove preferences file by running the following command:

    Copy
    plist ‘/Users/$USER/Library/Preferences/com.Delinea.ConnectionManager.plist’
  3. Remove the incorrect local connection file directory located at:

    /Users/$USER/Documents/Library/Application Support/Delinea/Connection Manager/

  4. Reinstall Connection Manager.

  5. Launch Connection Manager and choose the correct local connection file directory location at:

    /Users/$USER/Library/Application Support/Delinea/Connection Manager/ConnectionManager.dat