<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/#">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">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>