Search code examples
pgadmin-4

"Instance <Server at 0x2298c...> is not persisted"


After a fresh install of postgreSQL15, it seems as if it installed correctly, because I can access the server through psql just fine.

psql running sucessfully

But, when I attempt to access it through pgAdmin4, it does not automatically detect the server.

Because of this, I attempted to manually add the server through the "Register - Server" dialog box, but then I was prompted with this error: "Instance <Server at 0x2998c4c0af0> is not persisted".

"Register - Server" Dialog Box Error

I have tried to fully uninstall and reinstall both the entirety of postgreSQL15 as well as just pgAdmin4, without any luck. I've tried to keep my settings to default to hopefully eliminate any issues, but it hasn't worked thus far.

I'm running this system on windows 10, not inside a docker container, just installed in the program files folder on my PC.

My main question is how to make my server "persist" so I can get some databases up and running.

  • Reinstalling pgAdmin4 - Expected a persistent server so I can connect through pgAdmin4
  • Reinstalling postgreSQL15 - Expected a persistent server so I can connect through pgAdmin4

Solution

  • I had the same issue. I tried removing the data in the C:\Users\%USER%\AppData\Local\pgadmin folder, and received the same error upon reinstalling.

    I deleted the pgadmin folder within the C:\Users\%USER%\AppData\Roaming folder, and deleted the pgadmin folder in C:\Users\%USER%\AppData\Local. This fixes the problem for most users, however in some cases a re-installation may be needed as well.