Timescaledb: dropdb: query failed: ERROR: could not access file "$libdir/timescaledb-0.12.1": No such file or directory

Created on 23 Jul 2019  路  2Comments  路  Source: timescale/timescaledb

Relevant system information:

  • OS: Ubuntu 18.04
  • PostgreSQL version 10.9
  • TimescaleDB version 1.4.0
  • Installation method: apt/ppa

Describe the bug
After a recent apt-get upgrade I'm now getting this error when trying to run dropdb:

dropdb: query failed: ERROR:  could not access file "$libdir/timescaledb-0.12.1": No such file or directory

Seems like TimescaleDB upgraded to a more recent version (1.x), but dropdb still looks for the old library from somewhere.

To Reproduce

Try running dropdb

Most helpful comment

Sorry, solved by doing:

$ PGPASSWORD=... psql -X -h localhost -U postgres postgres
psql (10.9 (Ubuntu 10.9-1.pgdg18.04+1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
Type "help" for help.

postgres=# ALTER EXTENSION timescaledb UPDATE;
ALTER EXTENSION

All 2 comments

Sorry, solved by doing:

$ PGPASSWORD=... psql -X -h localhost -U postgres postgres
psql (10.9 (Ubuntu 10.9-1.pgdg18.04+1))
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 256, compression: off)
Type "help" for help.

postgres=# ALTER EXTENSION timescaledb UPDATE;
ALTER EXTENSION

Great that you resolved your issue. Since the instructions describe this already, I close the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vfvgc picture vfvgc  路  4Comments

ancoron picture ancoron  路  4Comments

sanpa1977 picture sanpa1977  路  5Comments

100milliongold picture 100milliongold  路  5Comments

tkurki picture tkurki  路  3Comments