Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edb installation failed for pgadmin when username is Chinese under c:\user #106

Closed
rdczhzq opened this issue Apr 30, 2024 · 2 comments
Closed

Comments

@rdczhzq
Copy link

rdczhzq commented Apr 30, 2024

When I tried to use postgresql-16.2-1-windows-x64 to install on a window laptop. I got the following error message and installation aborted.

image

After using another not edb installation:pgadmin4-8.5-x64.exe, I successfully installed pgadmin by changing the default install path from c:\user\老王 to all English character path.

sandeep-edb pushed a commit that referenced this issue May 6, 2024
…mining

the user running the installer using whoami utility. The reason for Installation failure
with chinese username is probably the encoding the cmd.exe uses to output the text
sandeep-edb pushed a commit that referenced this issue May 6, 2024
…mining

the user running the installer using whoami utility. The reason for Installation failure
with chinese username is probably the encoding the cmd.exe uses to output the text
sandeep-edb pushed a commit that referenced this issue May 7, 2024
…authority\system' user accounts

icacls returns "ERROR: no mapping between account names and security IDs was done"
    when the user running the installer is 'nt authority\system' and for the username value the
    variable ${system_username} is used.

    Similar error is seen for the Chinese user account and the username is determined by
    running whoami utility.

    Hence, use the conditions for both these scenarios.

    Tested in UI and unattended modes
sandeep-edb pushed a commit that referenced this issue May 7, 2024
…authority\system' user accounts

icacls returns "ERROR: no mapping between account names and security IDs was done"
when the user running the installer is 'nt authority\system' and for the username value the
variable ${system_username} is used.

Similar error is seen for the Chinese user account and the username is determined by
running whoami utility.

Hence, use the conditions for both these scenarios.

Tested in UI and unattended modes
sandeep-edb pushed a commit that referenced this issue May 7, 2024
…authority\system' user accounts

icacls returns "ERROR: no mapping between account names and security IDs was done"
    when the user running the installer is 'nt authority\system' and for the username value the
    variable ${system_username} is used.

    Similar error is seen for the Chinese user account and the username is determined by
    running whoami utility.

    Hence, use the conditions for both these scenarios.

    Tested in UI and unattended modes
sandeep-edb pushed a commit that referenced this issue May 7, 2024
…authority\system' user accounts

icacls returns "ERROR: no mapping between account names and security IDs was done"
    when the user running the installer is 'nt authority\system' and for the username value the
    variable ${system_username} is used.

    Similar error is seen for the Chinese user account and the username is determined by
    running whoami utility.

    Hence, use the conditions for both these scenarios.

    Tested in UI and unattended modes
@sandeep-edb
Copy link
Contributor

committed the fix on all supported branches. the fix will be available in this week's minor updates

@rdczhzq
Copy link
Author

rdczhzq commented May 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants