expaso/hassos-addon-pgadmin4

Open WebGui click servers nothing happen

poudenes opened this issue · 1 comments

Hi All,

I installeer pgadmin4 Haddon to HAOS. When I start it, and click on servers there is no list coming of all database in TimescaleDB add-on...

Below full log when I start pgadmin4

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Add-on: pgAdmin4
 A PostgreSQL Management and Query tool
-----------------------------------------------------------
 Add-on version: 1.2.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 7.0  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2021.12.7
 Home Assistant Supervisor: 2021.12.2
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] nginx.sh: executing... 
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] pgadmin4.sh: executing... 
NOTE: Configuring authentication for DESKTOP mode.
[21:38:59] INFO: Patching pgAdmin to work with HA ingress..
Checking patch pgAdmin4.py...
Checking patch pgadmin/__init__.py...
Applied patch pgAdmin4.py cleanly.
Applied patch pgadmin/__init__.py cleanly.
[cont-init.d] pgadmin4.sh: exited 0.
[cont-init.d] user.sh: executing... 
[cont-init.d] user.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:38:59] INFO: Starting pgAdmin..
[21:39:04] INFO: Waiting for pgadmin to become available..
.
.
.
[2022-01-03 21:39:05 +0100] [523] [INFO] Starting gunicorn 20.1.0
[2022-01-03 21:39:05 +0100] [523] [INFO] Listening at: unix:/tmp/pgadmin4.sock (523)
[2022-01-03 21:39:05 +0100] [523] [INFO] Using worker: gthread
[2022-01-03 21:39:05 +0100] [532] [INFO] Booting worker with pid: 532
[21:39:05] NOTICE: pgAdmin is running.
[21:39:05] INFO: Starting NGinx...
[21:39:05] NOTICE: pgAdmin4 is ready to accept connections.
nginx: [warn] lua_load_resty_core is deprecated (the lua-resty-core library is required since ngx_lua v0.10.16) in /etc/nginx/nginx.conf:43
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)

Hi Poudenes,

This is correct. You first need to create a connection to your server first.
Please inspect the readme carefully for instructions on how to do that.

For connection to the timescale-db addon, the following settings could be used:

image

The default password for the postgres user is: homeassistant when connecting to the timescaledb add-on.
Please change your password afterwards using the instructions in the readme.

pgAdmin is a separate addon-on which could be used to connect to any postgresql server on your network, so it's not specific for the timescale-addon.