<div dir="ltr">What about your OWS configuration?. In the part of the settings file where geoserver is configured, you need to tell it to use the postgis datastore. One thing you can do is check out the production local settings file that we ship with the debian packages and check for differences:<div><br></div><div><a href="https://github.com/GeoNode/geonode/blob/master/package/support/geonode.local_settings">https://github.com/GeoNode/geonode/blob/master/package/support/geonode.local_settings</a><br></div><div><br></div><div>-a</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 4:44 AM, Eugenio Trumpy <span dir="ltr"><<a href="mailto:frippe12573@hotmail.com" target="_blank">frippe12573@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi all,<br><br>I'm working to set up a new installation of geonode, and I was trying the functionalities.<br>I configured postgresql as DB. Following the instruction of the custom installation<br>I set up the two DBs, geonode and geonode_data.<br>I understood geonode_data is to store the uploaded spatial dataset as shp file,<br>so I tested an shp upload. The shp file was correctly uploaded, but it was saved in the <br>geoserver data dir and not in the db. Is that correct? am I missing something on the<br>local_setting.py or somewhare?<br><br>Of course my config file includes the parameters for the DBs and the DBs were created:<br>DATABASES = {<br> 'default': {<br> 'ENGINE': 'django.db.backends.postgresql_psycopg2',<br> #'ENGINE': '',<br> 'NAME': 'geonode',<br> 'USER': 'geonode',<br> 'PASSWORD': 'my_pass',<br> 'HOST' : 'localhost',<br> 'PORT' : '5433',<br> <br> },<br> # vector datastore for uploads<br> 'datastore' : {<br> 'ENGINE': 'django.contrib.gis.db.backends.postgis',<br> #'ENGINE': '', # Empty ENGINE name disables <br> 'NAME': 'geonode_data',<br> 'USER' : 'geonode',<br> 'PASSWORD' : 'my_pass',<br> 'HOST' : 'localhost',<br> 'PORT' : '5433',<br> }<br>}<br><br><br>Thank you for any hints<br><br>best<span class="HOEnZb"><font color="#888888"><br><br>Eugenio<br><br><br> </font></span></div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>