Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PgAdmin4 starts empty

enter image description hereI installed PostgreSQL and PgAdmin4 on an Ubuntu 19.04 virtualbox guest (following this guide)

Now I have the problem that PgAdmin4 does not show anything (after login).

I have an empty Browser (Server) tree, a fully white (blank) dashboard... In the PgAdmin4 menu I only have the Object tab but if I click it it opens a tiny empty box (as shown in the screenshot above).

In Firefox it was always like that. A couple of times it worked in Chrome (could add server, create databases...) but then, suddenly, even in Chrome it is empty.

Does anyone have a clue what could be wrong?

like image 314
monty Avatar asked Sep 04 '26 13:09

monty


1 Answers

I believe some of the packages are missing during installation. here are commands to install properly.

sudo apt-get install wget ca-certificates

add the GPG key for the repository.

 sudo wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -

add the repository:

 sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'



sudo apt-get update


sudo apt install pgadmin4 pgadmin4-apache2

During installation process you will be asked to enter an email and set up password. Once finished

navigate to here

localhost/pgadmin4

like image 199
Yilmaz Avatar answered Sep 06 '26 02:09

Yilmaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!