windows 10 postgres install bug

From: "Doke, Tim (TR Tech, Content & Ops)" <tim(dot)doke(at)thomsonreuters(dot)com>
To: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: windows 10 postgres install bug
Date: 2020-02-19 00:41:13
Message-ID: SN6PR03MB41582956A232B57C80AA55E5F0100@SN6PR03MB4158.namprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2020-02-19 01:17:22 BUG #16265: psql shows (unfolded) relation name in quotes
Previous Message Michail Nikolaev 2020-02-18 23:01:38 Re: BUG #16108: Colorization to the output of command-line has unproperly behaviors at Windows platform