| Summary: | dev-db/pgadmin4 launch fails with "The application server could not be contacted" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jeff Hubbs <jeffrey.hubbs> |
| Component: | Current packages | Assignee: | PgSQL Bugs <pgsql-bugs> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | major | CC: | jeffrey.hubbs, jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | regular user's pgadmin4 log | ||
|
Description
Jeff Hubbs
2020-12-08 17:40:06 UTC
Does this issue persist with 4.26? had the exact same issue.
upgrading to dev-db/pgadmin4-4.28 fixed it for me!
even though I had to accept one more ~amd64 and apply use flags as followes:
=dev-python/flask-compress-1.8.0 ~amd64
# required by dev-python/flask-compress-1.8.0::gentoo
# required by dev-db/pgadmin4-4.28::gentoo[python_single_target_python3_8]
# required by @selected
# required by @world (argument)
>=app-arch/brotli-1.0.9-r1 python
thx for the hint :)
I went through the above process and dev-db/pgadmin4-4.28 did emerge. Upon trying to start pgadmin4 from the KDE menu, it didn't launch Firefox...it inexplicably launched KImageMapEditor instead. /usr/bin/pgAdmin4 is left running but pointing Firefox to localhost:5432 won't connect and nmap doesn't show that port open either. (In reply to Jeff Hubbs from comment #3) > I went through the above process and dev-db/pgadmin4-4.28 did emerge. Upon > trying to start pgadmin4 from the KDE menu, it didn't launch Firefox...it > inexplicably launched KImageMapEditor instead. /usr/bin/pgAdmin4 is left > running but pointing Firefox to localhost:5432 won't connect and nmap > doesn't show that port open either. I don't think we'll be able to fix the launch bit for you. You probably need to look at what setting you gave pgAdmin4, as it reuses settings from its first run and stores it as BrowserCommand to launch or open a tab in some browser. Try taking a look at that you have stored in ~/.config/pgadmin/pgadmin4.conf It makes since that Firefox can't connect on port 5432, since that would be PostgreSQL's port and not bound by pgAdmin4. pgAdmin4 uses a random port each time it's opened. You can set it to a fixed port number if you'd like. I don't know where the emerged document is on disk off the top of my head, but you can read the document in upstream's git: https://git.postgresql.org/gitweb/?p=pgadmin4.git;a=blob;f=docs/en_US/desktop_deployment.rst;h=3453ab73eb2413c17df52d120165d09a098ad244;hb=HEAD |