-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[bitnami/postgresql-repmgr] no user postgres #74890
Comments
Seems related to #74880 |
For the record: using the
One possible solution to get this working, is to connect as
|
I've also tried to nuke the local file storage and use The system goes up, but again the users are created on the PostgreSQL side but not on the operating system side, so I'm unable to run
and on the shell
The
|
Just to say that I've tried also |
I have a very similar issue. I have added this comment to another issue iv upgraded from |
Just for the record, I've tried also the official
|
@gbsingh1993 thanks, I've tried the containers that you mentioned were working fine, just as a desperate try, with no luck.
|
I found this older issue that is reporting pretty much the same thing, still I'm not able to get the wrapper working. I think a wrapper should be provided by default, because it seems to me this is a bug. |
I was able to run the CLI by using the user nobody . My docker exec command looks like this: |
thanks, works for me too. Is this documented somewhere I missed? |
|
Digging a little more, you can see the user
But much more strangely, at least to me, is that any user listed in can run
It is not clear to me if this is what is expected or not, I guess the missing user |
Name and Version
bitnami/postgresql-repmgr:latest
What architecture are you using?
amd64
What steps will reproduce the bug?
docker compose up -d
with a configuration as follows:What is the expected behavior?
% sudo docker exec --user postgres -it $(sudo docker ps -qf "name=repmgr-pg_primary-1") /usr/bin/bash
should give me a shell with the user postgresWhat do you see instead?
moreover, connecting to the image:
Apparently, the system is not creating the user
1001
correctly, I suspect it has to be configured aspostgres
orrepmgr
, since the documentation states such users have administrative powers.Additional information
No response
The text was updated successfully, but these errors were encountered: