pgadmin4 Install On Windows Server 2019, Windows Container, Either ltsc2019 or 1809

From: Alexander Biezenski <Alexander(dot)Biezenski(at)secpsd(dot)ca>
To: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: pgadmin4 Install On Windows Server 2019, Windows Container, Either ltsc2019 or 1809
Date: 2022-03-15 01:20:30
Message-ID: YQXPR01MB62883C77D09AD12E96899C1AE8109@YQXPR01MB6288.CANPRD01.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hello,

I am attempting to install pgadmin4 into a windows container using Docker, on a Windows Server 2019 system. The Dockerfile uses an image pulled from 'mcr.microsoft.com/windows/servercore:1809'.

I am restricted to cmd/PowerShell and am having issues at the setup.py step in the deployment guide.

If I try to use the Dockerfile RUN functionality to run the setup.py script (RUN C:\'program files'\'pgadmin 4'\v6\python\python.exe C:\'program files'\'pgadmin 4'\v6\web\setup.py), it asks for the initial email, and then errors out. There is not an easy way (that I have found), to pipe through an argument mid script, to answer the email/password prompt.

I then tried to stop short of that run step and finish this step manually via an exec <container> PowerShell and commit the changes setup.py back to the image. However, when I manually run the setup.py in this nested PowerShell, the prompt appears, and then refuses to accept input. I can put whatever text I want in, hit enter, and it just goes to the next line, with no further messages; no errors, not anything.

Do you have any suggestions? Is there an argument setting I am missing? Could I pre-generate the files somewhere and copy them over? Or is this simply unsupported?

Thank you,

Alexander Biezenski

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this information. If you have received this communication in error, please notify the sender immediately and delete this e-mail from your system.

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Aditya Toshniwal 2022-03-15 05:26:10 Re: pgadmin4 Install On Windows Server 2019, Windows Container, Either ltsc2019 or 1809
Previous Message Dave Page 2022-03-14 16:52:32 Re: pgAdmin 4 v6.7 Released