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)
-
Close Connection Manager.
-
Move all files stored in incorrect local connection file directory by the executing the following command in the terminal:
Copyrsync -r “/Users/$USER/Documents/Library/Application Support/Delinea/Connection Manager/“ “Users/$USER/Library/Application Support/Delinea/”
-
Execute the following command in the terminal to change the local connection file directory:
Copydefaults 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.
-
Uninstall Connection Manager.
-
Remove preferences file by running the following command:
Copyplist ‘/Users/$USER/Library/Preferences/com.Delinea.ConnectionManager.plist’
-
Remove the incorrect local connection file directory located at:
/Users/$USER/Documents/Library/Application Support/Delinea/Connection Manager/
-
Reinstall Connection Manager.
-
Launch Connection Manager and choose the correct local connection file directory location at:
/Users/$USER/Library/Application Support/Delinea/Connection Manager/ConnectionManager.dat