<div dir="ltr"><div><div><span style="color:rgb(32,18,77)"><font size="4">Also I did not find <b>POSTGIS_VERSION</b> in local_settings.py and in the settings.py in Geonode (apt-get).<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Kind Regards<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Julierme</font></span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-19 11:42 GMT-03:00 Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><span style="color:rgb(32,18,77)"><font size="4">Looking at the ALLOWED_HOSTS and PROXY_ALLOWED_HOSTS in the settings.py in my_geonode (Geonode-project DEV)<br><br>ALLOWED_HOSTS = ['localhost', 'django', '172.21.14.45'] if os.getenv('ALLOWED_HOSTS') is None \<br> else re.split(r' *[,|:|;] *', os.getenv('ALLOWED_HOSTS'))<br><br>PROXY_ALLOWED_HOSTS += ('<a href="http://nominatim.openstreetmap.org" target="_blank">nominatim.openstreetmap.org</a>'<wbr>, '172.21.14.45',)<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">I am not sure if that configuration is missing something.<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Kind regards<span class="HOEnZb"><font color="#888888"><br><br></font></span></font></span></div><span class="HOEnZb"><font color="#888888"><span style="color:rgb(32,18,77)"><font size="4">Julierme</font></span><br><div><div><div><br></div></div></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-04-19 11:17 GMT-03:00 Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@<wbr>gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><span style="color:rgb(53,28,117)"><font size="4">Dear Toni Schonbuchner and Dave Kennewell,<br><br></font></span></div><span style="color:rgb(53,28,117)"><font size="4">Thank you very much for your reply. <br><br></font></span></div><span style="color:rgb(53,28,117)"><font size="4">First if I did not misunderstand Toni suggestion, I tried the following:<br><b><br></b></font></span></div><span style="color:rgb(53,28,117)"><font size="4"><b>1 - Commenting out <<span style="font-family:Helvetica;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline"># ENGINE': '', # Empty ENGINE name disables</span>> from local_settings.py in my_geonode (Geonode-Project Dev virtualenv)</b><br><br></font></span></div><span style="color:rgb(53,28,117)"><font size="4">Result: the problem remains<br><br></font></span></div><span style="color:rgb(53,28,117)"><font size="4"><b>2 - Uncommenting out <<span style="font-family:Helvetica;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline"> ENGINE': '', # Empty ENGINE name disables</span>> from local_settings.py in my_geonode (Geonode-Project Dev virtualenv) and inserting the line <<span style="font-family:Helvetica;font-style:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline"> ENGINE': '', # Empty ENGINE name disables</span>> in local_settings.py from Geonode (Geonode apt-get)</b>.<br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4">Result: the problem remains<br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4">However, I got a new response to Dave Kennewell suggestion after activating my_geonode virtualenv:<br><br><b>settings.DATABASES</b><br>{'default': {'ENGINE': 'django.db.backends.sqlite3', 'ATOMIC_REQUESTS': False, 'CONN_MAX_AGE': 600, 'HOST': '', 'USER': '', 'PASSWORD': '', 'OPTIONS': {}, 'AUTOCOMMIT': True, 'NAME': '/etc/julierme_virtualenv/my_g<wbr>eonode/local/lib/python2.7/sit<wbr>e-packages/geonode/development<wbr>.db', 'TIME_ZONE': 'UTC', 'PORT': '', 'TEST': {'COLLATION': None, 'CHARSET': None, 'NAME': None, 'MIRROR': None}}}<br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4">I think there is no database being used.<br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4">I also have to make some few notes:<br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4"><b>1 - ALLOWED_HOSTS, PROXY_ALLOWED_HOSTS and POSTGIS_VERSION are commented out in local_settings.py in my_geonode (Geonode-Project Dev)</b><br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4"><b>2 - Geoserver Port is 8080 in Geonode(apt-get) and 6060 in my_geonode(Geonode-Project Dev), but both are running fine.</b><br><br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4">Thank you very much for your time and patience.<br><br></font></span></div><div><span style="color:rgb(53,28,117)"><font size="4">I appreciated it.<span class="m_-504511257928715965HOEnZb"><font color="#888888"><br><br></font></span></font></span></div><span class="m_-504511257928715965HOEnZb"><font color="#888888"><div><span style="color:rgb(53,28,117)"><font size="4">Julierme<br></font></span></div><div><br><br><br><br></div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></font></span></div><div class="m_-504511257928715965HOEnZb"><div class="m_-504511257928715965h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-04-19 4:29 GMT-03:00 Toni Schönbuchner <span dir="ltr"><<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank">toni.schoenbuchner@csgis.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Dear Julierme,<div><br></div><div>I haven´t followed the whole thread but have a look at this comment:</div><div><br></div><div> 'ENGINE': '', # Empty ENGINE name disables</div><div><br></div><div>See if things change if you set ENGINE to geonode in your project.</div><div><br></div><div>Best regards,</div><div><br></div><div>Toni</div><div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><div style="word-wrap:break-word"><div><div>------------------------------<wbr>-----------------</div><div>CSGIS</div><div><br></div><div>------------------------------<wbr>-----------------</div><div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-504511257928715965m_-174495985107969686m_-104820682628425565Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-504511257928715965m_-174495985107969686m_-104820682628425565Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-504511257928715965m_-174495985107969686m_-104820682628425565Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-504511257928715965m_-174495985107969686m_-104820682628425565Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://csgis.de" target="_blank">http://csgis.de</a></div><div>------------------------------<wbr>-----------------</div><div><br></div><div>Hinweis gemäß § 33 BDSG</div><div>Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div>Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div>erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div>von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div>Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Am 18.04.2018 um 21:13 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.os<wbr>geo.org</a>:</div><br class="m_-504511257928715965m_-174495985107969686m_-104820682628425565Apple-interchange-newline"><div><span 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;float:none;display:inline!important"> 'ENGINE': '', # Empty ENGINE name disables</span></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>