Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phppgadmin 5.1 does not support postgresql 12 #728

Closed
gatsukito opened this issue Mar 15, 2020 · 10 comments · Fixed by #3288
Closed

phppgadmin 5.1 does not support postgresql 12 #728

gatsukito opened this issue Mar 15, 2020 · 10 comments · Fixed by #3288
Assignees
Labels
bug Something isn't working database Issues related to database components

Comments

@gatsukito
Copy link

In a few words, please describe the issue that you're experiencing:

After stablish connection with phppgadmin, I have seen that my postgresql 12 does not works with phppgadmin.

image

Official documentation says that postgresql supported is from 8.4 to 11.x, but with hestia release 1.1.0, postgresql repository returns version 12, phpgadmin sourceforge

It seems that with phppgadmin 7, from github repo, supports version 12, ref: xzilla blog

What steps did you take when the issue occured?

  1. Enter to phppgadmin url
  2. Change pg_hba.conf for login because normal login does not work
# "local" is for Unix domain socket connections only
#local   all         all                               ident
local   all         all                               md5 
  1. Login with valid user and password. Phppgadmin show error message about postgresql version

Expected behavior:

If phppgadmin 5.1 does not work with postgresql 12 from official repo setted by hestia in apt sources, it will be mandatory change software for manage postgresql. It seems that new version of phppgadmin hosted in github it works, repo: phppgadmin github

Does this issue always occur, or is it intermittent?

Every time

Operating system distribution and release:

Debian 9.12

Which version of Hestia Control Panel is currently installed?

1.1.0

Which branch are you using?

release

When did this issue occur? After a clean installation, or after an upgrade?

After a clean installation

Note: If you have upgraded from an older release on an existing server, please let us know which version was previously installed if at all possible.

Which of the following web server configurations are you using?

  • Apache + Nginx (default)
  • PHP-FPM + Multi-PHP
  • Postgresql

Local solution

I have installed in my laptop pgadmin and I have connected to postgresql server hosted with hestia, it works.

@gatsukito
Copy link
Author

Can you review this issue?

@ScIT-Raphael
Copy link
Member

We will going to implement a autoupdater like we have it for phpmyadmin, so we will grab the current version from their github project site: https://github.com/phppgadmin/phppgadmin

@ScIT-Raphael ScIT-Raphael self-assigned this Apr 23, 2020
@ScIT-Raphael ScIT-Raphael added interface Issues related to the interface and backend admin database Issues related to database components labels Apr 23, 2020
@ghost ghost added bug Something isn't working and removed interface Issues related to the interface and backend admin labels Jul 25, 2020
@ioannidesalex
Copy link
Collaborator

I also get the same error message with postgresql13 and phpgadmin 7.12.1

@Draco-Zero
Copy link

In version 1.5.8, the problem with phppgadmin is also relevant.

@Digioso
Copy link

Digioso commented Jan 28, 2023

And it still is with version 1.6.5 of HestiaCPI with Postgres 15.

@jaapmarcus
Copy link
Member

jaapmarcus commented Jan 28, 2023

Yes it is even worse the current version of Pgadmin doesn't support 15 at all...

But probally you want to upgrade to 1.6.14...

@Digioso
Copy link

Digioso commented Jan 28, 2023

Oh, sorry, I'm using 1.6.14. I just checked. No idea where I got 1.6.5 from...
But well... It's pretty easy to change Postgres Configuration to allow remote connection and use PGAdmin 4 to connect. But still...
HestiaCP should use versions that are compatible to each other....

@jaapmarcus jaapmarcus linked a pull request Feb 21, 2023 that will close this issue
@jaapmarcus
Copy link
Member

See #3288

Oh, sorry, I'm using 1.6.14. I just checked. No idea where I got 1.6.5 from...
But well... It's pretty easy to change Postgres Configuration to allow remote connection and use PGAdmin 4 to connect. But still...
HestiaCP should use versions that are compatible to each other....

Issue is caused mainly because the development of phppgadmin is dead. So even we wanted it we couldn't upgrade to a newer version as it doesn't exist. We have decided the best way forward forking the phppgadmin project and applying the patches our self...

@Digioso
Copy link

Digioso commented Feb 21, 2023

Thanks a lot!
That means the patches will be applied in the next HestiaCP version?

@jaapmarcus
Copy link
Member

When we release 1.7.0 at least

jaapmarcus added a commit that referenced this issue Feb 22, 2023
* Update config.php.inc

* Fix installers

* Fix installers

* Fix installers

* Add update script

* Lint format

* config.inc.php for RPM based setups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database Issues related to database components
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants