-
Notifications
You must be signed in to change notification settings - Fork 0
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
cPanel won't recognize PG as installed for the purposes of WHM & cPanel UIs when upgraded #1
Comments
Will try to knock this out soon |
So, looks like /usr/local/cpanel/Cpanel/PostgresAdmin/Check.pm fails the check due to not being able to find the postmaster. |
|
Looks like I need to additionally link postmaster with update-alternatives |
So, if I do this, I get an interesting result from build_global_cache:
Probably the same thing where on PG 10 I had to write my own version getter due to the cP regexp being a disaster |
yep, this check is still bonehead:
In the code:
Why does it look for the third dot when it totally isn't used? This seems like bullshit to me. |
So, monkeypatched that to fix that check, now haspostgres looks good Problem is the service driver is disaster now:
|
Filed CPANEL-33721 internally about the PG version check, gonna split the pg service driver stuff out into its' own issue |
Fix coming in cPanel v92 |
The silly regexp in our haspostgres check just doesn't pick up on the RPM names.
Will have to figure out some way to dope out the globalcache.
The text was updated successfully, but these errors were encountered: