Skip to content

Elephant-shed is now using pgadmin instead of omnidb, as omnidb isn't supported any more#34

Open
cd-jbo wants to merge 1 commit intorel1_3from
pgadmin4-insteadof-omnidb
Open

Elephant-shed is now using pgadmin instead of omnidb, as omnidb isn't supported any more#34
cd-jbo wants to merge 1 commit intorel1_3from
pgadmin4-insteadof-omnidb

Conversation

@cd-jbo
Copy link
Copy Markdown
Contributor

@cd-jbo cd-jbo commented Jul 31, 2025

… supported any more

Copy link
Copy Markdown
Collaborator

@mbanck-cd mbanck-cd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some omnidb remnants still lying around I think.

The other question is: We create an admin (super-)user, this one could be used by pgadmin4 to login via a socket; but pgadmin4 runs via apache2 as www-data. Is there maybe a way to make apache2 run as admin instead?

Comment thread debian/control
elephant-shed-cockpit,
elephant-shed-grafana,
elephant-shed-omnidb <!stretch>,
elephant-shed-pgadmin,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last time, the package was called elephant-shed-pgadmin4, and this is how it is called upstream as well (pgadmin4-web), although they seem to be using "pgAdmin" and "pgAdmin 4" interchangeably nowadays.

But I still think we should go with pgadmin4 again.

Comment thread debian/control
pgadmin4-web,
${misc:Depends},
Description: PostgreSQL dashboard -- OmniDB integration
Description: PostgreSQL dashboard -- Pgadmin integration
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Official wording seems to be "pgAdmin", not "Pgadmin"

case $1 in
configure)
echo "Configure pgadmin to use basicauth as authentication"
sed -i 's/^MASTER_PASSWORD_REQUIRED.*/MASTER_PASSWORD_REQUIRED = False/g' /usr/pgadmin4/web/config.py
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this lets the user login to pgadmin without having to type another password, right?

I think that is ok, but we probably need to check that this does not mean other people can just login from remote?

@mbanck-cd
Copy link
Copy Markdown
Collaborator

Also, the ansible module in vagrant/ needs to be updated to include the pgadmin apt key/source, probably just like what vagrant/tasks/grafana.yml is doing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants