-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web UI not working in v5 after installing through pip/pipx #233
Comments
Hi, Yes unfortunately there are still a few issues that needs to be fixed, this one included, before we can release version 5.0.1. If you have npm available on that machine, you could run
to build all the assets locally. If that's not an option and if you can instead rely on git / zip image I could push the missing assets right now. |
I'm adding this to a dockerfile. Will switch to git clone and manual build then, thanks! |
Ok, let us know if you face any other problem! |
Oh I forgot to mention, we do provide a powa-web-git container image (https://hub.docker.com/r/powateam/powa-web-git) that is rebuilt at each commit and automatically build all the assets, so you could also use this one in the meantime. |
manual install and the docker image you linked both hit another issue immediatelly after login
|
Yes, I'm on 13.17. Hitting #220 I guess |
I guess the installation instructions on https://powa.readthedocs.io/en/latest/components/powa-web/index.html#manual-install need a massive overhaul as well |
Thanks! I did just try out the latest image and it seems to work as expected! I think I'm hitting this issue now now as I don't get many of the predicates populated in index suggestions and I do have many arguments in my queries (not only in where/join) I'll leave this issue open, because the original issue was about pip/pipx install and that's not fixed so feel free to close anytime that's done |
Very good news, thanks a lot for testing and the confirmation!
Yes this is a very common limitation. We have some plans on improving that. One is to rely on the new GENERIC_PLAN option of EXPLAIN, to at least be able to test a suggested index even without the predicate values. Bbut that unfortunately won't work for you as it's for pg16+ (#216). I'm wondering if we could teach pg_qualstats to extract the values from the parameters too, which would help for scenario like extended protocol. All of that will probably be worked on after powa 5 is stabilized, which hopefully won't take too long.
Definitely, that's a good reminder to not mess up again for the next release, thanks a lot! |
The package installed with "apt" is simply missing the "dist" directory. but all that exists under static is "img" folder. dist is missing. workaround for people able to build frontend asssets is to copy the dist folder inside /usr/lib/python3/dist-packages/powa/static/. |
Hi, Version 5.0.1 is now ready and was pushed a few minutes ago, so pip install should now work out of the box. |
I had to fall back to pipx install, because v5 isn't available through apt and everything else there is already on v5 and can't get it to work.
Logs when trying to open the page:
I get 500s/404s all the time
The text was updated successfully, but these errors were encountered: