我刚刚在 Fedora36 上安装了 pgadmin4-desktop,在最初工作后它突然停止了。我遵循的步骤记录在这里:https ://www.pgadmin.org/download/pgadmin-4-rpm/
现在我无法通过 Gnome 或命令行启动它。例如
$ pwd
/usr/pgadmin4/bin
$ ./pgadmin4
[0623/155920.067580:ERROR:zip_reader.cc(153)] Cannot open ZIP from file handle 3
[0623/155920.067718:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3 Opening in existing browser session.
$
从 Gnome Shell 启动时,journalctl 输出为:
Jun 24 09:09:31 rh-brbaker systemd[1908]: Started app-glib-pgadmin4-5600.scope - Application launched by gnome-shell.
Jun 24 09:09:31 rh-brbaker systemd[1908]: Started app-gnome-pgadmin4-5600.scope - Application launched by gnome-shell.
Jun 24 09:09:31 rh-brbaker pgadmin4.desktop[5600]: [0624/090931.654802:ERROR:zip_reader.cc(153)] Cannot open ZIP from file handle 3
Jun 24 09:09:31 rh-brbaker pgadmin4.desktop[5600]: [0624/090931.654863:ERROR:zip.cc(202)] Cannot open ZIP from file handle 3
Jun 24 09:09:31 rh-brbaker gnome-keyring-daemon[1935]: asked to register item /org/freedesktop/secrets/collection/login/1, but it's already registered
Jun 24 09:09:31 rh-brbaker pgadmin4.desktop[5600]: Opening in existing browser session.
因为我安装了桌面版本,所以我不确定最后一个引用打开浏览器会话的条目。(这可能是一个干扰。)
“yum list installed”中的安装详细信息是:
pgadmin4-desktop.x86_64 6.10-1.fc35 @pgAdmin4
pgadmin4-fedora-repo.noarch 2-1 @System
pgadmin4-server.x86_64 6.10-1.fc35 @pgAdmin4
在对此进行调查时,我发现其他人在 Ubuntu 上遇到了同样的问题,但没有答案:https ://askubuntu.com/questions/1414609/run-pgadmin-4-on-ubuntu-22-04 。所以这显然不是 Fedora 特有的问题。
有人对如何解决这个问题有任何建议吗?谢谢