public inbox for [email protected]
help / color / mirror / Atom feedFrom: Josh Berkus <[email protected]>
To: Dave Page <[email protected]>
Cc: Devrim Gündüz <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: Install of pgadmin4 from package fails ...
Date: Fri, 5 May 2017 19:43:57 -0700
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<CA+OCxow7LrDGFbW-zpSy6uD=ddZTdg-yJcsR=B96TszkaxTtPw@mail.gmail.com>
<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
On 04/25/2017 08:24 AM, Josh Berkus wrote:
> On 04/24/2017 01:23 AM, Dave Page wrote:
>> There isn't an easy fix for this; on a default Fedora or CentOS system,
>> the only directory the apache user has read/write to is /tmp, as far as
>> I know.
>>
>> Ideas?
>>
>>
>> This is covered in the docs:
>> https://www.pgadmin.org/docs4/1.x/server_deployment.html
>>
>> Create a directory, setup the config to use it as required, then chown
>> the database after running setup (which is probably easier than trying
>> to run it as the apache user directly).
>>
>
> I know how to fix my personal install (and container image). But I want
> to fix the RPM package so that it's fixed for most users. Right now,
> install from RPM is kind of broken.
>
> Here's the changes that need to happen on the RPM:
>
> 1. Remove the QT dependencies for pgadmin4-v1-web
>
> 2. Have the RPM create /usr/share/httpd/.pgadmin, owned by apache user.
> (is this the best location? If not, what is?)
>
> 3. Fix the systemd unit file so that the pgadmin4 unit is owned by apache.
>
> 4. (optional) set up files according to FDL standards, putting configs
> for pgadmin4 in /etc/pgadmin and the db in /var/run/pgadmin (or similar).
>
> Devrim, where is the source for this rpm build?
>
Devrim?
--
Josh Berkus
Containers & Databases Oh My!
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
view thread (18+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Install of pgadmin4 from package fails ...
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox