GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.43k stars 1.12k forks source link

Layer metadata corrupted by updatelayers #793

Closed paulck closed 11 years ago

paulck commented 11 years ago

Hi guys, I'm using Ubuntu 12.04 and geonode 1.2 stable via repository. Just uploaded few layers via UI, then 2 layers via geoserver admin and run a updatelayer. As a result i get details in search list (before updatelayers were all ok) broken: "UT: unable to fetch layer details". Only one layer detail survived, even the 2 new added with the same issue. I made some investigation, here is geonetwork log:

http://webdemo.dimi.uniud.it
paulck commented 11 years ago

I figured out this happens with user restricted layers, unlock a layer and then run updatelayers fix the issue. So what is the problem? GN cannot access to Geoserver ???

capooti commented 11 years ago

we need to investigate if this is still a problem in 2.0

simod commented 11 years ago

any updates on this? From my side I have tested the updatelayers on private layers and everything was fine. Not sure if it was depending from layers being published through geoserver first.

paulck commented 11 years ago

Hi Simone, still suffer of this bug in 1.2 i'm mantaining (i really can't figure out what's happening) ... i will give a try in 2.0. Sometimes rebooting the machine makes some data layers disappear ... i shuld run updatelayers to get them back, i'm wondering if there is a connection ...

simod commented 11 years ago

thanks @paulck for testing on the 2.0.

paulck commented 11 years ago

If someone build up a repository like ppa:development will be easy to test on a real enviroment. So i can reboot and perform other common tasks using tomcat.

simod commented 11 years ago

@paulck there is the ppa:geonode/testing with the latest beta package for ubuntu. It should be good to test in a real env.

simod commented 11 years ago

@paulck did you have the chance to test it against 2.0? Any other dev has experienced this? Unfortunately I'm unable to reproduce.

jj0hns0n commented 11 years ago

Should we close this one if we cant reproduce it on 2.0?

paulck commented 11 years ago

I think yes, i tried some rebooting but layers still there.