Login issue
Hi, I have just installed and am able to run your docker image however I can't get past the login screen. I have tried both running the container with the default user/pass ([email protected]/admin) and also defining the 'DEFAULT_USER' and 'DEFAULT_PASSWORD' variables. Any ideas?
Thanks
I have the same issue with default user pass or configured ones and there is nothing in container logs about it.
@beydogan
Enter into the container
docker exec -it <your-container> /bin/sh
Enable debug mode and set log level
cd /usr/local/lib/python3.6/site-packages/pgadmin4
vi config_local.py
Save and restart the container
docker restart <your-container>
Fetch the logs
docker logs -f <your-container>
@fenglc Same issue here. macOS Mojave 10.14 Beta (18A347e) + Docker
docker -v
Docker version 18.06.0-ce, build 0ffa825
I use it in a docker-compose.yml config, where I have postgres as a separate container, and your fenglc/pgadmin4 as another container.
I entered the container. You need to additionally:
apt update
apt install nvi
To get vi quickly, as the container comes without it.
The DEBUG I've set to True. The config file doesn't explain which level is which, so I've set it to logging.DEBUG.
Output doesn't tell much:
2018-09-02 16:39:00,039: INFO werkzeug: 172.19.0.1 - - [02/Sep/2018 16:39:00] "POST /login HTTP/1.1" 200 -
2018-09-02 16:39:00,103: INFO werkzeug: 172.19.0.1 - - [02/Sep/2018 16:39:00] "GET /browser/browser.css HTTP/1.1" 302 -
2018-09-02 16:39:00,139: INFO werkzeug: 172.19.0.1 - - [02/Sep/2018 16:39:00] "GET /login?next=%2Fbrowser%2Fbrowser.css HTTP/1.1" 200 -