<div dir="ltr">Hi, the file should not be copied there but in /var/www, this means that the MEDIA_ROOT of your settings is not correct or it's been overridden by your geonode project. Did you set the variable somehow?<div><br></div><div>What type of installation did you do?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-03-10 17:10 GMT+01:00 Kevin Côté <span dir="ltr"><<a href="mailto:Kevin.Cote2@usherbrooke.ca" target="_blank">Kevin.Cote2@usherbrooke.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>I'm trying to customize the GeoNode page following the tutorial in the docs. </p>
<p>I've updated the site_base.css file as explained, and did the "python manage.py collectstatic" command in my project folder.</p>
<p>Then, I'm getting this message:</p>
<p>" You have requested to collect static files at the destination<br>location as specified in your settings:</p>
<p>/usr/lib/python2.7/site-packages/geonode/static_root</p>
<p>This will overwrite existing files!<br>Are you sure you want to do this? "</p>
<p>I answer 'yes' and then 2 files are copied to the <span>/usr/lib/python2.7/site-packages/geonode/static_root (I'm guessing the site_base.css file and the logo). I restart the Apache server and when I access my localhost, I'm getting only the text of GeoNode site (no css are loaded).</span></p>
<p>If I look at the source code of the page and click on the /static/site_base.css link, I'm getting a 404 error. </p>
<p> </p>
<p>Where does this problem comes from ? Do I need to set a path somewhere in a configuration file ?</p>
<p> </p>
<p>Thanks for your help !!!</p><span class="HOEnZb"><font color="#888888">
<p> </p>
<p>Kevin</p>
<p> </p>
<p> </p>
<p> </p>
<div> </div>
</font></span></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">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><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>