<div dir="ltr"><div><div><div><div><div><div><div>Hi Simone,<br><br></div>Looks like that did the trick, all that was required was to:<br><br></div>sudo chown root:www-data /var/www<br></div>sudo chmod g+w /var/www<br><br></div>It's
okay to leave the /var/www/geonode owner and permission alone (I
switched mine back to root:root with 755 perm). Also the notification
folder in /var/www/geonode is not required.<br><br></div>Thanks a lot!<br><br></div>Regards,<br><br></div>SN<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 7, 2015 at 5:11 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, tested on a Virtual machine. I had to make sure that www-data has the rights to write in the /var/www folder. Tested changing the ownership and works.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-09-07 11:59 GMT+02:00 Seno Adiwicaksono <span dir="ltr"><<a href="mailto:senoadiw@gmail.com" target="_blank">senoadiw@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"><div><div><div>Hi Simone,<br><br></div>I did the complete install from <a href="https://geonode.readthedocs.org/en/2.0/tutorials/admin/install/complete_install.html" target="_blank">https://geonode.readthedocs.org/en/2.0/tutorials/admin/install/complete_install.html</a>. I have the main geonode installation in /var/www/geonode/ and a geonode project in /var/www/my_geonode/. GeoNode is running under Apache www-data user. I can see the layer files written in the uploaded dir but then the lockfile error happens.<br><br></div>Regards,<br><br></div>SN<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 7, 2015 at 4:39 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div>what installation did you do?</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2015-09-07 11:05 GMT+02:00 Seno Adiwicaksono <span dir="ltr"><<a href="mailto:senoadiw@gmail.com" target="_blank">senoadiw@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"><div><div>Dear GeoNode users,<br><br></div>I'm trying to enable notifications on my GeoNode install however met with the same lockfile error as pointed out by Hugo in this thread <a href="http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html" target="_blank">http://osgeo-org.1560.x6.nabble.com/uploading-layer-and-enable-notifications-td5214225.html</a>. I also tried setting the NOTIFICATION_LOCK_LOCATION variable as well as chown the /var/www/geonode folder to www-data and create a notification folder in it with 777 permissions which did not work in my case. I also tried setting NOTIFICATION_QUEUE_ALL = True so the notifications are sent later but the error just came up faster.<br><br>As for now I commented out notification in INSTALLED_APPS to allow layer uploads to complete. Is anyone else having the same issue and are there any other workarounds? I would greatly appreciate any input provided.<br><br></div><div>Regards,<br><br></div><div>SN<br></div><div><br></div></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/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/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></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Simone </div>
</font></span></div>
</blockquote></div><br></div></div>