[GeoNode-users] 502 Bad Gateway
Ramesh De Silva
desilvarami at gmail.com
Tue Sep 27 21:39:09 PDT 2022
Hi,
I've installed GeoNode 4.X on Ubuntu 22.04 Server OS. The system is
installed in a virtual private server. I used the GeoNode Core Advanced
Installation Guide. All the commands were successfully executed. All
services such as tomcat9, ngnix, uwsgi, postgres are active. I have already
configured the public IP in geonode.ini etc. But when I try to access the
GeoNode, I get *502 Bad Gateway* error. I can access the GeoServer from the
configured IP.
When I check the error logs, I see the following error (*ngnix errror.log*).
"*2022/09/28 04:20:44 [error] 42102#42102: *99 connect() failed (111:
Connection refused) while connecting to upstream, client: 188.185.122.120,
server: 188.185.9.236, request: "GET / HTTP/1.1", upstream:
"uwsgi://127.0.0.1:8000 <http://127.0.0.1:8000>", host: "188.185.9.236*"
*ngnix* *access.log*
"*188.185.122.120 - - [28/Sep/2022:04:23:16 +0000] "GET / HTTP/1.1" 502 166
"-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101
Firefox/105.0"*
*188.185.122.120 - - [28/Sep/2022:04:23:30 +0000] "GET /geoserver/web/
HTTP/1.1" 200 2589 "http://188.185.9.236/geoserver/index.html
<http://188.185.9.236/geoserver/index.html>" "Mozilla/5.0 (Windows NT 10.0;
Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0*"
*/opt/data/logs/geonode.log*
" *File
"/home/ubuntu/.virtualenvs/geonode/lib/python3.8/site-packages/django/db/backends/utils.py",
line 84, in _execute*
* return self.cursor.execute(sql,
params)django.db.utils.ProgrammingError: relation "monitoring_host" does
not existLINE 1: ...oring_host"."ip", "monitoring_host"."active" FROM
"monitorin... *
*unable to load app 0 (mountpoint='') (callable not found or import
error)*** no app loaded. GAME OVER ****"
This IP is not open to outside yet.
Kindly help resolve this issue.
Thank you.
Kind Regards
Ramesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20220928/cc23e5ec/attachment.htm>
More information about the geonode-users
mailing list