[GeoNode-users] Unexpected error when uploading

Dimitris Karakostis karakostis.dimitris at gmail.com
Mon Feb 11 01:39:32 PST 2019


Hello Paolo,

I am not sure if this helps but, I had the same error sometime ago and it
was related to folder permissions and ownership. I fixed by assigning the
right permissions to the following folders:

$ sudo chown -Rf geonode /home/geonode/my_geonode/
$ sudo chown -Rf geonode:www-data /home/geonode/my_geonode/my_geonode/static/
$ sudo chown -Rf geonode:www-data /home/geonode/my_geonode/my_geonode/uploaded/
$ chmod -Rf 777 /home/geonode/my_geonode/my_geonode/uploaded/thumbs
$ chmod -Rf 777 /home/geonode/my_geonode/my_geonode/uploaded/layers
$ sudo chown www-data:www-data /home/geonode/my_geonode/my_geonode/static_root/

>From here:

http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html




On Fri, Feb 8, 2019 at 4:49 PM Paolo Pasquali <paolo.pasquali at gmail.com>
wrote:

> Dear all,
>
> I have installed a GeoNode 2.10.x (master) with Docker and using the
> geonode-project and following this documentation: [1]
>
> The issue I have is an Unespected error! when I try to upload a layer. So
> in GeoNode the layer is not present.
> But when I double check I find the layer in GeoServer with no apparent
> issue and if I run updatelayers the layer appear in the django db and of
> course in GeoNode.
>
> I have found these errors in the log:
>
> 08 Feb 15:38:06 ERROR [geoserver.rest] - No such layer:
> ne_10m_geography_regions_polys
> geoserver4fabspace | org.geoserver.rest.ResourceNotFoundException 404
> NOT_FOUND: No such layer: ne_10m_geography_regions_polys
>
> 08 Feb 15:38:15 ERROR [geoserver.rest] - No such style
> ne_10m_geography_regions_polys in workspace geonode
> org.geoserver.rest.ResourceNotFoundException 404 NOT_FOUND: No such style
> ne_10m_geography_regions_polys in workspace geonode
>
>
> Your help would be much appreciated.
>
> Thanks!
>
>
> Paolo
>
>
> [1] https://github.com/GeoNode/geonode-project#start-your-server
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190211/e25f3f29/attachment.html>


More information about the geonode-users mailing list