public inbox for [email protected]  
help / color / mirror / Atom feed
Fedora 25 pgadmin4 packaging is broken
7+ messages / 2 participants
[nested] [flat]

* Fedora 25 pgadmin4 packaging is broken
@ 2016-12-23 12:50  cen <[email protected]>
  0 siblings, 1 reply; 7+ messages in thread

From: cen @ 2016-12-23 12:50 UTC (permalink / raw)
  To: pgsql-pkg-yum

Hi

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..

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.

Any ideas?


Best regards, Cen



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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fedora 25 pgadmin4 packaging is broken
@ 2016-12-30 09:23  Devrim Gündüz <[email protected]>
  parent: cen <[email protected]>
  0 siblings, 2 replies; 7+ messages in thread

From: Devrim Gündüz @ 2016-12-30 09:23 UTC (permalink / raw)
  To: cen <[email protected]>; pgsql-pkg-yum


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,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fedora 25 pgadmin4 packaging is broken
@ 2016-12-30 09:52  cen <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  1 sibling, 0 replies; 7+ messages in thread

From: cen @ 2016-12-30 09:52 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; 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...
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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fedora 25 pgadmin4 packaging is broken
@ 2016-12-30 12:59  cen <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  1 sibling, 1 reply; 7+ messages in thread

From: cen @ 2016-12-30 12:59 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; pgsql-pkg-yum

I spin up a fresh Fedora 25 Workstation VM (Gnome Wayland)

# wget 
https://download.postgresql.org/pub/repos/yum/9.6/fedora/fedora-25-x86_64/pgdg-fedora96-9.6-3.noarch...
# dnf install pgdg-fedora96-9.6-3.noarch.rpm
# dnf repolist
repo id                    repo 
name                                      status
*fedora                    Fedora 25 - 
x86_64                             51669
pgdg96                     PostgreSQL 9.6 25 - 
x86_64                       259
*updates                   Fedora 25 - x86_64 - 
Updates                   13246
# dnf install pgadmin4-v1
# pgadmin4
Fatal Error
An error occured initialising the application server.
Failed to locate pgAdmin4.py, terminating server thread.


Alternatively,
# systemctl start pgadmin4-v1

and opening localhost:5050 works now (I was trying to start up pgadmin4 
service previously).


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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fedora 25 pgadmin4 packaging is broken
@ 2016-12-31 12:27  Devrim Gündüz <[email protected]>
  parent: cen <[email protected]>
  0 siblings, 1 reply; 7+ messages in thread

From: Devrim Gündüz @ 2016-12-31 12:27 UTC (permalink / raw)
  To: cen <[email protected]>; pgsql-pkg-yum


Hi,

On Fri, 2016-12-30 at 13:59 +0100, cen wrote:
> # dnf install pgadmin4-v1

What if you also install pgadmin4-v1-web and pgadmin4-v1-docs along with the
main RPM?

Regards,
-- 
Devrim GÜNDÜZ
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fedora 25 pgadmin4 packaging is broken
@ 2016-12-31 13:45  cen <[email protected]>
  parent: Devrim Gündüz <[email protected]>
  0 siblings, 1 reply; 7+ messages in thread

From: cen @ 2016-12-31 13:45 UTC (permalink / raw)
  To: Devrim Gündüz <[email protected]>; pgsql-pkg-yum

Hi,

Dnf says these two packages are already installed.


Devrim Gündüz je 31. 12. 2016 ob 13:27 napisal:
> Hi,
>
> On Fri, 2016-12-30 at 13:59 +0100, cen wrote:
>> # dnf install pgadmin4-v1
> What if you also install pgadmin4-v1-web and pgadmin4-v1-docs along with the
> main RPM?
>
> Regards,



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



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Fedora 25 pgadmin4 packaging is broken
@ 2017-01-12 20:30  Devrim Gündüz <[email protected]>
  parent: cen <[email protected]>
  0 siblings, 0 replies; 7+ messages in thread

From: Devrim Gündüz @ 2017-01-12 20:30 UTC (permalink / raw)
  To: cen <[email protected]>; pgsql-pkg-yum


Hi,

On Sat, 2016-12-31 at 14:45 +0100, cen wrote:
> Dnf says these two packages are already installed.

Ok, I confirmed that this is also broken on a very new box of me. I need to
figure out what is different between my laptop and the new F-25 installation.

Regards,
-- 
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachments:

  [application/pgp-signature] signature.asc (819B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2017-01-12 20:30 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-12-23 12:50 Fedora 25 pgadmin4 packaging is broken cen <[email protected]>
2016-12-30 09:23 ` Devrim Gündüz <[email protected]>
2016-12-30 09:52   ` cen <[email protected]>
2016-12-30 12:59   ` cen <[email protected]>
2016-12-31 12:27     ` Devrim Gündüz <[email protected]>
2016-12-31 13:45       ` cen <[email protected]>
2017-01-12 20:30         ` Devrim Gündüz <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox