Open Thorsten-Totemic opened 1 year ago
The current spilo image does not fully support Timescale DB for PG15 (it was not included in the shared_preload_libraries, because it did not support v15 yet), but since Timescale 2.10 supports it, the latest master branchis now updated: https://github.com/zalando/spilo/pull/873
Thanks for the update, do you know when we can expect a release on the spilo side?
I'm just a user, so I don't 🙈
Any updates on this issue? I am facing the same problem when deploying Postgres v15 and timescaledb extension
Running into the same issue.
I followed the update procedure from the section "In Place Major version upgrade" here: https://postgres-operator.readthedocs.io/en/latest/administrator/#minor-and-major-version-upgrade
I updated the operator configuration and the cluster manifest to the latest PG version and the latest spilo image for Postgres 15 and applied those changes. After that I updated the postgres operator to
v1.10.0
. Once the DB restarted it complained about TimescaleDB not found, so I logged into the pod and updated the extension which resolved the issue. Than I switched to thepostgres
user in the pod and executedpython3 /scripts/inplace_upgrade.py 1
to trigger the update. However it always fails with this error messages:The folder
/home/postgres/pgdata/pgroot/data_upgrade
is empty, but I did follow the instructions in the file home/postgres/pgdata/pgroot/data_new/pg_upgrade_output.d/20230426T181509.154/loadable_libraries.txt (linked to a gist) and addedtimescaledb
to theshared_preload_libraries
definition in the File /home/postgres/pgdata/pgroot/data_new/postgresql.conf. I am settingshared_preload_libraries = 'timescaledb, pg_stat_statements,pg_cron,set_user,pgextwlist,pg_stat_kcache'
After that I restart postgres with
patronictl -c postgres.yml restart apiservice-db2-staging apiservice-db2-staging-0
which runs fine. But when I then execute the update script againpython3 /scripts/inplace_upgrade.py 1
, the same error comes up and the file/home/postgres/pgdata/pgroot/data_new/postgresql.conf
is missing again thetimescaledb
in theshared_preload_libraries
string.Some more logs: Kubernetes pod logs from postgres Postgres operator logs
DB outputs: Select version();:
PostgreSQL 14.7 (Ubuntu 14.7-1.pgdg22.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0, 64-bit
SELECT extversion FROM pg_extension where extname = 'timescaledb'; :2.10.0
How can I get past this issue to have the update succeed?