<div dir="ltr">Hi Hugo, thanks for reporting this,<div>it actually should be www-data that runs geonode and notifications as well. I will check that the /var/www/geonode folder's ownership is given to apache during the installation process.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-06 7:33 GMT+02:00 FERRARI Hugo <span dir="ltr"><<a href="mailto:ferrari_hugo@yahoo.fr" target="_blank">ferrari_hugo@yahoo.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>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<div><div class="h5"><br>
      <br>
      <br>
      Le 03/07/2015 18:27, FERRARI Hugo a écrit :<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      <div>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 href="https://github.com/GeoNode/geonode/issues/2106" target="_blank"> 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 href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.osgeo.org</a>
        a écrit :<br>
      </div>
      <blockquote type="cite">
        <pre>Send geonode-users mailing list submissions to
        <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>

To subscribe or unsubscribe via the World Wide Web, visit
        <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>
or, via email, send a message with subject or body 'help' to
        <a href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.osgeo.org</a>

You can reach the person managing the list at
        <a href="mailto:geonode-users-owner@lists.osgeo.org" target="_blank">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 href="mailto:alessio.dl@gmail.com" target="_blank"><alessio.dl@gmail.com></a>
To: <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
Subject: Re: [GeoNode-users] geonode_project branch migration
Message-ID:
        <a href="mailto:CAHguyMtkSEw9zXuO5fdjiBDdZdZD5Pm7m=7ANa-uEaOHxdp4Eg@mail.gmail.com" target="_blank"><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 href="mailto:simone.dalmasso@gmail.com" target="_blank"><simone.dalmasso@gmail.com></a>:

</pre>
        <blockquote type="cite">
          <pre>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 href="https://github.com/GeoNode/geonode-project" target="_blank">https://github.com/GeoNode/geonode-project</a>
<a href="https://github.com/GeoNode/geonode-project/tree/2.0" target="_blank">https://github.com/GeoNode/geonode-project/tree/2.0</a>

Hope this makes things easier.
--
The geonode dev team

_______________________________________________
geonode-users mailing list
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a>


</pre>
        </blockquote>
        <pre></pre>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">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><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>