[GeoNode-users] Permission denied when save thumbnail

Simone Dalmasso simone.dalmasso at gmail.com
Wed Dec 16 03:23:26 PST 2015


Hi,

strange, you can fix it with

$ sudo chown www-data /var/www/geonode/uploaded/thumbs

will check the installer. Thanks for reporting

2015-12-16 12:18 GMT+01:00 //./\\-/_.\\ <m431m at tutanota.com>:

>  Hello,
>
> (with GeoNode 2.4 on Ubuntu apt-get install)
>
> I receive a Internal Server Error exception while trying to update
> metadata for layers:
> http://<hostname>/layers/<layername>/metadata
>
> Apache returns this:
>
> Internal Server Error: /layers/geonode:<layer>/metadata
> ...
> File "/usr/local/lib/python2.7/dist-packages/geonode/base/models.py", line
> 564, in save_thumbnail
>     with open(os.path.join(upload_path, filename), 'wb') as f:
> IOError: [Errno 13] Permission denied:
> u'/var/www/geonode/uploaded/thumbs/layer-43fc3f6c-08b3-42a8-af0f-2b1e20821023-thumb.png'
> ...
>
> It appears to be a permission problem with thumbnail files. www-data is
> not the owner.
> Owner is the current user.
> Have I missed something when installing GeoNode?
>
> m431m
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151216/737c4ee8/attachment.html>


More information about the geonode-users mailing list