Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.

Lists: pgsql-bugs
From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: pinsaxy(at)gmail(dot)com
Subject: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-26 06:20:53
Message-ID: 18553-fd5dac5001bdf7f2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18553
Logged by: Yan Chen
Email address: pinsaxy(at)gmail(dot)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!


From: "Wetmore, Matthew (CTR)" <Matthew(dot)Wetmore(at)evernorth(dot)com>
To: "pinsaxy(at)gmail(dot)com" <pinsaxy(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: RE: [EXTERNAL] BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-26 13:15:55
Message-ID: PH0PR12MB54997D36DB3E403726CCF920F5B42@PH0PR12MB5499.namprd12.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Welcome to open source, if you'd like professional guidance and support, may I suggest EDB. They would be happy to assist you for a professional fee. They are great!

-----Original Message-----
From: PG Bug reporting form <noreply(at)postgresql(dot)org>
Sent: Thursday, July 25, 2024 11:21 PM
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: pinsaxy(at)gmail(dot)com
Subject: [EXTERNAL] BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.

The following bug has been logged on the website:

Bug reference: 18553
Logged by: Yan Chen
Email address: pinsaxy(at)gmail(dot)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!

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail at the address shown. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Thank you for your compliance. Copyright (c) 2024 Evernorth


From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "pinsaxy(at)gmail(dot)com" <pinsaxy(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-26 13:32:49
Message-ID: CAKFQuwbsB+sPzTkVKhRq2hRZFE8AERymAxu=VStKc+htOmrwhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

On Thursday, July 25, 2024, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18553
> Logged by: Yan Chen
> Email address: pinsaxy(at)gmail(dot)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!
>
>
Didn’t even know there was an issue until you tell us. And still don’t
know what that issue is because you have not provided sufficient details.
There are many ways to get community assistance with installation and
debugging, though this bug report forum isn’t one of them, but maybe the
third-party installation provider EDB will chime in with more helpful
comments anyway. In the meantime, if you’d like to do more than vent I’d
suggest following the instructions on the installer/s website:
https://www.enterprisedb.com/docs/supported-open-source/postgresql/troubleshooting/

David J.


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pinsaxy(at)gmail(dot)com" <pinsaxy(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-26 14:04:16
Message-ID: be18c809-4ab5-4477-b13e-242c2051c7e2@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


On 2024-07-26 Fr 9:32 AM, David G. Johnston wrote:
> On Thursday, July 25, 2024, PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:
>
> The following bug has been logged on the website:
>
> Bug reference:      18553
> Logged by:          Yan Chen
> Email address: pinsaxy(at)gmail(dot)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!
>
>
> Didn’t even know there was an issue until you tell us.  And still
> don’t know what that issue is because you have not provided sufficient
> details.  There are many ways to get community assistance with
> installation and debugging, though this bug report forum isn’t one of
> them, but maybe the third-party installation provider EDB will chime
> in with more helpful comments anyway.  In the meantime, if you’d like
> to do more than vent I’d suggest following the instructions on the
> installer/s website:
> https://www.enterprisedb.com/docs/supported-open-source/postgresql/troubleshooting/
>
>

Let me add a couple of things. First, the PostgreSQL community is not a
software company. It doesn't sell anything, and you haven't bought
anything from it. Expressing anger isn't really appropriate here, no
matter how frustrated you are.

Second, while I work for EDB, which produces the installers for Windows,
I am not responsible for the installers. However, I did just install the
latest release on my Windows 10 machine without a hitch. So this isn't a
universal problem, at least.

Note that the download page says that the while the releases will
generally work on desktop editions of Windows, we test on various server
editions, see </download/windows/>

cheers

andrew

--
Andrew Dunstan
EDB:https://www.enterprisedb.com


From: Zaid Shabbir <zaidshabbir(at)gmail(dot)com>
To: pinsaxy(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-26 14:32:23
Message-ID: CABCJe_X_o9rFhV+RYtKc9GQ9vhWh3Yt3b-nEHcMYtqbavu-5Pg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Hello,

You observed some installation issues with the PostgreSQL Windows
installers, which utilize Bitrock installation technology. Several factors
could contribute to these problems, including:

1. *System Update Status*: Ensure your system is fully up to date.
2. *Permissions*: Verify that you are running the installer with
administrative rights.
3. *Existing Data Directory*: Installing over an existing data directory
may lead to compatibility issues.
4. *Other Factors*: There could be additional reasons causing
installation failures.

To assist with troubleshooting, please attach the installation logs to your
support thread. This will help us better understand and resolve the issue.

Thanks,

Zaid

Bitnine Global Inc.

On Fri, Jul 26, 2024 at 2:33 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18553
> Logged by: Yan Chen
> Email address: pinsaxy(at)gmail(dot)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!
>
>


From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: pinsaxy(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-26 23:46:06
Message-ID: CA+hUKGLwe+9ZBYhB+nUN1CJRLV1JEf13g1LVu1XCwNzxBNuppA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

On Fri, Jul 26, 2024 at 9:33 PM PG Bug reporting form
<noreply(at)postgresql(dot)org> wrote:
> 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.

Some wild guesses at things to look into:

1. User error: does it need to be run as administrator? I wonder if
it is possible that the diagnostic error messages could be improved,
ie if common user mistakes could be detected better, and also if the
dialogue box could tell the user where to find the log to check for
more details if it doesn't already, which might help users fix
problems themselves more often and encourage higher quality bug
reports when they can't. I've never used the installer myself, I'm
just thinking out loud about how to turn this information-free bug
report towards a positive outcome, ie whether the frustration
expressed is really about mismatched expectations about where users
will think to look for the solution.

2. Encoding issues: There have in the past been a few problems with
locale names, directory names, user names containing non-ASCII
characters that have apparently confused the installer. Examples:

https://github.com/EnterpriseDB/edb-installers/issues/127 (same message)
https://github.com/EnterpriseDB/edb-installers/issues/106 (different message)

Again, the .log file might have the clues needed.

> 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!

I just want to say that I really appreciate the hard work done by the
Windows installer team. Packaging large complicated open source
projects for that OS is a really difficult job, given for free to end
users, and it can be a hostile crowd.


From: Christophe Pettus <xof(at)thebuild(dot)com>
To: pinsaxy(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-27 00:10:03
Message-ID: 032EA1A9-A9F6-4C7B-9422-3F649EB4E658@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

> On Jul 25, 2024, at 23:20, PG Bug reporting form <noreply(at)postgresql(dot)org> wrote:
> 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!

Hi.

Before firing out accusations of incompetence, please keep in mind that many, many people have used the Windows installers without issue. The chance that every single person is encountering the same error you are is vanishingly slim.

If this is an emergency and you need immediate support, EDB is a commercial company and offers paid support.

Best,
-- Christophe


From: 燕尘 <pinsaxy(at)gmail(dot)com>
To: pinsaxy(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-27 00:22:54
Message-ID: CAKA0FDZLu2TskqSimVAfF=FH_=jL7SMFGYsDQPS7vAH2vwqiPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

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(at)postgresql(dot)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(at)gmail(dot)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!
>
>


From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: 燕尘 <pinsaxy(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10.
Date: 2024-07-29 05:24:27
Message-ID: CANFyU95-gc7BqyhBROsR+2sJvdQab+NQDqyjEFa+74o9s-S7eg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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(at)gmail(dot)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(at)postgresql(dot)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(at)gmail(dot)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