[GeoNode-users] geonode_data is still empty

Ariel Nunez ingenieroariel at gmail.com
Mon Nov 2 05:10:13 PST 2015


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:

https://github.com/GeoNode/geonode/blob/master/package/support/geonode.local_settings

-a

On Mon, Nov 2, 2015 at 4:44 AM, Eugenio Trumpy <frippe12573 at hotmail.com>
wrote:

> Hi all,
>
> I'm working to set up a new installation of geonode, and I was trying the
> functionalities.
> I configured postgresql as DB. Following the instruction of the custom
> installation
> I set up the two DBs, geonode and geonode_data.
> I understood geonode_data is to store the uploaded spatial dataset as shp
> file,
> so I tested an shp upload. The shp file was correctly uploaded, but it was
> saved in the
> geoserver data dir and not in the db. Is that correct? am I missing
> something on the
> local_setting.py or somewhare?
>
> Of course my config file includes the parameters for the DBs and the DBs
> were created:
> DATABASES = {
>     'default': {
>          'ENGINE': 'django.db.backends.postgresql_psycopg2',
>          #'ENGINE': '',
>          'NAME': 'geonode',
>          'USER': 'geonode',
>          'PASSWORD': 'my_pass',
>          'HOST' : 'localhost',
>          'PORT' : '5433',
>
>      },
>     # vector datastore for uploads
>     'datastore' : {
>         'ENGINE': 'django.contrib.gis.db.backends.postgis',
>         #'ENGINE': '', # Empty ENGINE name disables
>         'NAME': 'geonode_data',
>         'USER' : 'geonode',
>         'PASSWORD' : 'my_pass',
>         'HOST' : 'localhost',
>         'PORT' : '5433',
>     }
> }
>
>
> Thank you for any hints
>
> best
>
> Eugenio
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151102/eb126409/attachment.html>


More information about the geonode-users mailing list