PgAdmin in the latest version (4.28) doesn't start anymore, hangs in the loading screen and shows JavaScript errors in the browser console. What can I do?
Asked
Active
Viewed 738 times
1 Answers
7
The solution is simple although I don't really know why it occurs from that version on:
- Open the registry editor (Search for regedit.exe)
- Run it as administrator
- Navigate to
Computer\HKEY_CLASSES_ROOT\.js
- Adjust
Content Type
fromtext/plain
totext/javascript
- Restart pgAdmin and it should work again.
- Maybe, you will have to clean your browser cache or restart your computer as well (Thanks to the Kassym and Bruce).
As already I said, I have no idea why or how this happens, maybe someone from the team can add this as a comment here and I will update my answer.

FranzHuber23
- 3,311
- 5
- 24
- 63
-
1I had to clear my browser cache/delete history, but eventually got it working. – Kassym Dorsel Nov 18 '20 at 22:58
-
3I had to restart my computer after this, but it did work after that. Thanks. – Bruce Pierson Nov 30 '20 at 20:46
-
1I will update the answer, thank you for yout experiences. – FranzHuber23 Dec 04 '20 at 07:35
-
1Didn't need to restart the computer, but I did need to restart the pgAdmin server ("Shut down server" from the tray icon). – Mike Fisher Jan 13 '21 at 05:48