Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icGfb-0000Rf-CP for pgsql-admin@arkaria.postgresql.org; Tue, 03 Dec 2019 22:29:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icGfa-0000w1-6R for pgsql-admin@arkaria.postgresql.org; Tue, 03 Dec 2019 22:29:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icGfZ-0000vu-Q3 for pgsql-admin@lists.postgresql.org; Tue, 03 Dec 2019 22:29:21 +0000 Received: from geo.di.uminho.pt ([193.136.19.136]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1icGfV-0001YB-D1 for pgsql-admin@lists.postgresql.org; Tue, 03 Dec 2019 22:29:19 +0000 Received: from localhost (localhost [127.0.0.1]) by geo.di.uminho.pt (Postfix) with ESMTP id CD20B701303 for ; Tue, 3 Dec 2019 22:29:09 +0000 (WET) X-Virus-Scanned: Debian amavisd-new at geo.di.uminho.pt Received: from geo.di.uminho.pt ([127.0.0.1]) by localhost (geo.di.uminho.pt [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qBkFgDKXj7Pt for ; Tue, 3 Dec 2019 22:29:05 +0000 (WET) Received: from [192.168.1.96] (170.164.61.94.rev.vodafone.pt [94.61.164.170]) (Authenticated sender: jgr@geomaster.pt) by geo.di.uminho.pt (Postfix) with ESMTPSA id 145487007D7 for ; Tue, 3 Dec 2019 22:29:04 +0000 (WET) To: pgsql-admin@lists.postgresql.org From: Jorge Gustavo Rocha Subject: Help to get pgadmin4 running agains on Ubuntu v4.15 Organization: Geomaster, Lda Message-ID: <622a6421-e4e2-e516-7b88-e81f7e1f93df@geomaster.pt> Date: Tue, 3 Dec 2019 22:29:04 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------8EC28AF89D582C36E4B273A3" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------8EC28AF89D582C36E4B273A3 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=3D21855): 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]=C2=A0=C2=A0 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]=C2=A0=C2=A0=C2=A0=C2=A0 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]=C2=A0=C2=A0 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]=C2=A0=C2=A0=C2=A0=C2=A0 return self.app(environ, star= t_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 --=20 Email Signature Logo =09 *Geomaster* *Jorge Gustavo Rocha* | Software Engineer *e:*jgr@geomaster.pt | *m:*+351 910 333 888 *g:*41.54094,-8.40490 | *v: *510 906 109 *a: * Rua Ant=C3=B3nio C=C3=A2ndido Pinto, 67, 4715-400 Braga --------------8EC28AF89D582C36E4B273A3 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Hi,

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

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=3D21855): 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]=C2=A0=C2=A0 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]=C2=A0=C2=A0=C2=A0=C2=A0 return self.wsgi_app(en= viron, start_response)
[Tue Dec 03 22:25:57.744399 2019] [wsgi:error] [pid 21855] [remote 192.168.1.24:40244]=C2=A0=C2=A0 File "/usr/share/pgadmin4/web/pgAdm= in4.py", line 95, in __call__
[Tue Dec 03 22:25:57.744402 2019] [wsgi:error] [pid 21855] [remote 192.168.1.24:40244]=C2=A0=C2=A0=C2=A0=C2=A0 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
3D"Logo"
Geomaster
Jorge Gustavo Rocha e: jgr@geomaster.pt= | m: +351 910 333 888 g: 41.54094,-8.40490<= /span> | v: <= /span> 510 906 109
a: Rua Ant=C3=B3nio C=C3=A2ndido Pinto, 67, 4715-400 B= raga
--------------8EC28AF89D582C36E4B273A3--