windows 10 postgres install bug - Mailing list pgsql-bugs

From Doke, Tim (TR Tech, Content & Ops)
Subject windows 10 postgres install bug
Date
Msg-id SN6PR03MB41582956A232B57C80AA55E5F0100@SN6PR03MB4158.namprd03.prod.outlook.com
Whole thread Raw
Responses Re: windows 10 postgres install bug  (Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>)
List pgsql-bugs

I’ve tried many versions of the pg installation.. Currently, I am using this:

postgresql-12.1-3-windows-x64.exe

 

It runs into a problem with the cluster initialization:

 

 

[18:22:47] Removing the existing ldconfig setting - set during the previous installation.

[18:22:47] Running the post-installation/upgrade actions:

[18:22:47] Write the base directory to the ini file...

[18:22:47] Write the version number to the ini file...

Initialising the database cluster (this may take a few minutes)...

Executing cscript //NoLogo "C:\Program Files\PostgreSQL\12/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\u6019010\AppData\Local\Temp/postgresql_installer_f2a752db06" "C:\Program Files\PostgreSQL\12" "C:\Program Files\PostgreSQL\12\data" 5432 "DEFAULT" 0

Script exit code: 1

 

Script output:

WScript.Shell Initialized...

Scripting.FileSystemObject initialized...

 

Called CreateDirectory(C:\Program Files\PostgreSQL\12\data)...

Called CreateDirectory(C:\Program Files\PostgreSQL\12)...

Called ClearAcl (C:\Program Files\PostgreSQL\12\data)...

    Executing batch file 'radA3984.bat'...

    Output file does not exists...

Removing inherited ACLs on (C:\Program Files\PostgreSQL\12\data)

    Executing batch file 'radA3984.bat'...

    processed file: C:\Program Files\PostgreSQL\12\data

Successfully processed 1 files; Failed processing 0 files

 

Called Die(Failed to reset the ACL (C:\Program Files\PostgreSQL\12\data))...

Failed to reset the ACL (C:\Program Files\PostgreSQL\12\data)

 

Script stderr:

Program ended with an error exit code

 

Error running cscript //NoLogo "C:\Program Files\PostgreSQL\12/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\u6019010\AppData\Local\Temp/postgresql_installer_f2a752db06" "C:\Program Files\PostgreSQL\12" "C:\Program Files\PostgreSQL\12\data" 5432 "DEFAULT" 0: Program ended with an error exit code

Problem running post-install step. Installation may not complete correctly

The database cluster initialisation failed.

 

 

Can you help?

Thanks

This e-mail is for the sole use of the intended recipient and contains information that may be privileged and/or confidential. If you are not an intended recipient, please notify the sender by return e-mail and delete this e-mail and any attachments. Certain required legal entity disclosures can be accessed on our website: https://www.thomsonreuters.com/en/resources/disclosures.html

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: gen_random_uuid() is immutable in Pg 13devel
Next
From: PG Bug reporting form
Date:
Subject: BUG #16265: psql shows (unfolded) relation name in quotes