sudo su
c
d /var/lib/pgadmin4/
mv /pgadmin4.db /tmp
now you can see the folder having only two sub folder i.e. ''
session storage
now run the below command to reconfigure the settings
sudo /usr/pgadmin4/bin/setup-web.sh