config_distro.py missing in pgadmin4 v4.12

From: Ron(dot)Wildt <Ron(dot)Wildt(at)target(dot)com>
To: "pgadmin-support(at)lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: config_distro.py missing in pgadmin4 v4.12
Date: 2019-09-06 17:43:55
Message-ID: 4E3F1D82-FC12-4FE4-A9F8-F3C80525A305@contoso.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Pgadmin Support,

I’m compiling the docker container using the included Dockerfile in the github repo on https://github.com/postgres/pgadmin4 and I ran into 2 issues when using the pgadmin4 repo and couldn’t find anything on them in the online support, documentation, etc. so I’m hopeful this is the right path to find out more and how to address:

1. I had to fully qualify the location of files requiring copying in the below section of the Dockerfile to compile correctly (error shown below):

[cid:image001(dot)jpg(at)01D564B0(dot)BE5D87C0]

# original section
# Copy the code
# COPY ./pgadmin4/web /pgadmin4
# COPY ./run_pgadmin.py /pgadmin4
# COPY ./config_distro.py /pgadmin4
# COPY ./entrypoint.sh /entrypoint.sh

# Copy the code
# Added path to file location for compilation (COPY ./pgadmin4/pkg/docker/...)
COPY ./pgadmin4/web /pgadmin4
COPY ./pgadmin4/pkg/docker/run_pgadmin.py /pgadmin4
COPY ./pgadmin4/pkg/docker/config_distro.py /pgadmin4
COPY ./pgadmin4/pkg/docker/entrypoint.sh /entrypoint.sh

After altering the above, I was able to get past this issue, fyi

1. Missing config_distro.py file, see error message below:

[cid:image002(dot)jpg(at)01D564B0(dot)BE5D87C0]

After copying config_distro.py from v4.10, I was able to successfully compile the Docker container, execute and connect to Postgres instances without issue, fyi.

If this is not the proper venue, please let me know how to have the team there address this properly, thank you! 😊

Have a great day!
Thanks,
Ron

Ron Wildt | Lead Engineer | Data Sciences Platform Engineering | 612.304.8592 | •Target | 33 South 6th Street, Mpls, MN 55402
Slack: #datasciences-infra<https://target-tts.slack.com/messages/C8601KRKK>

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Petr Fedorov 2019-09-07 10:50:31 Is it possible to switch off 'Waiting for the query to complete..."? screen saver ?
Previous Message Holger Kopp-Musick 2019-09-04 12:23:45 Aw: Re: Re: Re: Negative values for obj_id: SELECT statements throwing errors in query editor