[GeoNode-users] Permission denied when save thumbnail
Simone Dalmasso
simone.dalmasso at gmail.com
Wed Dec 16 03:42:17 PST 2015
well,
we deploy demo.geonode.org in the same way, with apt-get install and there
seems to go fine.
Not sure what went wrong.
2015-12-16 12:40 GMT+01:00 //./\\-/_.\\ <m431m at tutanota.com>:
> I did, but yes it is strange...
> Am I the only one to get this problem?
> m431m
>
> 16. Déc 2015 12:23 de simone.dalmasso at gmail.com:
>
>
> 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
>
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151216/ad7ac3e0/attachment.html>
More information about the geonode-users
mailing list