<div dir="ltr"><div>Dear Toni and Francesco,</div><div><br></div><div>Thank you very much for your reply. I apologize for my shortage of knowledge in this topic. I am going to start a new project, focusing on GeoNode Production (GP) being customized by inheriting changes through GeoNode DevMode (GD). So far, I have GeoNode Production working fine, showing thumbnails and user account emails working smoothly. Also, I have GeoNode DevMode working fine. I can run manage.py collectstatic and see css and templates changes through GP. Anyway, I am very happy with this achievement. Through the new project, I may face this problem again, I hope not. I will spend some more time reading  [1] and [2] in order to get more feedback in how the bridge between GP and GD is built.<br></div><div><br></div><div>[1] <a href="http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html">http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html</a></div><div><a href="http://geonode.org/dev-workshop/#/8/3" target="_blank">[2] http://geonode.org/dev-<wbr>workshop/#/8/3</a></div><div><br></div><div>I appreciated your time and help.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 17, 2018 at 6:59 AM, francesco bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>if you read carefully the previous slide [1] it states that the workshop was gone to assume to install geonode from apt-get which cannot be true in your case cause 2.8 doesn't have a debian package.</div><div>So eventually you should follow <b>only</b> one of the others two options: a systemwide python environment or a python virtualenv environment. This means you have to install apache and tomcat separately and deploy and configure geoserver and the geonode virtualhost yourself.</div><div>In this latter case you should be aware of avoiding to call the systemwide python binary at all and only reference the binary one from the virtual environment otherwise things don't work.</div><div><br></div><div>I suggest to start again from a fresh machine.</div><div><br></div><div>[1] <a href="http://geonode.org/dev-workshop/#/8/2" target="_blank">http://geonode.org/dev-<wbr>workshop/#/8/2</a></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 16 lug 2018 alle ore 22:24 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@<wbr>gmail.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 dir="ltr"><div>Hi Francesco Bartolli,</div><div><br></div><div>Thank you very for your reply. Regarding your questions:</div><div><br></div><div><span style="color:rgb(53,28,117)">first of all what are you trying to achieve?</span></div><div><br></div><div>I am tweaking through geonode.conf in order to have all the changes I made through GeoNode Development inherited by GeoNode Production.</div><div><br></div><div>90% is done. And I have followed [1]. And I think in [2] is where I am mistaking something.<br></div><div><br></div><div><span style="color:rgb(53,28,117)">Why do you want to mix dev with production?</span><br></div><div><br></div><div>I do not want to mix dev and production. But the way I am setting the WSGIDaemonProcess seems to be mixing Dev and Production and I am not sure about that.<br></div><div><br></div><div>WSGIDaemonProcess geonode python-path=/home/my_geonode/<wbr>my_geonode:/home/geo/Envs/<wbr>geonode/lib/python2.7/site-<wbr>packages user=www-data threads=15 processes=2</div><div><br></div><div><br></div><div>What is my problem? According to my CONFIGURATION-1 in the previous email, GeoNode Production is inheriting all css and templates (site_index.html and site_base.html) in GeoNode Development, but my Thumbnails are not displayed and I cannot send e-mails. <br></div><div><br></div><div>I have changed all the paths in geonode.conf, sometimes pointing to directories that are in GeoNode Production folders and sometimes in GeoNode Development folders. The result  for these changes are many, but I never get one that inherits all the css and templates, having thumbnails and account e-mail working.</div><div><br></div><div></div><div>[1] <a href="http://geonode.org/dev-workshop/#/" target="_blank">http://geonode.org/dev-<wbr>workshop/#/</a><br></div><div><br></div><div>[2] <a href="http://geonode.org/dev-workshop/#/8/3" target="_blank">http://geonode.org/dev-<wbr>workshop/#/8/3</a></div><div><br></div><div>I appreciated your time and help.</div><div><br></div><div>Kind regards,</div><div><br></div><div>Julierme<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 16, 2018 at 1:47 PM, francesco bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Julierme,<div><br></div><div>first of all what are you trying to achieve? Why do you want to mix dev with production?</div><div><br></div><div>Usually they have different scopes and once a particular geonode customization is ready for production then the related geonode-project can be installed and deployed into a production environment.</div><div>Most of the issues you have are due to the confusion about inherited settings and python library paths from the system and a virtual environment.</div><div>I'd strongly suggest to start from the developer workshop [1] and follow it step-by-step. That explains clearly how to develop a custom geonode-project and then figure out what are the steps to install and configure it on top of a systemwide installed geonode. </div><div><br></div><div>Francesco</div><div><br></div><div>[1] <a href="http://geonode.org/dev-workshop/#/" target="_blank">http://geonode.org/dev-<wbr>workshop/#/</a></div></div><br><div class="gmail_quote"><div><div class="m_9223293003574036223m_-2707421913064532163h5"><div dir="ltr">Il giorno lun 16 lug 2018 alle ore 17:57 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@<wbr>gmail.com</a>> ha scritto:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_9223293003574036223m_-2707421913064532163h5"><div dir="ltr"><div>Dear GeoNode users and developers,</div><div><br></div><div>Recently, I posted about two issues regarding thumbnails and e-mails account. I am running GeoNode@2.8.0 Devmode (GD) and Production (GP). <br></div><div><br></div><div>In respect to GeoNode Production, I fixed these issues by adding SITEURL and ACCOUNT and EMAIL confing to settings.py and find GP geonode.conf bellow<br></div><div><br></div><div>WSGIDaemonProcess geonode python-path=/home/geonode/my_<wbr>geonode:/home/geo/Envs/<wbr>geonode/lib/python2.7/site-<wbr>packages user=www-data threads=15 processes=2<br><br><VirtualHost *:80><br>    ServerName 172.21.14.45<br>    ServerAlias localhost<br>    ServerAdmin webmaster@localhost<br>    DocumentRoot /home/geonode/my_geonode/my_<wbr>geonode<br><br>    LimitRequestFieldSize 32760<br>    LimitRequestLine 32760<br><br>    ErrorLog /var/log/apache2/error.log<br>    LogLevel warn<br>    CustomLog /var/log/apache2/access.log combined<br><br>    WSGIProcessGroup geonode<br>    WSGIPassAuthorization On<br>    WSGIScriptAlias / /home/geonode/my_geonode/my_<wbr>geonode/wsgi.py<br><br>    Alias /static/ /home/geonode/my_geonode/my_<wbr>geonode/static_root/<br>    Alias /uploaded/ /home/geonode/my_geonode/my_<wbr>geonode/uploaded/<br><br>    <Directory "/home/geonode/my_geonode/my_<wbr>geonode/"><br>         <Files wsgi.py><br>             Order deny,allow<br>             Allow from all<br>             Require all granted<br>         </Files><br><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_<wbr>geonode/static_root/"><br></div><div><br></div><div>Regarding GeoNode DevMode, I am trying to find the correct configuration, but there is always something missing. For instance, if I set the CONFIGURATION-1 bellow, the thumbnail is not displayed and I am unable to send emails. In the other hand, If I set CONFIGURATION-2 bellow, some page styles are lost, the Thumbnails are displayed and I am unable to send e-mails. <br></div><div><br></div><div><br></div><div><br></div><div>CONFIGURATION-1</div><div><br></div><div>WSGIDaemonProcess geonode python-path=/home/my_geonode/<wbr>my_geonode:/home/geo/Envs/<wbr>geonode/lib/python2.7/site-<wbr>packages user=www-data threads=15 processes=2<br><br><VirtualHost *:80><br>    ServerName 172.21.14.45<br>    ServerAlias localhost<br>    ServerAdmin webmaster@localhost<br>    DocumentRoot /home/my_geonode/my_geonode/<wbr>my_geonode<br><br>    LimitRequestFieldSize 32760<br>    LimitRequestLine 32760<br><br>    ErrorLog /var/log/apache2/error.log<br>    LogLevel warn<br>    CustomLog /var/log/apache2/access.log combined<br><br>    WSGIProcessGroup geonode<br>    WSGIPassAuthorization On<br>    WSGIScriptAlias / /home/my_geonode/my_geonode/<wbr>my_geonode/wsgi.py<br><br>    Alias /static/ /home/my_geonode/my_geonode/<wbr>my_geonode/static_root/<br>    Alias /uploaded/ /home/my_geonode/my_geonode/<wbr>my_geonode/uploaded/<br><br>    <Directory "/home/my_geonode/my_geonode/<wbr>my_geonode/"><br></div><div><br></div><div>CONFIGURATION-2<br></div><div><br></div><div>WSGIDaemonProcess geonode python-path=/home/my_geonode/<wbr>my_geonode:/home/geo/Envs/<wbr>geonode/lib/python2.7/site-<wbr>packages user=www-data threads=15 processes=2<br><br><VirtualHost *:80><br>    ServerName 172.21.14.45<br>    ServerAlias localhost<br>    ServerAdmin webmaster@localhost<br>    DocumentRoot /home/geonode/my_geonode/my_<wbr>geonode<br><br>    LimitRequestFieldSize 32760<br>    LimitRequestLine 32760<br><br>    ErrorLog /var/log/apache2/error.log<br>    LogLevel warn<br>    CustomLog /var/log/apache2/access.log combined<br><br>    WSGIProcessGroup geonode<br>    WSGIPassAuthorization On<br>    WSGIScriptAlias / /home/geonode/my_geonode/my_<wbr>geonode/wsgi.py<br><br>    Alias /static/ /home/geonode/my_geonode/my_<wbr>geonode/static_root/<br>    Alias /uploaded/ /home/geonode/my_geonode/my_<wbr>geonode/uploaded/<br><br>    <Directory "/home/geonode/my_geonode/my_<wbr>geonode/"><br>         <Files wsgi.py><br>             Order deny,allow<br>             Allow from all<br>             Require all granted<br>         </Files><br><br>        Order allow,deny<br>        Options Indexes FollowSymLinks<br>        Allow from all<br>        IndexOptions FancyIndexing<br>    </Directory><br><br>    <Directory "/home/geonode/my_geonode/my_<wbr>geonode/static_root/"></div><div><br></div><div>I looked at documentation in <a href="http://media.readthedocs.org/pdf/geonode/master/geonode.pdf" target="_blank">here</a>, but I could not find information that could guide me on how to set geonode.conf in order to join GeoNode DevMode and GeoNode Production. Could anyone give me a hint in what I am missing for geonode.conf settings or what I am mixing in the geonode.conf configuration?</div><div><br></div><div>Thank you for your time in advance.</div><div><br></div><div>I appreciated it.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div></div></div></div>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-users</a><br>
</blockquote></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>