Uso de pgadmin4

Buenos días he instalado pgadmin 4 desde los repositoios oficiales (community)

Cuando intento lanzarlo el programa se para y no se termina de ejecutar

[jra@AIO ~]$ pgadmin4
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
Semaphore name: “pgadmin4-jra-a59283b86ae8ae85d20fdf770d799dd7-sema”
Shared memory segment name: “pgadmin4-jra-a59283b86ae8ae85d20fdf770d799dd7-shmem”
Python path: “/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/lib/python3.10/site-packages”
Python Home: “/usr/lib/python3.10”
Webapp path: “/usr/lib/pgadmin4/web/pgAdmin4.py”
Failed to connect to the server: “Connection refused” - request URL: “http://127.0.0.1:36281/misc/ping?key=08e817d1-0b7a-46e3-ab39-27d0a6dae106” .
Terminado (killed)
¿Alguna idea de is tengo que instalarlo de alguna de otra manera?

Uso cinnamon como entorno de escritorio.

Translated using deepl
Hola, veo que instalaste pgadmin4 para que esto funcione postgresql debe estar instalado y habilitado. Si aún no lo has hecho puedes hacerlo con el siguiente comando.

sudo pacman -S postgresql
sudo systemctl enable postgresql --now

¿Puedes decirme si funciona?
Original message
Hi, I see you installed pgadmin4 in order for this to work postgresql must be installed and enabled. If you didn’t do that yet you can do it with the following command.

sudo pacman -S postgresql
sudo systemctl enable postgresql --now

Can you let me know if that works?

parece que se instala pero parece que no lo puedo arrancar sin reiniciar la máquina (esto no lo he probado).

haré más pruebas.

Lo curioso es que si PGAmin4 no funcione sin tener un servidor postgress instalado en local.

Usaré otro cliente de base de datos que pueda conectar a una máquina postgres (Dbeaver me funciona) pero no me gusta su interfaz gráfica

pacman -S postgresql
resolviendo dependencias...
buscando conflictos entre paquetes...

Paquetes (1) postgresql-15.2-1

Tamaño total de la descarga:     18,80 MiB
Tamaño total de la instalación:  58,11 MiB

:: ¿Continuar con la instalación? [S/n] S
:: Obteniendo los paquetes...
 postgresql-15.2-...    18,8 MiB  6,13 MiB/s 00:03 [######################] 100%
(1/1) comprobando las claves del depósito          [######################] 100%
(1/1) verificando la integridad de los paquetes    [######################] 100%
(1/1) cargando los archivos de los paquetes        [######################] 100%
(1/1) comprobando conflictos entre archivos        [######################] 100%
:: Procesando los cambios de los paquetes...
(1/1) instalando postgresql                        [######################] 100%
Dependencias opcionales para postgresql
    python: for PL/Python 3 support [instalado]
    perl: for PL/Perl support [instalado]
    tcl: for PL/Tcl support [instalado]
    postgresql-old-upgrade: upgrade from previous major version using pg_upgrade
    logrotate: rotates system logs automatically [instalado]
:: Ejecutando los «hooks» de posinstalación...
(1/5) Creating system user accounts...
Creating group 'postgres' with GID 958.
Creating user 'postgres' (PostgreSQL user) with UID 958 and GID 958.
(2/5) Reloading system manager configuration...
(3/5) Creating temporary files...
(4/5) Arming ConditionNeedsUpdate...
(5/5) Refreshing PackageKit...

systemctl enable postgresql --now
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /usr/lib/systemd/system/postgresql.service.
Job for postgresql.service failed because the control process exited with error code.
See "systemctl status postgresql.service" and "journalctl -xeu postgresql.service" for details.


Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ An ExecStartPre= process belonging to unit postgresql.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
mar 15 09:17:56 AIO systemd[1]: postgresql.service: Failed with result 'exit-co>
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit postgresql.service has entered the 'failed' state with result 'exit>
mar 15 09:17:56 AIO systemd[1]: Failed to start PostgreSQL database server.
░░ Subject: A start job for unit postgresql.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit postgresql.service has finished with a failure.
░░ 
░░ The job identifier is 3304 and the job result is failed.