public inbox for [email protected]  
help / color / mirror / Atom feed
From: cen <[email protected]>
To: Devrim Gündüz <[email protected]>
To: [email protected]
Subject: Re: Fedora 25 pgadmin4 packaging is broken
Date: Fri, 30 Dec 2016 10:52:25 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-pkg-yum>

Hi,

this is my first pgadmin4 installation, I only have pgadmin3 from the 
fedora repo. Procedure:

dnf config-manager --add-repo 
https://download.postgresql.org/pub/repos/yum/9.6/fedora/fedora-25-x86_64/pgdg-fedora96-9.6-3.noarch...
dnf install pgadmin4-v1

I noticed that pgadmin4.service is missing (not installed). So I added 
my own:

[Unit]
Description=Pgadmin4 Server

[Service]
ExecStart=/usr/bin/python3 
/usr/lib/python3.5/site-packages/pgadmin4-web/pgAdmin4.py
Restart=on-failure

[Install]
WantedBy=multi-user.target


After starting the service I can access pgadmin4 via browser and 
everything seems to work.

But for some reason the desktop launcher cannot find pgAdmin4.py. Is 
there some env var I can set to put it on the right course?


Anyway, I'll spin up a fresh Fedora 25 VM and give it another try. Maybe 
it's something in my system config.


Devrim Gündüz je 30. 12. 2016 ob 10:23 napisal:
> Hi,
>
> On Fri, 2016-12-23 at 13:50 +0100, cen wrote:
>> I wanted to try out pgadmin4 on Fedora 25 but I can't get it to run.
>> First minor issue was that package pgadmin4 does not actually exists in
>> the repo, pgadmin4-v1 does,
>> which is rather unusual for rpm since the versions are contained in the
>> metadata. Anyway..
> I changed the name per discussion with Dave, so that when v2 comes out, people
> can install them side by side, if needed. I'd say that half of our packages
> contain similar version numbers, btw.
>
>> after installing the package pgadmin4 fails to start. "Failed to locate
>> pgAdmin4.py, terminating server thread".
>>
>> I saw a discussion on pgadmin-hackers about this error but I didn't find
>> a resolution there.
> Well, I cannot duplicate any of those issues in fresh installation. If you
> installed pgadmin4 before by using the previous RPMs, then you need to remove
> all existing data left from the older RPMs. Is yours a fresh installation as
> well?
>
> Regards,



-- 
Sent via pgsql-pkg-yum mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-yum



view thread (7+ 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]
  Subject: Re: Fedora 25 pgadmin4 packaging is broken
  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