<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Yes, all database configs are correct; I followed the guide in the link you posted and I also have a PostGIS store correctly enabled in GeoServer, using those credentials.<br>
<br>
I have the same versions of Geonode and Geoserver (and Postgre sql as well) on a local development machine and everything works fine there. I have issues on this other machine, where I'm using Apache (on port 80) with WSGI daemon and Tomcat, instead of server
on port 8000 and Jetty that come with the basic development installation. <br>
I also moved the Geoserver data directory to a custom /data/geoserver-data, after copying all contents of the original folder into the new one.<br>
I also set 777 permissions on both uploaded/layers of Geonode and GeoServer data directory, just to be sure that the problem was not there.<br>
So, I guess something is wrong with Tomcat configurations, but I don't know what (I also followed all guides I found, by the way).<br>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF69669" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Alessio Fabiani [alessio.fabiani@geo-solutions.it]<br>
<b>Sent:</b> 19 December 2017 14:31<br>
<b>To:</b> LUONI Stefano (JRC-ISPRA-EXT)<br>
<b>Cc:</b> geonode-users<br>
<b>Subject:</b> Re: [GeoNode-users] FW: Cannot upload layers<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Did you correctly configured the database passwords and connection params on settings.py or local_settings.py ?
<div><br>
</div>
<div>Try to give a look here also</div>
<div><br>
</div>
<div><a href="http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/create_geonode_db.html" target="_blank">http://training.geonode.geo-solutions.it/002_install_and_admin/002_geonode_install/create_geonode_db.html</a><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Regards,</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoServer Professional Services from the experts! Visit
<a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Italy</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">phone: +39 0584 962313</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">fax: +39 0584 1660272</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">mob: +39 331 6233686</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">-------------------------------------------------------</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">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.</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">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.</span></p>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Dec 19, 2017 at 2:20 PM, <span dir="ltr"><<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">My issue is still unresolved and I don't know how to deeply debug it.
<br>
I get errors while trying to upload both shape files and raster files; the only difference is that the process blocks at different points, since I already have a PostGIS data store in GeoServer that would be used for shape files.<br>
<br>
Apparently, Geonode is unable to create a store into GeoServer. This is an extract of Apache error log.<br>
<br>
[Tue Dec 19 07:04:<a href="tel:02%20118664" value="+3902118664" target="_blank">02.118664</a> 2017] [wsgi:error] [pid 4932:tid 140059365070592] File "/home/luonist/risk_data_hub/<wbr>my_venv/local/lib/python2.7/<wbr>site-packages/geoserver/<wbr>catalog.py",
line 555, in _create_coveragestore<br>
[Tue Dec 19 07:04:<a href="tel:02%20118685" value="+3902118685" target="_blank">02.118685</a> 2017] [wsgi:error] [pid 4932:tid 140059365070592] raise UploadError(response)<br>
[Tue Dec 19 07:04:<a href="tel:02%20118707" value="+3902118707" target="_blank">02.118707</a> 2017] [wsgi:error] [pid 4932:tid 140059365070592] UploadError: Could not save the layer bogota, there was an upload error: <!DOCTYPE html><html><head><title>Apache
Tomcat/8.0.32 (Ubuntu) - Error report</title><style type="text/css">H1 {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;font-<wbr>size:22px;} H2 {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;font-<wbr>size:16px;}
H3 {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;font-<wbr>size:14px;} BODY {font-family:Tahoma,Arial,<wbr>sans-serif;color:black;<wbr>background-color:white;} B {font-family:Tahoma,Arial,<wbr>sans-serif;color:white;<wbr>background-color:#525D76;}
P {font-family:Tahoma,Arial,<wbr>sans-serif;background:white;<wbr>color:black;font-size:12px;}A {color : black;}A.name {color : black;}.line {height: 1px; background-color: #525D76; border: none;}</style> </head><body><h1>HTTP Status 403 - Access is denied</h1><div
class="line"></div><p><b>type<<wbr>/b> Status report</p><p><b>message</b> <u>Access is denied</u></p><p><b><wbr>description</b> <u>Access to the specified resource has been forbidden.</u></p><hr class="line"><h3>Apache Tomcat/8.0.32 (Ubuntu)</h3></body></html><br>
<br>
>From GeoServer logs, I only find an error that comes later, when it looks for a store that should have been created before (if I understand correctly):<br>
<br>
2017-12-19 13:04:02,014 ERROR [geoserver.rest] - No such datastore: geonode,bogota<br>
2017-12-19 13:04:02,016 ERROR [geoserver.rest] - <br>
org.geoserver.rest.<wbr>RestletException<br>
<br>
2017-12-19 13:04:02,050 ERROR [geoserver.rest] - No such coverage store: geonode,bogota<br>
2017-12-19 13:04:02,051 ERROR [geoserver.rest] - <br>
org.geoserver.rest.<wbr>RestletException<br>
<br>
2017-12-19 13:04:02,080 ERROR [geoserver.rest] - No such wms store: geonode,bogota<br>
2017-12-19 13:04:02,080 ERROR [geoserver.rest] - <br>
org.geoserver.rest.<wbr>RestletException<br>
<br>
I'm using Geonode 2.7.4, GeoServer 2.10 (taken from <a href="http://build.geonode.org/geoserver/latest/)," target="_blank">
http://build.geonode.org/<wbr>geoserver/latest/),</a> Apache 2.4, Tomcat 8, OpenJDK 1.8.0_151<span class=""><br>
<br>
Thank you very much,<br>
<br>
Stefano<br>
<div><br>
</div>
</span>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_-5915358966844333849divRpF477973" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b> geonode-users [<a href="mailto:geonode-users-bounces@lists.osgeo.org" target="_blank">geonode-users-bounces@lists.<wbr>osgeo.org</a>]
on behalf of <a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.eu</a> [<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.<wbr>eu</a>]<br>
<b>Sent:</b> 18 December 2017 09:50<br>
<b>To:</b> <a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.<wbr>it</a><br>
<b>Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>
<div>
<div class="h5"><br>
<b>Subject:</b> Re: [GeoNode-users] Cannot upload layers<br>
</div>
</div>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi Alessio,<br>
<br>
yes, the GeoServer WAR file came with the development installation (paver setup); I then moved the WAR file into Tomcat directory, in order to replace Jetty with Tomcat as container for GeoServer. I'm already using the Geonode authentication on GeoServer, though.<br>
<div><br>
</div>
<div style="font-family:Times New Roman; color:#000000; font-size:16px">
<hr>
<div id="m_-5915358966844333849divRpF559442" style="direction:ltr"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Alessio Fabiani [<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-<wbr>solutions.it</a>]<br>
<b>Sent:</b> 13 December 2017 18:16<br>
<b>To:</b> LUONI Stefano (JRC-ISPRA-EXT)<br>
<b>Cc:</b> geonode-users<br>
<b>Subject:</b> Re: [GeoNode-users] Cannot upload layers<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Are you using one of the GeoServer WARs and DataDir prepared for GeoNode?
<div><br>
</div>
<div><a href="http://build.geonode.org/geoserver/latest/" target="_blank">http://build.geonode.org/<wbr>geoserver/latest/</a><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_-5915358966844333849gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Regards,</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoServer Professional Services from the experts! Visit
<a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">==</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Via di Montramito 3/A</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">55054 Massarosa (LU)</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">Italy</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">phone:
<a href="tel:0584%20962313" value="+390584962313" target="_blank">+39 0584 962313</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">fax: <a href="tel:0584%20166%200272" value="+3905841660272" target="_blank">+39 0584 1660272</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">mob: <a href="tel:331%20623%203686" value="+393316233686" target="_blank">+39 331 6233686</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/<wbr>geosolutions_it</a></span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"><br>
</span><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">------------------------------<wbr>-------------------------</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">AVVERTENZE AI SENSI DEL D.Lgs. 196/2003</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">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.</span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap"></span></p>
<p dir="ltr" style="line-height:1.38; margin-top:0pt; margin-bottom:0pt"><span style="font-size:11pt; font-family:Arial; vertical-align:baseline; white-space:pre-wrap">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.</span></p>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Dec 13, 2017 at 6:04 PM, <span dir="ltr"><<a href="mailto:Stefano.LUONI@ext.ec.europa.eu" target="_blank">Stefano.LUONI@ext.ec.europa.<wbr>eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><font size="1"><font size="2" face="Arial">Hi,<br>
<br>
I'm facing this issue: whenever I try to upload a layer (both shape file or raster), I receive a 403 error (Access is denied) from Tomcat.
<br>
<br>
</font></font><br>
<p style="margin:0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Error code (403) from GeoServer:</p>
<h1 style="margin:22px 0px 11px; font-family:Tahoma,Arial,sans-serif; font-weight:700; line-height:1.1; color:white; font-size:22px; background-color:rgb(82,93,118); font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
HTTP Status 403 - Access is denied</h1>
<p style="margin:0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<b style="font-weight:bold; font-family:Tahoma,Arial,sans-serif; color:white; background-color:rgb(82,93,118)">type</b><span> </span>Status report</p>
<p style="margin:5px 0px 0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<b style="font-weight:bold; font-family:Tahoma,Arial,sans-serif; color:white; background-color:rgb(82,93,118)">message</b><span> </span><u>Access is denied</u></p>
<p style="margin:5px 0px 0px; font-family:Tahoma,Arial,sans-serif; background:white; color:black; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<b style="font-weight:bold; font-family:Tahoma,Arial,sans-serif; color:white; background-color:rgb(82,93,118)">description</b><span> </span><u>Access to the specified resource has been forbidden.</u></p>
<hr class="m_-5915358966844333849m_-6994706580127949956line" style="height:1px; margin-top:22px; margin-bottom:22px; border-width:initial; border-style:none; border-right-color:initial; border-bottom-color:initial; border-left-color:initial; border-top-color:rgb(247,225,181); background-color:rgb(82,93,118); color:rgb(138,109,59); font-family:Tahoma,Arial,sans-serif; font-size:14px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
<h3 style="font-family:Tahoma,Arial,sans-serif; font-weight:700; line-height:1.1; color:white; margin-top:22px; margin-bottom:11px; font-size:14px; background-color:rgb(82,93,118); font-style:normal; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">
Apache Tomcat/8.0.32 (Ubuntu)</h3>
<p><br>
</p>
<p>I'm working on a custom installation of Geonode v.2.7.4 on Ubuntu 16.04. I replaced Jetty with Tomcat8 as container for Geoserver, which is 2.10-SNAPSHOT.</p>
<p><br>
</p>
<p>In Geoserver logs, I can find these errors:</p>
<p><br>
</p>
<p>ERROR [org.geoserver.rest] - No such coverage store: geonode,geonode_data<br>
</p>
<p>ERROR [org.geoserver.rest] - <br>
org.geoserver.rest.RestletExce<wbr>ption</p>
<p>ERROR [org.geoserver.rest] - No such wms store: geonode,geonode_data</p>
<p>ERROR [org.geoserver.rest] - <br>
org.geoserver.rest.RestletExce<wbr>ption</p>
<p><br>
</p>
<p>From Apache logs, I see that there is an exception thrown by <br>
</p>
<p><br>
</p>
<p>my_venv/local/lib/python2.7/si<wbr>te-packages/geoserver/catalog.<wbr>py", line 249, in save</p>
<p>(headers['status'], body))</p>
<p>FailedRequestError: Error code (403) from GeoServer<br>
</p>
<p><br>
</p>
<p>Postgre sql is working correctly and I already configured and enabled a "datastore" PostGIS store in Geoserver.</p>
<p><br>
</p>
<p>I followed all instructions about custom installation of Geonode (<a href="http://docs.geonode.org/en/master/tutorials/admin/install/custom_install.html" target="_blank">http://docs.geonode.org/en/ma<wbr>ster/tutorials/admin/install/<wbr>custom_install.html</a>)
and advanced security (<a href="http://docs.geonode.org/en/master/tutorials/admin/geoserver_geonode_security/" target="_blank">http://docs.geonode.org/en/ma<wbr>ster/tutorials/admin/geoserver<wbr>_geonode_security/</a>).</p>
<p><br>
</p>
<p>I checked that files exist in the "uploaded" directory under Geonode folder.</p>
<p><br>
</p>
<p>I don't know what to do further to debug this issue.</p>
<p><br>
</p>
<p>Can you help me?</p>
<p><br>
</p>
<p>Thank you very much,</p>
<p><br>
</p>
<p>Stefano<br>
</p>
</div>
</div>
<br>
______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>