Expaso / hassos-addons

Home Assistant Add-ons
Apache License 2.0
46 stars 14 forks source link

Incorrect pg_dump version after upgrade to 3.0.2 #36

Closed carhukem closed 12 months ago

carhukem commented 12 months ago

After upgrading to the new version 3.0.2 the backup functions are failing because of an older version of pg_dump.

Lof-file of DSMR Reader add-on: 2023-07-22 08:30:41,003 CRITICAL backup on_backup_failed 238 | - Unexpected exit code (1) for backup: b'pg_dump: error: server version: 15.3; pg_dump version: 14.5\npg_dump: error: aborting because of server version mismatch\n'

It seems that PostgreSQL server version is been upgraded to 15.3 but the client portion is not update correctly to same version. Alltough thats my assumption.

Running Home-Assistant on Intel NUC, HA-OS, DSMR-Addon with PostgreSQL - TimeScaleDB Addon enabled. No specific information on this matter is found on the net, problem just raises a couple a days ago after uprading. So maybe more people are having same issue but aren't aware of that.

carhukem commented 12 months ago

Sorry - closing it here and post it as an comment of similair problem mentiond in the TimeScaleDB branch. https://github.com/Expaso/hassos-addon-timescaledb/issues/33