Closed aabrodskiy closed 2 years ago
@aabrodskiy Hi. Thank you for the detailed report. I have two followup questions: 1) Can you provider the docker logs of the database docker container when the error occurs? 2) Do you use the timescaledb_toolkit extension for anything as far as you know? If so, how do you use it?
Thanks, Mat
One more question: what is your search_path (e.g. show search_path
in sql).
Hi Mat, Thanks for looking into this! I've uploaded the logs from the database container here, there is quite a lot going on in there: timescale.txt
"$user", public, ps_tag, _prom_ext, prom_api, prom_metric, _prom_catalog, ps_trace`
Thank you, Alex
Getting back to this now, going back to trying to reproduce. Apologies for the delay.
Ok I believe I found the issue and it's in the toolkit extension. I am going to verify with the toolkit authors and then get back to you with a solution. Thanks for your patience.
@aabrodskiy Ok, the problem is with the disallow_experimental_deps
event trigger in toolkit. It will be dropped in the next toolkit release so I suggest doing the following as a workaround right before the promscale 0.9.0 run.
ALTER EXTENSION timescaledb_toolkit DROP EVENT TRIGGER disallow_experimental_deps;
DROP EVENT TRIGGER IF EXISTS disallow_experimental_deps;
ALTER EXTENSION timescaledb_toolkit DROP EVENT TRIGGER disallow_experimental_dependencies_on_views;
DROP EVENT TRIGGER IF EXISTS disallow_experimental_dependencies_on_views;
cc @JLockerman
Awesome, thanks a lot Mat! That worked for our server and promscale is up and running again. I'll add these steps to our upgrade script for now, until it's fixed in the next version.
I upgraded our server from PG13 to PG14, Timescale from 2.5.0. to 2.5.1 from docker image timescale/timescaledb-ha:pg14.1-ts2.5.1-latest and after the upgrade, I can’t get promscale container to start up (timescale/promscale:0.9.0). Previously, it was 0.8 Promscale version that ran against PG13. It throws the following error, any clues?
Here is the error message:
Upgrade of timescale DB was done in a separate temporary container. Dockerfile:
Upgrade script: