<div dir="ltr"><div>And change HOST_IP: 192.168.0.2  to HOST_IP: your.ip.add.here</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 25, 2019 at 10:07 AM 1520 gis <<a href="mailto:juliermeopensourcedeveloper@gmail.com">juliermeopensourcedeveloper@gmail.com</a>> wrote:<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"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Ran</div><div><br></div><div>First of all, the host IP 127.0.0.1 is the same as localhost, now, see if your your docker-compose.override.yml is set as shown bellow:</div><div>version: '2.2'<br>services:<br>  django:<br>    environment:<br>      DEBUG: 'True'<br>      GEONODE_LB_HOST_IP: 192.168.0.2<br>      GEONODE_LB_PORT: 80<br>      SITEURL: <a href="http://192.168.0.2/" target="_blank">http://192.168.0.2/</a><br>      ALLOWED_HOSTS: "['192.168.0.2', '127.0.0.1']"<br>      GEOSERVER_PUBLIC_LOCATION: <a href="http://192.168.0.2/geoserver/" target="_blank">http://192.168.0.2/geoserver/</a><br><br>  celery:<br>    environment:<br>      DEBUG: 'True'<br>      GEONODE_LB_HOST_IP: 192.168.0.2<br>      GEONODE_LB_PORT: 80<br>      SITEURL: <a href="http://192.168.0.2/" target="_blank">http://192.168.0.2/</a><br>      ALLOWED_HOSTS: "['192.168.0.2', '127.0.0.1']"<br>      GEOSERVER_PUBLIC_LOCATION: <a href="http://192.168.0.2/geoserver/" target="_blank">http://192.168.0.2/geoserver/</a><br><br>  geoserver:<br>    environment:<br>      GEONODE_LB_HOST_IP: 192.168.0.2<br>      GEONODE_LB_PORT: 80<br>      NGINX_BASE_URL:<br><br></div><div><br></div><div>I hope it helps</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 24, 2019 at 2:50 PM Ran L. <<a href="mailto:kula009@gmail.com" target="_blank">kula009@gmail.com</a>> wrote:<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"><font face="arial, helvetica, sans-serif">Hello all,</font><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">I'm trying to install GeoNode using docker by following instructions provide on <a href="https://github.com/GeoNode/geonode-project" target="_blank">https://github.com/GeoNode/geonode-project</a></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">After setting up the GeoNode successfully on my machine (a ubuntu 16.04 on virtual box), I wanted to try updating the IP address by replacing every "localhost" with "127.0.0.1" in <span style="color:rgb(36,41,46);background-color:rgb(255,255,0)">docker-compose.override.yml. </span></font><font face="arial, helvetica, sans-serif"><span style="color:rgb(36,41,46);background-color:rgb(255,255,255)">.</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(36,41,46)"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(36,41,46)">I followed the exact step specified </span><font style="background-color:rgb(255,255,255)" color="#000000">in: </font></font><a href="https://github.com/GeoNode/geonode-project#if-you-want-to-run-the-instance-on-a-public-site" target="_blank">https://github.com/GeoNode/geonode-project#if-you-want-to-run-the-instance-on-a-public-site</a><br></div><div><br></div><div>After updating the IP address, I cannot using the quick authentication to log in to the Geoserver, as the picture shows:</div><div><div><img src="cid:ii_juvi5oc20" alt="0.PNG" width="261" height="74"><br></div></div><div><br></div><div>The error message I got was <span style="background-color:rgb(255,255,0)">"Error: invalid_request: Mismatching redirect URL."</span></div><div><img src="cid:ii_juvi7can1" alt="1.PNG" width="542" height="149"><br></div><div><br></div><div>It seems that something went wrong when updating the IP address.</div><div><br></div><div>I tried to revert the changes, by replacing "127.0.0.1" with "localhost" in <span style="background-color:rgb(255,255,0);color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">docker-compose.override.yml.</span><span style="background-color:rgb(255,255,0);color:rgb(36,41,46);font-family:arial,helvetica,sans-serif"> </span> . But I couldn't get the quick authentication work anymore. The error message I got is:</div><div><img src="cid:ii_juvibwv12" alt="2.PNG" width="542" height="455"><br></div><div><br></div><div>It seems that the IP address wasn't updated completely, because it still shows "127.0.0.1", but I already fixed everything in <span style="background-color:rgb(255,255,0);color:rgb(36,41,46);font-family:arial,helvetica,sans-serif">docker-compose.override.yml.</span></div><div><span style="background-color:rgb(255,255,0);color:rgb(36,41,46);font-family:arial,helvetica,sans-serif"><br></span></div><div>This is a very critical step I must figure out, as eventually I need to update the IP address when publishing the services on my server.</div><div><br></div><div>Any help is appreciated!</div><div><br></div><div>Thank you!</div><div><br></div><div>Regards,</div><div><br></div><div>Ran</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>
</blockquote></div>