<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Nope, no Docker involved so far. I'll have a look into it...
thanks!<br>
As said, I created LXD containers and installed GeoNode /
GeoServer according to the respective tutorials. Any further
suggestions on how to succeed in establishing the link?</p>
<p>Florian<br>
</p>
<br>
<div class="moz-cite-prefix">On 28.09.2016 20:01,
<a class="moz-txt-link-rfc2396E" href="mailto:xbartolone@gmail.com">"xbartolone@gmail.com"</a> wrote:<br>
</div>
<blockquote
cite="mid:97e4900d-9c5d-44b9-83ea-aee1f74e02dc@typeapp.com"
type="cite">
<meta name="viewport" content="width = window.innerWidth-10,
initial-scale=1">
<mailscannerscript32914 script=""></mailscannerscript32914>
<style></style>
<div>
<p class="p1"><span class="s1">Hi Florian,<br>
<br>
Are you using docker-compose and the link strategy? In such
a case I'd suggest to have a look at the work already done
by the team under the github repos django-docker,
geoserver-docker, nginx-docker, data-docker<br>
<br>
Francesco<br>
<br>
<!-- tmjah_g_1299s -->Inviato da <a moz-do-not-send="true"
href="http://www.typeapp.com/r">TypeApp</a> per iPhone<!-- tmjah_g_1299e --></span></p>
</div>
<div style="color: black; padding-right: 0px;"><div_wrapper
style="margin: 0pt 0pt 0pt 0ex; border-left: 0px;
padding-left: 0ex; padding-right: 1cm;"><span
class="type_quote" style="font-size: 17.0px;color: #0b21ef;">On
28 set 2016 <a moz-do-not-send="true" dir="ltr"
href="x-apple-data-detectors://1"
x-apple-data-detectors="true"
x-apple-data-detectors-type="calendar-event"
x-apple-data-detectors-result="1">at 18:10</a>, Florian
Detsch <<a moz-do-not-send="true" dir="ltr"
href="mailto:florian.detsch@staff.uni-marburg.de"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="2">florian.detsch@staff.uni-marburg.de</a>>
wrote:</span><br>
Hi,<br>
<br>
I am going through the tutorial about 'GeoNode (v2.4)
installation on <br>
Ubuntu 14.04' <br>
(<a moz-do-not-send="true" dir="ltr"
href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="3">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html</a>)
<br>
in order to setup GeoNode v2.5.x <br>
(<a moz-do-not-send="true" dir="ltr"
href="https://github.com/GeoNode/geonode/tree/2.5.x"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="4">https://github.com/GeoNode/geonode/tree/2.5.x</a>)
in an LXD container on <br>
Ubuntu 16.04. When running GeoNode and GeoServer in the same
container - <br>
i.e., with an identical IP address - everything works fine.<br>
<br>
However, my overall goal is to have GeoNode run on one
machine, and <br>
GeoServer on another. Therefore, I installed GeoServer in a
second LXD <br>
container just like before. Then, I modified<br>
1. /var/lib/tomcat7/webapps/geoserver/WEB-INF/web.xml,
changing <br>
parameter GEONODE_BASE_URL to the IP address and port of the
GeoNode <br>
container, and<br>
2. did the same for parameter baseUrl in <br>
/var/lib/tomcat7/webapps/geoserver/data/security/auth/geonodeAuthProvider/config.xml<br>
as described in the tutorial's subsection 'Install GeoServer <br>
Application' <br>
(<a moz-do-not-send="true" dir="ltr"
href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/install_geoserver_application.html"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="5">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/install_geoserver_application.html</a>).
<br>
<br>
<br>
Furthermore, in the initial GeoNode container, I modified
parameters <br>
ProxyPass and ProxyPassReverse in <br>
/etc/apache2/sites-available/geonode.conf to match with the
new IP <br>
address of the GeoServer container <br>
(<a moz-do-not-send="true" dir="ltr"
href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="6">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html</a>),
<br>
and did the same for the OGC_SERVER settings in GeoNode's
local_settings.py.<br>
<br>
Now, I can login to GeoNode as admin. When I open the admin
menu in the <br>
top-right corner and select GeoServer, I am redirected to the
desired <br>
GeoServer as expected. However, the automatic login - which
initially <br>
worked when both components ran in the same container - fails,
letting <br>
me assume that there's something going wrong during the
authentication <br>
procedure.<br>
<br>
Any advice on that issue would be highly appreciated. In
addition, <br>
please let me know if further information, log files, etc. are
required <br>
in order to solve my problem.<br>
<br>
Many thanks in advance,<br>
Florian<br>
<br>
-- <br>
Florian Detsch (M.Sc. Physical Geography)<br>
Environmental Informatics<br>
Department of Geography<br>
Philipps-Universität Marburg<br>
<a moz-do-not-send="true" dir="ltr"
href="x-apple-data-detectors://8/1"
x-apple-data-detectors="true"
x-apple-data-detectors-type="address"
x-apple-data-detectors-result="8/1">Deutschhausstraße 12</a><br>
35032 (parcel post: 35037) Marburg, Germany<br>
<br>
Phone: <a moz-do-not-send="true" dir="ltr"
href="tel:+49%206421%2028-25323"
x-apple-data-detectors="true"
x-apple-data-detectors-type="telephone"
x-apple-data-detectors-result="9/0">+49 (0) 6421 28-25323</a><br>
Web: <a moz-do-not-send="true" dir="ltr"
href="http://umweltinformatik-marburg.de/en/staff/florian-detsch/"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="9/1">http://umweltinformatik-marburg.de/en/staff/florian-detsch/</a><br>
<br>
_______________________________________________<br>
geonode-devel mailing list<br>
<a moz-do-not-send="true" dir="ltr"
href="mailto:geonode-devel@lists.osgeo.org"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="10">geonode-devel@lists.osgeo.org</a><br>
<a moz-do-not-send="true" dir="ltr"
href="http://lists.osgeo.org/mailman/listinfo/geonode-devel"
x-apple-data-detectors="true"
x-apple-data-detectors-type="link"
x-apple-data-detectors-result="11">http://lists.osgeo.org/mailman/listinfo/geonode-devel</a><br>
</div_wrapper></div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Florian Detsch (M.Sc. Physical Geography)
Environmental Informatics
Department of Geography
Philipps-Universität Marburg
Deutschhausstraße 12
35032 (parcel post: 35037) Marburg, Germany
Phone: +49 (0) 6421 28-25323
Web: <a class="moz-txt-link-freetext" href="http://umweltinformatik-marburg.de/en/staff/florian-detsch/">http://umweltinformatik-marburg.de/en/staff/florian-detsch/</a></pre>
</body>
</html>