EnterpriseDB / edb-installers

PostgreSQL installers packaged by EDB
36 stars 11 forks source link

Install Error- Database Cluster Initialisation Failed - Windows 10 #179

Open fabulous-fabio opened 1 month ago

fabulous-fabio commented 1 month ago

Hello, When trying to install Postgres using the provided installer, I keep encountering the following error:

I've already attempted using different versions of the installer, but the same issue occurs every time.

67bf2ad8-cd4c-4ed0-bef6-145a43becf13

Has anyone else experienced this problem or knows what might be causing it? I'm feeling quite stuck at this point.

Kind regards, Fabio

Im1Bear commented 4 weeks ago

I have the same Issue, tried changing the Language for the Installation but didn't change a thing, I tried following a Stackoverflow Post, but also didn't work.

sandeep-edb commented 4 weeks ago

Hi, Could you please share the installer filename? Also, if you can share the installation log file that must have created by the installer in system TEMP location?

Im1Bear commented 4 weeks ago

Hi, Could you please share the installer filename? Also, if you can share the installation log file that must have created by the installer in system TEMP location?

install-postgresql.log

sandeep-edb commented 4 weeks ago

Thanks, I checked the log and observed that it's German OS. Is that correct? I'm guessing the default service account that the installer uses to run the postgres service "NT AUTHORITY\NetworkService" doesn't exist on your system. It must be something else.

Could you try running the installer EXE on the command prompt with the option "--serviceaccount ?

Im1Bear commented 4 weeks ago

Yes, the German OS is correct, I've tried running the EXE with Powershell, Start-Process C:\Users\Admin\Downloads\postgresql-17.0-1-windows-x64.exe --serviceaccount but it doesn't work (with the Name).

sandeep-edb commented 4 weeks ago

OK, could you share the installation log so I see if it made any difference?

Also, if you could share the output of the command: wmic sysaccount where SID="S-1-5-20" get name

Im1Bear commented 4 weeks ago

The Logs didn't change.

Output for the Command: Invalid parameter for this level. Doesn't change if I use any other Terminal or change Folder Location. Maybe someone else can give more insight?

sandeep-edb commented 3 weeks ago

You mean you tried the Start-Process C:\Users\Admin\Downloads\postgresql-17.0-1-windows-x64.exe --serviceaccount <snetworkservice_account_name_on_your_os> ? Please share the installation log of this.

moerwald commented 3 weeks ago

@Im1Bear did you catch this log-entry?

CScript-Fehler: Der Zugriff auf Windows Script Host wurde fr diesem Computer deaktiviert. Wenden Sie sich an Ihren Administrator, um weitere Details in Erfahrung zu bringen.

Im1Bear commented 3 weeks ago

I am currently not at home and will get in touch later.

Im1Bear commented 3 weeks ago

@Im1Bear did you catch this log-entry?

CScript-Fehler: Der Zugriff auf Windows Script Host wurde f�r diesem Computer deaktiviert. Wenden Sie sich an Ihren Administrator, um weitere Details in Erfahrung zu bringen.

Yes, I get this message daily, because I deactivated Windows Script Host. I've now activated it. I'm no longer considering using PostgreSQL and now use MongoDB, because of Issues like this, if I need more help to install something like PostgreSQL, rather than developing something with it, I simply won't use it. Furthermore, I'm still open to helping with issues currently open, but I'm not going to use PostgreSQL.

You mean you tried the Start-Process C:\Users\Admin\Downloads\postgresql-17.0-1-windows-x64.exe --serviceaccount <snetworkservice_account_name_on_your_os> ? Please share the installation log of this.

I've tried using this Command, with any Username I could imagine, it just didn't work.

yunofsea commented 1 week ago

Hi,I encountered this porblem today,and I fixed it by choosing the locale "English US"