Skip to content

ERROR: extension "timescaledb" has no installation script nor update path for version "2.21.0 #128

Description

@bataliero

Hi
I tried to run the example with

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  name: example
spec:
  instances: 3
  imageName: ghcr.io/clevyr/cloudnativepg-timescale:17-ts2
  postgresql:
    shared_preload_libraries:
      - timescaledb
  bootstrap:
    initdb:
      postInitTemplateSQL:
        - CREATE EXTENSION IF NOT EXISTS timescaledb;

But I get:

initdb {"level":"error","ts":"2025-07-23T09:07:36.73964686Z","msg":"Error while bootstrapping data directory","logging_pod":"my-timeseries-db-1-initdb","error":"while configuring new instance: could not execute init Template queries: ERROR: extension \"timescaledb\" has no installation script nor update path for version \"2.21.0\" (SQLSTATE 22023)","stackt 
initdb Error: while configuring new instance: could not execute init Template queries: ERROR: extension "timescaledb" has no installation script nor update path for version "2.21.0" (SQLSTATE 22023)                                                                                                                                                                 

Image pinning to e.g ghcr.io/clevyr/cloudnativepg-timescale:17.5-17-ts2.19.3 did not help either. I see same issue

Thank for help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions