<div dir="ltr">Hi, GeoNode 2.8.2 currently works only with GeoServer 2.14+</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 10 giu 2019 alle ore 16:47 Paige Lott <<a href="mailto:paige.lott.gis@gmail.com">paige.lott.gis@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Geonode Version: 2.8.2<div><span style="color:rgb(38,37,35);font-family:Tahoma,"Lucida Sans Unicode","Lucida Grande",Verdana,sans-serif;font-size:9px">Geoserver Version: </span><span style="font-family:Tahoma,"Lucida Sans","Lucida Sans Unicode","Lucida Grande",Verdana,sans-serif;color:rgb(38,37,35);font-size:9px">2.13-SNAPSHOT</span> <br></div><div><br></div><div>Hi Geonode Users,</div><div><br></div><div>I'm extremely new to Geonode/Geoserver and I've been working on this problem for a while now and haven't been able to figure out what I'm doing wrong. Thought I'd post to see if anyone else had run into this particular error. My install was done following the install guide on the docs for <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/#" target="_blank">Ubuntu 16.04</a>. Thank you for any help you can provide. </div><div><br></div><div>-Paige</div><div><br></div><div>Whenever I login to Geoserver:</div><div>WARN [geofence.cache] - org.geoserver.geofence.cache.CachedRuleReader$NoAuthException: Can't auth user [admin]<br></div><div><br></div><div><br></div><div>Whenever I try and run updatelayers to make the layers added in geoserver visible in geonode, I get the error message below: </div><div><br></div><div>Python:<br>JSONField implementation is: <class 'jsonfield.fields.JSONField'><br>Inspecting the available layers in GeoServer ...<br>Found 1 layers, starting processing<br>Could not retrieve GeoFence Rules count.<br>Could not retrieve GeoFence Rules count.<br>Stopping process because --ignore-errors was not set and an error was found.<br>Traceback (most recent call last):<br> File "manage.py", line 31, in <module><br> execute_from_command_line(sys.argv)<br> File "/home/geo/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line<br> utility.execute()<br> File "/home/geo/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute<br> self.fetch_command(subcommand).run_from_argv(self.argv)<br> File "/home/geo/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv<br> self.execute(*args, **cmd_options)<br> File "/home/geo/Envs/geonode/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute<br> output = self.handle(*args, **options)<br> File "/home/geo/Envs/geonode/src/geonode/geonode/geoserver/management/commands/updatelayers.py", line 124, in handle<br> execute_signals=True)<br> File "/home/geo/Envs/geonode/src/geonode/geonode/geoserver/helpers.py", line 630, in gs_slurp<br> layer.set_permissions(perm_spec)<br> File "/home/geo/Envs/geonode/src/geonode/geonode/security/models.py", line 205, in set_permissions<br> sync_geofence_with_guardian(self.layer, perms, user=geofence_user)<br> File "/home/geo/Envs/geonode/src/geonode/geonode/decorators.py", line 48, in wrapper<br> return func(*args, **kwargs)<br> File "/home/geo/Envs/geonode/src/geonode/geonode/security/utils.py", line 448, in sync_geofence_with_guardian<br> _update_geofence_rule(<a href="http://layer.name" target="_blank">layer.name</a>, layer.workspace, service, user=_user)<br> File "/home/geo/Envs/geonode/src/geonode/geonode/security/utils.py", line 592, in _update_geofence_rule<br> raise RuntimeError(msg)<br>Exception: ('Failed to process fisheries_mgmt_points_evw', RuntimeError('Could not ADD GeoServer User \'admin_geonode\' Rule for Layer u\'agfc_fisheries_mgmt_points_evw\': \'u\'<!DOCTYPE html><html><head><title>Apache Tomcat/8.0.32 (Ubuntu) - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 404 - </h1><div class="line"></div><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The requested resource is not available.</u></p><hr class="line"><h3>Apache Tomcat/8.0.32 (Ubuntu)</h3></body></html>\'\'',))<br></div><div><br></div><div>Geoserver:</div><div> WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules.json] in DispatcherServlet with name 'dispatcher'<br> WARN [geofence.rest] - INVALIDATING CACHE<br> WARN [geofence.cache] - Forcing cache invalidation<br> WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules.json] in DispatcherServlet with name 'dispatcher'<br> WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules/count.json] in DispatcherServlet with name 'dispatcher'<br> WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules.json] in DispatcherServlet with name 'dispatcher'<br> WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules] in DispatcherServlet with name 'dispatcher'<br></div><div><br></div><div><br></div><div>I've tried running sync_geofence to see if that would resolve anything but I also receive an error when running that command. </div><div><br></div><div>Python:</div><div>JSONField implementation is: <class 'jsonfield.fields.JSONField'><br>Synchronizing permissions for layer 1/1: geonode:agfc_fisheries_mgmt_points_evw<br>Could not retrieve GeoFence Rules count.<br>Could not retrieve GeoFence Rules count.<br>('Unexpected error:', <type 'exceptions.RuntimeError'>)<br>perm_spec is {u'users': {u'admin_geonode': [u'view_resourcebase', u'download_resourcebase', u'change_resourcebase_metadata', u'change_resourcebase', u'delete_resourcebase', u'change_resourcebase_permissions', u'publish_resourcebase', u'change_layer_data', u'change_layer_style']}, u'groups': {}}<br></div><div><br></div><div>Geoserver:</div><div> WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules.json] in DispatcherServlet with name 'dispatcher'<br>WARN [geofence.rest] - INVALIDATING CACHE<br>WARN [geofence.cache] - Forcing cache invalidation<br>WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules.json] in DispatcherServlet with name 'dispatcher'<br>WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules/count.json] in DispatcherServlet with name 'dispatcher'<br>WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules.json] in DispatcherServlet with name 'dispatcher'<br>WARN [servlet.PageNotFound] - No mapping found for HTTP request with URI [/geoserver/rest/geofence/rules] in DispatcherServlet with name 'dispatcher'<br></div><div><br></div><div>The url for my geoserver for the geofence rule is at /geoserver/geofence/rest/rules , does this mean I have the wrong version of geoserver installed with geonode or is there a way to change where this is pointing? Any help is extremely appreciated. </div></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">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/mailman/listinfo/geonode-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-family:Arial;font-size:11pt;white-space:pre-wrap">==</span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A - </span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">55054 Massarosa (LU) - </span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">mob: +39 331 6233686</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div>