<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:inherit;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-AU;}
span.o
        {mso-style-name:o;}
span.n
        {mso-style-name:n;}
span.s2
        {mso-style-name:s2;}
span.p
        {mso-style-name:p;}
span.kn
        {mso-style-name:kn;}
span.nn
        {mso-style-name:nn;}
span.nb
        {mso-style-name:nb;}
span.mi
        {mso-style-name:mi;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">HI Melvin<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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:<o:p></o:p></span></p>
<pre style="background:white"><span class="n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><o:p> </o:p></span></span></pre>
<pre style="background:white"><span class="n"><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="n"><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="o"><b>-</b></span></span><span class="n"><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="mi"><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="o"><b>/</b></span></span><span class="n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">home</span></span><span class="o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">geonode</span></span><span class="o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">geonode</span></span><span class="o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">geonode</span></span><span class="o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="n"><span style="font-size:9.0pt;font-family:Consolas;color:#333333">uploaded</span></span><span class="o"><b><span style="font-size:9.0pt;font-family:Consolas;color:#404040">/</span></b></span><span class="n"><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"><o:p></o:p></span></pre>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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/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"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></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"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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">
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html#apache-configuration</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jonathan Doig<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></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:geonode-users-bounces@lists.osgeo.org]
<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> geonode-users@lists.osgeo.org<br>
<b>Subject:</b> [GeoNode-users] Error 500 when trying to create thumbnail<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello GeoNode community,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></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).<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">What could be the reason for this?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks in advance,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">MR<br clear="all">
<img border="0" id="_x0000_i1025" src="https://mailtrack.io/trace/mail/49425b46cd25ba8a92959426f9545ccd461ece00.png?u=20562"><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<table class="MsoNormalTable" 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"> <o:p></o:p></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="MsoNormalTable" 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""><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="vertical-align:baseline"><span style="font-family:"inherit","serif""><img border="0" width="105" height="70" id="_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"><o:p></o:p></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""> <o:p></o:p></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<o:p></o:p></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"">about.me/melvinramos<o:p></o:p></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="_x0000_i1027" src="https://about.me/t/sig?u=melvinramos"><o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><a href="https://mailtrack.io/"><span style="text-decoration:none"><img border="0" height="14" id="_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">
Mailtrack</a> </span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>