<div dir="ltr">Hi, do you have any stacktrace from /var/logs/apache2/error.log of when you try to delete one layer from the admin console?</div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-02 22:18 GMT+02:00 Stefan Steiniger <span dir="ltr"><<a href="mailto:sstein@geo.uzh.ch" target="_blank">sstein@geo.uzh.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Perhaps the last option may be to check the Database(s) directly,
    e.g. connecting with PgAdmin.<br>
    <br>
    stefan<div><div class="h5"><br>
    <br>
    <div>On 02-06-2016 11:58, Nic Tait wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Hello Geonode users,</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I added layers to Geonode from an external service and then
          deleted them in Geoserver but they are still visible as empty
          layers in 'Explore Layers' and the 'Admin console' within
          Geonode</div>
        <div><br>
        </div>
        <div>I deleted the relevant layers , stores and workspace in
          Geoserver and cannot find any other reference in Geoserver and
          then ran the management command: </div>
        <div><br>
        </div>
        <div>'python manage.py updatelayers --remove-deleted' </div>
        <div><br>
        </div>
        <div>which returned  '[delete_failed]' for all the layers</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Layers are still visible in the admin console but get
          'Internal Server Error' when trying to delete them this way.</div>
        <div><br>
        </div>
        <div>Have restarted Geonode with  'sudo service apache2 restart'
          as well to see if that might fix but no luck</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Any ideas on how to proceed ?</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div>Nic </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
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/mailman/listinfo/geonode-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a>
</pre>
    </blockquote>
    <br>
  </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/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>