Help to get pgadmin4 running agains on Ubuntu v4.15

From: Jorge Gustavo Rocha <jgr(at)geomaster(dot)pt>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Help to get pgadmin4 running agains on Ubuntu v4.15
Date: 2019-12-03 22:29:04
Message-ID: 622a6421-e4e2-e516-7b88-e81f7e1f93df@geomaster.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I updated recently pgamin4 to version 4.15, using the
http://apt.postgresql.org/pub/repos/apt repository.

My pgadmin4 no longer runs. I get the following error on
/var/log&apache2/error.log:

[Tue Dec 03 22:25:57.744118 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244] mod_wsgi (pid=21855): Exception occurred processing
WSGI script '/usr/share/pgadmin4/web/pgAdmin4.wsgi'.
[Tue Dec 03 22:25:57.744337 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244] Traceback (most recent call last):
[Tue Dec 03 22:25:57.744387 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244]   File
"/usr/lib/python3/dist-packages/flask/app.py", line 1997, in __call__
[Tue Dec 03 22:25:57.744392 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244]     return self.wsgi_app(environ, start_response)
[Tue Dec 03 22:25:57.744399 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244]   File "/usr/share/pgadmin4/web/pgAdmin4.py", line
95, in __call__
[Tue Dec 03 22:25:57.744402 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244]     return self.app(environ, start_response)
[Tue Dec 03 22:25:57.744421 2019] [wsgi:error] [pid 21855] [remote
192.168.1.24:40244] AttributeError: 'ReverseProxied' object has no
attribute 'app'

It seems something related with flask, but I have no clue. Is this a
local issue or did someelse already experienced the same problem?

Thanks in advance,

Jorge Gustavo

--
Email Signature
Logo <https://www.geomaster.pt>
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*jgr(at)geomaster(dot)pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga

Browse pgsql-admin by date

  From Date Subject
Next Message Ekaterina Amez 2019-12-04 13:23:31 Re: Should I care about this error "failed to link /usr/bin/psql [...] exists and it is not a symlink"?
Previous Message Andres Freund 2019-12-03 21:13:21 Re: performance degredation after upgrade from 9.6 to 12