[GeoNode-devel] Geoserver connection issue

Francesco Bartoli xbartolone at gmail.com
Wed Apr 5 23:11:15 PDT 2017


The database "geonode" is for the configuration data of django application while "geonode_data" is for the spatial data which will be uploaded.
So in geoserver you have to configure the latter.

Hope this helps
Francesco

6 apr 2017, 03:14 +0200, Michael Peterman <mpetermangis at gmail.com>, ha scritto:
> The datastore was configured to use the geonode db on a Postgres backend, as per the instructions. The only thing I'm not sure about--is the database supposed to be "geonode" or "geonode_data"? Here's a screenshot of the settings:
>
>
> In any case I will try installing this again on a fresh VM.
>
> Thanks,
>
> Michael
>
>
> On Wed, Apr 5, 2017 at 6:40 AM, Francesco Bartoli <xbartolone at gmail.com (mailto:xbartolone at gmail.com)> wrote:
> > In this way you are using the dev environment which by default is relying on a sqlite database. I'm assuming you changed the default settings and have configured the geonode-data database. In this case what is the configuration of the datastore for that in geoserver?
> > Can you please check it using the UI?
> >
> > Thanks
> > Francesco
> >
> > 5 apr 2017, 02:31 +0200, Michael Peterman <mpetermangis at gmail.com (mailto:mpetermangis at gmail.com)>, ha scritto:
> > > Hi Francesco,
> > >
> > > Yes I ran that command. Output is:
> > > ---> pavement.setup
> > > ---> pavement.setup_geoserver
> > > rmtree geoserver/data
> > > GeoNode development environment successfully set up.If you have not set up an administrative account, please do so now. Use "paver start" to start up the server.
> > >
> > >
> > > Geoserver is version 2.7.4 on Java 1.7.0_121 (OpenJDK 64-Bit Server VM)
> > >
> > > Any other ideas for what I can try?
> > >
> > > Thanks again,
> > > Michael
> > >
> > >
> > > On Tue, Apr 4, 2017 at 1:46 AM, Francesco Bartoli <xbartolone at gmail.com (mailto:xbartolone at gmail.com)> wrote:
> > > > Dear Micheal,
> > > >
> > > > did you run the command “sudo paver setup” ? If not what geoserver did you install?
> > > >
> > > > Francesco
> > > >
> > > > Il giorno 04/apr/2017, alle ore 01:39, Michael Peterman <mpetermangis at gmail.com (mailto:mpetermangis at gmail.com)> ha scritto:
> > > > > Hi,
> > > > >
> > > > > I am installing a custom copy of Geonode 2.4, as per these instructions:
> > > > > http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/install_geonode_application.html
> > > > >
> > > > > I pulled from this git branch: https://github.com/GeoNode/geonode.git --branch 2.4.x
> > > > > and installed on a fresh copy of Ubuntu 14.04 64-bit.
> > > > >
> > > > > Everything appears to work fine, but after finishing the installation, the connection between Geoserver and Postgres seems to be broken. Any data that I try to upload to Geonode gives this error: "An exception occurred loading data to PostGIS- java.io.IOException: Error occurred creating table"
> > > > >
> > > > > The logs in Geoserver show a series of exceptions like this:
> > > > > 2017-04-01 23:55:40,930 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes
> > > > > org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed (GeoNodeSessionAuthToken)
> > > > >
> > > > > ...
> > > > > Caused by: java.net (http://java.net).SocketTimeoutException: Read timed out
> > > > >
> > > > > I am using the same credentials for the Postgres account (geonode / geonode) that are in the instructions. Geoserver, Postgres, and Geonode are all hosted on the same machine.
> > > > >
> > > > > Thanks in advance to everyone, I really appreciate all the effort that has gone into this project.
> > > > >
> > > > > Mike
> > > > >
> > > > > _______________________________________________
> > > > > geonode-devel mailing list
> > > > > geonode-devel at lists.osgeo.org (mailto:geonode-devel at lists.osgeo.org)
> > > > > https://lists.osgeo.org/mailman/listinfo/geonode-devel
> > > >
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170406/478054f7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 11420 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20170406/478054f7/attachment-0001.png>


More information about the geonode-devel mailing list