<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi Toni,
<div><br /></div>
<div>there is something which I don’t understand:</div>
<div>
<ul>
<li>Here <a href="https://github.com/GeoNode/geonode/blob/master/geonode/templates/base.html#L252">https://github.com/GeoNode/geonode/blob/master/geonode/templates/base.html#L252</a> the link for getting the web admin page of GeoServer</li>
<li>Its default value <a href="https://github.com/GeoNode/geonode/blob/master/geonode/templates/base.html#L252">https://github.com/GeoNode/geonode/blob/master/geonode/templates/base.html#L252</a> comes from here <a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L752">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L752</a></li>
<li>The possible values have always a /gs location which isn’t a route allowed by neither any django urls nor Jetty</li>
</ul>
I guess there is a regression here at least for the default value which should affect development mode.</div>
<div><br /></div>
<div>I’d like if @afabiani could confirm the issue and maybe give the rationale and how to get rid of it.<br /></div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Il 16 mar 2019, 20:16 +0100, Toni Schönbuchner <toni.schoenbuchner@csgis.de>, ha scritto:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">Hello you two,
<div class=""><br class="" /></div>
<div class="">let me sugest to use the master branch has it has some important bugfixes which are missing in 2.8 branch.</div>
<div class=""><br class="" /></div>
<div class="">1) have a look where this link comes from:</div>
<div class=""><br class="" /></div>
<div class="">in master: <span style="color: rgb(3, 47, 98); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 251, 221);" class="">{{ OGC_SERVER.default.WEB_UI_LOCATION }}</span></div>
<div class="">in 2.8: <span style="color: rgb(3, 47, 98); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 251, 221);" class="">{{ OGC_SERVER.default.LOCATION }}</span></div>
<div class=""><span style="color: rgb(3, 47, 98); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; orphans: 2; white-space: pre; widows: 2; background-color: rgb(255, 251, 221);" class=""><br class="" /></span></div>
<div class=""><a href="https://github.com/GeoNode/geonode/blob/929265975816af0c08199e47e05f8be3c93f5477/geonode/templates/base.html#L252" class="">https://github.com/GeoNode/geonode/blob/929265975816af0c08199e47e05f8be3c93f5477/geonode/templates/base.html#L252</a></div>
<div class="">
<div><a href="https://github.com/GeoNode/geonode/blob/2.8.x/geonode/templates/base.html#L216" class="">https://github.com/GeoNode/geonode/blob/2.8.x/geonode/templates/base.html#L216</a></div>
<div><br class="" /></div>
<div>Make sure to set those vars correctly in your local_settings..py</div>
<div><br class="" /></div>
<div><br class="" /></div>
<div>2) please use verbose geoserver logging (in gs Gui I think it´s under general)</div>
<div>Watch log output while uploading layer with: </div>
<div>$ sudo tail -f /var/log/tomcat8/catalina.out</div>
<div>and maybe in some second terminal</div>
<div>$ sudo tail -f /var/log/apache2/error.log</div>
<div><br class="" /></div>
<div>As far as I remember this error can be solved when correctly setup your geoserver settings in local_settings</div>
<div>and further to correctly setup oauth2 settings on both sides Geonode/geoserver.</div>
<div><br class="" /></div>
<div>Hope this helps,</div>
<div><br class="" /></div>
<div>cheers,</div>
<div><br class="" /></div>
<div>Toni</div>
<div><br class="" />
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div class="">Am 16.03.2019 um 20:00 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" class="">geonode-users-request@lists.osgeo.org</a>:</div>
<br class="Apple-interchange-newline" />
<div class="">
<div class="">Send geonode-users mailing list submissions to<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class="" />
<br class="" />
To subscribe or unsubscribe via the World Wide Web, visit<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span>https://lists.osgeo.org/mailman/listinfo/geonode-users<br class="" />
or, via email, send a message with subject or body 'help' to<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span>geonode-users-request@lists.osgeo.org<br class="" />
<br class="" />
You can reach the person managing the list at<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span>geonode-users-owner@lists.osgeo.org<br class="" />
<br class="" />
When replying, please edit your Subject line so it is more specific<br class="" />
than "Re: Contents of geonode-users digest..."<br class="" />
<br class="" />
<br class="" />
Today's Topics:<br class="" />
<br class="" />
  1. geonode devmode python virtualenv installation (Julierme Pinheiro)<br class="" />
  2. Re: geonode devmode python virtualenv installation (Paulo Frias)<br class="" />
<br class="" />
<br class="" />
----------------------------------------------------------------------<br class="" />
<br class="" />
Message: 1<br class="" />
Date: Fri, 15 Mar 2019 16:50:50 -0300<br class="" />
From: Julierme Pinheiro <juliermeopensourcedeveloper@gmail.com><br class="" />
To: geonode-users <geonode-users@lists.osgeo.org>,  geonode-devel<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span><geonode-devel@lists.osgeo.org><br class="" />
Subject: [GeoNode-users] geonode devmode python virtualenv<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span>installation<br class="" />
Message-ID:<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span><CAKTKyJKbAbggkwsSQ_d_1Afs9-ABQm1e_mNCb2eVwBjRLzC5wg@mail.gmail.com><br class="" />
Content-Type: text/plain; charset="utf-8"<br class="" />
<br class="" />
Dear all,<br class="" />
<br class="" />
I have tried to install geonode devmode vs 2.8 via python virtualenv in a<br class="" />
16.04LTS Ubuntu server. I am following the guide in here [1].<br class="" />
<br class="" />
I am using custom local_settings.py. Everything works fine, except:<br class="" />
<br class="" />
1 - geoserver url. The link for Geoserver on GeoNode site points to<br class="" />
localhost:8000/proxy/?url=http:localhost:8080/geoserver/, however when<br class="" />
clicking on it, the site opens localhost:8000/geoserver/index.html.<br class="" />
<br class="" />
2 - Upload layers - while uploading a layer, we hit " Unespected error"<br class="" />
<br class="" />
Geoserver port number should be 8080.  Thinking about that, I went to [2]<br class="" />
which says to comment the lines:<br class="" />
<br class="" />
...# SITEURL = 'http://localhost'...#GEOSERVER_LOCATION = os.getenv(#<br class="" />
 'GEOSERVER_LOCATION', '{}/geoserver/'.format(SITEURL)#)<br class="" />
#GEOSERVER_PUBLIC_LOCATION = os.getenv(#<br class="" />
'GEOSERVER_PUBLIC_LOCATION', '{}/gs/'.format(SITEURL)#)...<br class="" />
<br class="" />
Besides of that, I set GEOSERVER_PUBLIC_PORT = '8080', but the issues remains.<br class="" />
<br class="" />
GEOSERVER_PUBLIC_PORT = os.getenv(<br class="" />
   'GEOSERVER_PUBLIC_PORT', '8080'<br class="" />
)<br class="" />
<br class="" />
If anyone else has faced these problems and could share any hint, it will<br class="" />
be very appreciated.<br class="" />
<br class="" />
Kind regards<br class="" />
<br class="" />
Julierme<br class="" />
<br class="" />
<br class="" />
<br class="" />
<br class="" />
<br class="" />
[1]<br class="" />
https://github.com/GeoNode/geonode-project/tree/06602d424a3779a636bcc78bc1d50c83ba980bad<br class="" />
<br class="" />
[2]<br class="" />
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/create_geonode_db.html<br class="" />
-------------- next part --------------<br class="" />
An HTML attachment was scrubbed...<br class="" />
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190315/4f1769b2/attachment-0001.html><br class="" />
<br class="" />
------------------------------<br class="" />
<br class="" />
Message: 2<br class="" />
Date: Sat, 16 Mar 2019 08:33:41 +0000<br class="" />
From: Paulo Frias <pfrias82@gmail.com><br class="" />
To: Julierme Pinheiro <juliermeopensourcedeveloper@gmail.com><br class="" />
Cc: geonode-users <geonode-users@lists.osgeo.org>,  geonode-devel<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span><geonode-devel@lists.osgeo.org><br class="" />
Subject: Re: [GeoNode-users] geonode devmode python virtualenv<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span>installation<br class="" />
Message-ID:<br class="" />
<span class="Apple-tab-span" style="white-space:pre"></span><CA+PD0U2bGP8NGbWPEVYR1ar-NA2KeU=SnyoLZdJ0M_7TKgLOyA@mail.gmail.com><br class="" />
Content-Type: text/plain; charset="utf-8"<br class="" />
<br class="" />
Hi Julierme,<br class="" />
<br class="" />
I have the exact same problem running Geonode, same installation procedure,<br class="" />
on my Mac. But I didn't found any solution yet. :(<br class="" />
Regards,<br class="" />
<br class="" />
Paulo<br class="" />
<br class="" />
<br class="" />
<br class="" />
On Fri, 15 Mar 2019 at 19:51, Julierme Pinheiro <<br class="" />
juliermeopensourcedeveloper@gmail.com> wrote:<br class="" />
<br class="" />
<blockquote type="cite" class="" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">Dear all,<br class="" />
<br class="" />
I have tried to install geonode devmode vs 2.8 via python virtualenv in a<br class="" />
16.04LTS Ubuntu server. I am following the guide in here [1].<br class="" />
<br class="" />
I am using custom local_settings.py. Everything works fine, except:<br class="" />
<br class="" />
1 - geoserver url. The link for Geoserver on GeoNode site points to<br class="" />
localhost:8000/proxy/?url=http:localhost:8080/geoserver/, however when<br class="" />
clicking on it, the site opens localhost:8000/geoserver/index.html.<br class="" />
<br class="" />
2 - Upload layers - while uploading a layer, we hit " Unespected error"<br class="" />
<br class="" />
Geoserver port number should be 8080.  Thinking about that, I went to [2]<br class="" />
which says to comment the lines:<br class="" />
<br class="" />
...# SITEURL = 'http://localhost'...#GEOSERVER_LOCATION = os.getenv(#    'GEOSERVER_LOCATION', '{}/geoserver/'.format(SITEURL)#)<br class="" />
#GEOSERVER_PUBLIC_LOCATION = os.getenv(#    'GEOSERVER_PUBLIC_LOCATION', '{}/gs/'.format(SITEURL)#)...<br class="" />
<br class="" />
Besides of that, I set GEOSERVER_PUBLIC_PORT = '8080', but the issues remains.<br class="" />
<br class="" />
GEOSERVER_PUBLIC_PORT = os.getenv(<br class="" />
   'GEOSERVER_PUBLIC_PORT', '8080'<br class="" />
)<br class="" />
<br class="" />
If anyone else has faced these problems and could share any hint, it will<br class="" />
be very appreciated.<br class="" />
<br class="" />
Kind regards<br class="" />
<br class="" />
Julierme<br class="" />
<br class="" />
<br class="" />
<br class="" />
<br class="" />
<br class="" />
[1]<br class="" />
https://github.com/GeoNode/geonode-project/tree/06602d424a3779a636bcc78bc1d50c83ba980bad<br class="" />
<br class="" />
[2]<br class="" />
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/create_geonode_db.html<br class="" />
_______________________________________________<br class="" />
geonode-users mailing list<br class="" />
geonode-users@lists.osgeo.org<br class="" />
https://lists.osgeo.org/mailman/listinfo/geonode-users<br class="" />
<br class="" /></blockquote>
-------------- next part --------------<br class="" />
An HTML attachment was scrubbed...<br class="" />
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190316/4a801d6a/attachment-0001.html><br class="" />
<br class="" />
------------------------------<br class="" />
<br class="" />
Subject: Digest Footer<br class="" />
<br class="" />
_______________________________________________<br class="" />
geonode-users mailing list<br class="" />
geonode-users@lists.osgeo.org<br class="" />
https://lists.osgeo.org/mailman/listinfo/geonode-users<br class="" />
<br class="" />
<br class="" />
------------------------------<br class="" />
<br class="" />
End of geonode-users Digest, Vol 50, Issue 12<br class="" />
*********************************************<br class="" /></div>
</div>
</blockquote>
</div>
<br class="" /></div>
_______________________________________________<br />
geonode-users mailing list<br />
geonode-users@lists.osgeo.org<br />
https://lists.osgeo.org/mailman/listinfo/geonode-users<br /></blockquote>
</div>
</body>
</html>