Closed balk77 closed 1 week ago
I have retried with LTSS disabeled (start with 2024.7.2 --> disable LTSS in config --> upgrade). Same error occurs. This excludes LTSS from the equation.
Hi @balk77 ,
I am looking into this issue right now..
This looks like a bug in Timescale itself..
I have successfully upgraded the database from 2024.7.1 to 2024.8.2 just yet, and had no problems, but the segfault I see in your logs tells me that, with perhaps other compression schemes, it fails for some users.
I assume you are already use the lastest version of the timescaledb addon?
Either way, I will prepare a new version of the addon with upgraded TimescaleDb.
Stay close..
thanks a lot! Forgot to mention indeed; addon version 4.0.1. Strange that you don't experience this issue. Maybe my db is too large? 15GB for HA and 10GB for LTSS. I need to clean up.
Let me know if you need more info or testing
thanks a lot! Forgot to mention indeed; addon version 4.0.1. Strange that you don't experience this issue. Maybe my db is too large? 15GB for HA and 10GB for LTSS. I need to clean up.
Let me know if you need more info or testing
The size is not shocking, I have 40GB running on a raspberry pi, so that should no be an issue. I am currently building (takes a few hours to compile everything) and will the do some more testing..
This looks like a bug in Timescale itself..
I have successfully upgraded the database from 2024.7.1 to 2024.8.2 just yet, and had no problems, but the segfault I see in your logs tells me that, with perhaps other compression schemes, it fails for some users.
I assume you are already use the lastest version of the timescaledb addon?
Either way, I will prepare a new version of the addon with upgraded TimescaleDb.
Stay close..
Just to inform, i dont have any errors either right now, (HA version 2024.8.2 and latest Timescale addon)
This looks like a bug in Timescale itself.. I have successfully upgraded the database from 2024.7.1 to 2024.8.2 just yet, and had no problems, but the segfault I see in your logs tells me that, with perhaps other compression schemes, it fails for some users. I assume you are already use the lastest version of the timescaledb addon? Either way, I will prepare a new version of the addon with upgraded TimescaleDb. Stay close..
Just to inform, i dont have any errors either right now, (HA version 2024.8.2 and latest Timescale addon)
Hi @skank01, oh thats nice to know. That releases the pressure of this issue a bit. I am currently preparing an update, because I saw Timescale had fixed a few segfaults on their part. Either way, glad you raised the issue.
Version 4.1.0 should fix the above.
Thanks for the update! But it did not help :( I may have another issue.
I will start recovery, migrate the HA database to a fresh plain PGSQL server and try to get LTSS back healthy.
Have you already succeeded in this, or do you need any assistance?
Thanks for checking. None of my recent backups did work; I lost the states table. I was surprised that I could import the statistics tables. So I lost nothing important. At least on the HA side. I did not try to export and import the ltss and dsmrreader db's
Not sure what caused the corruption. Maybe I should upgrade my hardware.....
Op wo 11 sep 2024 20:23 schreef Expaso @.***>:
Have you already succeeded in this, or do you need any assistance?
— Reply to this email directly, view it on GitHub https://github.com/expaso/hassos-addon-timescaledb/issues/46#issuecomment-2344379021, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACNSATQ6WAG37THRXBQ27FTZWCDARAVCNFSM6AAAAABMKYSMOOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGM3TSMBSGE . You are receiving this because you were mentioned.Message ID: @.***>
I just upgraded to Home Assistant 2024.8.1 (skipped .0) from 2024.7.2. Uppon load of the LTSS integration, TimeScaleDB restarts. This makes the HA recorder losing connection. I am not sure where this issue belongs as it relates to three products
TimeScaleDB log:
LTSS related log:
HA database related log:
Migration error: