/
Installation of PostgreSQL Error
Installation of PostgreSQL Error
Problem
While attempting to install PostgreSQL , the installation proceeded until almost completing and then displayed the following:
Warning
---------------------------
Problem running post-install step. Installation may not complete correctly
The database cluster initialization failed.
May also say:
failed to load sql modules into the database cluster
Solution
PostgreSQL has broken their installer, so attempts to install any version will end in this warning. After giving the Users group Write access to the data directory, you will be able to successfully install PostgreSQL.
Steps to change the permissions on the data directory:
- Navigate to (or create) C:\Program Files\PostgreSQL\x.x\data.
- Give "Users" write permission
- Install PostgreSQL
- Remove write permission for "Users" on the data directory
Related articles
, multiple selections available,
Related content
Error Creating tables on PostgreSQL
Error Creating tables on PostgreSQL
More like this
Reset lost PostgreSQL admin password
Reset lost PostgreSQL admin password
More like this
pgAdmin fails to run after installing newer version
pgAdmin fails to run after installing newer version
More like this
Error: The transaction has aborted.
Error: The transaction has aborted.
More like this
Can't delete PostgreSQL database
Can't delete PostgreSQL database
More like this
PostgreSQL Timeout
PostgreSQL Timeout
More like this
© 2023 Foray, LLC - All Rights Reserved