安装时间刻度失败



我尝试在Ubuntu 18.04(32位)和Postgresql 12上安装timescaledb:https://docs.timescale.com/latest/getting-started/installation/ubuntu/installation-apt-ubuntu

当我运行sudo apt install timescaledb-2-postgresql-12时,我得到错误:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package timescaledb-2-postgresql-12

然后我尝试在本地(从存储库https://github.com/timescale/timescaledb)构建代码,这是成功的(在制造上),但我无法看到"下一步"。在构建之后要做什么。当我试图通过添加"shared_preload_libraries = 'timescaledb' "在postgresg .conf文件中添加扩展时;然后重新启动。在重新启动时,我得到错误

2021-02-22 07:24:28.711 EST [18311] syorke@postgres ERROR:  could not open extension control file "/usr/share/postgresql/12/extension/timescaledb.control": No such file or directory

在时间尺度上。控制:

# timescaledb extension
comment = 'Enables scalable inserts and complex queries for time-series data'
default_version = '2.0.1'
module_pathname = '$libdir/timescaledb-2.0.1'
#extension cannot be relocatable once installed because it uses multiple schemas and that is forbidden by PG.
#(though this extension is relocatable during installation).
relocatable = false

我的问题是我在没有找到包的地方正确地处理这个问题吗?我应该替换/usr/share/postgresql/12/extension/timescaledb吗?在我为timescaledb?构建的目录中使用timescaledb.control.in。

在构建的控制文件中是:

# timescaledb extension
comment = 'Enables scalable inserts and complex queries for time-series data'
default_version = '@PROJECT_VERSION_MOD@'
module_pathname = '$libdir/timescaledb-@PROJECT_VERSION_MOD@'
#extension cannot be relocatable once installed because it uses multiple schemas and that is forbidden by PG.
#(though this extension is relocatable during installation).
relocatable = false

什么将'@PROJECT_VERSION_MOD@'被替换为和哪里是$libdir设置?

谢谢你的帮助。

嗨,我刚刚使用这里的脚本成功安装了Ubuntu 20.04

https://packagecloud.io/timescale/timescaledb/install

,而不是在正常安装过程中执行步骤3https://docs.timescale.com/install/latest/self-hosted/installation-debian/installing-self-hosted-timescaledb-on-debian-based-systems

然后执行步骤4 &5如文件

所示当你从源代码安装时,你可能需要先卸载

最新更新