Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10. - Mailing list pgsql-bugs

From Sandeep Thakkar
Subject Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date
Msg-id CANFyU95-gc7BqyhBROsR+2sJvdQab+NQDqyjEFa+74o9s-S7eg@mail.gmail.com
Whole thread Raw
In response to Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.  (燕尘 <pinsaxy@gmail.com>)
List pgsql-bugs
Hi,

You shouldn't need to do anything manual to get the installation working. Could you please share the Bitrock installation log that is found at %TEMP%? This will have information about the failure

On Sat, Jul 27, 2024 at 7:11 AM 燕尘 <pinsaxy@gmail.com> wrote:

I searched for many solutions, and there are numerous solutions to this problem online, including adding the executable file path to the PATH environment variable, manually creating a postgres user and adding it to the local administrators group, granting full control permissions to the postgres user for the installation directory and data directory, running the installer with postgres privileges, even logging into Windows as the postgres user and then running the installer, uninstalling the old program completely and cleaning the registry before installation, and many other methods. However, they all still resulted in the same error.

I finally solved this problem by using administrator privileges in the command line:
D:\PostgreSQL\bin>initdb.exe -D D:\databases
D:\PostgreSQL\bin>pg_ctl.exe register -N PostgreSQL -D D:\databases


PG Bug reporting form <noreply@postgresql.org> 于2024年7月26日周五 14:21写道:
The following bug has been logged on the website:

Bug reference:      18553
Logged by:          Yan Chen
Email address:      pinsaxy@gmail.com
PostgreSQL version: 16.3
Operating system:   Windows 10
Description:       

The first step for customers using PostgreSQL is installation. However, due
to potential user permission issues with PostgreSQL, the installation always
fails at the database creation step. During the installation process, a
dialog box pops up saying: Problem running post-install step, Installation
may not complete correctly. Failed to start the database server. After
installation, the data directory is empty.

I believe that a dedicated software company should not ignore installation
issues. I am extremely angry about this and have registered an account
specifically to express my dissatisfaction with you!



--
Sandeep Thakkar


pgsql-bugs by date:

Previous
From: Peter Smith
Date:
Subject: Re: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column
Next
From: David Rowley
Date:
Subject: Re: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column