<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hello,<br><br>I' ve been trying for a few days to connect GeoNode with GeoServer properly (in a server environment, not virtual machine), that implies to be able to import more than 3 layer to GeoNode, to be able to update layers from GeoServer to GeoNode, to change styles for layers in GeoNode, to create maps. I have followed the instructions from this links:<br> <br><div><a href="http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/install_geoserver_application.html" rel="nofollow" target="_blank">http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/install_geoserver_application.html</a></div><br><div>For the PUBLIC_LOCATION variable I put the public IP of the machine<br></div> <br> <div><a href="http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/install_geoserver_application.html">http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/install_geoserver_application.html</a></div><div><br></div><div><br></div>I have used the versions of GeoNode 2.6.3 and 2.7.4.<br><br>I am able to import layers in GeoServer when I run paver setup_data and when I run python manage.py importlayers <data_dir><br>I was not able to upload layers into GeoNode from command line:<br><br>I get this error when running this command python manage.py importlayers :<br>"<br>Using name as requested<br>Checking for permissions.<br>There are no permissions for this object, setting default perms.<br>>>> Step 2. Make sure we are not trying to overwrite a existing resource named [san_andres_y_providencia_location] with the wrong type<br>GET http://localhost/geoserver/rest/workspaces/default.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/san_andres_y_providencia_location.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores/san_andres_y_providencia_location.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/wmsstores/san_andres_y_providencia_location.xml<br>>>> Step 3. Identifying if [san_andres_y_providencia_location] is vector or raster and gathering extra files<br>Uploading vector layer: [/home/geonode/geonode/geonode/uploaded/layers/san_andres_y_providencia_location.shp]<br>>>> Step 4. Starting upload of [san_andres_y_providencia_location] to GeoServer...<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data.xml<br>PUT http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes.xml<br>Finished upload of [san_andres_y_providencia_location] to GeoServer without errors.<br>>>> Step 5. Generating the metadata for [san_andres_y_providencia_location] after successful import to GeoSever<br>>>> Step 6. Making sure [san_andres_y_providencia_location] has a valid projection<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/san_andres_y_providencia_location.xml<br>>>> Step 7. Creating style for [san_andres_y_providencia_location]<br>GET http://localhost/geoserver/rest/layers/san_andres_y_providencia_location.xml<br>GET http://PUBLIC_IP/geoserver/rest/styles/point.xml<br>[failed] Layer for '/usr/local/lib/python2.7/dist-packages/gisdata/data/good/vector/san_andres_y_providencia_location.shp' (1/8)<br>"<br>And this error when running python manage.py updatelayers --ignore-errors -v2<br>"<br>WARNINGS:<br>monitoring.RequestEvent.resources: (fields.W340) null has no effect on ManyToManyField.<br>Inspecting the available layers in GeoServer ...<br>GET http://localhost/geoserver/rest/workspaces.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/wmsstores.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores/relief_san_andres/coverages.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores/test_grid/coverages.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_date.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_dates_bc.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_year_field.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_year_field2.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_end_date.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores/relief_san_andres/coverages/relief_san_andres.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores/test_grid/coverages/test_grid.xml<br>Found 7 layers, starting processing<br>Checking for permissions.<br>There are no permissions for this object, setting default perms.<br>GET http://localhost/geoserver/rest/workspaces.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/coveragestores.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/wmsstores.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_date.xml<br>PUT http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_date.xml<br>GET http://localhost/geoserver/rest/layers/boxes_with_date.xml<br>PUT http://localhost/geoserver/rest/layers/boxes_with_date.xml<br>PUT http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data/featuretypes/boxes_with_date.xml<br>GET http://localhost/geoserver/rest/workspaces/geonode/datastores/geonode_data.xml<br>Creating Thumbnail for Layer [geonode:boxes_with_date]<br>Created [the_geom] attribute for [boxes_with_date]<br>Created [id] attribute for [boxes_with_date]<br>Created [date] attribute for [boxes_with_date]<br>GET http://localhost/geoserver/rest/layers/boxes_with_date.xml<br>GET http://PUBLIC_IP/geoserver/rest/styles/polygon.xml<br>[failed] Layer boxes_with_date (1/7)<br><br>I don't really know where to look anymore to solve this problem. I am not sure if the problem is a bad connection between Apache with WSGI server, or somewhere in the configuration files (change an IP or port).<br><br>Any advice is much appreciated.<br><br>Kind regards,<br><div>Corina</div><div><br></div></div></div></body></html>