Description
I am using the PostgreSQL image from https://github.com/expaso/hassos-addon-timescaledb and recently, I have upgraded it to the latest version, which comes with PostgreSQL 17.4. I am aware that the version I am using is not the one by alexbelgium, which you recommend in the docs. Since the upgrade, the Teslamate add-on fails to start with the following error message:
I did a bit of research and found out that this likely is from an incompatibility between the psql
command included in this add-on and the command included in my PostgreSQL image (i.e. the server version). Here is a somehow related post from Stackoverflow.
There is one \list
call in the start-up script which seems to cause this issue:
Running the same command in my PostgreSQL container works fine and delives the expected output:
Running the same command from the Teslamate add-on causes the same error message as in the logs:
Now, it seems as this add-on image still comes with PostgreSQL client 15.10 and the \list
command of that one seems to be incompatible with a PostgreSQL server 17.4. While we could simply say the Teslamate add-on is not compatible with newer PostgreSQL versions, I am suprised as the Teslamate docs explicitly mention PostgreSQL v17+ as a requirement.
So, if this add-on comes with Teslamate 1.32.0 (since 1.4.0), and Teslamate itself requires PostgreSQL 17 since 1.31.0 (although it is somehow a soft requirement according to release notes), why does this add-on still come with a bundled PostgreSQL 15 client?
What do you suggest? Are there plans to upgrade this add-on to PostgreSQL 17 as suggested to be used by Teslamate?