Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set mail and password in pgadmin 4 in Ubuntu 20.04

I already had pgadmin installed before ubuntu was updated to 20.04. Once it was updated, I realized that pgadmin had disappeared (my databases in postgresql are still there intact) and I followed the instructions below to install pgadmin4:

How to Install PostgreSQL and pgAdmin4 in Ubuntu 20.04

At some point it was supposed to ask me to configure an account with my email and password, but it never did, now I am able to get to the home screen but I cannot login because I did not configure an email and password. Any help is welcome, thank you!

like image 247
Pakin Avatar asked Oct 14 '25 22:10

Pakin


1 Answers

I removed

/var/lib/pgadmin/pgadmin4.db 

file. It was first start pgadmin4 for me so there were nothing important

And then I run

sudo /usr/pgadmin4/bin/setup-web.sh

again and it ask for email\password

like image 96
Maria Korobikhina Avatar answered Oct 17 '25 12:10

Maria Korobikhina



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!