Re: pgAdmin4-web install issues WAS: PgAdmin4 is not usable when installed from RPMs on Fedora linux - Mailing list pgadmin-support

From Josh Berkus
Subject Re: pgAdmin4-web install issues WAS: PgAdmin4 is not usable when installed from RPMs on Fedora linux
Date
Msg-id 7d143771-3931-7509-4d78-dce493c20497@agliodbs.com
Whole thread Raw
In response to PgAdmin4 is not usable when installed from RPMs on Fedora linux  (Peter Juhasz <pjuhasz@uhusystems.com>)
Responses Re: pgAdmin4-web install issues WAS: PgAdmin4 is not usable when installed from RPMs on Fedora linux
List pgadmin-support
On 10/09/2016 04:36 PM, Josh Berkus wrote:
> I'll confirm here that the Web version doesn't work either from the
> Fedora packages.  In the case of the web version, this appears to be
> because of confusion between Python2 and Python3 dependencies.

Leaving out the SQLite bug (see other thread), here's the issues with
the Fedora24 packages:

1. if the user intends to use pgadmin4-web with httpd, then the user
needs to install httpd and python3-mod_wsgi packages (or mod_wsgi on
CentOS and RHEL).

2. the packages need to create the directory /usr/share/httpd/.pgadmin,
and add the SELinux label so that apache can write to it:

chcon -R -t httpd_sys_rw_content_t /usr/share/httpd/.pgadmin

The latter is going to be hard to do if you want the pgadmin4 app to
continue to be independant of httpd (for example, to allow install with
nginx).

-- 
--
Josh Berkus
Red Hat OSAS
(any opinions are my own)



pgadmin-support by date:

Previous
From: Josh Berkus
Date:
Subject: Re: pgAdmin4 Server does not create SQLite tables
Next
From: Devrim Gündüz
Date:
Subject: Re: PgAdmin4 is not usable when installed from RPMs on Fedora linux