I have followed this tutorial for installing pgadmin4-web: pgAdmin 4 (APT) .
When I run the following command
sudo /usr/pgadmin4/bin/setup-web.sh
I get the following error:
Setting up pgAdmin 4 in web mode on a Debian based platform… Creating configuration database… /usr/pgadmin4/bin/setup-web.sh: line 75: /usr/pgadmin4/venv/bin/python3: No such file or directory Error setting up server mode. Please examine the output above.
Any help would be great thanks.
Note:
After run the following command (tutorial´s step two)
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
I had to change inside file /etc/apt/sources.list.d/pgadmin4.list from jammy to bionic
from
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4 main
to
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/bionic pgadmin4 main