Re: BUG #16602: Installation fails with Windows user name "ABC -def".

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: geordie(dot)stuart(at)pertronic(dot)co(dot)nz, pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
Subject: Re: BUG #16602: Installation fails with Windows user name "ABC -def".
Date: 2020-08-31 08:13:40
Message-ID: CANFyU96mSXUM_0GwdMDibM_O_K4zy=ZkJFZbt-07wfqqrbJb+g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi

There are other people who reported the installation failure on Windows 10.
We are unable to reproduce it for some reason but we are still checking and
will provide an update soon.

Can you please meanwhile share the bitrock installation logs which gets
created in system temp when installer is launched.

On Mon, Aug 31, 2020 at 12:34 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 16602
> Logged by: Geordie Stuart
> Email address: geordie(dot)stuart(at)pertronic(dot)co(dot)nz
> PostgreSQL version: 12.3
> Operating system: Windows 10 Pro Version 10.0.18363 Build 18363
> Description:
>
> Hello.
> We are encountering an installation error for very specific windows account
> user names. See the details below.
>
> Environment
> Operating System: Microsoft Windows 10 Pro Version 10.0.18363 Build
> 18363
> Postgresql Installer: postgresql-12.3-1-windows-x64.exe
>
> Reproduction
> In windows create new account with user name of "ABC -def" (not including
> the double quotes). Change the new account type to Admin.
> Settings->Accounts->Other users.
> Select "Add someone else to this PC"
> Select "I don't have the persons sign-in information"
> Select "Add a user without a Microsoft account"
> Set User Name to "ABC -def" (not including the double quotes).
> Add a password. Add the 3 security questions.
> Select the new account and select "Change Account Type". Select
> "Administrator".
> Log off the current account.
> Log into the "ABC -def" account.
> Right click the installer file "postgresql-12.3-1-windows-x64.exe" and run
> as admin.
> Accept all defaults and set a password of "pass" (not including the double
> quotes).
>
> Result.
> We get a warning stating that the database cluster initialization failed.
>
> Notes.
> Reproduction using a user name of "ABC- def" (the space and hyphen have
> been
> switched) produced the same error.
> Reproduction using a user name of "ABC-def" (the space has been removed)
> results in success.
> Reproduction using different characters in the user name but keeping the
> <space><hyphen> or <hyphen><space> produce the same error. That
> is a format of <3 alpha chars><space><hyphen><3 alpha chars> or <3 alpha
> chars><hyphen><space><3 alpha chars> gives the error.
>
> We are currently using postgresql-9.4.21-1-windows.exe and get a similar
> error for that installer. Seeing as this version was not supported I
> looked
> to see if the issue had been resolved in later versions and ended up trying
> all the installers up to 12.3-1. They all exhibited a similar issue.
> Thanks.
>
>

--
Sandeep Thakkar

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Yash Raj 2020-08-31 18:05:26 Re: BUG #16601: Restore Issue
Previous Message PG Bug reporting form 2020-08-31 01:06:11 BUG #16602: Installation fails with Windows user name "ABC -def".