<div dir="ltr"><div><div>You were right! Thank you! I installed via apt-get but something had to go wrong because the version installed was 0.6.13. Now I am on 1.0.3. Thank you. Everything seems to be fine except the map creation. Now the error appearing is:</div><div><br></div><div>on <b>geoserver</b>:</div><div><br></div><div>2016-01-26 16:24:12,958 INFO [geoserver.gwc] - Error dispatching tile request to GeoServer</div><div>org.geowebcache.grid.OutsideCoverageException: Coverage [minx,miny,maxx,maxy] is [121, 156, 123, 161, 8], index [x,y,z] is [126, 154, 8]</div></div><div>2016-01-26 16:24:12,958 INFO [geoserver.gwc] - Error dispatching tile request to GeoServer</div><div>org.geowebcache.grid.OutsideCoverageException: Coverage [minx,miny,maxx,maxy] is [121, 156, 123, 161, 8], index [x,y,z] is [126, 155, 8]</div><div><br></div><div>on <b>apache</b>:</div><div><br></div><div><div>[Tue Jan 26 16:32:40.353085 2016] [authz_core:debug] [pid 21755] mod_authz_core.c(802): [client <a href="http://193.136.219.68:64001">193.136.219.68:64001</a>] AH01626: authorization result of Require all granted: granted, referer: <a href="http://atlas.example.com/maps/new">http://atlas.example.com/maps/new</a></div><div>[Tue Jan 26 16:32:40.353095 2016] [authz_core:debug] [pid 21755] mod_authz_core.c(802): [client <a href="http://193.136.219.68:64001">193.136.219.68:64001</a>] AH01626: authorization result of <RequireAny>: granted, referer: <a href="http://atlas.example.com/maps/new">http://atlas.example.com/maps/new</a></div><div>Fatal Python error: PyEval_AcquireThread: NULL new thread state</div><div>[Tue Jan 26 16:32:40.816720 2016] [core:error] [pid 21755] [client <a href="http://193.136.219.68:64001">193.136.219.68:64001</a>] End of script output before headers: geonode.wsgi, referer: <a href="http://atlas.example.com/maps/new">http://atlas.example.com/maps/new</a></div><div>[Tue Jan 26 16:32:41.467175 2016] [core:notice] [pid 20454] AH00051: child pid 20461 exit signal Segmentation fault (11), possible coredump in /etc/apache2</div><div>Fatal Python error: PyEval_AcquireThread: NULL new thread state</div></div><div><br></div><div><br></div><div>Any idea?</div><div><br></div><div>Thank you for all!</div><div>Regards,</div><div>Ivo</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-26 15:45 GMT+00:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I guess you have an old version of gsconfig installed on your system then.</div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20%C2%A0331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p></div></div></div></div></div></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Tue, Jan 26, 2016 at 4:43 PM, Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Ariel, thank you for sharing your experience. I am, of course, beginning to think seriously on the reinstall hypothesis.</div><div><br></div>Alessio, the SLD URL on table "layers_style" was set to:<div>"<bound method Style.body_href of <geoserver.style.Style object at 0x7f07a6038d10>>";</div><div>"<bound method Style.body_href of <geoserver.style.Style object at 0x7efcb9dabed0>>";</div><div>"<bound method Style.body_href of <geoserver.style.Style object at 0x7fb0e4a65f90>>"</div><div>...</div><div><br></div><div>I tried to change it on every single layer to <a href="http://atlas.example.com:8080/geoserver/rest/styles/general.sld" target="_blank">http://atlas.example.com:8080/geoserver/rest/styles/general.sld</a> and it's working now.</div><div><br></div><div>Tested to upload a new layer and to put the "Default Polygon" as defaut style and the same error occurs.</div><div>The new layer on the SLD URL appear again the same type of </div><div>"<bound method Style.body_href of <geoserver.style.Style object at 0x7fb0e4ec4690>>"</div><div><br></div><div>After changing to the same url as above, every logged user can open the layers.</div><div><br></div><div>But when I try to create a new map an internal 500 error occurs:</div><div><br></div><div><ul><li>On <b>apache </b>log:<br></li></ul></div><div><br></div><div><div>[Tue Jan 26 15:38:46.834380 2016] [authz_core:debug] [pid 8066] mod_authz_core.c(802): [client <a href="http://193.136.219.68:63432" target="_blank">193.136.219.68:63432</a>] AH01626: authorization result of Require all granted: granted, referer: <a href="http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84" target="_blank">http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84</a></div><div>[Tue Jan 26 15:38:46.834414 2016] [authz_core:debug] [pid 8066] mod_authz_core.c(802): [client <a href="http://193.136.219.68:63432" target="_blank">193.136.219.68:63432</a>] AH01626: authorization result of <RequireAny>: granted, referer: <a href="http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84" target="_blank">http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84</a></div><div>[Tue Jan 26 15:38:46.834524 2016] [authz_core:debug] [pid 8066] mod_authz_core.c(802): [client <a href="http://193.136.219.68:63432" target="_blank">193.136.219.68:63432</a>] AH01626: authorization result of Require all granted: granted, referer: <a href="http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84" target="_blank">http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84</a></div><div>[Tue Jan 26 15:38:46.834536 2016] [authz_core:debug] [pid 8066] mod_authz_core.c(802): [client <a href="http://193.136.219.68:63432" target="_blank">193.136.219.68:63432</a>] AH01626: authorization result of <RequireAny>: granted, referer: <a href="http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84" target="_blank">http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84</a></div><div>[Tue Jan 26 15:38:47.299144 2016] [core:error] [pid 8066] [client <a href="http://193.136.219.68:63432" target="_blank">193.136.219.68:63432</a>] End of script output before headers: geonode.wsgi, referer: <a href="http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84" target="_blank">http://atlas.example.com/maps/new?layer=geonode:conc42_wgs84</a></div><div>[Tue Jan 26 15:38:47.972265 2016] [core:notice] [pid 1516] AH00051: child pid 10059 exit signal Segmentation fault (11), possible coredump in /etc/apache2</div></div><div><br></div><div><ul><li>on <b>geoserver </b>log:<br></li></ul></div><div><br></div><div><div>2016-01-26 15:28:37,071 WARN [yaml.CustomBeanWrapper] - MetaData: unknown field 'footer' with value '{height=30, items=[org.mapfish.print.config.layout.ColumnsBlock@141dedd2]}'</div><div>2016-01-26 15:28:37,085 WARN [yaml.CustomBeanWrapper] - MainPage: Error while writing '{height=30, items=[org.mapfish.print.config.layout.ColumnsBlock@141dedd2]}' to footer: java.lang.IllegalArgumentException: argument type mismatch</div></div><div><br></div><div>[...]</div><div><br></div><div>2016-01-26 15:28:40,364 WARN [yaml.CustomBeanWrapper] - MetaData: unknown field 'footer' with value '{height=30, items=[org.mapfish.print.config.layout.ColumnsBlock@35ef1451]}'<br></div><div><br></div><div><br></div><div>Thank you,</div><div>Regards,</div><div>Ivo</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-01-26 8:47 GMT+00:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Mmm, thinking ... maybe the issue is just the SLD URL stored on the DB.<div><br></div><div>Try to change manually the geoserver URL on the table "layer_style" and see if it works.</div></div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20%C2%A0331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Tue, Jan 26, 2016 at 5:10 AM, Ariel Cabezas <span dir="ltr"><<a href="mailto:gerardoarielc@gmail.com" target="_blank">gerardoarielc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ivo,<div><div>I tell you my experience:</div><div><i>(<span style="font-size:12.8px">Does anyone have a clue of what is the problem? It seems the same problem Ariel had in November: </span><a href="https://lists.osgeo.org/pipermail/geonode-users/2015-November/001150.html" style="font-size:12.8px" target="_blank">https://lists.osgeo.org/pipermail/geonode-users/2015-November/001150.html</a>)</i></div><div>My problems started when:</div><div>- Install GeoNode and default settings; upload some layers;</div><div>later,</div><div>- I did the steps to set GeoNode for Production</div><div>- I change the key geoserver from the web platform Geoserver without changing the key in the file local_settings.py</div><div>then I tried to upload new data layers; and of course they began error messages</div><div>and I could not go back to the settings. don't remember that changes made.</div><div>mistakes were mine;</div><div>I had to reinstall GeoNode and could change the key geoserver without any problem; and then load the data layers without problems too,</div><div>now everything works correctly</div></div><div><span style="font-size:12.8px">regards,</span><br></div><div>Ariel Cabezas</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-25 19:28 GMT-03:00 Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@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">Alessio,<div><br></div><div>The same error occurs on both situations. It only depends of being logged to geonode or not. Do you think I should reinstall geonode and geoserver?</div><div><br></div><div>Regards,</div><div>Ivo</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-01-25 17:47 GMT+00:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is your layer a raster or vectorial one?</div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20%C2%A0331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Fri, Jan 22, 2016 at 4:06 PM, Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nevermind the last email. In my tests to try to solve the issue, I erased the trailing slash of the <baseUrl> on geonodeAuthProvider/config.xml.<div><br></div><div>I am on the same point right now (I can't see the layers on geoexplorer only if any geonode user is logged on). Possibily is something like this error and I missed some slash or something like that.</div><div><br></div><div>I tryed "DEBUG = TEMPLATE_DEBUG = True" on local_settings.py</div><div><br></div><div>I am not sure if it helps, but the error that appears is:</div><div><br></div>IndexError at /layers/geonode:teste<br><br>list index out of range<br><br>Request Method:GET<br>Request URL:<a href="http://atlas.example.com/layers/geonode:teste" target="_blank">http://atlas.example.com/layers/geonode:teste</a><br>Django Version:1.6.1<br>Exception Type:IndexError<br>Exception Value:<br><br>list index out of range<br><br>Exception Location:/usr/local/lib/python2.7/dist-packages/geonode/layers/models.py in absolute_url, line 68<br>Python Executable:/usr/bin/python<br>Python Version:2.7.6<br>Python Path:<br><br>['/usr/lib/python2.7',<br> '/usr/lib/python2.7/plat-x86_64-linux-gnu',<br> '/usr/lib/python2.7/lib-tk',<br> '/usr/lib/python2.7/lib-old',<br> '/usr/lib/python2.7/lib-dynload',<br> '/usr/local/lib/python2.7/dist-packages',<br> '/usr/lib/python2.7/dist-packages',<br> '/usr/lib/python2.7/dist-packages/PILcompat',<br> '/usr/lib/pymodules/python2.7',<br> '/var/www']<br><br>Server time:Sex, 22 Jan 2016 08:59:55 -0600<div><br></div><div><br></div><div><h2 style="padding:0px;margin:0px 0px 0.8em;color:rgb(0,0,0);font-family:sans-serif">Error during template rendering</h2><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:sans-serif">In template <code style="padding:0px;margin:0px;font-size:10.5625px;white-space:pre-wrap">/usr/local/lib/python2.7/dist-packages/geonode/layers/templates/layers/layer_detail.html</code>, error at line <strong style="padding:0px;margin:0px">322</strong></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:sans-serif"><strong style="padding:0px;margin:0px"><br></strong></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:sans-serif"><strong style="padding:0px;margin:0px"><span style="font-family:monospace;font-weight:normal;white-space:pre-wrap;background-color:rgb(255,255,204)"><a href="{{ GEOSERVER_BASE_URL }}</span><span style="padding:0px;margin:0px;color:rgb(204,51,0);font-family:monospace;white-space:pre-wrap;background-color:rgb(255,255,204)">{{ style.absolute_url }}</span><span style="font-family:monospace;font-weight:normal;white-space:pre-wrap;background-color:rgb(255,255,204)">" >{{ style.sld_title }}</a></span><br></strong></p><p style="padding:0px;margin:0px;color:rgb(0,0,0);font-family:sans-serif"><strong style="padding:0px;margin:0px"><span style="font-family:monospace;font-weight:normal;white-space:pre-wrap;background-color:rgb(255,255,204)"><br></span></strong></p><div><br></div>I can try to send the all file if some of you think it would be better.</div><div><br></div><div><br></div><div>Thank you for your attention,</div><div>Ivo</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-01-22 13:20 GMT+00:00 Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@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">Alessio,<div><br></div><div>Thank you for the explanation about mod_wsgi. I think it wasn't the situation. I tried the steps on that page who could be apllied and it's not working. Inclusive, there was a step back. Now I am like before: the user admin has to be logged to geoserver (and can't be logged on geonode) to be able to see the layers on the geoexplorer.</div><div><br></div><div>I am trying now the geoexplorer debug as described on the documentation. It has to be something wrong on the configuration. But what?</div><div><br></div><div>Thank you,</div><div>Ivo</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-01-22 8:54 GMT+00:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well, specifically mod_wsgi is an Apache HTTPD module. It allows you to create a virtual folder/host in order to proxy the GeoNode DJango application.<div><br></div><div>If you see mod_wsgi errors on the Apache error logs, most probably there is something wrong, which usually can be a configuration issue or a Python exception.</div><div><br></div><div>In the GeoNode official documentation there are several pages showing the steps for the correct configuration of GeoNode with mod_wsgi.</div><div><br></div><div>One page which may be helpful on your case maybe this one:</div><div><br></div><div><a href="http://docs.geonode.org/en/latest/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin" target="_blank">http://docs.geonode.org/en/latest/tutorials/admin/customize_lookfeel/customize/setup_admin.html#setup-admin</a><br></div><div><br></div></div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20%C2%A0331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Thu, Jan 21, 2016 at 2:12 PM, Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>It's not working on development mode.</div><div><br></div><div>Sorry the (probably) dumb question, but how can I use mod_wsgi to run GeonNode?</div>Maybe this info could help. The error that appears on apache when the user is logged on geonode and tries to see a layer is:<div> mod_wsgi (pid=7536): Exception occurred processing WSGI script '/var/www/geonode/wsgi/geonode.wsgi'.<br></div><div>[...]</div><div><br></div><div>And I realized that: </div><div>if the user is logged he can't see the layers (Example: <a href="http://atlas.example.com/layers/geonode%3Acom26_wgs84" target="_blank">http://atlas.example.com/layers/geonode%3Acom26_wgs84</a> ) . </div><div>if the user tries to create a new map (<a href="http://atlas.example.com/layers/maps/new" target="_blank">http://atlas.example.com/layers/maps/new</a>) the layers appear as available and could be shown on the map.</div><div>But if the user tries to save the map with the layers on screen, it gives a 500 error.</div><div><br></div><div>Thank you in advance.</div><div><br></div><div>Best regards,</div><div>Ivo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-21 13:01 GMT+00:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One more thing, if you are running GeoNode in development mode (paver start_django) it may not work when running the embedded geoserver.<div><br></div><div>If is not yet like this, try using mod_wsgi to run GeoNode</div></div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20%C2%A0331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p></div></div></div></div></div></div></div></div>
<br></span><div><div><div class="gmail_quote">On Thu, Jan 21, 2016 at 1:30 PM, Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Alessio,<div><br></div><div>Thank you for your reply. I think that I did understand what you were saying... After some improvements, geonode and geoserver are still unable to communicate when a user is logged on geonode (this time, independently of being logged on geoserver).</div><div><br></div><div>On local_settings.py:</div><div><br></div><div><div># OGC (WMS/WFS/WCS) Server Settings</div><div>OGC_SERVER = {</div><div> 'default' : {</div><div> 'BACKEND' : 'geonode.geoserver',</div><div> 'LOCATION' : '<a href="http://atlas.example.com:8080/geoserver/" target="_blank">http://atlas.example.com:8080/geoserver/</a>',</div><div> 'PUBLIC_LOCATION' : GEOSERVER_URL,</div><div> 'USER' : 'admin',</div><div> 'PASSWORD' : '*********************'</div></div><div><br></div><div>[...]</div><div><div><br></div><div>ALLOWED_HOSTS=['<a href="http://atlas.example.com" target="_blank">atlas.example.com</a>']</div></div><div><br></div><div><br></div><div>On geonodeAuthProvider/config.xml:</div><div><br></div><div><div> <baseUrl><a href="http://atlas.example.com/" target="_blank">http://atlas.example.com/</a></baseUrl></div></div><div><br></div><div>Does anyone have a clue of what is the problem? It seems the same problem Ariel had in November: <a href="https://lists.osgeo.org/pipermail/geonode-users/2015-November/001150.html" target="_blank">https://lists.osgeo.org/pipermail/geonode-users/2015-November/001150.html</a></div><div><br></div><div>Best regards,</div><div>Ivo</div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">2016-01-20 15:19 GMT+00:00 Alessio Fabiani <span dir="ltr"><<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The GeoNode/GeoServer security, right now, in order to work correctly needs both GeoNode and GeoServer exposed under the same domain (and the same port).<div><br></div><div>Therefore if you expose GeoNode as <a href="http://mysite/" target="_blank">http://mysite/</a> you must also expose GeoServer as <a href="http://mysite/geoserver" target="_blank">http://mysite/geoserver</a></div><div><br></div><div>The GeoNode authentication provider can be configured with <a href="http://localhost" target="_blank">http://localhost</a>, I guess, but you must be sure that GeoServer is also exposed as <a href="http://localhost/geoserver" target="_blank">http://localhost/geoserver</a>.</div><div><br></div><div>The rationale is that the GeoNodeSecurityClient looks for the AuthPrincipal from the cookies.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>==<br>GeoServer Professional Services from the experts! Visit<br><a href="http://goo.gl/NWWaa2" style="color:rgb(17,85,204)" target="_blank">http://goo.gl/NWWaa2</a> for more information.<br>==<br></div><div><br></div><div>Ing. Alessio Fabiani</div><div>@alfa7691</div><div>Founder/Technical Lead</div><div><br></div><div>GeoSolutions S.A.S.</div><div>Via Poggio alle Viti 1187</div><div>55054 Massarosa (LU)</div><div>Italy</div><div>phone: <a href="tel:%2B39%200584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></div><div>fax: <a href="tel:%2B39%200584%201660272" value="+3905841660272" target="_blank">+39 0584 1660272</a></div><div>mob: <a href="tel:%2B39%20%C2%A0331%206233686" value="+393316233686" target="_blank">+39 331 6233686</a></div><div><br></div><div><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></div><div><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></div><div><br></div><div>-------------------------------------------------------</div><div><br></div><div><p><span lang="IT"><font size="1"><b>AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</b></font></span></p><p><span lang="IT"><font size="1">Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.</font></span></p><p><span lang="IT"><font size="1"> </font></span></p><p><font size="1">The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.</font></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div>On Wed, Jan 20, 2016 at 3:58 PM, Ivo Santos <span dir="ltr"><<a href="mailto:ivojfs@gmail.com" target="_blank">ivojfs@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi everyone,<div><br></div><div>After several limiting issues concerning the configuration of apache that I have to thank you especially to Simone for all the help and guidance, I am now with a problem with the connection between geonode and geoserver:</div><div><br></div><div>If user as log in on geoserver but not on geonode, he can view the layers.</div><div>If user is not loged on geoserver, he can not view the layers and the error is:</div><div>2016-01-20 14:39:59,947 WARN [geonode.security] - Error connecting to the GeoNode server for authentication purposes<div>org.springframework.security.authentication.AuthenticationServiceException: Communication with GeoNode failed (UsernamePasswordAuthenticationToken)</div><div><br></div><div>If user is logged on both geonode and geoserver it gives a internal error (500).</div><div><br></div><div>Following this <a href="https://groups.google.com/forum/m/#!topic/geonode-users/84HvjbarPE8" target="_blank">thread </a>I tried to apply this <a href="https://github.com/GeoNode/geonode/commit/cc732e0a73c6d04d8f57fdf376dfb9a9848abd86" target="_blank">doc </a>to my installation but it didn't worked.</div><div>Does it have to remain like "<a href="http://localhost/" target="_blank">http://localhost/</a>" on both files or should I substitute by "<a href="http://atlas.example.com" target="_blank">http://atlas.example.com</a>" on both? If you need more info please let me know.</div><div><br></div><div>Thank you for all the help and patience for this newcomer,</div><div>regards,</div><div>Ivo</div><span><font color="#888888"><div><br></div><div><br></div>-- <br><div>Ivo Santos</div>
</font></span></div></div>
<br></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="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><span><font color="#888888"><div><br></div></font></span></div></div><span><font color="#888888"><span><font color="#888888">-- <br><div>Ivo Santos</div>
</font></span></font></span></div><span><font color="#888888">
<br>_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></font></span></blockquote></div><span><font color="#888888"><br></font></span></div></div></div><span><font color="#888888">
</font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Ivo Santos</div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Ivo Santos</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Ivo Santos</div>
</font></span></div>
<br>_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Ivo Santos</div>
</font></span></div>
<br>_______________________________________________<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="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div>Ivo Santos</div>
</font></span></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ivo Santos</div>
</div>