Coder Social home page Coder Social logo

prostgles / ui Goto Github PK

View Code? Open in Web Editor NEW
132.0 5.0 7.0 67.08 MB

PostgreSQL Editor and Dashboard

Home Page: https://prostgles.com/ui

License: Apache License 2.0

Shell 0.08% Dockerfile 0.15% HTML 2.91% CSS 59.96% TypeScript 36.89%
postgresql sql dashboard postgis realtime postgres websockets mobile

ui's People

Contributors

prostgles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ui's Issues

[Bug]: Doesn't work with default config

Contact Details

No response

What happened?

It should open the main UI
but i see ECONNREFUSED: Could not connect to database.

image

What OS are you seeing the problem on?

Linux

What browsers are you seeing the problem on?

Chrome

Relevant log output

postgres_1  | selecting default max_connections ... 100
postgres_1  | selecting default shared_buffers ... 128MB
postgres_1  | selecting dynamic shared memory implementation ... posix
postgres_1  | creating configuration files ... ok
postgres_1  | running bootstrap script ... ok
prgl_1      | Add a basic auth mode where user and sessions table are created
postgres_1  | performing post-bootstrap initialization ... ok
prgl_1      | testDBConnection fail {
prgl_1      |   connOpts: {
prgl_1      |     database: 'POSTGRES_DB',
prgl_1      |     user: 'POSTGRES_USER',
prgl_1      |     password: 'POSTGRES_PASSWORD',
prgl_1      |     host: 'postgres',
prgl_1      |     port: undefined,
prgl_1      |     ssl: false
prgl_1      |   },
prgl_1      |   err: Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |       at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |     errno: -111,
prgl_1      |     code: 'ECONNREFUSED',
prgl_1      |     syscall: 'connect',
prgl_1      |     address: '172.18.0.2',
prgl_1      |     port: 5432
prgl_1      |   }
prgl_1      | }
prgl_1      | getDBS Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |   errno: -111,
prgl_1      |   code: 'ECONNREFUSED',
prgl_1      |   syscall: 'connect',
prgl_1      |   address: '172.18.0.2',
prgl_1      |   port: 5432
prgl_1      | }
prgl_1      | WARNING: Creating a duplicate database object for the same connection.
prgl_1      |     at new Promise (<anonymous>)
prgl_1      |     at testDBConnection (/usr/src/app/server/dist/index.js:37:12)
prgl_1      |     at getDBS (/usr/src/app/server/dist/index.js:240:15)
prgl_1      | 
prgl_1      | testDBConnection fail {
prgl_1      |   connOpts: {
prgl_1      |     database: 'POSTGRES_DB',
prgl_1      |     user: 'POSTGRES_USER',
prgl_1      |     password: 'POSTGRES_PASSWORD',
prgl_1      |     host: 'postgres',
prgl_1      |     port: undefined,
prgl_1      |     ssl: false
prgl_1      |   },
prgl_1      |   err: Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |       at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |     errno: -111,
prgl_1      |     code: 'ECONNREFUSED',
prgl_1      |     syscall: 'connect',
prgl_1      |     address: '172.18.0.2',
prgl_1      |     port: 5432
prgl_1      |   }
prgl_1      | }
prgl_1      | getDBS Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |   errno: -111,
prgl_1      |   code: 'ECONNREFUSED',
prgl_1      |   syscall: 'connect',
prgl_1      |   address: '172.18.0.2',
prgl_1      |   port: 5432
prgl_1      | }
prgl_1      | WARNING: Creating a duplicate database object for the same connection.
prgl_1      |     at new Promise (<anonymous>)
prgl_1      |     at testDBConnection (/usr/src/app/server/dist/index.js:37:12)
prgl_1      |     at getDBS (/usr/src/app/server/dist/index.js:240:15)
prgl_1      | 
prgl_1      | testDBConnection fail {
prgl_1      |   connOpts: {
prgl_1      |     database: 'POSTGRES_DB',
prgl_1      |     user: 'POSTGRES_USER',
prgl_1      |     password: 'POSTGRES_PASSWORD',
prgl_1      |     host: 'postgres',
prgl_1      |     port: undefined,
prgl_1      |     ssl: false
prgl_1      |   },
prgl_1      |   err: Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |       at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |     errno: -111,
prgl_1      |     code: 'ECONNREFUSED',
prgl_1      |     syscall: 'connect',
prgl_1      |     address: '172.18.0.2',
prgl_1      |     port: 5432
prgl_1      |   }
prgl_1      | }
prgl_1      | getDBS Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |   errno: -111,
prgl_1      |   code: 'ECONNREFUSED',
prgl_1      |   syscall: 'connect',
prgl_1      |   address: '172.18.0.2',
prgl_1      |   port: 5432
prgl_1      | }
prgl_1      | WARNING: Creating a duplicate database object for the same connection.
prgl_1      |     at new Promise (<anonymous>)
prgl_1      |     at testDBConnection (/usr/src/app/server/dist/index.js:37:12)
prgl_1      |     at getDBS (/usr/src/app/server/dist/index.js:240:15)
prgl_1      | 
prgl_1      | testDBConnection fail {
prgl_1      |   connOpts: {
prgl_1      |     database: 'POSTGRES_DB',
prgl_1      |     user: 'POSTGRES_USER',
prgl_1      |     password: 'POSTGRES_PASSWORD',
prgl_1      |     host: 'postgres',
prgl_1      |     port: undefined,
prgl_1      |     ssl: false
prgl_1      |   },
prgl_1      |   err: Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |       at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |     errno: -111,
prgl_1      |     code: 'ECONNREFUSED',
prgl_1      |     syscall: 'connect',
prgl_1      |     address: '172.18.0.2',
prgl_1      |     port: 5432
prgl_1      |   }
prgl_1      | }
prgl_1      | getDBS Error: connect ECONNREFUSED 172.18.0.2:5432
prgl_1      |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
prgl_1      |   errno: -111,
prgl_1      |   code: 'ECONNREFUSED',
prgl_1      |   syscall: 'connect',
prgl_1      |   address: '172.18.0.2',
prgl_1      |   port: 5432
prgl_1      | }

Code of Conduct

  • I agree to follow this project's Code of Conduct

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.