On Tue, Nov 19, 2024 at 12:06 AM Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> wrote: > Thanks for sharing the installation log. Could you once try installing postgresql-15.8-2-windows-x64.exe as I see a commit in the Git around that bug?
I wonder why the log shows "entr‚e" (instead of "entrée") in one place, but apparently OK encoding elsewhere... makes me pretty suspicious of the account name "autorite nt\système", and I see there is also an open issue in the github about "nt-autorität\system". Just a wild guess: would it help to use numerical SIDs instead of account names when invoking shell commands like icacls?
Yes, I tried that recently. It works well for init cluster, but pg_ctl fails to register the service:
Executing C:\Windows\System32\cmd.exe /c "C:\Program Files\PostgreSQL\17\bin\pg_ctl.exe" register -N "postgresql-x64-17" -U "*S-1-5-20" -D "C:\Program Files\PostgreSQL\17\data" -w Script exit code: 1Script output: Script stderr: pg_ctl: could not register service "postgresql-x64-17": error code 1057