From: | Atilio Medina <atilio(at)utah(dot)gov> |
---|---|
To: | pgadmin-support(at)postgresql(dot)org |
Subject: | Re: PgAdmin4 is not usable when installed from RPMs on Fedora linux |
Date: | 2016-10-09 23:47:38 |
Message-ID: | CA+y2Ne=sHmrZYkOLHigjUfsYsa2pXYBv+MmyRb7VNoM=5ZzqPA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-support |
If I wanted to install the web version from the source code download, what
would the steps to get it working on RHEL 7 systems? Do I just copy the
files to the webserver and add the configuration to Apache? I was looking
at these instructions for references but didn't know there there more steps
that were required.
https://www.pgadmin.org/docs4/1.x/server_deployment.html
Getting some errors from following that setup
[Sun Oct 09 13:52:41.455110 2016] [wsgi:error] [pid 1718] Truncated or
oversized response headers received from daemon process 'pgadmin'
Any help appreciated.
On Sun, Oct 9, 2016 at 5:36 PM, Josh Berkus <josh(at)agliodbs(dot)com> 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.
>
> CC'ing Devrim.
>
>
> On 10/03/2016 09:35 AM, Peter Juhasz wrote:
> > Dear PgAdmin4 maintainers,
> >
> > I wanted to install PgAdmin4 on my Fedora 24 system. I want to use it
> > in standalone mode, as a desktop application, essentially as a
> > replacement for PgAdmin3.
> >
> > I've already installed the PGDG 9.6 repository RPM because I've
> > upgraded to Postgresql 9.6, and I've thought that the pgadmin4 RPMs
> > from that repo would work. Unfortunately the documentation on the
> > official site (https://www.pgadmin.org/download/linux4.php) merely
> > pointed me to this repository but didn't tell which packages I need.
> > I installed all that seemed relevant
> > (pgadmin4.x86_64, pgadmin4-web.noarch, pgadmin4-docs.noarch)
> >
> > However, these packages seem half-finished at best, as I've encountered
> > several problems.
> >
> > - No "pgadmin4" or similar binary was placed in any directory in $PATH.
> >
> > - Looking at the contents of the packages, I've found a binary
> > at /usr/pgadmin4-1.0/runtime/pgAdmin4, however, trying to run this
> > manually results in a Fatal Error dialog box that says "Failed to
> > locate pgAdmin4.py, terminating server thread", then (sometimes) a
> > segfault.
> >
> > - From the output of strace it turned out that this binary looks for
> > this pgAdmin4.py at / and /usr/pgadmin4-1.0/runtime, but not at the
> > correct /usr/lib/python3.5/site-packages/pgadmin4-web, even though
> > there is an ini file next to the binary, containing this location. (The
> > ini file is never accessed, though).
> >
> > - The .desktop file supplied by the package is corrupt. It contains
> > Exec==/usr/bin/python3 /usr/lib/python3.5/site-packages/pgadmin4-
> > web/pgAdmin4.py
> > instead of Exec=...
> > After fixing this error by hand, the icon appears in the system's
> > Application menu, but it doesn't appear to start anything. In any case,
> > shouldn't it execute the runtime binary instead of the web server?
> >
> > - So I've tried to run the command in the above Exec line manually.
> > It printed an error message about config_local.py missing and exited.
> > So I've tried creating a config_local.py by copying config_distro.py.
> > (https://www.pgadmin.org/docs4/1.x/desktop_deployment.html mentions
> > this file, but with a notice that the steps described there shouldn't
> > be necessary for normal users.)
> > After that it appeared to run, instructing me to point my browser at
> > localhost:5050, at which location I was greeted by the shiny new
> > interface.
> >
> > So at this point I have a desktop application that doesn't work and a
> > half-baked way to start the interface in the browser, which I don't
> > want to do. And none of the workarounds described above should be
> > necessary anyway: I would've expected that after installing the RPM I'd
> > have an application that works out of the box.
> >
> > best regards,
> > Peter Juhasz
> >
> >
> >
>
>
> --
> --
> Josh Berkus
> Red Hat OSAS
> (any opinions are my own)
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2016-10-10 00:04:59 | pgAdmin4 Server does not create SQLite tables |
Previous Message | Josh Berkus | 2016-10-09 23:36:21 | Re: PgAdmin4 is not usable when installed from RPMs on Fedora linux |