-
Notifications
You must be signed in to change notification settings - Fork 13
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
Postgresql 17 Installation Error [2] on Windows 11 #186
Comments
Same problem here. I also couldn't find any service for Postgres running after the installation completed. I tried both Postgres 16 and 17 installation. I ran the installer "as admin". Running Windows 11. |
Hi, |
install2-postgresql.log |
Thanks, I checked the log. The locale name has non-ASCII characters which are not supported by intidb. and hence the failure. We are looking into how to make installer list down the BCP 47 names. But there is no ETA atm |
Is there something I can do on my side? Should I make a different locale when in the installation or do something with my Windows region/language? |
This error appears to be caused by localization settings, and changing the locale provides a simple solution for now. |
Yes, if you choose a default locale, or a different locale during the installation that doesn't contains the non-ASCII characters, the installation will be successful. Meanwhile, we are looking to make changes in the installer that may allow passing of the locale name as a command line option. Do you think that would help? |
Allowing the locale to be set via command line would indeed be practical, especially for remote installations. |
I made a small change in the installer to allow the non-ascii characters in the system username and uploaded the "test/snapshot" (not for production) installer postgresql-17.2-0.0snapshot12069192100.994.1.10c136e.1-windows-x64 to https://enterprisedb.sharefile.com/f/fo423619-ac6b-4868-ac4c-b2e3def6e3b0 If you could try installing and confirm how it went? Please note there is no handling of non-english service account names included yet. Also, during installation, the Info dialogues will appear to show the name and the SID of the user running the installer. Please confirm if it's correct. If you have any questions please let me know. |
@mortensimon I've given you access to download postgresql-17.2-0.0snapshot12082629519.995.1.23fce2b.1-windows-x64 At my end: |
The PostgreSQL 17.2-2, 16.6-2, 15.10-2 are available for download. These installers include a fix for system installation issue. |
install-postgresql.log |
@sandeep-edb Hello, I tested the latest versions (17.2-2, 16.6-2) , but the issue with database cluster initialization still persists. Could you please assist in resolving this? Thank you for your support! |
I've just done an installation on Windows 11 with postgresql-17.2-2-windows-x64.exe (downloaded from EDB site). I actually got the error about reading file postgresql.conf from the data directory. I've looked in the install-postgresql.log file and noticed that the first error was actually for init DB: I also noticed that the directory Data from D:\POSTGRESQL was removed after the installation (I've created that one manually before the installation). I've tried the installation 3 times: with Default locale, with "Dutch, Netherlands" and with "English, United Status". All failed with the same error. I fixed it by running this script from the command prompt: I've found this solution on the site https://stackoverflow.com/questions/77486742/postgresql-16-failed-to-initialise-the-database-cluster-with-initdb |
I encountered an error while attempting to install PostgreSQL 17.0.1 on my Windows 11 machine. The error appears during the installation process, preventing successful completion.
Error Message: Problem running post-install step. Installation may not complete correctly The database cluster initialisation failed.
System Information:
Windows Version: 23H2
Build: 22631.4391
Executed the installation command in the terminal:
.\postgresql-17.0-1-windows-x64.exe --debugtrace debug.txt
debug.txt
The text was updated successfully, but these errors were encountered: