While installing PostgreSQL I keep getting the message:
"Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed."
This seems to prevent me from using PGadmin correctly.
In the install log I have found the following section which seems to indicate where things went wrong.
I haven't been able to find a solution to this problem.
Executing batch file 'rad7C33E.bat'... The program "postgres" was found by "C:/Program Files/PostgreSQL/11/bin/initdb.exe" but was not the same version as initdb. Check your installation. Called Die(Failed to initialise the database cluster with initdb)... Failed to initialise the database cluster with initdb Script stderr: Program ended with an error exit code Error running cscript //NoLogo "C:\Program Files\PostgreSQL\11/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\JesseDanckaarts\AppData\Local\Temp/postgresql_installer_6f373c7c91" "C:\Program Files\PostgreSQL\11" "C:\Program Files\PostgreSQL\11\data" 5432 "Dutch,Netherlands" 0: Program ended with an error exit code Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed. Executing icacls "C:\Users\JesseDanckaarts\AppData\Local\Temp/postgresql_installer_cb3c83cf49" /inheritance:r Script exit code: 0
I have tried the following without luck so far:
and many more!
If anyone knows what could be the problem I'd be very grateful!