[GeoNode-users] Problem with GeoServer

Jonathan Doig j.doig at unsw.edu.au
Thu Aug 17 23:52:58 PDT 2017


Hi Ana

That's odd. You should have manage.py in your geonode top-level installation directory.

Here's what I have in that directory (for Geonode 2.4):

jdoig at cftest:/mnt/data/geonode/geonode$ ls
AUTHORS     docs        fig.yml  geoserver    manage.py    package      README      scripts    setup.py
Dockerfile  downloaded  geonode  license.txt  MANIFEST.in  pavement.py  README.rst  setup.cfg

The current Geonode master also has it in the same place - it's a standard file for Django apps (which Geonode is): https://github.com/geonode/geonode/

I don't know what else to suggest.

Regards
Jonathan


From: Ana Boljevic [mailto:ana.boljevic at cedis.me]
Sent: Friday, 18 August 2017 4:43 PM
To: Jonathan Doig <j.doig at unsw.edu.au>; geonode-users at lists.osgeo.org
Subject: RE: Problem with GeoServer

Dear Jonathan,

We have deleted two layers you have mentioned (OPSTINE & OPSTINE0 and layer cedis:opgw_gm). We are waiting for results.  In meantime, we have some python issue.
As far as I understand, when some changes happends on the GeoServer, Geonode is not aware of those changes automatically. I must update Geonode with command:
python manage.py updatelayers. But, unfortunately I  can't do it. You can find output in attachment . We have installed geonode doing:
- install Ubuntu 16.04
- making quick installation of geonode (version 2.6.1) by doing:
1) sudo apt-get update; sudo apt-get upgrade
2) sudo add-apt-repository ppa:geonode/stable
3) sudo apt-get update; sudo apt-get install geonode
4) geonode createsuperuser
5) sudo geonode-updateip 10.0.0.112
If you can give as any hint, idea or help, for making management python command we would be thankful.
Regards,
Ana
________________________________
From: Jonathan Doig [j.doig at unsw.edu.au]
Sent: Thursday, August 17, 2017 2:05 AM
To: Ana Boljevic; geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Subject: RE: Problem with GeoServer
Hi Ana

I see a lot of ERRORs in the log relating to styles OPSTINE & OPSTINE0, and layer cedis:opgw_gm.

I would try deleting these if you can, from Geonode or failing that from the Geoserver console at <hostname>/geoserver.

That may have nothing to do with the problem though. Not sure what else to suggest but others here know a lot more about it.

You could also set up monitoring of your /geoserver URL e.g. at monitis.com. That would at least tell you when it dies, and help you pinpoint the cause via the logs.

Regards
Jonathan

From: Ana Boljevic [mailto:ana.boljevic at cedis.me]
Sent: Wednesday, 16 August 2017 7:41 PM
To: Jonathan Doig <j.doig at unsw.edu.au<mailto:j.doig at unsw.edu.au>>; geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Subject: RE: Problem with GeoServer

Dear Jonathan,

Thank You for quick answer!

We have already tried with 'sudo service tomcat7 restart', and when we do so, it takes time to start working or we have to do this several times.
We have checked logs in /usr/share/geoserver/data/logs and here is what we have https://www.dropbox.com/s/pvs2yl8coxrlnux/geoserver.log%20-%20Copy.1?dl=0 (on path  /var/lib/tomcat7/webapps/geoserver/data/logs we can't find anything). We don't know when it died but around 7:30 am this morning we know it was crashed. Around 9 am everything started working normally again without even a restart, just by itself, and we don't know when it will die again (we are trying to find out what is the cause - we are uploading kml files and attribute names have correct form). If you can check these logs and give as any hint, idea or help, we would be thankful.

Our version of Geonode is 2.6.1

Thanks in advance,


Ana Boljević

Direkcija za razvoj, pristup mreži i TIS
Služba za GIS i tehničku bazu podataka
Sektor za TIS
________________________________
From: Jonathan Doig [j.doig at unsw.edu.au]
Sent: Wednesday, August 16, 2017 9:26 AM
To: Ana Boljevic; geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Subject: RE: Problem with GeoServer
Hi Ana

This probably means Geoserver has died and you need to restart it with 'sudo service tomcat7 restart'.

As to the cause, you should check the geoserver logs for ERRORs that occured shortly before or at the time of death. On our system these logs are in /var/lib/tomcat7/webapps/geoserver/data/logs.

I've found (on Geonode 2.4) that uploading a shapefile with errors can kill Geoserver. E.g. a shapefile with attribute names that do not start with a letter or contain characters other than letters, digits and underscore. Sad but true.

Good luck!

Jonathan

From: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] On Behalf Of Ana Boljevic
Sent: Wednesday, 16 August 2017 4:53 PM
To: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Subject: [GeoNode-users] Problem with GeoServer

Dear Sir,

We have recently installed GeoNode on Ubuntu 16.04 Server (installation was standard deployment, not development mode). Everything is working fine except one problem: from time to time we can't see layers (only pink tiles - image1 in attachment), and when that happends we can't access to GeoServer admin page through web browser (error 404 - image2 in attachment).
We have no idea why is this happening. Any hint or help would be helpful.

Thanks in advance,

Ana Boljević

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170818/5b590e86/attachment-0001.html>


More information about the geonode-users mailing list