<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">I've found a temporary solution, but
with a security failure...<br>
I' ve created a directory inside /var/www/geonode called
notification and I gave a 777 perms on it.<br>
So everyone can write.<br>
does it mean that the user who puts the notifications locks is not
www-data (ie apache) ? which user could it be ?<br>
thanks a lot ,<br>
Hugo FERRARI<br>
<br>
<br>
Le 03/07/2015 18:27, FERRARI Hugo a écrit :<br>
</div>
<blockquote cite="mid:55969BBF.3060902@yahoo.fr" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">hello<br>
I've got a problem trying to uplaod layers and having the
notification system enabled <br>
I got this message in front end<br>
failed to create /var/www/<hostname>.MainThread-2979<br>
<br>
I read<a moz-do-not-send="true"
href="https://github.com/GeoNode/geonode/issues/2106"> this
message</a> on the issues forum,<br>
so I put<br>
NOTIFICATION_LOCK_LOCATION='/var/www/geonode'<br>
in the settings files<br>
even if this folder is owned by www-data user, I always get this
error message, and no data has been loaded in geoserver. I only
received the notification e mail which indicates that the layer
have been loaded...<br>
<br>
In apache error.log I got this queue<br>
<br>
[Fri Jul 03 09:07:23.260468 2015] [:error] [pid 2979] File
"/home/ferrari/geonode/geonode/tasks/email.py" , line 21, in
send_queued_notifications<br>
[Fri Jul 03 09:07:23.260473 2015] [:error] [pid 2979]
send_all(settings.NOTIFICATION_LOCK_LOCATION)<br>
[Fri Jul 03 09:07:23.260478 2015] [:error] [pid 2979] File
"/usr/local/lib/python2.7/dist-packages/notification/engine.py",
line 43, in send_all<br>
[Fri Jul 03 09:07:23.260483 2015] [:error] [pid 2979] lock =
acquire_lock(*args)<br>
[Fri Jul 03 09:07:23.260488 2015] [:error] [pid 2979] File
"/usr/local/lib/python2.7/dist-packages/notification/engine.py",
line 31, in acquire_lock<br>
[Fri Jul 03 09:07:23.260493 2015] [:error] [pid 2979]
lock.acquire(LOCK_WAIT_TIMEOUT)<br>
[Fri Jul 03 09:07:23.260497 2015] [:error] [pid 2979] File
"/usr/local/lib/python2.7/dist-packages/notification/lockfile.py",
line 249, in acquire<br>
[Fri Jul 03 09:07:23.260502 2015] [:error] [pid 2979] raise
LockFailed("failed to create %s" % self.unique_name)<br>
[Fri Jul 03 09:07:23.260507 2015] [:error] [pid 2979]
LockFailed: failed to create <br>
<br>
Any ideas ? <br>
thanks a lot, <br>
Hugo FERRARI<br>
<br>
<br>
Le 02/07/2015 23:00, <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a>
a écrit :<br>
</div>
<blockquote
cite="mid:mailman.33.1435863602.25724.geonode-users@lists.osgeo.org"
type="cite">
<pre wrap="">Send geonode-users mailing list submissions to
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
To subscribe or unsubscribe via the World Wide Web, visit
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
or, via email, send a message with subject or body 'help' to
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a>
You can reach the person managing the list at
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:geonode-users-owner@lists.osgeo.org">geonode-users-owner@lists.osgeo.org</a>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of geonode-users digest..."
Today's Topics:
1. Re: geonode_project branch migration (Alessio)
2. Re: geonode_project branch migration (Simone Dalmasso)
3. Re: GeoNode Updateip Error (No module named relationships)
(Paolo Corti)
----------------------------------------------------------------------
Message: 1
Date: Thu, 2 Jul 2015 12:17:57 +0200
From: Alessio <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:alessio.dl@gmail.com"><alessio.dl@gmail.com></a>
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
Subject: Re: [GeoNode-users] geonode_project branch migration
Message-ID:
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:CAHguyMtkSEw9zXuO5fdjiBDdZdZD5Pm7m=7ANa-uEaOHxdp4Eg@mail.gmail.com"><CAHguyMtkSEw9zXuO5fdjiBDdZdZD5Pm7m=7ANa-uEaOHxdp4Eg@mail.gmail.com></a>
Content-Type: text/plain; charset="utf-8"
Hi Simone,
I'm testing GeoNode 2.4b25 on a virtual machine and I just created a
project.
I can't find local_settings.py .sample inside the folder of my project, is
it fine? It contains only a settings.py file.
Thanks
2015-06-30 10:47 GMT+02:00 Simone Dalmasso <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:simone.dalmasso@gmail.com"><simone.dalmasso@gmail.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Dears,
we just reorganized the geonode_project branches to better reflect the
geonode branches setup and avoid common confusion.
Now the branch master of the geonode_project correctly supports the branch
master of geonode,
while the branch 2.0 supports the branch 2.0.x of geonode. The branch 2.4
of the geonode_project is gone.
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/GeoNode/geonode-project">https://github.com/GeoNode/geonode-project</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://github.com/GeoNode/geonode-project/tree/2.0">https://github.com/GeoNode/geonode-project/tree/2.0</a>
Hope this makes things easier.
--
The geonode dev team
_______________________________________________
geonode-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>