<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Francesco,</div><div class=""><br class=""></div><div class="">thanks a lot for your reply. I am quite new to Geonode thus I would double check if</div><div class="">I understand everything correctly.</div><div class=""><br class=""></div><div class="">Would this be the way you have in mind:</div><div class=""><br class=""></div><div class="">Delete the layer</div><div class=""><b class="">curl -v -u admin:geoserver -XDELETE "<a href="http://localhost:8080/geoserver/gwc/rest/layers/coral_reef.xml" class="">http://localhost:8080/geoserver/gwc/rest/layers/coral_reef.xml</a>"</b></div>
<div class="">(I cannot access Geoservers GWC Gui. )</div><div class=""><br class=""></div><div class="">After that, check if I can access the GUI again and rebuild the Cache? I´m unsure how to do this</div><div class="">correctly. I´ve found this three methods:</div><div class=""><br class=""></div><div class=""><font face="Geneva" class=""><span style="font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">1. delete or rename the layers </span><br style="font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">2. via interface: 'demo' page --> 'Seed this layer' ---> 'Type of operation' select 'Reseed - regenerate all tiles' </span><br style="font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">3. Let the user do it: expire them using the geowebcache.xml </span></font></div><div class=""><br class=""></div><div class=""><div class=""><a href="http://osgeo-org.1560.x6.nabble.com/Rebuild-GWC-td5093241.html" class="">http://osgeo-org.1560.x6.nabble.com/Rebuild-GWC-td5093241.html</a></div></div><div class=""><br class=""></div><div class="">Which one would you suggest?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Toni</div><br class=""><div><blockquote type="cite" class=""><div class="">Am 22.11.2016 um 00:56 schrieb Francesco Bartoli <<a href="mailto:xbartolone@gmail.com" class="">xbartolone@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=windows-1252" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Toni,<div class=""><br class=""></div><div class="">you might try to clearing out the gwc configuration for that layer and then rebuild the tile caching.</div><div class=""><br class=""></div><div class="">Hope this helps</div><div class=""><br class=""></div><div class="">Francesco</div><div class=""> <br class=""><div class=""><div class="">Il giorno 21/nov/2016, alle ore 22:08, Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" class="">toni.schoenbuchner@csgis.de</a>> ha scritto:</div><br class="Apple-interchange-newline"><blockquote type="cite" class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">a Geonode 2.4 installation is not showing layers in Geoexplorer anymore.</div><div class=""><br class=""></div><div class="">I´ve recognized that the wms request response with an error saying.</div><div class=""><br class=""></div><div class=""><b class="">„Could not locate a layer or layer group with id LayerInfoImpl--484e05d9:1460aec6751:-137f within GeoServer configuration<br class="">the GWC configuration seems to be out of synch“</b></div><div class=""><br class=""></div><div class="">Indeed I found a xml file within /usr/share/geoserver/data/gwc-layers/ which refers to a layer which</div><div class="">cannot be found in geonode, geoserver or postgresql.</div><div class=""><br class=""></div><div class="">after that I´ve tried </div><div class=""><br class=""></div><div class="">$ geonode updatelayers --remove-deleted</div><div class=""><br class=""></div><div class="">in hope it will remove leftovers but it failed with:</div><div class=""><br class=""></div><div class=""><b class="">"'Failed to process coral_reef', AttributeError(\"'NoneType' object has no attribute 'default_style'\",)" <Exception:></b></div><div class=""><br class=""></div><div class="">My question is which steps are needed to synchronize GWC configuration again?</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">Toni </div></div>_______________________________________________<br class="">geonode-users mailing list<br class=""><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class=""><a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" class="">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br class=""></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></body></html>