<div dir="ltr">Thanks Paolo,<div><br></div><div>I ran "geonode updatelayers" without results.</div><div><br></div><div>The command give me the following message, should I give another command before to run updatelayers?</div><div><br></div><div><br></div><div><br></div><div><div># geonode updatelayers</div><div><br></div><div>Inspecting the available layers in GeoServer ...</div><div>Traceback (most recent call last):</div><div>  File "/usr/bin/django-admin", line 21, in <module></div><div>    management.execute_from_command_line()</div><div>  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line</div><div>    utility.execute()</div><div>  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute</div><div>    self.fetch_command(subcommand).run_from_argv(self.argv)</div><div>  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv</div><div>    self.execute(*args, **cmd_options)</div><div>  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute</div><div>    output = self.handle(*args, **options)</div><div>  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/management/commands/updatelayers.py", line 119, in handle</div><div>    execute_signals=True)</div><div>  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 439, in gs_slurp</div><div>    resources = [k for k in resources if k.enabled in ["true", True]]</div><div>  File "/usr/lib/python2.7/dist-packages/geoserver/support.py", line 67, in getter</div><div>    self.fetch()</div><div>  File "/usr/lib/python2.7/dist-packages/geoserver/support.py", line 176, in fetch</div><div>    self.dom = self.catalog.get_xml(self.href)</div><div>  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 214, in get_xml</div><div>    return parse_or_raise(content)</div><div>  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 205, in parse_or_raise</div><div>    raise Exception(msg, e)</div><div>Exception: ('GeoServer gave non-XML response for [GET <a href="http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/datastore/featuretypes/salah_aldin_wells_iraq_unesco_ll_point.xml">http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/datastore/featuretypes/salah_aldin_wells_iraq_unesco_ll_point.xml</a>]: <featureType>\n  <name>salah_aldin_wells_iraq_unesco_ll_point</name>\n  <nativeName>salah_aldin_wells_iraq_unesco_ll_point</nativeName>\n  <namespace>\n    <name>geonode</name>\n    <atom:link xmlns:atom="<a href="http://www.w3.org/2005/Atom">http://www.w3.org/2005/Atom</a>" rel="alternate" href="<a href="http://localhost:8080/geoserver/rest/namespaces/geonode.xml">http://localhost:8080/geoserver/rest/namespaces/geonode.xml</a>" type="application/xml"/>\n  </namespace>\n  <title>salah_aldin_wells_iraq_unesco_ll_point</title>\n  <keywords>\n    <string>features</string>\n    <string>salah_aldin_wells_iraq_unesco_ll_point</string>\n  </keywords>\n  <nativeCRS>GEOGCS[&quot;WGS 84&quot;, \n  DATUM[&quot;World Geodetic System 1984&quot;, \n    SPHEROID[&quot;WGS 84&quot;, 6378137.0, 298.257223563, AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]], \n    AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]], \n  PRIMEM[&quot;Greenwich&quot;, 0.0, AUTHORITY[&quot;EPSG&quot;,&quot;8901&quot;]], \n  UNIT[&quot;degree&quot;, 0.017453292519943295], \n  AXIS[&quot;Geodetic longitude&quot;, EAST], \n  AXIS[&quot;Geodetic latitude&quot;, NORTH], \n  AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]</nativeCRS>\n  <srs>EPSG:4326</srs>\n  <nativeBoundingBox>\n    <minx>43.0292000000001</minx>\n    <maxx>44.8967</maxx>\n    <miny>33.7583000000001</miny>\n    <maxy>35.2347000000001</maxy>\n    <crs>EPSG:4326</crs>\n  </nativeBoundingBox>\n  <latLonBoundingBox>\n    <minx>43.0292000000001</minx>\n    <maxx>44.8967</maxx>\n    <miny>33.7583000000001</miny>\n    <maxy>35.2347000000001</maxy>\n    <crs>GEOGCS[&quot;WGS84(DD)&quot;, \n  DATUM[&quot;WGS84&quot;, \n    SPHEROID[&quot;WGS84&quot;, 6378137.0, 298.257223563]], \n  PRIMEM[&quot;Greenwich&quot;, 0.0], \n  UNIT[&quot;degree&quot;, 0.017453292519943295], \n  AXIS[&quot;Geodetic longitude&quot;, EAST], \n  AXIS[&quot;Geodetic latitude&quot;, NORTH]]</crs>\n  </latLonBoundingBox>\n  <projectionPolicy>FORCE_DECLARED</projectionPolicy>\n  <enabled>true</enabled>\n  <store class="dataStore">\n    <name>geonode:datastore</name>\n    <atom:link xmlns:atom="<a href="http://www.w3.org/2005/Atom">http://www.w3.org/2005/Atom</a>" rel="alternate" href="<a href="http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/datastore.xml">http://localhost:8080/geoserver/rest/workspaces/geonode/datastores/datastore.xml</a>" type="application/xml"/>\n  </store>\n  <maxFeatures>0</maxFeatures>\n  <numDecimals>0</numDecimals>\n  <overridingServiceSRS>false</overridingServiceSRS>\n  <skipNumberMatched>false</skipNumberMatched>\n  <circularArcPresent>false</circularArcPresent>\n  <attributes', ParseError(ExpatError('unclosed token: line 54, column 2',),))</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-16 15:48 GMT+01:00 Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Federico<br>
updatelayers will regenerate thumbnails for layers.<br>
Unfortunately there isn't a solution for maps right now. You can only<br>
manually regenerate them by using the "Set thumbnail" button<br>
cheers<br>
p<br>
<div><div class="h5"><br>
On Thu, Nov 16, 2017 at 7:15 AM, Federico Gianoli <<a href="mailto:alpacagis@gmail.com">alpacagis@gmail.com</a>> wrote:<br>
> Hi,<br>
> I have, maybe a stupid question.<br>
> I am using GeoNode 2.6.3.<br>
> Is there any way to regenerate all the layers and maps thumbnails?<br>
><br>
> Thanks<br>
><br>
> Federico<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> geonode-users mailing list<br>
> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" rel="noreferrer" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
</font></span></blockquote></div><br></div>