new 2020 QNAP PostgreSQL 9.5.4 database fix

Hi -
for some people (including me), one would ask "why go thru this aggravation - just use a Mac Mini as your PostgreSQL 9.5.4 database server, and problem solved - after all, Blackmagic gives you this for free on the Resolve Studio Installer". Well, what can I say - many people want this database to live on their server. This worked perfectly will with QNAP QTS 4.3.6 with the PostgreSQL 9.3.13.3, which was compatible with PostgreSQL 9.5.4, but upon the recent QNAP 4.4.1 firmware upgrade, which forced an incompatible PostgreSQL version 11.4.1, everything stopped working.
Well, I complained, and now there is a fix for QTS 4.4.1 where you can load in a PostgreSQL 9.5.4 database (free) -
https://www.qnap.com/en-in/how-to/tutor ... -qts-4-4-1
There are several things not mentioned in this document. You should UNINSTALL PostgreSQL 11.4.1 before starting this process. To make things simple for my test, I created a shared folder in the QNAP called DavinciDB, and the entire installer loads into this folder, making a manual backup easy.
And I saw that on my Mac (or PC which I did not test), that I could simply load in pgAdmin 4 from the PostgreSQL pages on the web, and run that, and see the databases, not having to rely on anything from QNAP.
It is important to remember as well, that once this is completed, you still MUST refer to the old document from QNAP about installing the Resolve Database on the QNAP, because you still must
ssh into the QNAP and modify the pg_hba.conf file, as well as the postgresql.conf file. This was described in detail in the previous QNAP document.
https://www.qnap.com/en-au/how-to/tutor ... 15-studio/
remember when you look at this document, you are NOT installing PostgreSQL from the QNAP App Center - it's installed thru Container Station from the first link I posted.
Now everything is running with PostgreSQL 9.5.4 (finally !).
Bob Zelin
for some people (including me), one would ask "why go thru this aggravation - just use a Mac Mini as your PostgreSQL 9.5.4 database server, and problem solved - after all, Blackmagic gives you this for free on the Resolve Studio Installer". Well, what can I say - many people want this database to live on their server. This worked perfectly will with QNAP QTS 4.3.6 with the PostgreSQL 9.3.13.3, which was compatible with PostgreSQL 9.5.4, but upon the recent QNAP 4.4.1 firmware upgrade, which forced an incompatible PostgreSQL version 11.4.1, everything stopped working.
Well, I complained, and now there is a fix for QTS 4.4.1 where you can load in a PostgreSQL 9.5.4 database (free) -
https://www.qnap.com/en-in/how-to/tutor ... -qts-4-4-1
There are several things not mentioned in this document. You should UNINSTALL PostgreSQL 11.4.1 before starting this process. To make things simple for my test, I created a shared folder in the QNAP called DavinciDB, and the entire installer loads into this folder, making a manual backup easy.
And I saw that on my Mac (or PC which I did not test), that I could simply load in pgAdmin 4 from the PostgreSQL pages on the web, and run that, and see the databases, not having to rely on anything from QNAP.
It is important to remember as well, that once this is completed, you still MUST refer to the old document from QNAP about installing the Resolve Database on the QNAP, because you still must
ssh into the QNAP and modify the pg_hba.conf file, as well as the postgresql.conf file. This was described in detail in the previous QNAP document.
https://www.qnap.com/en-au/how-to/tutor ... 15-studio/
remember when you look at this document, you are NOT installing PostgreSQL from the QNAP App Center - it's installed thru Container Station from the first link I posted.
Now everything is running with PostgreSQL 9.5.4 (finally !).
Bob Zelin