Re: Postgres 11.5.1 failed installation

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: Petar Masev <p(dot)masev(at)outlook(dot)com>
Cc: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Postgres 11.5.1 failed installation
Date: 2019-08-21 10:46:34
Message-ID: CANFyU96e-f_L_cZ+XnWNDGvYtO5NB2h-Z39_9CwDDpVUTmKahQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Aug 21, 2019 at 1:23 PM Petar Masev <p(dot)masev(at)outlook(dot)com> wrote:

> Here you are Mister Thakkar 😊
>
>
>
> After the execution of the commands the issue still exists. On another
> computer with the same os the installation was successful.
>
>
Yeah, the commands were shared just to figure out the ACLs and it wasn't
expected to fix the problem :-) Since the installation is successful on
another OS, can you try the following commands on both your machines and
share the output, please?

mkdir C:\Users\user\AppData\Local\Temp\postgresql_temp
icacls "C:\Users\user\AppData\Local\Temp\postgresql_temp"
icacls "C:\Users\user\AppData\Local\Temp/postgresql_temp" /inheritance:r
icacls "C:\Users\user\AppData\Local\Temp/postgresql_temp" /T /Q /grant
"user:(OI)(CI)F"
icacls "C:\Users\user\AppData\Local\Temp\postgresql_temp"

>
> With regards,
>
> Petar Masev
>
>
>
> *From:* Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
> *Sent:* Wednesday, August 21, 2019 10:25 AM
> *To:* Petar Masev <p(dot)masev(at)outlook(dot)com>
> *Cc:* pgsql-bugs(at)lists(dot)postgresql(dot)org
> *Subject:* Re: Postgres 11.5.1 failed installation
>
>
>
> I'm not able to reproduce the problem on Windows 10 and 2012 R2. Could you
> please run the icacls on all directories in that path and share the output?
>
>
>
> C:\> icacls C:\
>
> C:\> icacls C:\Users\user
>
> C:\> icacls C:\Users\user\AppData\Local\Temp
>
>
>
> On Wed, Aug 21, 2019 at 11:55 AM Petar Masev <p(dot)masev(at)outlook(dot)com> wrote:
>
> The operating system is windows 10, 1903 version, 18362.295 os build.
> Sorry for the missing information 😊
>
>
>
> 1. The suggested command resulted in ‘Access is denied’. It seems that
> the folder postgresql_installer_3011282188and the other folders
> postgresql_installer_{string} are not owned by the current os user via
> which the installation has been started.
> 2. I changed the temp location to custom folder but the result is the
> same.
>
>
>
> There is no any problems with the 11.4.3 installation assembly.
>
>
>
> Thank you, with regards,
>
> Petar Masev
>
>
>
> *From:* Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
> *Sent:* Wednesday, August 21, 2019 5:30 AM
> *To:* Petar Masev <p(dot)masev(at)outlook(dot)com>
> *Cc:* pgsql-bugs(at)lists(dot)postgresql(dot)org
> *Subject:* Re: Postgres 11.5.1 failed installation
>
>
>
> Hi
>
>
>
> What's your Windows version? Will investigate the issue and get back to
> you. Could you run the following command as an Administrator and paste the
> output?
>
>
>
> C:\> icacls
> C:\Users\user\AppData\Local\Temp/postgresql_installer_3011282188
>
>
>
> Can you also please try setting the TEMP variable to some other temporary
> directory and rerun the installer? So on the command prompt, you may do
> this:
>
>
>
> C:\> set TEMP=C:\MyCustomTemp (Please create this directory if it doesn't
> exist)
>
> C:\> postgresql-11.5-1-windows-x64.exe
>
>
>
> Thanks,
>
>
>
> On Tue, Aug 20, 2019 at 8:40 PM Petar Masev <p(dot)masev(at)outlook(dot)com> wrote:
>
> Hello, I tried to upgrade the postgres’version but something goes wrong
> with the privileges may be. I attach a log about the problem.
>
>
>
> Also I saw on the stackoverflow the same problem but with 10.10 version ->
> https://stackoverflow.com/questions/57480005/postgres-failed-to-install
> <https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F57480005%2Fpostgres-failed-to-install&data=02%7C01%7C%7C3418c75e84e14564dacf08d72608b179%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637019691094493881&sdata=fMXQQnMaw71d%2Bc6kgZaDDHDejLha2%2BP6uSq70cdAWWE%3D&reserved=0>
>
>
>
> Thank you for any suggestions to resolve it or do we need to wait for
> another installation assembly.
>
>
>
> With regards,
>
> Petar Masev
>
>
>
>
> --
>
> Sandeep Thakkar
>
>
>
>
>
>
> --
>
> Sandeep Thakkar
>
>
>

--
Sandeep Thakkar

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Petar Masev 2019-08-21 11:42:58 RE: Postgres 11.5.1 failed installation
Previous Message Pavel Stehule 2019-08-21 10:44:31 Re: BUG #15971: Behaviour of SUBSTR function depending on its arguments