<div>Yes I think so. If you run everything as default than that works. If you change the static root then you correctly had to adjust it. Glad you solved </div><div><br><div class="gmail_quote"><div>Il giorno mar 14 mar 2017 alle 16:39 Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com">frippe12573@hotmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div class="gmail_msg">
<div id="m_-2183477014399853758divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone and all,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I solved the issue I raised in the last email on the geosites css files.</p>
<p class="gmail_msg">The environment I described in the last email was almost correct,</p>
<p class="gmail_msg">what was wrong was in the templates/site_base.html where are</p>
<p class="gmail_msg">described the link to the css file.</p>
<p class="gmail_msg">I had:</p>
<p class="gmail_msg"><span class="gmail_msg"><link href="{{ STATIC_URL }}{{ SITE_NAME|lower }}/static/css/site_base.css" rel="stylesheet"/></span><br class="gmail_msg">
</p>
<p class="gmail_msg"><span class="gmail_msg">I set it to:</span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><link href="{{ STATIC_URL }}/static/css/site_base.css" rel="stylesheet"/>{</span><br class="gmail_msg">
</span></p>
and now all works fine.
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">Why originally there was also the {{SITE_NAME|lower}} variable in the css link? Does depend even on STATIC_ROOT url?</span></div>
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></div>
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">Thanks</span></div></div></div><div class="gmail_msg"><div id="m_-2183477014399853758divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
E. </span><br class="gmail_msg">
</div>
</div></div><div class="gmail_msg"><div id="m_-2183477014399853758divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg"><div class="gmail_msg"><div style="color:rgb(0,0,0)" class="gmail_msg"><div id="m_-2183477014399853758divRplyFwdMsg" class="gmail_msg"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 13 marzo 2017 10.41<br class="gmail_msg">
<b class="gmail_msg">A:</b> Simone Dalmasso</font></div></div></div></div></div><div class="gmail_msg"><div id="m_-2183477014399853758divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg"><div class="gmail_msg"><div style="color:rgb(0,0,0)" class="gmail_msg"><div id="m_-2183477014399853758divRplyFwdMsg" class="gmail_msg"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font></div></div></div></div></div><div class="gmail_msg"><div id="m_-2183477014399853758divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg"><div class="gmail_msg"><div style="color:rgb(0,0,0)" class="gmail_msg">
<div class="gmail_msg">
<div id="m_-2183477014399853758divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">thank you for your valuable inputs!</p>
<div class="gmail_msg"><br class="gmail_msg">
</div>
I think now it is clearer, so to sort out all my geosites static files i started from scratch and now I'm in this situation:
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">under <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">/dati/geonode/geonode/contr</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">ib/geosites/</span></div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">I have /static which includes /css, /img, /js folders where I have clean site_base.css file</div>
<div class="gmail_msg">then I have /static_root (created by me) which includes two folders: gemex and atlante<br class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">both the folders have many folders inside (/admin, /agon_ratings, /bootstrap, ..., /lib, /people..),</div>
<div class="gmail_msg">among the many there are /css and /img which include my css and my images.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">I obtained these two folders inside /static_root running:</div>
<div class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg">python manage.py --settings=geonode.contrib.geo</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg">sites.atlante.settings</span></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg">python manage.py --settings=geonode.contrib.geo</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg">sites.gemex.settings</span></font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><br class="gmail_msg">
</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg"></span>and as we agreed I put in each site setting (at the end) the STATIC_ROOT directory as in my previus emai.</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg">The SERVE_PATH in pre_setting is <span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg">/dati/geonode/geonode/contrib</span><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg">/geosites
 (as I wrote in my previous email).</span></font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><br class="gmail_msg">
</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px" class="gmail_msg"></span>For the two site I changed something in the css files and I added 2 different logos in the /img folders.</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg">Everything works fine except the css for the two site. For both I have the original css.</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg">I checked the alias in each virtualhost, and I think it should be right since I have:</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><span class="gmail_msg">Alias /static/ /dati/geonode/geonode/contrib/geosites/static_root/gemex/</span><br class="gmail_msg">
</font></div>
<div class="gmail_msg">and</div>
<div class="gmail_msg"><span class="gmail_msg">Alias /static/ /dati/geonode/geonode/contrib/geosites/static_root/atlante/</span><br class="gmail_msg">
</div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><br class="gmail_msg">
</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg">What am I missing now?</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><br class="gmail_msg">
</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg">E.</font></div>
<div class="gmail_msg"><font face="Calibri, Arial, Helvetica, sans-serif" class="gmail_msg"><br class="gmail_msg">
</font>
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758divRplyFwdMsg" class="gmail_msg"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 13 marzo 2017 07.51<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">Ok I tested it and is working. Only thing, put STATIC_ROOT after the post_settings import in your settings, otherwise will be overridden. So put it at the very end of the settings.</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2017-03-10 16:24 GMT+01:00 Simone Dalmasso <span class="gmail_msg">
<<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">Ciao Eugenio,
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">you are running collectstatic right)</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Should work but ill test early next week and come back with the results.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">ciao</div>
</div>
<div class="gmail_extra gmail_msg">
<div class="gmail_msg">
<div class="m_-2183477014399853758h5 gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2017-03-10 14:46 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi simone and all,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">unfortunately I have to open again this issue.</p>
<p class="gmail_msg">I'm setting up a new geosite but I still have problems with static files (I'm still using 2.4).</p>
<p class="gmail_msg">This is the map of the geosites:</p>
<p class="gmail_msg">/geonode/geonode/ [is the original installation of geonode, it should be my master site]</p>
<p class="gmail_msg">inside this installation, I mean:</p>
<p class="gmail_msg">/geonode/geonode/contrib/geosites/gemex</p>
<p class="gmail_msg">and</p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">/geonode/geonode/contrib/geosites/atlante</span><br class="gmail_msg">
</p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">I have the two geosites, where</span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">gemex seems to works fine (currently I don't know if I did everything correctly)</span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">atlante seems to works too <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">(it
 seems to use css of the master </span><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">site) </span>but it hasn't its own static
 files.</span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">I wonder if my configuration files works fine, </span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">I set in <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">/geonode/geonode/contrib/geosites/atlante/local_settings.py <span class="gmail_msg">STATIC_ROOT='/dati/geonode/geonode/contrib/geosites/static/atlante'</span></span></span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><span class="gmail_msg">and </span></span></span></p>
<p class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><span class="gmail_msg">I
 set in <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">/geonode/geonode/contrib/geosites/gemex/local_settings.py </span><span class="gmail_msg">STATIC_ROOT='/dati/geonode/geonode/contrib/geosites/static/gemex'</span></span></span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">and </span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">in </span>/geonode/geonode/contrib/geosites/pre_setting.py I set <span style="font-size:12pt" class="gmail_msg">SERVE_PATH = '/dati/geonode/geonode/contrib/geosites'</span><br class="gmail_msg">
</p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">then once I add a new geosite (atlante in my case) I have to run</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">python manage.py --settings=geonode.contrib.geosites.atlante.settings</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">this way should create an atlante folder in <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">/dati/geonode/geonode/contrib/geosites/static/
 including css/ fonts/ img/ js/ and less/ folders,</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">but in this case I have no any atlante folder nowhere.</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><br class="gmail_msg">
</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">Am I correct? If no where I'm wrong?</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><br class="gmail_msg">
</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">Thanks again</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><br class="gmail_msg">
</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">E.</span></span></p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725divRplyFwdMsg" class="gmail_msg"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> venerdì 13 gennaio 2017 11.47<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">All the uploaded and static folder locations are actually up to you. The static folder inside is for the statics of the specific site which would be copied in the static_root by collectstatic.</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2017-01-13 10:31 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Dear Simone and all,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I'm happy too to be very close to deploy finally the geosites contrib app.</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I have two curiosities:</p>
<p class="gmail_msg"></p>
<ul style="font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<li class="gmail_msg">the uploaded folder is only in the geosites folder. Have I set somewhere a sub-folder for the uploaded file for each site (as for the static file)?</li><li class="gmail_msg">since the static folder is outside the single geosite, what is the static folder within geosite folder?</li></ul>
I solved the issue on the redirection from the user menu to geoserver, by removing the URL in the <baseUrl>
<p class="gmail_msg"></p>
<p class="gmail_msg">in geoserver/data/security/auth/<span class="gmail_msg">geonodeAuthProvider/config.xml</span></p>
<p class="gmail_msg"><span class="gmail_msg">In that way I'm redirected as admin authenticated.</span></p>
<p class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span class="gmail_msg">Best regards</span></p>
<p class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span class="gmail_msg">Eugenio</span></p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146divRplyFwdMsg" class="gmail_msg">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> venerdì 13 gennaio 2017 10.10
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725h5 gmail_msg"><br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</div>
</div>
</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725h5 gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">Glad that you fixed,
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">the setup is good and I think that the ideal setup is actually subjective.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">For the error, seems is missing the geoserver authentication which should already be in place since your master site is working. You can point the geoserver base url to your gemex site though. Geoserver should be able to ping the correct site anyway.</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2017-01-11 15:13 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333divtagdefaultwrapper" class="gmail_msg">
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
Dear Simone and all,</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
<br class="gmail_msg">
</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
eventually I was able to setup geonode/multi geosites.</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
Now I see the master site I had in the beginning and a new site answering to a different URL.</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
<br class="gmail_msg">
</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
Just to fix a pair of concept I would like to know if I configured well the static/static_root/uploaded folders:</p>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
</p>
<ul style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
<li class="gmail_msg">static folder for all geosites I have (for now only gemex) is in geosites folder</li><li class="gmail_msg">to distinguish the static files for each geosite (for now I have only gemex) I set the variable <span class="gmail_msg">STATIC_ROOT='/dati/geonode/geonode/contrib/geosites/static/gemex'</span></li><li class="gmail_msg"><span class="gmail_msg">the SERVE_PATH is <span class="gmail_msg">SERVE_PATH = '/dati/geonode/geonode/contrib/geosites' set in the geosites/pre_settings.py</span></span></li><li class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">the uploaded folder is only in the geosites folder. Have I set somewhere a subfolder for the uploaded file for each site (as for the static file)?</span></span></li><li class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">since the static folder is outside the singole geosite, what is the static folder within geosite folder?</span></span></li></ul>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
Afterwords I stared to test the new site. I logged as administrator of the master-site (the normal geonode I setup in the beginning) and I tried to upload a shp file,</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
but I had this message:</div>
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
<br class="gmail_msg">
</div>
<div class="gmail_msg">GeoNode encountered problems when creating layer reg2001_s_wgs84utm33.It cannot find the Layer that matches this Workspace.try renaming your files.<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Why I got this issue?</div>
<div class="gmail_msg">Consequently when I click on geoserver link from the user menu I'm redirected to geoserver page as usual, but without authentication.</div>
<div class="gmail_msg">Have I to add <baseurl> related to the created geosite?</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Thanks</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Eugenio</div>
<p style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
</p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333divRplyFwdMsg" class="gmail_msg">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 9 gennaio 2017 10.26<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">All files of the site_template folder.
<div class="gmail_msg">Like </div>
<div class="gmail_msg"><a href="https://github.com/GeoNode/geonode/blob/master/geonode/contrib/geosites/site_template/settings.py#L39" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333LPlnk979227" class="gmail_msg" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/contrib/geosites/site_template/settings.py#L39</a></div>
<div class="gmail_msg"><a href="https://github.com/GeoNode/geonode/blob/master/geonode/contrib/geosites/site_template/wsgi.py#L39" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333LPlnk145754" class="gmail_msg" target="_blank">https://github.com/GeoNode/geonode/blob/master/geonode/contrib/geosites/site_template/wsgi.py#L39</a><br class="gmail_msg">
</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2017-01-09 9:39 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">you said that I should have adjust correctly the variables in the files that start with "$".</p>
<p class="gmail_msg">This is not clear to me.</p>
<p class="gmail_msg">What file do you refer? and Which variables?</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">best</p>
<p class="gmail_msg"><br class="gmail_msg">
Eugenio</p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584divRplyFwdMsg" class="gmail_msg">
<font face="Calibri, sans-serif" color="#000000" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> giovedì 5 gennaio 2017 07.41<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">The $ should not be there, is an identifier for pieces of code that would be changed by the addsite script. It is a normal python path.
<div class="gmail_msg">And yes, the SERVE_PATH should be in one of the project's settings as it is used to locate your static and media files "STATIC_ROOT = os.path.join(SERVE_PATH, 'static')"</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2017-01-03 17:13 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I presume maybe I'm not so far from finalization of the configuration.</p>
<p class="gmail_msg">I apologize if I'm not enough smart, but I don't understand which file do you mentioned, starting with "$". I suppose you intended the line 19 in the wsgi.py located in the geosite folder (i.e. gemex for me), am I correct?</p>
<p class="gmail_msg">If yes I changed the line in:</p>
<p class="gmail_msg"><span class="gmail_msg">os.environ.setdefault("DJANGO_SETTINGS_MODULE", "$geosites.%s.settings" % curdir)</span></p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">since, as you know, I'm using a normal installation of geonode, so I have the geosites project forlder within:</p>
<p class="gmail_msg">/geonode/geonode/contrib and my project folder name is the original geosites.</p>
<p class="gmail_msg">Did I understand well?</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Regarding the static_root it is my intention to leave that folder in my site folder (/geonode/geonode/contrib/geosites/gemex/). In that case I should run your suggested command:</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"><span class="gmail_msg">python manage.py collectstatic --settings=geonode.contrib.geosites.gemex.settings</span></p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">and in gemex.settings has to be inserted the variable SERVE_PATH, am I correct?</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Thanks</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Eugenio<br class="gmail_msg">
</p>
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> martedì 3 gennaio 2017 08.35<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">Eugenio is all more or less right.
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">The error you have is because, since you copied the site_template folder manually, you also have to correctly adjust the variables in the files that  start with "$". In this case you have to put the correct project name in the wsgi.py-</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">For the static files, they can stay anywhere, but is suggested to have them in the web server folders /var/www etc,as said. To copy them there, once you have set the STATIC_ROOT folder in the geosite settings yu can use the normal geonode manage.py file
 by passing it the geosites settings instead:</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">python manage.py collectstatic --settings=geonode.contrib.geosites.gemex.settings</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-29 12:21 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone and all,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">unfortunately I hadn't solved my problem multi-tenancy configuration.</p>
<p class="gmail_msg">My new questions are:</p>
<ul class="gmail_msg">
<li class="gmail_msg">can I set-up multi-geosites from my running normal installation? (I installed geonode following this guide [1]) or should I install a geonode from scratch?</li><li class="gmail_msg">to run multi-geosites do you suggest me to setup multi-geosite from special version of geonode as for instance [2], if yes How to start? <br class="gmail_msg">
</li><li class="gmail_msg">in my geonode normal installation manage.py and manage_all.py are missing in the
<span class="gmail_msg">/geonode/geonode/contrib/geosites/ </span><br class="gmail_msg">
</li><li class="gmail_msg">the master site has to be within contrib/geosites/master-site, which relationship is there between the normal geonode site and the master-site? in case master-site has to inherit from normal one-site config, how?</li><li class="gmail_msg">just to be sure is this the right order of the setting files read by geonode:
<br class="gmail_msg">
<ul class="gmail_msg">
<li class="gmail_msg">/geonode/geonode/local_setting.py and <span class="gmail_msg">/geonode/geonode/setting.py (overridden by the first)</span></li><li class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">/geonode/geonode/contrib/geosites/pre_setting.py</span></span></li><li class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">/geonode/geonode/contrib/geosites/local_setting.py</span></span>
<div class="gmail_msg">and <span class="gmail_msg">/geonode/geonode/contrib/geositessetting.py (overridden by the first)</span></div>
</span></span></li><li class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">/geonode/geonode/contrib/geosites/post_setting.py</span></span></span></span></span></li></ul>
</li></ul>
<span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"></span></span></span></span></span>
<ul class="gmail_msg">
<li class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"></span></span>in my test performed in the last days I set the: <span class="gmail_msg">SERVE_PATH= "/dati/geonode/geonode/contrib/geosites/ in /geonode/geonode/local_setting.py is that right? in apache error log I have:</span></li></ul>
<p class="gmail_msg"></p>
<div class="gmail_msg">[Thu Dec 29 11:46:21.129691 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]     self.load_middleware()<br class="gmail_msg">
[Thu Dec 29 11:46:21.129706 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 44, in load_middleware<br class="gmail_msg">
[Thu Dec 29 11:46:21.129728 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]     for middleware_path in settings.MIDDLEWARE_CLASSES:<br class="gmail_msg">
[Thu Dec 29 11:46:21.129742 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__<br class="gmail_msg">
[Thu Dec 29 11:46:21.129763 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]     self._setup(name)<br class="gmail_msg">
[Thu Dec 29 11:46:21.129776 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup<br class="gmail_msg">
[Thu Dec 29 11:46:21.129797 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]     self._wrapped = Settings(settings_module)<br class="gmail_msg">
[Thu Dec 29 11:46:21.129810 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__<br class="gmail_msg">
[Thu Dec 29 11:46:21.129831 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>]     % (self.SETTINGS_MODULE, e)<br class="gmail_msg">
[Thu Dec 29 11:46:21.129851 2016] [:error] [pid 14216] [remote <a href="http://93.32.72.156:62917" class="gmail_msg" target="_blank">
93.32.72.156:62917</a>] ImportError: Could not import settings '$PROJECT_NAME.gemex.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named $PROJECT_NAME.gemex.settings</div>
<br class="gmail_msg">
<p class="gmail_msg"></p>
<p class="gmail_msg">the error at last line it is seems to be related to something missing....<br class="gmail_msg">
</p>
<ul class="gmail_msg">
<li class="gmail_msg"><span class="gmail_msg">last but not least I still have doubt on the positioning of static_root folder for each geosites, I would maintain them within each geosite folder but I don't know how to run collectstatic to populate that folder.<br class="gmail_msg">
</span></li></ul>
<p class="gmail_msg">Thanks for any hint...</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Eugenio<br class="gmail_msg">
</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">[1] <span class="gmail_msg"><a href="http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/index.html" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPlnk234043" target="_blank">http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/index.html</a></span></p>
<p class="gmail_msg"><span class="gmail_msg"><a href="http://docs.geonode.org/en/latest/tutorials/install_and_admin/geonode_install/index.html" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPlnk234043" target="_blank">[2]
</a><a href="https://github.com/terranodo/geosites-project" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPlnk12008" target="_blank">https://github.com/terranodo/geosites-project</a></span></p>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPBorder_GT_14830089747800.8922083057895168" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px" class="gmail_msg">
<table id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPContainer_14830089747590.41222671179727144" cellspacing="0" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" class="gmail_msg">
<tbody class="gmail_msg">
<tr valign="top" style="border-spacing:0px" class="gmail_msg">
<td id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437TextCell_14830089747690.7170317073887562" colspan="2" style="vertical-align:top;padding:0px;display:table-cell" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPRemovePreviewContainer_14830089747690.0033160654363294517" class="gmail_msg">
</div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPTitle_14830089747690.3710783031082955" style="color:rgb(0,75,139);font-weight:400;font-size:21px;font-family:"wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px" class="gmail_msg">
<a id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPUrlAnchor_14830089747730.7007666096409254" href="https://github.com/terranodo/geosites-project" style="text-decoration:none" class="gmail_msg" target="_blank">terranodo/geosites-project</a></div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPMetadata_14830089747740.7484478602875089" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px" class="gmail_msg">
<a href="http://github.com" class="gmail_msg" target="_blank">github.com</a></div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437LPDescription_14830089747770.6618173541825744" style="display:block;color:rgb(102,102,102);font-weight:400;font-family:"wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden" class="gmail_msg">
geosites-project - A skeleton project for creating a multi-tenancy GeoNode using the GeoSites contrib app.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br class="gmail_msg">
<p class="gmail_msg"></p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> mercoledì 21 dicembre 2016 10.37<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">ok:
<div class="gmail_msg">- I this that that Alias is a mistake, the way is configured is that any url /gemex will internally point to /dati but I don't think they are actually urls. You can remove it</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">- you can assign a new name to WSGIProcessGroup</div>
<br class="gmail_msg">
- it ok to keep the dir in the root base of geonode since your site is inside
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">- the geonode apt package creates the uploaded and static root under var/www as far as I know. It is ok to reuse the same settings. If not I suggest you to put them there as they are meant to be served by apache.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">- you can use the same config for the Daemon, just use the name you gave to the WSGIProcessGroup instead of geonode</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">This is a brief explanation but you can find more on the static url and roots on the django docs and more on the wsgi config on the apache docs</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">hope this helps.<br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-20 9:36 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone and all,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">thanks again for your inputs.</p>
<p class="gmail_msg">However, I think I'm at a crucial position to finalize the configuration of the first new geosite (named gemex).</p>
<p class="gmail_msg">Just to clarify all the step performed and to focus the stage where I'm now, I list here below what I did and what I miss:</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"></p>
<ol class="gmail_msg">
<li class="gmail_msg">in setting.py I added under INSTALLED_APPS the line 'geonode.contrib.geosites'</li><li class="gmail_msg">I run python manage.py syncdb</li><li class="gmail_msg">I copy site-template (i.e. the folder inside contrib/geosites/) in the same position (i.e. contrib/geosites/) with a new name (e.g. gemex in my case)</li><li class="gmail_msg">I created a 4 level doman to be linked to the new site (i.e. <a href="http://gemex.igg.cnr.it" class="gmail_msg" target="_blank">
gemex.igg.cnr.it</a> in my case)</li><li class="gmail_msg">I added a new site from the admin panel available from a normal running installation</li><li class="gmail_msg">I create a new virtual host (for apache2) by copy the virtual host I had for the normal running installation. Here what is clear to me are the items:
<ul class="gmail_msg">
<li class="gmail_msg">ServerName = where I put the created 4 level domain</li><li class="gmail_msg">WSGIScriptAlias where I put the link to the wsgi.py available within the created newsite (i.e. path to contrib/geosites/gemex/wsgi.py)</li><li class="gmail_msg">ProxyPass and ProxyPassReverse linked to the local geoserver</li></ul>
</li></ol>
<div class="gmail_msg">What is not yet clear:</div>
<div class="gmail_msg">from your last email I understand that the new site can be where I prefer. I would say that for now I can leave it inside contrib/geosites, if I can of course.</div>
<div class="gmail_msg">Then I have doubts to setup these lines:</div>
<div class="gmail_msg">
<ul class="gmail_msg">
<li class="gmail_msg">In the normal config I have Alias /geonode /dati/geonode/geonode but I think I should change to link it to my new site, is it right?<br class="gmail_msg">
</li><li class="gmail_msg">In WSGIProcessGroup the normal config has geonode, for my new site do I need to change it?</li><li class="gmail_msg">Regarding the directive Directory I had <span class="gmail_msg"><Directory "/dati/geonode/geonode/"> for the normal config, here should I insert the path to my new site?</span></li><li class="gmail_msg"><span class="gmail_msg">Regarding /uploaded/ and /static/ Aliases, I understood from your email I can put those directory where I prefer. Now another trivial question: /uploaded/ and /static/ folder have to be different from those created for the normal installation? if
 no, then it is easy both configure the virtual host and run collectstatic. If yes, it is not clear how to run collectstatic for the new site. That's why the command python manage.py collectstatic works only within geonode folder and fill in the normal static_root
 folder. Could you clarify this point?</span></li><li class="gmail_msg">Last but not least the line WSGIDaemonProcess is not clear, because running: service apache reload I had an error: <span class="gmail_msg">Name duplicates previous WSGI daemon definition (that's why apache find the virtualhost I have for the normal installation. The normal
 installation has: <span class="gmail_msg">WSGIDaemonProcess geonode python-path=/dati/geonode/:/dati/.venvs/geonode/lib/python2.7/site-packages user=eugenio threads=15 processes=2 How should sort out this line for the new site?</span></span></li></ul>
<div class="gmail_msg">I offer myself to prepare an how to for dummies to be included as documentation in git, if I will be able to configure geosites.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Thanks for any clarification</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Eugenio</div>
</div>
<div class="gmail_msg"> </div>
<p class="gmail_msg"></p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 18.33
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437h5 gmail_msg">
<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</div>
</div>
</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437h5 gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">I mean the whole gemex folder can be outside. For the static roots they can be anywhere and is not recommended to have them inside but rather in /var/www as they need to be served by the web server at some point.</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-19 16:50 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Ok, once I run syncdb I 'm able to register new site! first step!!!!</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Coming back to the first issue, I'm not sure to have understood well, do you mean the dir thumb, layers, static_root can stay ouside my newsite directory?</p>
<p class="gmail_msg">That means I cannot run collectstatic if those dirs are inside my site dir?</p>
<p class="gmail_msg">Actually in the docs I read I saw that the static folder is inside the new sites.</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">This part is not so clear to me....</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">E. </p>
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 16.22
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924h5 gmail_msg">
<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</div>
</div>
</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924h5 gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">It is a good practice to not install the new sites folders into the root of the code. They can live outside without problems.
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">The second issue is that you did not run python manage.py syncdb or migrate to install the tables that come with geosites.</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-19 15:50 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Sorry for these multiple emails,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I following your suggestion to create the site by hand I proceeded to register the new site by using the admin console as you suggested.</p>
<p class="gmail_msg">On save action I had this error message:</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"><a href="http://pastebin.com/SskX1QNB" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPlnk881200" target="_blank">http://pastebin.com/SskX1QNB</a></p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"> </p>
It seems geonode.contrib.geosites is not installed yet, right? <span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045HOEnZb gmail_msg">
<font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
</font></span>
<div class="gmail_msg"><span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">E.<br class="gmail_msg">
</font></span>
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045hm m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045HOEnZb gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</div>
<div style="color:rgb(0,0,0)" class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045hm m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045HOEnZb gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
</div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045hm m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045HOEnZb gmail_msg">
<b class="gmail_msg">Da:</b> Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 15.37<br class="gmail_msg">
<b class="gmail_msg">A:</b> Simone Dalmasso</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045h5 gmail_msg">
<br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</div>
</div>
</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045h5 gmail_msg">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Ok,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">this is my new virtualhost prepared for the new site named 'gemex':</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"></p>
<div class="gmail_msg"><VirtualHost *:80></div>
<div class="gmail_msg">    ServerName <a href="http://gemex.igg.cnr.it" class="gmail_msg" target="_blank">http://gemex.igg.cnr.it</a></div>
<div class="gmail_msg">    ServerAdmin webmaster@localhost</div>
<div class="gmail_msg">    DocumentRoot /var/www/html</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    Options -Indexes +FollowSymLinks</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    Alias /gemex "/dati/geonode/geonode/contrib/geosites"</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    WSGIDaemonProcess gemex python-path=/dati/geonode/geonode/contrib/geosites:/dati/.venvs/geonode/lib/python2.7/site-packages user=eugenio threads=15 processes=2</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    ErrorLog /var/log/apache2/error.log</div>
<div class="gmail_msg">    LogLevel warn</div>
<div class="gmail_msg">    CustomLog /var/log/apache2/access.log combined</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    WSGIProcessGroup gemex</div>
<div class="gmail_msg">    WSGIPassAuthorization On</div>
<div class="gmail_msg">    WSGIScriptAlias / /dati/geonode/geonode/contrib/geosites/gemex/wsgi.py</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    <Directory "/dati/geonode/geonode/contrib/geosites/gemex"></div>
<div class="gmail_msg">           Options Indexes FollowSymLinks</div>
<div class="gmail_msg">        Require all granted</div>
<div class="gmail_msg">        IndexOptions FancyIndexing</div>
<div class="gmail_msg">    </Directory></div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"></div>
<div class="gmail_msg">    Alias /uploaded/ /dati/geonode/geonode/contrib/geosites/gemex/uploaded/</div>
<div class="gmail_msg">    Alias /static/ /dati/geonode/geonode/contrib/geosites/gemex/static_root/</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"> <span style="font-size:12pt" class="gmail_msg">    ProxyPreserveHost On</span></div>
<div class="gmail_msg">    ProxyPass /geoserver <a href="http://localhost:8080/geoserver" class="gmail_msg" target="_blank">
http://localhost:8080/geoserver</a></div>
<div class="gmail_msg">    ProxyPassReverse /geoserver <a href="http://localhost:8080/geoserver" class="gmail_msg" target="_blank">
http://localhost:8080/geoserver</a></div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    ProxyPass /geoserver2 <a href="http://localhost:8080/geoserver2" class="gmail_msg" target="_blank">
http://localhost:8080/geoserver2</a></div>
<div class="gmail_msg">    ProxyPassReverse /geoserver2 <a href="http://localhost:8080/geoserver2" class="gmail_msg" target="_blank">
http://localhost:8080/geoserver2</a></div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg"></VirtualHost></div>
<br class="gmail_msg">
<p class="gmail_msg"></p>
My concerns are:
<div class="gmail_msg">
<ul class="gmail_msg">
<li class="gmail_msg">WSGIDeamon line, is that correct?<br class="gmail_msg">
</li><li class="gmail_msg">the first Alias, is that correct too?<br class="gmail_msg">
</li><li class="gmail_msg">Eventually the Directory is right?<br class="gmail_msg">
</li></ul>
<div class="gmail_msg"></div>
<div class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Moreover, I followed again this page for the http setup:</div>
<div class="gmail_msg"><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPlnk315037" target="_blank">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html</a></div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">I think now should be rready for the collecstatic command, but I don't know how to run it in in the new static_root inside my site gemex.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Any hints?</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">E.<br class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPBorder_GT_14821580986800.921074174959708" style="margin-bottom:20px;overflow:auto;width:100%;text-indent:0px" class="gmail_msg">
<table id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPContainer_14821580986780.5537899527490602" cellspacing="0" style="width:90%;background-color:rgb(255,255,255);overflow:auto;padding-top:20px;padding-bottom:20px;margin-top:20px;border-top:1px dotted rgb(200,200,200);border-bottom:1px dotted rgb(200,200,200)" class="gmail_msg">
<tbody class="gmail_msg">
<tr valign="top" style="border-spacing:0px" class="gmail_msg">
<td id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174TextCell_14821580986790.40692400670345186" colspan="2" style="vertical-align:top;padding:0px;display:table-cell" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPRemovePreviewContainer_14821580986790.46201272155770945" class="gmail_msg">
</div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPTitle_14821580986790.4863156750334723" style="color:rgb(0,75,139);font-weight:normal;font-size:21px;font-family:wf_segoe-ui_light,"Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;line-height:21px" class="gmail_msg">
<a id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPUrlAnchor_14821580986790.636100223414487" href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html" style="text-decoration:none" class="gmail_msg" target="_blank">Setup
 & Configure HTTPD — GeoNode 2.4 documentation</a></div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPMetadata_14821580986790.6015928446460255" style="margin:10px 0px 16px;color:rgb(102,102,102);font-weight:normal;font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:14px" class="gmail_msg">
<a href="http://docs.geonode.org" class="gmail_msg" target="_blank">docs.geonode.org</a></div>
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174LPDescription_14821580986800.3095178895629611" style="display:block;color:rgb(102,102,102);font-weight:normal;font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif;font-size:14px;line-height:20px;max-height:100px;overflow:hidden" class="gmail_msg">
Setup & Configure HTTPD¶ In this section we are going to setup Apache HTTP to serve GeoNode.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 15.03<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">Exactly, one virtualhost for each site.</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-19 14:53 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Ok,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I will proceed this way.</p>
Then I have to create a new virtualhost pointing to the wsgi.py within the new site dir, right?
<div class="gmail_msg">In the same virtual host have I to set new aliases for uploaded dir and static_root as I did for the normal installation?</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">E.<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 14.21
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174h5 gmail_msg">
<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</div>
</div>
</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174h5 gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">I suggest you to go manually and create a site folder copying the site_template, rename and add the Site object into the database.
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">geosites has not been revised for a while and geonode improved. It works but the shortcut command addsite may be broken.</div>
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-19 11:32 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I did what you suggested, actually now I have the addsite command, but as you announced I have also this error:</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg"><span class="gmail_msg">AttributeError: 'Settings' object has no attribute 'SITE_ROOT'</span><br class="gmail_msg">
</p>
<p class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span class="gmail_msg">then I added SITE_ROOT in local_setting.py inserting </span><span style="font-size:12pt" class="gmail_msg">the path "geonode/contrib/geosites"</span></p>
<p class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span class="gmail_msg">afterwords I had this error:</span></p>
<p class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">AttributeError: 'Settings' object has no attribute 'SERVE_PATH'</span><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">so that I added SERVE_PATH in local_setting.py inserting the path "<span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">geonode/contrib/geosites/static</span>"</span></span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">but I'm not sure I did the right thing, since now I have this error:</span></span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><br class="gmail_msg">
</span></span></p>
<p class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg"><span class="gmail_msg">OSError: [Errno 17] File exists: '/dati/geonode/geonode/contrib/site2'</span><br class="gmail_msg">
</span></span></p>
<br class="gmail_msg">
Where I'm wrong?
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Thanks</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Eugenio<br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 11.04<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">you have to add it in INSTALLED_APPS, currently it is only listed in the contrib apps.</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-19 9:20 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi Simone,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">and thank you for your answer.</p>
<p class="gmail_msg">Sorry for my trivial question:</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">in my setting.py I have already geonode.contrib.geosites</p>
<div class="gmail_msg"><br class="gmail_msg">
</div>
in GEONODE_CONTRIB_APPS, see below:
<div class="gmail_msg"><br class="gmail_msg">
<div class="gmail_msg">
<div class="gmail_msg">GEONODE_CONTRIB_APPS = (</div>
<div class="gmail_msg">    # GeoNode Contrib Apps</div>
<div class="gmail_msg">    'geonode.contrib.dynamic',</div>
<div class="gmail_msg">    'geonode.contrib.exif',</div>
<div class="gmail_msg">    'geonode.contrib.favorite',</div>
<div class="gmail_msg">    'geonode.contrib.geogig',</div>
<div class="gmail_msg">    'geonode.contrib.geosites',</div>
<div class="gmail_msg">    'geonode.contrib.nlp',</div>
<div class="gmail_msg">    'geonode.contrib.slack'</div>
)</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">in INSTALLED_APPS I have:</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">
<div class="gmail_msg">INSTALLED_APPS = (</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    # Boostrap admin theme</div>
<div class="gmail_msg">    # 'django_admin_bootstrapped.bootstrap3',</div>
<div class="gmail_msg">    # 'django_admin_bootstrapped',</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    # Apps bundled with Django</div>
<div class="gmail_msg">    'django.contrib.auth',</div>
<div class="gmail_msg">    'django.contrib.contenttypes',</div>
<div class="gmail_msg">    'django.contrib.sessions',</div>
<div class="gmail_msg">    'django.contrib.sites',</div>
<div class="gmail_msg">    'django.contrib.admin',</div>
<div class="gmail_msg">    'django.contrib.sitemaps',</div>
<div class="gmail_msg">    'django.contrib.staticfiles',</div>
<div class="gmail_msg">    'django.contrib.messages',</div>
<div class="gmail_msg">    'django.contrib.humanize',</div>
<div class="gmail_msg">    'django.contrib.gis',</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    # Third party apps</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">    # Utility</div>
<div class="gmail_msg">    'pagination',</div>
<div class="gmail_msg">    'taggit',</div>
<div class="gmail_msg">    'friendlytagloader',</div>
<div class="gmail_msg">    'geoexplorer',</div>
<div class="gmail_msg">    'leaflet',</div>
<div class="gmail_msg">    'django_extensions',</div>
<div class="gmail_msg">    # 'haystack',</div>
<br class="gmail_msg">
</div>
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">....and others...</span><br class="gmail_msg">
</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Should I insert geonode.contrib.geosites somewhere in local_setting? or it's already ok as it? or copy <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">geonode.contrib.geosites
 in settings.py under INSTALLED_APPS?</span></div>
<div class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><br class="gmail_msg">
</span></div>
<div class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">Sorry again for this banal question...</span></div>
<div class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg"><br class="gmail_msg">
</span></div>
<div class="gmail_msg"><span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px" class="gmail_msg">E.</span></div>
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></div>
<div class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></div>
<div class="gmail_msg"><br class="gmail_msg">
<br class="gmail_msg">
<div style="color:rgb(0,0,0)" class="gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> lunedì 19 dicembre 2016 09.04<br class="gmail_msg">
<b class="gmail_msg">A:</b> Eugenio Trumpy<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Re: Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
<div class="gmail_msg">
<div class="gmail_msg">Ciao Eugenio,
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">sorry for being so late in the response.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">You have to add 'geonode.contrib.geosites' to your INSTALLED_APPS in order to get the command.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">In case you get errors in running that command, you can always 'make' a geosite by yourself by copying the folder 'site_template' and changing it's name and internal parameters and then register the new Site in the admin panel. You can follow the utils.py
 add_site function and replicate the needed steps (some of them are only for production).</div>
<div class="gmail_msg">Take also some time to see how the pre and post settings work.</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_extra gmail_msg">Hope this helps</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_extra gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_extra gmail_msg">
<div class="gmail_quote gmail_msg">2016-12-19 8:55 GMT+01:00 Eugenio Trumpy <span class="gmail_msg">
<<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>></span>:<br class="gmail_msg">
<blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi everyone,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">regarding the multi-tenancy setting up and in particular the installation of new site since the command:</p>
<p class="gmail_msg">python manage.py addsite sitename sitedomain</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">return me:</p>
<p class="gmail_msg"></p>
<div class="gmail_msg">Unknown command: 'addsite'</div>
<div class="gmail_msg">Type 'manage.py help' for usage.</div>
<br class="gmail_msg">
<p class="gmail_msg"></p>
<p class="gmail_msg">Do you know way? Have I 'activate' in some way the multi-tenancy before? or it is ready to use?</p>
<p class="gmail_msg">If it is ready to use, why 'addsite' is an unknown command?</p>
<p class="gmail_msg">I launched the command from the main geonode directory, am I right?</p>
As I wrote in the previous email in my installation I have only manage.py file in 
<div class="gmail_msg">/geonode directory.</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">I'm testing on on ubuntu 14.04 and geonode is at version <span class="gmail_msg">2.4.dev20151029170512.</span></div>
<div class="gmail_msg"><span class="gmail_msg"></span>I installed geonode as custom installation (not by apt-get).</div>
<div class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">Thanks</div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span>
<div class="gmail_msg"><span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"> <br class="gmail_msg">
Eugenio<br class="gmail_msg">
</font></span>
<div style="color:rgb(0,0,0)" class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663hm m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663HOEnZb gmail_msg">
<hr style="display:inline-block;width:98%" class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882divRplyFwdMsg" class="gmail_msg">
<font color="#000000" face="Calibri, sans-serif" style="font-size:11pt" class="gmail_msg"><b class="gmail_msg">Da:</b> Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com" class="gmail_msg" target="_blank">frippe12573@hotmail.com</a>><br class="gmail_msg">
<b class="gmail_msg">Inviato:</b> venerdì 16 dicembre 2016 15.04<br class="gmail_msg">
<b class="gmail_msg">A:</b> <a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<b class="gmail_msg">Oggetto:</b> Multi-Tenancy: how to start</font>
<div class="gmail_msg"> </div>
</div>
</div>
<div class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663h5 gmail_msg">
<div class="gmail_msg">
<div id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif" class="gmail_msg">
<p class="gmail_msg">Hi all,</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">as pointed in the email object I want to try the geonode multi-tenancy capabilities.</p>
<p class="gmail_msg">I started of course from the documentation [1] and [2], but a need some hints to start.</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">I have already a running geonode instance. Do you think I should start from </p>
<p class="gmail_msg">a clean geonode installation or I can arrange the running one?</p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">Is there somewhere a set of commands to setup the geosite 1, geosite 2, ...</span><br class="gmail_msg">
</p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">I was looking into geosites folder, as suggested in [2], but I don't see neither manage.py nor manage_all.py files.</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">I tried python manage.py addsite geosite1 geosite1domain</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">but I got <span class="gmail_msg">Unknown command: 'addsite'</span></span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">Am I missing something?</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg">After that: How can I sort out the already stored layers?</span></p>
<p class="gmail_msg"><span style="font-size:12pt" class="gmail_msg"><br class="gmail_msg">
</span></p>
<p class="gmail_msg">Thank you very much for hints and for the patience of this stupid questions, </p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">Eugenio</p>
<p class="gmail_msg"><br class="gmail_msg">
</p>
<p class="gmail_msg">[1] <a href="https://geonode.readthedocs.io/en/2.0/tutorials/admin/multi-tenancy.html" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882LPlnk387680" target="_blank">https://geonode.readthedocs.io/en/2.0/tutorials/admin/multi-tenancy.html</a></p>
<p class="gmail_msg">[2] <a href="https://github.com/GeoNode/geonode/tree/master/geonode/contrib/geosites" class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882OWAAutoLink gmail_msg" id="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663m_-5701824888878642882LPlnk766724" target="_blank">https://github.com/GeoNode/geonode/tree/master/geonode/contrib/geosites</a></p>
<br class="gmail_msg">
<br class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032m_-4147704924748566525m_-6773632688027657663gmail_signature gmail_msg">
Simone </div>
</font></span></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041m_-4748045079748085032gmail_signature gmail_msg">
Simone </div>
</font></span></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174m_-8687477361400298041gmail_signature gmail_msg">
Simone </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045m_-2072122686189203174gmail_signature gmail_msg">
Simone </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924m_-3548405383173214045gmail_signature gmail_msg">
Simone </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437m_3184959846751756924gmail_signature gmail_msg">
Simone </div>
</font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159m_2092103910631525437gmail_signature gmail_msg">
Simone </div>
</font></span></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584m_2022255946620591159gmail_signature gmail_msg">
Simone </div>
</font></span></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333m_792682570515660584gmail_signature gmail_msg">
Simone </div>
</font></span></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146m_6159826015190110333gmail_signature gmail_msg">
Simone </div>
</font></span></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725m_6245112210198153146gmail_signature gmail_msg">
Simone </div>
</font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></blockquote>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"></font></span></div>
<span class="m_-2183477014399853758m_-2649791512842999271HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271m_9147055221263383725gmail_signature gmail_msg">Simone </div>
</font></span></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
</div>
</div>
<span class="m_-2183477014399853758HOEnZb gmail_msg"><font color="#888888" class="gmail_msg">-- <br class="gmail_msg">
<div class="m_-2183477014399853758m_-2649791512842999271gmail_signature gmail_msg">Simone </div>
</font></span></div>
</blockquote>
</div>
<br class="gmail_msg">
<br clear="all" class="gmail_msg">
<div class="gmail_msg"><br class="gmail_msg">
</div>
-- <br class="gmail_msg">
<div class="m_-2183477014399853758gmail_signature gmail_msg">Simone </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div></div></blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Simone </div>