question

IrakliLomidze-4972 avatar image
IrakliLomidze-4972 asked ·

Postgres Installation Errors on VM Windows Server 2016 or Windows 10 in azure VM

Install postgres12 on Azure VM Windows 10 or Windows 12 ends up with error
"Problem running post-install step. Installation may not complete correctly"


In Log
Failed to reset the ACL (C:\Program Files\edb\as12\data)
In Error Dialog
"Problem running post-install step. Installation may not complete correctly"

Additional Information I have install on perm without problem, I think there is a access issue on NT NETWORK SERVICE account

I tried it in clean VM result are same.

azure-virtual-machines
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

IrakliLomidze-4972 avatar image
IrakliLomidze-4972 answered ·

Finally I've identified the problem.
this is problem in PostgreSQL Installer,
Problem account name from you are installing is contains space.

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jakaruna-MSFT avatar image
jakaruna-MSFT answered ·

Can you add postgres user as a admin and try again?

or run the installation in Admin command prompt and let mw know

5 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I tried result are same,
Try yourself in East US Data center

Create VM 2016 or Win 10
Then download postgres and try to install, you will see same result.

0 Votes 0 · ·
jakaruna-MSFT avatar image jakaruna-MSFT IrakliLomidze-4972 ·

i will check and let you know.

You can also consider using azure managed PostgreSQl https://docs.microsoft.com/en-in/azure/postgresql/overview

0 Votes 0 · ·

i just created a windows 2016 Azure provided image and downloaded the installer from https://www.postgresql.org/download/windows/ and proceeded with the installation.

installation went well and moved to the stack builder phase. Did you went till that stage

0 Votes 0 · ·
Show more comments
IrakliLomidze-4972 avatar image
IrakliLomidze-4972 answered ·

I tried, results are same.

Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.