<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">And the user you defined in your geonode settings for GeoServer does have admin permissions<div class="">on side of geoserver?</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 20.03.2020 um 15:11 schrieb Giuliano Grigolin <<a href="mailto:giuliano.geobases@gmail.com" class="">giuliano.geobases@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br clear="all" class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Yes, i can upload layers via GeoNode Django interface, the WMS and WFS is running ok.</div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif"> <br class=""></div><br clear="all" class=""><div class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img src="https://docs.google.com/uc?export=download&id=0B0E3SdLdPu6SV19QX1pkSFJwUlE&revid=0B0E3SdLdPu6SUTJldkZmaGFTNktCRTJocXBjSXM0eG9CM0tjPQ" width="420" height="123" class=""><br class=""></div><div class=""><span style="font-size:12.8px" class="">       <span style="font-size:12.8px" class=""></span>  </span><span style="font-size:12.8px" class="">       </span><span style="font-size:12.8px" class=""> </span><br class=""></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 20, 2020 at 10:54 AM G. Allegri <<a href="mailto:giovanni.allegri@geo-solutions.it" class="">giovanni.allegri@geo-solutions.it</a>> wrote:<br class=""></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="auto" class=""><div class="">How did you setup Geoserver?<div dir="auto" class=""><br class=""><div dir="auto" class="">And a basic question: are you able to see any map inside GeoNode? I mean, is Geoserver responding outside of the updatelayers command? </div></div><br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il ven 20 mar 2020, 14:47 Giuliano Grigolin <<a href="mailto:giuliano.geobases@gmail.com" target="_blank" class="">giuliano.geobases@gmail.com</a>> ha scritto:<br class=""></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" class=""><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">no changes ...</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">root@geonode:/usr/lib/python2.7/dist-packages/django/conf/project_template# DJANGO_SETTINGS_MODULE=geonode.local_settings python manage.py updatelayers -w geonode<br class=""><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Inspecting the available layers in GeoServer ...<br class="">GET <a href="http://localhost:8080/geoserver/rest/workspaces.xml" rel="noreferrer" target="_blank" class="">http://localhost:8080/geoserver/rest/workspaces.xml</a><br class="">Traceback (most recent call last):<br class="">  File "manage.py", line 11, in <module><br class="">    execute_from_command_line(sys.argv)<br class="">  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 354, in execute_from_command_line<br class="">    utility.execute()<br class="">  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 346, in execute<br class="">    self.fetch_command(subcommand).run_from_argv(self.argv)<br class="">  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 394, in run_from_argv<br class="">    self.execute(*args, **cmd_options)<br class="">  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 445, in execute<br class="">    output = self.handle(*args, **options)<br class="">  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/management/commands/updatelayers.py", line 122, in handle<br class="">    execute_signals=True)<br class="">  File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py", line 531, in gs_slurp<br class="">    workspace = cat.get_workspace(workspace)<br class="">  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 1031, in get_workspace<br class="">    workspaces = self.get_workspaces(name)<br class="">  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 1011, in get_workspaces<br class="">    description = self.get_xml("%s/workspaces.xml" % self.service_url)<br class="">  File "/usr/lib/python2.7/dist-packages/geoserver/catalog.py", line 211, in get_xml<br class="">    response, content = self.http.request(rest_url)<br class="">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1659, in request<br class="">    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)<br class="">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1399, in _request<br class="">    (response, content) = self._conn_request(conn, request_uri, method, body, headers)<br class="">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 1319, in _conn_request<br class="">    conn.connect()<br class="">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 946, in connect<br class="">    self.sock.connect((self.host, self.port) + sa[2:])<br class="">  File "/usr/lib/python2.7/dist-packages/httplib2/socks.py", line 434, in connect<br class="">    self.__negotiatehttp(destpair[0], destpair[1])<br class="">  File "/usr/lib/python2.7/dist-packages/httplib2/socks.py", line 400, in __negotiatehttp<br class="">    raise HTTPError((statuscode, statusline[2]))<br class="">httplib2.socks.HTTPError: (403, 'Forbidden')<br class=""></div><br clear="all" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img src="https://docs.google.com/uc?export=download&id=0B0E3SdLdPu6SV19QX1pkSFJwUlE&revid=0B0E3SdLdPu6SUTJldkZmaGFTNktCRTJocXBjSXM0eG9CM0tjPQ" width="420" height="123" class=""><br class=""></div><div class=""><span style="font-size:12.8px" class="">       <span style="font-size:12.8px" class=""></span>  </span><span style="font-size:12.8px" class="">       </span><span style="font-size:12.8px" class=""> </span><br class=""></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 20, 2020 at 3:41 AM Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" rel="noreferrer" target="_blank" class="">toni.schoenbuchner@csgis.de</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">Hi Giuliano,<div class=""><br class=""></div><div class="">in addition to Giovanni. Remember that you also can define the settings file:</div><div class="">For example:</div><div class=""><pre style="box-sizing:border-box;font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace;margin-top:0px;margin-bottom:0px;padding:12px;overflow:auto;line-height:1.4;color:rgb(64,64,64);font-variant-ligatures:normal" class=""><span style="box-sizing:border-box;color:rgb(187,96,213)" class="">DJANGO_SETTINGS_MODULE</span><span style="box-sizing:border-box;color:rgb(102,102,102)" class="">=your_</span>geonode.local_settings python manage.py  ...</pre><div class="">Depending on your environment be sure to use the correct one.</div><div class=""><br class=""></div><div class="">Cheers</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 19.03.2020 um 22:29 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" rel="noreferrer" target="_blank" class="">geonode-users-request@lists.osgeo.org</a>:</div><br class=""><div class=""><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px" class=""><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)" class=""><b class="">Von:<span class=""> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif" class="">"G. Allegri" <<a href="mailto:giovanni.allegri@geo-solutions.it" rel="noreferrer" target="_blank" class="">giovanni.allegri@geo-solutions.it</a>><br class=""></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px" class=""><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)" class=""><b class="">Betreff:<span class=""> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif" class=""><b class="">Aw: [GeoNode-users] updatelayers "httplib2.socks.HTTPError: (403, 'Forbidden')" problem ...</b><br class=""></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px" class=""><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)" class=""><b class="">Datum:<span class=""> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif" class="">19. März 2020 um 22:04:45 MEZ<br class=""></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px" class=""><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)" class=""><b class="">An:<span class=""> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif" class="">Giuliano Grigolin <<a href="mailto:giuliano.geobases@gmail.com" rel="noreferrer" target="_blank" class="">giuliano.geobases@gmail.com</a>><br class=""></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;margin:0px" class=""><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif;color:rgb(127,127,127)" class=""><b class="">Kopie:<span class=""> </span></b></span><span style="font-family:-webkit-system-font,"Helvetica Neue",Helvetica,sans-serif" class="">geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" rel="noreferrer" target="_blank" class="">geonode-users@lists.osgeo.org</a>><br class=""></span></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div dir="auto" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class="">Are you sure Geoserver credentials (admin user and password) are configured correctly on GeoNode?<div dir="auto" class=""><br class=""></div><div dir="auto" class="">Giovanni </div></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div class="gmail_quote" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="ltr" class="gmail_attr">Il gio 19 mar 2020, 21:37 Giuliano Grigolin <<a href="mailto:giuliano.geobases@gmail.com" rel="noreferrer" target="_blank" class="">giuliano.geobases@gmail.com</a>> ha scritto:<br class=""></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" class=""><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">Hi all !</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">I have a GeoNode 2.8 in production, with internet domain, in Ubuntu Server 16.04.</div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">When i try update a layer that i import trough "Import Data" in GeoServer, i get the following message:<br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif"><br class=""></div><div class="gmail_default" style="font-family:"trebuchet ms",sans-serif">root@geonode# python manage.py updatelayers -w geonode -f my_layer_in_GeoServer</div></div></blockquote></div></div></blockquote></div><br class=""></div></div></blockquote></div>
_______________________________________________<br class="">
geonode-users mailing list<br class="">
<a href="mailto:geonode-users@lists.osgeo.org" rel="noreferrer" target="_blank" class="">geonode-users@lists.osgeo.org</a><br class="">
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer noreferrer" target="_blank" class="">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br class="">
</blockquote></div></div></div>
</blockquote></div>
</div></blockquote></div><br class=""></div></body></html>