pgadmin4 stuck in indefinet loading screen -- Ubuntu 18.04 - postgresql

I am running postgresql in Docker Container. I was connected to it using Pgadmin4 and it was all good until past hour or so and suddenly stopped working. its stuck in loading screen and its not working. I tried to uninstall postgres, pgadmin but nothing really worked.
I used the below commands
sudo apt autoremove pgadmin4
I have postgis installed if that helps
Indefinite loading screen

So I found a work around and thought it would be helpful to anyone who has similar issues.
Ubuntu 18.04
sudo apt remove pgadmin4
sudo rm -rf /home/${USER}/.config/pgadmin
sudo apt install pgadmin4
Hopefully that should work if anyone has a better answer please advice.

Related

I removed PostgreSQL but i still see it as an installed version?

Im trying to uninstall PostgreSQL from my Mac machine. Ive deleted the folder from the Application folder, ran sudo rm -rf after cd'ing to /Library/PostgreSQL/myversion. Emptied my trash bin. Ran brew list and brew uninstall --force postgresql, brew remove postgresql and restarted my machine but after all of this im still seeing postgres (PostgreSQL) 11.8 when running postgres --version in the terminal.
Is this normal? Am i missing anything else? Im clueless now!
Thanks in advance.

How to uninstall collectd completely from ubuntu 16.04 server

I had collectd-5.5 installed on my ubuntu-16.04 server and I tried to install the newer version as described in collectd download page..
it seems that it didn't work, so now I'm trying to uninstall collectd from my server completely, to install a fresh version again.
To uninstall, I've run below commands:
sudo apt-get remove collectd
sudo apt-get remove --auto-remove collectd
sudo apt-get purge collectd
sudo apt-get purge --auto-remove collectd
now when I delete the /var/lib/collectd folder, it gets created immediately with the rrd folder in it.
collectd command and service do not exist anymore, but it seems that it's not removed from my server completely, or maybe I have another version of collectd running?
how can I check?
did I miss something in the uninstalling process?
Thanks.
as #Lutz mentioned in question comments, the collectd process was running after the uninstall, so I had to kill it manually, restarting the server would do the work though, but in my case, I was working on a production server, so I decided to kill it this way:
sudo killall collectd

Reinstalling phpmyadmin as I did not select apache2 in server selection

I was installing phpmyadmin on my ubuntu 16.04. when I was asked to select a server selection, I had by mistake, not selected apache2, and the installer had already completed...
I have already tried uninstalling by apt-get remove phpmyadmin, and tried reinstalling but this time, I wasn't asked about the server selection...what do I do?
Ps:if its relevant, I have webmin installed.
sudo apt-get --purge remove phpmyadmin

Postgresql won't connect to server following re-install in Ubuntu

I am running Ubunutu 14.04. I recently purged postgresql from my system and have re-installed it. The installation seemed successful and the postgres user was created successfully, however, when I attempt to launch psql I get the following error:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Any advice?
Thank you
I removed postgresql 9.4 again and replaced it with the previous version. Everything appears to be working now, though this is a somewhat unsatisfactory solution.
Did you reinstall the postgresql-9.6.x ?
Me too...
You need to uninstall postgresql completely
sudo apt --purge autoremove postgresql*
sudo apt install postgresql-9.6
ubuntu16.04

How to find pgAdminIII GUI in Ubuntu

I got a machine where the OS is Ubuntu and already PostgreSQL has been installed. And also the credentials being provided
User Name: somename
Password: somepassword
Basically I work in Windows 8 environment and after installation of PostgreSQL, we can find it from Start charms as
How to do the same from Ubuntu?
In Ubuntu, you can install PgAdmin3 using following console command:
sudo apt-get install pgadmin3
After you've done that, you can start it from the console as pgadmin3 or you can find it in Unity by pressing Windows key and typing pgadmin.
If your Ubuntu is older than 12.04, standard provided PgAdmin may be too old to be usable and you may have to install pgadmin3 from alternative Ubuntu repository. For example, when I need to install it on Ubuntu 10.10, I do this:
sudo apt-add-repository ppa:rhonda/pgadmin3
sudo apt-get update
sudo apt-get install pgadmin3