Closed MikhailSaynukov closed 2 years ago
Hi,
First of all hypopg is a bit of an exception in that list, as it's not a "datasource" extension. It's used when checking for index suggestion, and needs to be installed in the target database and not the dedicated powa database.
That being said, I think that the current code indeed won't try to retrieve hypopg version from the remote server if you have powa 4.1.0 or later, and this version won't try to locally retrieve hypopg version as it does for the one configured when declaring a remote server.
I will double check that and try to fix the situation, however I'm afraid that it will have to be fixed via powa-collector.
@MikhailSaynukov I just pushed a commit on powa-collector (https://github.com/powa-team/powa-collector/commit/d160763c098347c25d526af6e3ee32970eee5060) that should fix the problem. Can you check if it's working as expected for you?
Note that the UI will tell you if hypopg is available and with which version, but it can't tell you if the extension is properly setup on the target remote database when needed. This will automatically be checked when needed and any problem will be reported.
@rjuju thank you very much! Can I kindly ask you to update it on pypi? Cause I'm building an image using Dockerfile to work with PoWA.
Ah I see. I'll then make a new release but it will take a bit more time as I will have to write the release notes for the last few fixes.
No problem at all. Awaiting that release) Really appreciate your help!
Hi @MikhailSaynukov. I'm really sorry for the time it took to take care of it, but I just released version 1.2.0 of powa-collector. It's available on github and published on pypi too, and I also pushed an updated container image.
great news regarding powa-collector! Wondering if it is available via yum ?
пт, 11 лют. 2022 р. о 21:19 Julien Rouhaud @.***> пише:
Hi @MikhailSaynukov https://github.com/MikhailSaynukov. I'm really sorry for the time it took to take care of it, but I just released version 1.2.0 of powa-collector. It's available on github and published on pypi too, and I also pushed an updated container image.
— Reply to this email directly, view it on GitHub https://github.com/powa-team/powa-web/issues/148#issuecomment-1036999312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIHWEYD5ZRRQGVOGL4KN7MTU2XUXTANCNFSM5GVDZHRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
It looks like it's packaged in the PGDG repository sources, but I don't find it in the list of RPMs on the website. It's been regularly maintained so I'm assuming it's available, and yum search will show you in which package it's.
Hi!
trying to install Powa in Remote architecture, remote serves successfully initialised and I can see statistics but in Configuration for remote servers hypopg extension showing as is unavailable. HypoPG was installed on remote servers and seen in Postgres:
postgres=# \dx List of installed extensions Name | Version | Schema | Description
----------+---------+------------+------------------------------------- hypopg | 1.2.0 | public | Hypothetical indexes for PostgreSQL pgcrypto | 1.3 | public | cryptographic functions plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language (3 rows)
But in web interface the following data can be seen:
Please advise how to check proper installation and how to fix this in Configuration tab?