Re: BUG #17603: Problem running the post-install step. Installation may not complete correctly.

Lists: pgsql-bugs
From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: malashinkostyai(at)gmail(dot)com
Subject: BUG #17603: Problem running the post-install step. Installation may not complete correctly.
Date: 2022-09-02 08:45:25
Message-ID: 17603-b368826d2c11d5ff@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: 17603
Logged by: Kostyantin Malashin
Email address: malashinkostyai(at)gmail(dot)com
PostgreSQL version: 14.5
Operating system: Windows 11
Description:

Problem running the post-install step. Installation may not complete
correctly.
I have a log installation file and can send you, if needed.


From: Константин Малашин <malashinkostyai(at)gmail(dot)com>
To: malashinkostyai(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17603: Problem running the post-install step. Installation may not complete correctly.
Date: 2022-09-02 08:46:25
Message-ID: CAD8EwFTNnD-gbXAxywC32D7Thata9nWp4+GoaZryNYM580O1sQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

installation file

On Fri, Sep 2, 2022 at 12:46 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 17603
> Logged by: Kostyantin Malashin
> Email address: malashinkostyai(at)gmail(dot)com
> PostgreSQL version: 14.5
> Operating system: Windows 11
> Description:
>
> Problem running the post-install step. Installation may not complete
> correctly.
> I have a log installation file and can send you, if needed.
>
>

Attachment Content-Type Size
install-postgresql.log application/octet-stream 2.2 MB

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: Константин Малашин <malashinkostyai(at)gmail(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17603: Problem running the post-install step. Installation may not complete correctly.
Date: 2022-09-07 02:24:16
Message-ID: CANFyU94wH=Xp57ZgpLbEYuCr8T2wSbMKo4DCj6ZFyyibSDtFxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Hi,

Looking at the log it seems the execution of the init cluster script
failed. But I couldn't interpret certain words.

Can you take the Admin command prompt and execute the following:

C:\Windows\System32\cscript //NoLogo "C:\Program
Files\PostgreSQL\14/installer/server/initcluster.vbs" "NT
AUTHORITY\NetworkService" "postgres" "postgres"
"C:\Users\malas\AppData\Local\Temp/postgresql_installer_b6263f19c4"
"C:\Program Files\PostgreSQL\14" "C:\Program Files\PostgreSQL\14\data2"
5432 "DEFAULT" 0

and paste the output?

On Fri, Sep 2, 2022 at 2:37 PM Константин Малашин <malashinkostyai(at)gmail(dot)com>
wrote:

> installation file
>
> On Fri, Sep 2, 2022 at 12:46 PM PG Bug reporting form <
> noreply(at)postgresql(dot)org> wrote:
>
>> The following bug has been logged on the website:
>>
>> Bug reference: 17603
>> Logged by: Kostyantin Malashin
>> Email address: malashinkostyai(at)gmail(dot)com
>> PostgreSQL version: 14.5
>> Operating system: Windows 11
>> Description:
>>
>> Problem running the post-install step. Installation may not complete
>> correctly.
>> I have a log installation file and can send you, if needed.
>>
>>

--
Sandeep Thakkar


From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: Константин Малашин <malashinkostyai(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17603: Problem running the post-install step. Installation may not complete correctly.
Date: 2022-09-07 09:54:28
Message-ID: CANFyU95uXewDDbgK1iHm0f5c0xN-yRFP=4WcdL-NZgQL1ZR8Bg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

[Adding pgsql-bugs lists back]

The error:

> 'the program "postgres" was found by "c:\Program
> Files\PostgreSQL\14\bin\initdb.exe" but was not the same version as initdb'

I suspect it may be related to encoding. Can you provide more details on
the system configuration?

On Wed, Sep 7, 2022 at 12:32 PM Константин Малашин <
malashinkostyai(at)gmail(dot)com> wrote:

> I have an error. Attached a screenshot
>
> On Wed, Sep 7, 2022 at 6:24 AM Sandeep Thakkar <
> sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:
>
>> Hi,
>>
>> Looking at the log it seems the execution of the init cluster script
>> failed. But I couldn't interpret certain words.
>>
>> Can you take the Admin command prompt and execute the following:
>>
>> C:\Windows\System32\cscript //NoLogo "C:\Program
>> Files\PostgreSQL\14/installer/server/initcluster.vbs" "NT
>> AUTHORITY\NetworkService" "postgres" "postgres"
>> "C:\Users\malas\AppData\Local\Temp/postgresql_installer_b6263f19c4"
>> "C:\Program Files\PostgreSQL\14" "C:\Program Files\PostgreSQL\14\data2"
>> 5432 "DEFAULT" 0
>>
>> and paste the output?
>>
>> On Fri, Sep 2, 2022 at 2:37 PM Константин Малашин <
>> malashinkostyai(at)gmail(dot)com> wrote:
>>
>>> installation file
>>>
>>> On Fri, Sep 2, 2022 at 12:46 PM PG Bug reporting form <
>>> noreply(at)postgresql(dot)org> wrote:
>>>
>>>> The following bug has been logged on the website:
>>>>
>>>> Bug reference: 17603
>>>> Logged by: Kostyantin Malashin
>>>> Email address: malashinkostyai(at)gmail(dot)com
>>>> PostgreSQL version: 14.5
>>>> Operating system: Windows 11
>>>> Description:
>>>>
>>>> Problem running the post-install step. Installation may not complete
>>>> correctly.
>>>> I have a log installation file and can send you, if needed.
>>>>
>>>>
>>
>> --
>> Sandeep Thakkar
>>
>>
>>

--
Sandeep Thakkar

Attachment Content-Type Size
image/png 64.6 KB

From: Константин Малашин <malashinkostyai(at)gmail(dot)com>
To: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17603: Problem running the post-install step. Installation may not complete correctly.
Date: 2022-09-07 10:38:24
Message-ID: CAD8EwFQBDBTKngF-G4MK6ozDQQ1kPDhK9pGPxeY5DYp05ZydWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Windows 11, encoding - utf-8, locale - Russian

On Wed, Sep 7, 2022 at 2:27 PM Sandeep Thakkar <
sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:

> pls reply-all so that pgsql-bugs is always involved
>
> On Wed, Sep 7, 2022 at 3:38 PM Константин Малашин <
> malashinkostyai(at)gmail(dot)com> wrote:
>
>> Windows 11, encoding - utf-8, locale - Russian
>>
>> On Wed, Sep 7, 2022 at 1:54 PM Sandeep Thakkar <
>> sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:
>>
>>> [Adding pgsql-bugs lists back]
>>>
>>> The error:
>>>
>>>> 'the program "postgres" was found by "c:\Program
>>>> Files\PostgreSQL\14\bin\initdb.exe" but was not the same version as initdb'
>>>
>>> I suspect it may be related to encoding. Can you provide more details on
>>> the system configuration?
>>>
>>>
>>> On Wed, Sep 7, 2022 at 12:32 PM Константин Малашин <
>>> malashinkostyai(at)gmail(dot)com> wrote:
>>>
>>>> I have an error. Attached a screenshot
>>>>
>>>> On Wed, Sep 7, 2022 at 6:24 AM Sandeep Thakkar <
>>>> sandeep(dot)thakkar(at)enterprisedb(dot)com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Looking at the log it seems the execution of the init cluster script
>>>>> failed. But I couldn't interpret certain words.
>>>>>
>>>>> Can you take the Admin command prompt and execute the following:
>>>>>
>>>>> C:\Windows\System32\cscript //NoLogo "C:\Program
>>>>> Files\PostgreSQL\14/installer/server/initcluster.vbs" "NT
>>>>> AUTHORITY\NetworkService" "postgres" "postgres"
>>>>> "C:\Users\malas\AppData\Local\Temp/postgresql_installer_b6263f19c4"
>>>>> "C:\Program Files\PostgreSQL\14" "C:\Program Files\PostgreSQL\14\data2"
>>>>> 5432 "DEFAULT" 0
>>>>>
>>>>> and paste the output?
>>>>>
>>>>> On Fri, Sep 2, 2022 at 2:37 PM Константин Малашин <
>>>>> malashinkostyai(at)gmail(dot)com> wrote:
>>>>>
>>>>>> installation file
>>>>>>
>>>>>> On Fri, Sep 2, 2022 at 12:46 PM PG Bug reporting form <
>>>>>> noreply(at)postgresql(dot)org> wrote:
>>>>>>
>>>>>>> The following bug has been logged on the website:
>>>>>>>
>>>>>>> Bug reference: 17603
>>>>>>> Logged by: Kostyantin Malashin
>>>>>>> Email address: malashinkostyai(at)gmail(dot)com
>>>>>>> PostgreSQL version: 14.5
>>>>>>> Operating system: Windows 11
>>>>>>> Description:
>>>>>>>
>>>>>>> Problem running the post-install step. Installation may not complete
>>>>>>> correctly.
>>>>>>> I have a log installation file and can send you, if needed.
>>>>>>>
>>>>>>>
>>>>>
>>>>> --
>>>>> Sandeep Thakkar
>>>>>
>>>>>
>>>>>
>>>
>>> --
>>> Sandeep Thakkar
>>>
>>>
>>>
>
> --
> Sandeep Thakkar
>
>
>

Attachment Content-Type Size
image/png 28.8 KB