Giter Site home page Giter Site logo

Login issue about dockercloud-pgadmin4 HOT 3 OPEN

jonbcs avatar jonbcs commented on May 27, 2024 5
Login issue

from dockercloud-pgadmin4.

Comments (3)

beydogan avatar beydogan commented on May 27, 2024

I have the same issue with default user pass or configured ones and there is nothing in container logs about it.

from dockercloud-pgadmin4.

fenglc avatar fenglc commented on May 27, 2024

@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>

from dockercloud-pgadmin4.

wkoszek avatar wkoszek commented on May 27, 2024

@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 -

from dockercloud-pgadmin4.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.