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
Upgrade to PostgreSQL 13+ #7374
Comments
@jomtov, thanks for opening this issue. When we discuss more we may retitle as "upgrade to version..." before we pull this into a sprint. |
@djbrooke FWIW dataverse-ansible quietly bumped the PG version to 10 this summer, as the version of python3-psycopg2 packaged with RHEL/CentOS8 isn't backwards-compatible with PG 9.6. I did some testing against 12 this summer; nothing major comes to memory. |
|
@djbrooke FWIW I just ran the Jenkins IT test suite against Postgres 13.1 using the most recent JDBC driver 1311 tests run, 0 errors, 0 failures, no SQL errors in server.log.* I can leave the instance up if anybody wants to poke at it, or tear it down if you say. |
thought: I would be glad and honored to be part of the discussion. |
Everything appears to be working, with newer PostgreSQL versions, up to v. 13. Special thanks to @donsizemore for confirming that the Jenkins/RestAssured tests are passing under v.13.
Any feedback is welcome. |
re: removing the old info about how to update the driver: Is it worth still having a note about how to update the driver now that it is in the war? Presumably we can keep it nearly up-to-date in the new releases, but for older versions to run on newer postgres (or if the releases don't update every time postgress' driver does) - is there a place some guidance should go? |
@qqmyers
|
I'm fine with removing language to strong recommend a specific version but our guides are currently very specific about versions when it comes to actually installing postgres. It looks like I think we should update the version in Vagrant. I think we should update the version in docker-aio too. Overall, the plan sounds great. |
I was going to update the yum command lines with something newer; and also to spell out clearly that they are just an example. |
@qqmyers I honestly got stuck a little yesterday trying to rewrite that paragraph, about the jdbc driver. It's easy to tell them to drop another version of the jar in the exploded directory under domain1/applications... but I had trouble thinking of how to start that sentence. Why would they ever want to do that. I mean, it's reasonable to believe that the version bundled with the 5.4 war file will be guaranteed to work with any PostgreSQL 13, even if more minor versions of the former are released during the lifecycle of 5.4. And we don't want them to go past 13 (even if they are stuck on 5.4 long enough that PostgreSQL 14 is readily available...). And if there is some major security hole found in the current jdbdc driver - then we will have to contact all the installations, so we will supply the upgrade instructions as part of that... Anyway, I ended up just dropping that paragraph. But if you can/are willing to put together a replacement, please do. |
Thank you @landreev, this is exactly my argument why it's perfectly fine to include the driver in the WAR. If someone really wants to change it for whatever reason, it's fairly easy to rebuild the WAR with a different version. We could provide a small guide for that, though. (It's actually a Maven one liner, overriding the version from cmdline) |
I was thinking of a (very hypothetical) situation where a security issue is discovered in the current jdbdc driver, and we need to contact all the installations (who don't necessarily know how to build their own war files)... But if that ever happens, we will simply build a new war file ourselves, and ask everybody else to deploy it. |
In the present Installation Guide there is a strong recommendation of using version PostgreSQL 9.6 which reaches End-of-Life 2021-11-01, while the latest version is already at v.13. Evaluate risk of obsolescense.
Together with PostgresSQL 9.6 goes use of RHEL/CentOS 7, which is now only in maintanence support 2, full support ended 2019-08-06, while latest version RHEL/CentOS 8 was released already 2019-05-07 - more than a year ago.
The text was updated successfully, but these errors were encountered: