Re: Fedora 25 pgadmin4 packaging is broken

From: cen <imbacen(at)gmail(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>, pgsql-pkg-yum(at)postgresql(dot)org
Subject: Re: Fedora 25 pgadmin4 packaging is broken
Date: 2016-12-30 09:52:25
Message-ID: aa3eb9a2-6610-7a05-9e5b-83f39f8dac6e@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.rpm
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,

In response to

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message cen 2016-12-30 12:59:41 Re: Fedora 25 pgadmin4 packaging is broken
Previous Message Devrim Gündüz 2016-12-30 09:23:45 Re: Fedora 25 pgadmin4 packaging is broken