Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7016  / 3 Years ago, wed, november 3, 2021, 7:30:37

Installed pgadmin4 using this tutorial https://www.pgadmin.org/download/pgadmin-4-apt/ with the difference I just downloaded their https://www.pgadmin.org/static/packages_pgadmin_org.pub and put it as:


file /etc/apt/trusted.gpg.d/packages_pgadmin_org.asc
/etc/apt/trusted.gpg.d/packages_pgadmin_org.asc: PGP public key block Public-Key (old)

apt source:


/etc/apt/sources.list.d>cat pgadmin4.list 
deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/jammy pgadmin4 main

Installed only desktop:


apt install pgadmin4-desktop

So the problem is it doesn't start:


/usr/pgadmin4/bin>./pgadmin4 
[0618/131932.731277:ERROR:zip_reader.cc(153)] Cannot open ZIP from file handle 3
[0618/131932.731466:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3
Opening in existing browser session.

More From » apt

 Answers
7

There is a known issue with pgadmin4 6.10 on Ubuntu 20.04 (and Debian 11 Bullseye in my case): https://redmine.postgresql.org/issues/7442?issue_count=380&issue_position=38&next_issue_id=7438&prev_issue_id=7444 (login required).


Downgrade to 6.9 works for me and the initial reporter:


sudo apt -y remove pgadmin4
sudo apt -y autoremove pgadmin4*
sudo apt -y install pgadmin4-desktop*=6.9 pgadmin4-server*=6.9

[#412] Thursday, November 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ravturtl

Total Points: 335
Total Questions: 132
Total Answers: 110

Location: Tanzania
Member since Wed, Feb 24, 2021
3 Years ago
ravturtl questions
Wed, Feb 22, 23, 19:16, 1 Year ago
Fri, Dec 3, 21, 22:16, 2 Years ago
Wed, May 19, 21, 17:31, 3 Years ago
Tue, Jan 17, 23, 23:56, 1 Year ago
;