CDA Oneinstaller issue: Postgresql permission denied

Document ID : KB000113575
Last Modified Date : 11/09/2018
Show Technical Document Details
The CDA OneInstaller is unable to continue with the installation due to an error.

The install.log shows:
initdb: could not create directory "D:/Automic/External.Resources/postgresql/data": Permission denied

SEVERE: Could not initialize Analytics Datastore
com.automic.installer.api.common.InstallerException: Could not initialize Analytics Datastore

1. If Postgresql was previously installed, uninstall it. 
2  Delete any old OneInstaller installation files.
3. Reboot the server. 
4. Manually create the target Automic folder (i.e. D:\Automic) and grant everyone full control.
Tip:  Remove read-only permissions to the Automic folder and add user administrator owner full permissions. 
5. Restart the server. 
6. Run the CDA OneInstaller.