<div dir="ltr">You can save this to a file.patch <a href="https://github.com/GeoNode/geonode/commit/7ed09187af59377349b5c3b6d50152f7a7c9d230.patch">https://github.com/GeoNode/geonode/commit/7ed09187af59377349b5c3b6d50152f7a7c9d230.patch</a><div>the run something like:</div><div>
<p class=""><span class="">$ sudo patch /usr/local/lib/python2.7/dist-packages/geonode/layers/views.py < file.patch</span></p><p class=""><span class="">then restart your server</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-22 14:41 GMT+02:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">How can I apply the patch? I've made apt-get upgrade this morning, because there were also some system upgrades ... <div><br></div><div>Upload_session_id and service_id in layers_layer table are all null. Usually I load layers on postgis, then I create layers in geoserver then I throw geonode updatelayers from console.</div><div><br></div><div>Thanks</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-10-22 14:25 GMT+02:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Annalisa seems that for some reasons you don't have upload sessions associated to a layer. I have added a double check in master and you can apply this patch to your geonode. <div><a href="https://github.com/GeoNode/geonode/commit/7ed09187af59377349b5c3b6d50152f7a7c9d230" target="_blank">https://github.com/GeoNode/geonode/commit/7ed09187af59377349b5c3b6d50152f7a7c9d230</a><br></div><div><br></div><div>Hope it helps, let us know</div><div>Ciao </div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2015-10-22 14:12 GMT+02:00 Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Annalisa, this seems to be related to a commit that I have made, I'll take a look today. Thanks for reporting</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-10-22 14:06 GMT+02:00 Annalisa Schiavon <span dir="ltr"><<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">The thumbnail directory has www-data:www-data as owner. It doesn't seem a permission issue.<div>I attach apache log</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-22 13:04 GMT+02:00 Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Thu, Oct 22, 2015 at 12:43 PM, Annalisa Schiavon<br>
<<a href="mailto:annalisa.schiavon@gmail.com" target="_blank">annalisa.schiavon@gmail.com</a>> wrote:<br>
> Hi all,<br>
> I've just installed new geonode RC1 (congratulations) but there is an error<br>
> when I try to set any category to one of my layer, it gives Internal Server<br>
> Error.<br>
> I've experienced this error just before to update geonode, on ver 2.4b26,<br>
> but after having installed the geonode-project to make my template.<br>
> I've noticed that category in metadata page was misaligned.<br>
> Now it seems ok, it has get the only one category setted, but gives the same<br>
> error when I try to set a new category, on any layer.<br>
><br>
<br>
</div></div>This could be a permission issue (thumbnail can not be written in file system)<br>
check permissions on the thumbnail directory<br>
If not, check your web server error log for more specific information<br>
<span><font color="#888888">p<span><font color="#888888"><br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" rel="noreferrer" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
</font></span></font></span></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>