Description of problem:
After installing pgadmin4-httpd, I get a 500 page when accessing "localhost/pgadmin". In the apache error logs I see:
PermissionError: [Errno 13] Permission denied: '/var/log/pgadmin'
The package "pgadmin4-web" from pgadmin.org (https://www.pgadmin.org/download/pgadmin-4-rpm/) has a script which (afaik) corrects the permission for such directories: /usr/pgadmin4/bin/setup-web.sh
It seems like this script is missing? Thank you
Steps to Reproduce:
1. clean fedora 37 + apache
2. install pgadmin4-httpd
3. restart apache
4. navigate to localhost/pgadmin
5. look at /var/log/httpd/error_log
normal functioning site
Also I just noticed that it creates the directory "/var/var/log/pgadmin/" instead of just "/var/log/pgadmin/" - this might be accidental?
FEDORA-2022-6ee0cc3141 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6ee0cc3141
Indeed, good catch! Fixed.
FEDORA-2022-6ee0cc3141 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-6ee0cc3141`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6ee0cc3141
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-6ee0cc3141 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.