<div dir="ltr">Hello Jonathan,<div><br></div><div>Yes, I have. Tomcat doesn't show anything useful. Apache's log shows this:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font face="trebuchet ms, sans-serif"><br></font></div><div><div><font face="trebuchet ms, sans-serif">[Sun Mar 05 14:19:01.587070 2017] [:error] [pid 11987] WARNING: @font-face support needs Pango >= 1.38</font></div></div><div><div><font face="trebuchet ms, sans-serif">[Sun Mar 05 14:20:50.193233 2017] [:error] [pid 11987] Internal Server Error: /maps/6/thumbnail</font></div></div><div><div><font face="trebuchet ms, sans-serif">[Sun Mar 05 14:20:50.193274 2017] [:error] [pid 11987] Traceback (most recent call last):</font></div></div><div><div><font face="trebuchet ms, sans-serif">[Sun Mar 05 14:20:50.193278 2017] [:error] [pid 11987]   File "/var/www/envs/gis/lib/python2.7/site-packages/django/core/handlers/base.py", line 130, in get_response</font></div></div><div><div><font face="trebuchet ms, sans-serif">[Sun Mar 05 14:20:50.193281 2017] [:error] [pid 11987]     raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))</font></div></div><div><div><font face="trebuchet ms, sans-serif">[Sun Mar 05 14:20:50.193294 2017] [:error] [pid 11987] ValueError: The view geonode.maps.views.map_thumbnail didn't return an HttpResponse object.</font></div></div></blockquote></div><div><br></div><div>I have added what you suggested but no change. I already had the uploaded folder and subdirectories with this in the apache conf:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>    <font face="trebuchet ms, sans-serif"><Directory <path to project>/geonode/uploaded></font></div><div><font face="trebuchet ms, sans-serif">        Order deny,allow</font></div><div><font face="trebuchet ms, sans-serif"><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>Options Indexes FollowSymLinks</font></div><div><font face="trebuchet ms, sans-serif"><span class="gmail-Apple-tab-span" style="white-space:pre">              </span>AllowOverride None</font></div><div><font face="trebuchet ms, sans-serif">        Require all granted</font></div><div><font face="trebuchet ms, sans-serif">    </Directory></font></div></div></blockquote></div><div><br></div><div><br></div><div><br><br><div class="mt-signature">
                                        <div class="mt-signature">
                                            <a href="https://mailtrack.io/" class="gmail-mt-signature-logo" style="text-decoration:none">
                                                <img src="https://s3-eu-west-1.amazonaws.com/mailtrack-crx/icon-signature.png" height="14"> 
                                            </a>
                                            <font color="#999999" class="mt-signature-text">
                                                Enviado con <a href="https://mailtrack.io/install?source=signature&lang=es&referral=melvin.ramos1991@gmail.com&idSignature=23" class="mt-install">Mailtrack</a>
                                            </font>
                                        </div>
                                    </div></div><img width="0" height="0" class="mailtrack-img" src="https://mailtrack.io/trace/mail/d42818d66b736ee9735e7e79ee8ac05421e0a4e9.png?u=20562"></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-05 18:45 GMT-04:00 Jonathan Doig <span dir="ltr"><<a href="mailto:j.doig@unsw.edu.au" target="_blank">j.doig@unsw.edu.au</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-AU" link="blue" vlink="purple">
<div class="m_-864515178161683949WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">HI Melvin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Have you checked the tomcat and web server (apache, nginx) logs for clues?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Possibly related to permissions on the uploaded/thumbs directory:<u></u><u></u></span></p>
<pre style="background:white"><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><u></u> <u></u></span></span></pre>
<pre style="background:white"><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">          sudo</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> </span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">chmod</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> <span class="m_-864515178161683949o"><b>-</b></span></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Rf</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> </span><span class="m_-864515178161683949mi"><span style="font-size:9.0pt;font-family:Consolas;color:#009999">777</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"> <span class="m_-864515178161683949o"><b>/</b></span></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">home</span></span><span class="m_-864515178161683949o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">geonode</span></span><span class="m_-864515178161683949o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">geonode</span></span><span class="m_-864515178161683949o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">geonode</span></span><span class="m_-864515178161683949o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><wbr>uploaded</span></span><span class="m_-864515178161683949o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="m_-864515178161683949n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">thumbs</span></span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></pre>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Also you web server needs to be told to serve the thumbs directory. For Apache you need this block in the geonode.conf file:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">   
<b><</b></span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Directory</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#dd1144">"/home/geonode/geonode/<wbr>geonode/uploaded/thumbs/"</span><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">></span></b><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">       
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Order</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">allow</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">,</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">deny</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">       
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Options</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Indexes</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">FollowSymLinks</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">       
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Allow</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
<b>from</b> </span><span style="font-size:9.0pt;font-family:Consolas;color:#555555">all</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">       
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Require</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#0086b3">all</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">granted</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">       
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">IndexOptions</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040">
</span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">FancyIndexing</span><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal" style="background:white"><span style="font-size:9.0pt;font-family:Consolas;color:#404040">   
<b></</b></span><span style="font-size:9.0pt;font-family:Consolas;color:#333333">Directory</span><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">></span></b><span style="font-size:9.0pt;font-family:Consolas;color:#404040"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">See
<a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html#apache-configuration" target="_blank">
http://docs.geonode.org/en/<wbr>master/tutorials/install_and_<wbr>admin/geonode_install/setup_<wbr>configure_httpd.html#apache-<wbr>configuration</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Jonathan Doig<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> geonode-users [mailto:<a href="mailto:geonode-users-bounces@lists.osgeo.org" target="_blank">geonode-users-bounces@<wbr>lists.osgeo.org</a>]
<b>On Behalf Of </b>Melvin David Ramos Macías<br>
<b>Sent:</b> Monday, 6 March 2017 8:10 AM<br>
<b>To:</b> <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Subject:</b> [GeoNode-users] Error 500 when trying to create thumbnail<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div><span class="">
<p class="MsoNormal">Hello GeoNode community,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have installed a GeoNode custom project in a production server and it works just fine. Now I'm trying to replicate the same project in another server and it works fine except for the thumbnail creation, which throws me an error 500 (INTERNAL
 SERVER ERROR).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">What could be the reason for this?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I already checked the URLs in the settings.py and placed a base url in the web.xml file. There was no geonodeAuthProvider in the tomcat geoserver.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</span><div>
<p class="MsoNormal">MR<br clear="all">
<img border="0" id="m_-864515178161683949_x0000_i1025" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<table class="m_-864515178161683949MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="outline:0px">
<tbody>
<tr style="height:15.0pt;outline:0px;font-weight:inherit;font-style:inherit">
<td width="1" valign="bottom" style="width:.3pt;padding:0cm 0cm 0cm 0cm;height:15.0pt;outline:0px;font-style:inherit">
<p class="MsoNormal" style="line-height:16.8pt"><span style="font-size:1.0pt;font-family:"inherit","serif";color:#333333"> <u></u><u></u></span></p>
</td>
</tr>
<tr style="outline:0px;font-weight:inherit;font-style:inherit">
<td width="1" valign="bottom" style="width:.3pt;padding:0cm 0cm 0cm 0cm;outline:0px;font-style:inherit">
<div>
<table class="m_-864515178161683949MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="134" valign="top" style="width:80.25pt;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal"><span style="font-family:"inherit","serif""><u></u><u></u></span></p>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"inherit","serif""><img border="0" width="105" height="70" id="m_-864515178161683949_x0000_i1026" src="https://aboutme.imgix.net/background/users/m/e/l/melvinramos_1460668951_91.jpg?w=105&q=80&dpr=1&auto=format,redeye&rect=0,27,500,333"><u></u><u></u></span></p>
</div>
</td>
<td width="13" valign="bottom" style="width:7.5pt;padding:0cm 0cm 0cm 0cm;outline:0px;font-style:inherit">
<p class="MsoNormal"><span style="font-size:1.0pt;font-family:"inherit","serif""> <u></u><u></u></span></p>
</td>
<td width="1" valign="bottom" style="width:.3pt;padding:0cm 0cm 2.25pt 0cm;outline:0px;font-style:inherit">
<div>
<p class="MsoNormal" style="vertical-align:baseline"><b><span style="font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#333333">Melvin David Ramos Macías<u></u><u></u></span></b></p>
</div>
<div style="margin-top:.75pt;outline:0px;font-weight:inherit;font-style:inherit">
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif""><a href="http://about.me/melvinramos" target="_blank">about.me/melvinramos</a><u></u><u></u></span></p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr style="height:15.0pt;outline:0px;font-weight:inherit;font-style:inherit">
<td width="1" valign="bottom" style="width:.3pt;padding:0cm 0cm 0cm 0cm;height:15.0pt;outline:0px;font-style:inherit">
<p class="MsoNormal" style="line-height:16.8pt"><span style="font-size:1.0pt;font-family:"inherit","serif";color:#333333"><img border="0" width="1" height="1" id="m_-864515178161683949_x0000_i1027" src="https://about.me/t/sig?u=melvinramos"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><a href="https://mailtrack.io/" target="_blank"><span style="text-decoration:none"><img border="0" height="14" id="m_-864515178161683949_x0000_i1028" src="https://s3-eu-west-1.amazonaws.com/mailtrack-crx/icon-signature.png"> 
</span></a><span style="color:#999999">Enviado con <a href="https://mailtrack.io/install?source=signature&lang=es&referral=melvin.ramos1991@gmail.com&idSignature=23" target="_blank">
Mailtrack</a> </span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:16px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:22.4px;text-align:center"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;text-align:left;width:auto;height:20px"> </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;text-align:left;width:auto"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a href="https://about.me/melvinramos?promo=email_sig&utm_source=email_sig&utm_medium=email_sig&utm_campaign=external_links" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;display:inline-block" target="_blank"><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"><tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:107px;line-height:1"><img alt="--" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><img src="https://aboutme.imgix.net/background/users/m/e/l/melvinramos_1460668951_91.jpg?w=105&q=80&dpr=1&auto=format,redeye&rect=0,27,500,333" alt="" width="105" height="70" style="margin:0px;padding:0px;border:1px solid rgb(238,238,238);outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block"></div></td><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:10px"> </td><td align="left" valign="bottom" style="padding:0px 0px 3px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:bottom;width:auto;line-height:1"><div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(51,51,51)">Melvin David Ramos Macías</div><div style="margin:1px 0px 0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline"><img alt="https://" width="0" height="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;display:block;width:0px;height:0px;overflow:hidden">about.me/melvinramos</div></td></tr></tbody></table></a></div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;text-align:left;width:auto;height:20px"><img src="https://about.me/t/sig?u=melvinramos" width="1" height="1" style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;overflow:hidden"></td></tr></tbody></table></div></div></div>
</div>