<div dir="ltr">Yeah Florian is right, if you are accessing the server from outside and not testing it locally then you have to use the public address.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-23 17:50 GMT+02:00 Florian Hoedt <span dir="ltr"><<a href="mailto:florian.hoedt@hs-owl.de" target="_blank">florian.hoedt@hs-owl.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello<br>
Shouldn`t you use:<br>
<br>
sudo geonode-updateip your_INTERNET_IP:4567<br>
<br>
instead of:<br>
sudo geonode-updateip localhost:4567<br>
<br>
or<br>
sudo geonode-updateip your_lan_ip:4567<br>
<br>
??? I am a newcomer to Geonode, too, so...<br>
<br>
do not forget to configure your geoserver to use the "outside" IP as proxy!<br>
<br>
mit freundlichen Grüßen<br>
Florian Hoedt<br>
<br>
B.Sc. Florian Hoedt<br>
Hochschule Ostwestfalen-Lippe / Campus Höxter<br>
FB 9 Landschaftsarchitektur und Umweltplanung<br>
An der Wilhelmshöhe 44<br>
37671 Höxter<br>
Tel.: 05271-687-7478<br>
E-Mail: <a href="mailto:florian.hoedt@hs-owl.de">florian.hoedt@hs-owl.de</a><br>
<a href="http://www.hs-owl.de/fb9" rel="noreferrer" target="_blank">www.hs-owl.de/fb9</a><br>
<br>
-----Ursprüngliche Nachricht-----<br>
Von: <a href="mailto:geonode-users-bounces@lists.osgeo.org">geonode-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:geonode-users-bounces@lists.osgeo.org">geonode-users-bounces@lists.osgeo.org</a>] Im Auftrag von <a href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a><br>
Gesendet: Wednesday, September 23, 2015 5:13 PM<br>
An: <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
Betreff: geonode-users Digest, Vol 8, Issue 14<br>
<br>
Send geonode-users mailing list submissions to<br>
        <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:geonode-users-owner@lists.osgeo.org">geonode-users-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific than "Re: Contents of geonode-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. problem to install geonode on a remote vm (Giuseppe Ricci)<br>
   2. Re: problem to install geonode on a remote vm (Simone Dalmasso)<br>
   3. Re: problem to install geonode on a remote vm (Giuseppe Ricci)<br>
   4. Re: problem to install geonode on a remote vm (Charles Coss?)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 23 Sep 2015 16:02:41 +0200<br>
From: Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>><br>
To: <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
Subject: [GeoNode-users] problem to install geonode on a remote vm<br>
Message-ID:<br>
        <<a href="mailto:CAB6LW8Y7k0P1mwgJcio7BPHHshs9bpk9hXhT5K20yVy_8GV-rg@mail.gmail.com">CAB6LW8Y7k0P1mwgJcio7BPHHshs9bpk9hXhT5K20yVy_8GV-rg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi guys,<br>
<br>
I'm trying to install geonode on a virtual machine installed on Micrsoft Azure server.<br>
I followed this tutorial:<br>
<br>
<a href="http://docs.geonode.org/en/master/tutorials/admin/prep/index.html" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/admin/prep/index.html</a><br>
<br>
but when i give this command:<br>
<br>
sudo geonode-updateip localhost:4567<br>
<br>
I receive this errors:<br>
<br>
$  sudo geonode-updateip localhost:4567<br>
Replacing SITEURL value with 'localhost:4567' in /etc/geonode/local_settings.py ... done.<br>
Adding entry for 'localhost:4567' in<br>
/usr/share/geoserver/data/printing/config.yaml ... 'localhost:4567' already found to the printing whitelist.<br>
Adding localhost:4567 to ALLOWED_HOSTS in /etc/geonode/local_settings.py ... 'localhost:4567' already found in ALLOWED_HOSTS list.<br>
 * Restarting web server<br>
apache2<br>
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 100.73.20.46. Set the 'ServerName' directive globally to suppress this message<br>
<br>
[ OK ]<br>
<br>
<br>
Finished processing 0 layers in 0.0 seconds.<br>
<br>
0 Created layers<br>
0 Updated layers<br>
0 Failed layers<br>
0.000000 seconds per layer<br>
<br>
At the adress localhost:4567 I receive the message:<br>
web page doesn't exist. ERR_CONNECTION_REFUSED.<br>
<br>
Can some one to help me?<br>
Thanks.<br>
<br>
Dott. Giuseppe Ricci<br>
Via B. Spaventa 6, Terlizzi<br>
Cel. 340 3059772<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/34a1fd9a/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/34a1fd9a/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 23 Sep 2015 16:06:17 +0200<br>
From: Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>><br>
To: Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>><br>
Cc: "<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>" <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>><br>
Subject: Re: [GeoNode-users] problem to install geonode on a remote vm<br>
Message-ID:<br>
        <<a href="mailto:CAAHAC%2BdszrJgBcuBRniLMMc2EoY5auYw48H4NHed0MCWYaQVQA@mail.gmail.com">CAAHAC+dszrJgBcuBRniLMMc2EoY5auYw48H4NHed0MCWYaQVQA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Giuseppe,<br>
<br>
I don't know about Azure but the connection refused error should be more relate to the web server configuration rather than Geonode that would throw a 5XX error series in case of errors or misconfigurations.<br>
<br>
2015-09-23 16:02 GMT+02:00 Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>>:<br>
<br>
><br>
><br>
> Hi guys,<br>
><br>
> I'm trying to install geonode on a virtual machine installed on<br>
> Micrsoft Azure server.<br>
> I followed this tutorial:<br>
><br>
> <a href="http://docs.geonode.org/en/master/tutorials/admin/prep/index.html" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/admin/prep/index.html</a><br>
><br>
> but when i give this command:<br>
><br>
> sudo geonode-updateip localhost:4567<br>
><br>
> I receive this errors:<br>
><br>
> $  sudo geonode-updateip localhost:4567 Replacing SITEURL value with<br>
> 'localhost:4567' in /etc/geonode/local_settings.py ... done.<br>
> Adding entry for 'localhost:4567' in<br>
> /usr/share/geoserver/data/printing/config.yaml ... 'localhost:4567'<br>
> already found to the printing whitelist.<br>
> Adding localhost:4567 to ALLOWED_HOSTS in<br>
> /etc/geonode/local_settings.py ... 'localhost:4567' already found in ALLOWED_HOSTS list.<br>
>  * Restarting web server<br>
> apache2<br>
> AH00558: apache2: Could not reliably determine the server's fully<br>
> qualified domain name, using 100.73.20.46. Set the 'ServerName'<br>
> directive globally to suppress this message<br>
><br>
> [ OK ]<br>
><br>
><br>
> Finished processing 0 layers in 0.0 seconds.<br>
><br>
> 0 Created layers<br>
> 0 Updated layers<br>
> 0 Failed layers<br>
> 0.000000 seconds per layer<br>
><br>
> At the adress localhost:4567 I receive the message:<br>
> web page doesn't exist. ERR_CONNECTION_REFUSED.<br>
><br>
> Can some one to help me?<br>
> Thanks.<br>
><br>
> Dott. Giuseppe Ricci<br>
> Via B. Spaventa 6, Terlizzi<br>
> Cel. 340 3059772<br>
><br>
> _______________________________________________<br>
> geonode-users mailing list<br>
> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
><br>
><br>
<br>
<br>
--<br>
Simone<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/460afc23/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/460afc23/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Wed, 23 Sep 2015 17:00:25 +0200<br>
From: Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>><br>
To: Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>><br>
Cc: "<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>" <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>><br>
Subject: Re: [GeoNode-users] problem to install geonode on a remote vm<br>
Message-ID:<br>
        <CAB6LW8bPyQRoLGzuDtw90Lg96WULovVmycO_GFsQH1e=j1=<a href="mailto:TJQ@mail.gmail.com">TJQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
I have a question: the mentioned tutorial is to install in local geonode..if I want to install on a remote server there is a tutorial?<br>
Thanks<br>
<br>
Dott. Giuseppe Ricci<br>
Via B. Spaventa 6, Terlizzi<br>
Cel. 340 3059772<br>
<br>
2015-09-23 16:06 GMT+02:00 Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>>:<br>
<br>
> Hi Giuseppe,<br>
><br>
> I don't know about Azure but the connection refused error should be<br>
> more relate to the web server configuration rather than Geonode that<br>
> would throw a 5XX error series in case of errors or misconfigurations.<br>
><br>
> 2015-09-23 16:02 GMT+02:00 Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>>:<br>
><br>
>><br>
>><br>
>> Hi guys,<br>
>><br>
>> I'm trying to install geonode on a virtual machine installed on<br>
>> Micrsoft Azure server.<br>
>> I followed this tutorial:<br>
>><br>
>> <a href="http://docs.geonode.org/en/master/tutorials/admin/prep/index.html" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/admin/prep/index.html</a><br>
>><br>
>> but when i give this command:<br>
>><br>
>> sudo geonode-updateip localhost:4567<br>
>><br>
>> I receive this errors:<br>
>><br>
>> $  sudo geonode-updateip localhost:4567 Replacing SITEURL value with<br>
>> 'localhost:4567' in /etc/geonode/local_settings.py ... done.<br>
>> Adding entry for 'localhost:4567' in<br>
>> /usr/share/geoserver/data/printing/config.yaml ... 'localhost:4567'<br>
>> already found to the printing whitelist.<br>
>> Adding localhost:4567 to ALLOWED_HOSTS in<br>
>> /etc/geonode/local_settings.py ... 'localhost:4567' already found in ALLOWED_HOSTS list.<br>
>>  * Restarting web server<br>
>> apache2<br>
>> AH00558: apache2: Could not reliably determine the server's fully<br>
>> qualified domain name, using 100.73.20.46. Set the 'ServerName'<br>
>> directive globally to suppress this message<br>
>><br>
>> [ OK ]<br>
>><br>
>><br>
>> Finished processing 0 layers in 0.0 seconds.<br>
>><br>
>> 0 Created layers<br>
>> 0 Updated layers<br>
>> 0 Failed layers<br>
>> 0.000000 seconds per layer<br>
>><br>
>> At the adress localhost:4567 I receive the message:<br>
>> web page doesn't exist. ERR_CONNECTION_REFUSED.<br>
>><br>
>> Can some one to help me?<br>
>> Thanks.<br>
>><br>
>> Dott. Giuseppe Ricci<br>
>> Via B. Spaventa 6, Terlizzi<br>
>> Cel. 340 3059772<br>
>><br>
>> _______________________________________________<br>
>> geonode-users mailing list<br>
>> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
>><br>
>><br>
><br>
><br>
> --<br>
> Simone<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/ccdb61a2/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/ccdb61a2/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Wed, 23 Sep 2015 11:12:35 -0400<br>
From: Charles Coss? <<a href="mailto:ccosse@gmail.com">ccosse@gmail.com</a>><br>
To: Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>><br>
Cc: geonode-users <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>><br>
Subject: Re: [GeoNode-users] problem to install geonode on a remote vm<br>
Message-ID:<br>
        <CABtoULhoPDY=ew+vkF7=<a href="mailto:XYmbViEMNsB0OsLiP-W7m_c6PWt9QA@mail.gmail.com">XYmbViEMNsB0OsLiP-W7m_c6PWt9QA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi, we have an issue running the latest GeoNode on a virtual server.  >From our LAN we access via a 192.168 ip address.  Externally we access via<br>
another, real ip address.   But when we access externally the image<br>
thumbnails and layers fail to show because they are referencing the 192.168<br>
address.   Looking through the database ("maps_mapsnapshot" table) I found<br>
that GeoNode had ingested the 192.168 address and was generating links from<br>
there.   I concluded that having 2 ips (one internal, one external) must<br>
not be possible given what was happening.  I don't see any way around it and we're re-configuring our systems to use a single IP as a result.<br>
Thanks,<br>
<br>
Charles Coss?<br>
Guyana Forestry Commission<br>
Georgetown, Guyana<br>
<br>
<br>
On Wed, Sep 23, 2015 at 10:02 AM, Giuseppe Ricci <<a href="mailto:peppepegasus@gmail.com">peppepegasus@gmail.com</a>><br>
wrote:<br>
<br>
><br>
><br>
> Hi guys,<br>
><br>
> I'm trying to install geonode on a virtual machine installed on<br>
> Micrsoft Azure server.<br>
> I followed this tutorial:<br>
><br>
> <a href="http://docs.geonode.org/en/master/tutorials/admin/prep/index.html" rel="noreferrer" target="_blank">http://docs.geonode.org/en/master/tutorials/admin/prep/index.html</a><br>
><br>
> but when i give this command:<br>
><br>
> sudo geonode-updateip localhost:4567<br>
><br>
> I receive this errors:<br>
><br>
> $  sudo geonode-updateip localhost:4567 Replacing SITEURL value with<br>
> 'localhost:4567' in /etc/geonode/local_settings.py ... done.<br>
> Adding entry for 'localhost:4567' in<br>
> /usr/share/geoserver/data/printing/config.yaml ... 'localhost:4567'<br>
> already found to the printing whitelist.<br>
> Adding localhost:4567 to ALLOWED_HOSTS in<br>
> /etc/geonode/local_settings.py ... 'localhost:4567' already found in ALLOWED_HOSTS list.<br>
>  * Restarting web server<br>
> apache2<br>
> AH00558: apache2: Could not reliably determine the server's fully<br>
> qualified domain name, using 100.73.20.46. Set the 'ServerName'<br>
> directive globally to suppress this message<br>
><br>
> [ OK ]<br>
><br>
><br>
> Finished processing 0 layers in 0.0 seconds.<br>
><br>
> 0 Created layers<br>
> 0 Updated layers<br>
> 0 Failed layers<br>
> 0.000000 seconds per layer<br>
><br>
> At the adress localhost:4567 I receive the message:<br>
> web page doesn't exist. ERR_CONNECTION_REFUSED.<br>
><br>
> Can some one to help me?<br>
> Thanks.<br>
><br>
> Dott. Giuseppe Ricci<br>
> Via B. Spaventa 6, Terlizzi<br>
> Cel. 340 3059772<br>
><br>
> _______________________________________________<br>
> geonode-users mailing list<br>
> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/c86b59e9/attachment.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/geonode-users/attachments/20150923/c86b59e9/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
<br>
<br>
End of geonode-users Digest, Vol 8, Issue 14<br>
********************************************<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>