-
Notifications
You must be signed in to change notification settings - Fork 97
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
Top is not working when starting using docker #87
Comments
Hi, thanks for report, |
my build docker |
What happen if run container and then run pgcenter being inside?
|
Работает, но странно: нет статистики: процессор, память и т.д. Если запускать так (внутри docker): тогда ругается: для 0.6.6 соответственно: pgcenter top Всё отлично и со статистикой |
I tested various cases using different docker images and bug reproduced in most of cases. Sometimes pgcenter starts as expected but at next, the same attempt it crashed again (even 0.6.6 might hang with black screen). I suspect there something related to UI processing when docker starts, but need to dig deeper. Also I strongly recommended to avoid using national languages and post comments using English. |
OK tried 10 times sequentially run pgcenter 0.7.0: error: goroutine 53 [running]: pgcentert 0.6.6 - never broke (maybe I was just lucky) |
Hi, |
Addition:
|
Panic occurs at every time or spontaneously? What docker image do you use? |
spontaneously
my docker image |
What about attempt to reproduce using
It is insufficient information, provide more details... base image, full command definition of how pgcenter was started (including docker opts). |
tried lesovsky / pgcenter: v0.8.0 image but it is not possible to use the name localhost with it!
docker runs via docker-compose (docker-compose.yml.tar.gz): pgcenter upload volume PGDATA
after a few minutes (3-4), sometimes an error occurs (pgcenter continues to work!):
If it is ok to exit pgcenter (with the q key) the message appears:
|
Trying to build the image, need the values of variables from docker-compose:
No need |
If you carefully look at the attached archive (docker-compose.yml.tar.gz), you can see the .env file in which the necessary variables are registered |
Oh, hidden file ))) yep, found now |
Both ways failed due to necessary files are not exist.
Also such files are not found in attached archives. Maybe you just build and publish the image on DockerHub? |
Complete set of everything you need for build image Unpack it into some folder
Profit |
Thanks, build successful. Upd. I've just updated pgcenter download links in Dockerfiles, from 0.6.x to 0.8.0. |
Spent a quite lot of time for testing and could not reproduce the panic at quit. Also I have no idea how to catch this using unit-tests. Would like to clarify, are you sure you build the image with proper version of pgcenter (v0.8.0)? Because I manually changed pgcenter's version in your files before build. Maybe you catch error with old version (the similarly as it was here)? |
Docker postgrespro-standard work in centos 8.3
pgcenter 0.6.6 work in docker
pgcenter 0.7.0 not work docker:
The text was updated successfully, but these errors were encountered: