cancel
Showing results for 
Search instead for 
Did you mean: 

Postgres 10.8 Installation on Windows Server 2016 Fails

Adventurer

Postgres 10.8 Installation on Windows Server 2016 Fails

Hey folks,

 

I tried installing psotgres 10.8 multiple times, all of which have failed...

 

The log file reports the following error:

Creating initial database and postgres user
Executing F:\PTC\PostgresSQL/pgc init pg10 --datadir "F:\PTC\PostgresSQL\data\pg10" --options "--encoding UTF8 "
Script exit code: 1

Script output:
 ERROR: Invalid component parameter (pg10)

Script stderr:
 Program ended with an error exit code

Error with configuration or permissions. Please see log file for more information.
Problem running post-install step. Installation may not complete correctly
 Error with configuration or permissions. Please see log file for more information.
[09:35:21] Running pgAdmin post installation actions
Installing pgAdmin3 ...
Executing F:\PTC\PostgresSQL/pgc install pgadmin3
Script exit code: 1

Script output:
 ERROR: Invalid component parameter (pgadmin3)

Script stderr:
 Program ended with an error exit code

Error with configuration or permissions. Please see log file for more information.
Problem running post-install step. Installation may not complete correctly
 Error with configuration or permissions. Please see log file for more information.

Any help is resolving this issue would be greatly appreciated!

4 REPLIES 4
Highlighted
Adventurer

Re: Postgres 10.8 Installation on Windows Server 2016 Fails

Highlighted
EDB Team Member

Re: Postgres 10.8 Installation on Windows Server 2016 Fails

Hi HeyItsRyan,

Can you confirm on the source of the postgresql installer.The Postgresql binary.

The log has the details of the pgAdmin3.A version which is not supported now.

Current version of pgAdmin is 4.7.If the database version is 10.

What are the steps that you have followed for the installation.

This has to be issue with the permissions on the data direcotry.This should be with Adminstrator

Can you check this and reinitiate the setup again.

Highlighted
Adventurer

Re: Postgres 10.8 Installation on Windows Server 2016 Fails

Hey there Rahul.

 

Thanks for getting back to me!

Perhaps you have a link to a windows one-click installer for postgres 10.8 & pgAdmin4.7?

 

In terms of admin rights:

I am logged in as an administrator user

I run the executable as administrator

I have ensured that the folder directory for PostgresSQL installation is not read-only.

I have granted Full control permissions to the folder directory for PostgresSQL installation.

..and I still get the same error.

 

Is there anything else I am missing?

Highlighted
EDB Team Member

Re: Postgres 10.8 Installation on Windows Server 2016 Fails