The current package is missing a few things to make it work out of the box. Without them, it crashes, and it fails to start. I had to do the following to get it to run. mkdir /var/lib/pgadmin /var/log/pgadmin chown apache /var/lib/pgadmin /var/log/pgadmin semanage fcontext -a -t httpd_sys_rw_content_t "/var/lib/pgadmin(/.*)?" semanage fcontext -a -t httpd_log_t "/var/log/pgadmin(/.*)?" Create config file /etc/httpd/conf.d/pgadmin4.conf ############################################# <IfModule wsgi_module> WSGIDaemonProcess pgadmin processes=1 threads=8 python-home=/usr WSGIScriptAlias /pgadmin /usr/lib/pgadmin4/pgAdmin4.wsgi <Directory /usr/lib/pgadmin4> WSGIProcessGroup pgadmin WSGIApplicationGroup %{GLOBAL} Require local </Directory> </IfModule> ############################################# Of course, this won't setup the initial admin password, but everything else will work out of the box if these things were a part of the package.
Here [1] is a scratch build with a pgadmin4-httpd subpackage which contains the pgadmin4.conf and the directories. I haven't found anything in the packaging guidelines how to handle the selinux context though. Also, I think a subpackage is better as potentially other webservers can be used (nginx/uwsgi, ...). [1] https://koji.fedoraproject.org/koji/taskinfo?taskID=87686984
FEDORA-2022-e92668e4ba has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e92668e4ba
FEDORA-2022-e92668e4ba has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-e92668e4ba` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-e92668e4ba See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-e92668e4ba has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.