<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Hello,</div><div><br></div><div>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:</div><div><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" class="enhancr_card_1827444095">GeoNode (v2.6) installation on Ubuntu — GeoNode 2.6 documentation</a></div><div><br></div><div id="ydpe983f556enhancr_card_1827444095" class="ydpe983f556yahoo-link-enhancr-card ydpe983f556yahoo-link-enhancr-not-allow-cover ydpe983f556ymail-preserve-class ydpe983f556ymail-preserve-style" style="max-width:400px;font-family:Helvetica Neue, Helvetica, Segoe UI, Arial, sans-serif;" data-url="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" style="text-decoration:none !important;color:#000 !important;" class="ydpe983f556yahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table class="ydpe983f556card-wrapper ydpe983f556yahoo-ignore-table" style="max-width:400px;" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="400"><table class="ydpe983f556card ydpe983f556yahoo-ignore-table" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px;" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><table class="ydpe983f556card-info ydpe983f556yahoo-ignore-table" style="background-color: rgb(255, 255, 255); background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto auto; position: relative; z-index: 2; width: 100%; max-width: 400px; border-radius: 0px 0px 2px 2px; border-top: 1px solid rgb(224, 228, 233);" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px;"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:Helvetica Neue, Helvetica, Segoe UI, Arial, sans-serif;border-radius:0 0 2px 0;"><h2 class="ydpe983f556card-title" style="font-size:14px;line-height:19px;margin:0 0 6px 0;font-family:Helvetica Neue, Helvetica, Segoe UI, Arial, sans-serif;word-break:break-word;color:#26282a;">GeoNode (v2.6) installation on Ubuntu — GeoNode 2.6 documentation</h2><p class="ydpe983f556card-description" style="font-size:12px;line-height:16px;margin:0px;color:#979ba7;word-break:break-word;"></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div>For the PUBLIC_LOCATION variable I put the public IP of the machine<br></div><div><br> </div><div><a href="http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/install_geoserver_application.html" class="">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><div>I have used the versions of GeoNode 2.6.3 and 2.7.4. </div><div><br></div><div>I am able to import layers in GeoServer when I run <code class="ydp638ebfc8docutils ydp638ebfc8literal"><span class="ydp638ebfc8pre">paver</span> <span class="ydp638ebfc8pre">setup_data and when I run python manage.py importlayers <data_dir></span></code><br></div><div>I was not able to upload layers into GeoNode from command line:</div><div><br></div><div>I get this error when running this command <font size="3">python manage.py importlayers</font> :</div><div>" <br></div><div>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><font size="5">Finished upload of [san_andres_y_providencia_location] to GeoServer without errors.</font><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><font size="5">[failed] Layer for '/usr/local/lib/python2.7/dist-packages/gisdata/data/good/vector/san_andres_y_providencia_location.shp' (1/8)</font><br>"<br>And this error when running python manage.py updatelayers --ignore-errors -v2<br></div><div><div>"<br></div><div>WARNINGS:</div>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><font size="3">[failed] Layer boxes_with_date (1/7)</font><br><br><div>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).</div><div><br></div><div>Any advice is much appreciated.</div><div><br></div><div>Kind regards,</div><div>Corina<br></div></div><div><br></div></div></div></body></html>