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 |
Thread: | |
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 | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2024-07-27 09:00:01 | BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column |
Previous Message | Christophe Pettus | 2024-07-27 00:10:03 | Re: BUG #18553: Please seriously address the severe issue of database installation failures on Windows 10. |