<div dir="ltr"><div><div><div><div><div><div><div><div><div><span style="color:rgb(32,18,77)"><font size="4">Hi Dave Kennewell,<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">First of all, thank you very much for your prompt reply.<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">I understood your highlights. And going back to your questions:<br><br><b>The next steps to "fix" this depends on which database you want to use long-term?</b><br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">The postgresql database used by my Geonode (installed via apt-get) is my production database and I want to keep it.<br><br><b>Does this sound right or do you think it is something else? </b><br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">I think you are right and how I could set my database to be Geonode (apt-get) the long-term? Should this change be done through the wsgi.py?<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">My long-term database configuration installed via apt-get is set in the /etc/geonode/local_settings.py. <br><br>My wsgi.py and local_settings.py in Geonode-Project (installed via Python virtualenv), in the other hand, are available in /etc/julierme_virtualenv/my_geonode/my_geonode/my_geonode/<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">So, how can I keep postgresql (long-term) installed via apt-get while I change geonode.conf in order to use the layout of Geonode-Project?<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Thank you very much for your time.<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">I appreciated it.<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Julierme </font></span><br><div><div><div><div><div><br><br><div><div><br><div><br><br><div><br></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-18 12:24 GMT-03:00 Dave Kennewell <span dir="ltr"><<a href="mailto:davekennewell@gmail.com" target="_blank">davekennewell@gmail.com</a>></span>:<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>The missing maps and users suggests to me that geonode is now using a different database. If it is still working, but just with no maps or users, my guess is:</div><div><br></div><div>Prior to configuring geonode.conf, you would have been using the default postgresql database that is installed with geonode via apt-get. This is likely where your 6 maps & 2 users currently reside.</div><div><br></div><div>After configuring geonode.conf, you will likely be using <a href="http://your_geonode_project.wsgi.py" target="_blank">your_geonode_project.wsgi.py</a>, which will point to your_geonode_project.settings. This settings file will override the default postgresql database with whatever you have in there (either in your_geonode_project.settings or local_settings.py)</div><div><br></div><div>The next steps to "fix" this depends on which database you want to use long-term?</div><div><br></div><div>Does this sound right or do you think it is something else? </div><div><br></div><div>regards</div><div>Dave</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 18 April 2018 at 19:13, juliermeopensourcedeveloper [via OSGeo.org] <span dir="ltr"><<a href="mailto:ml+s1560n5361932h7@n6.nabble.com" target="_blank">ml+s1560n5361932h7@n6.nabble.<wbr>com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

        <div dir="ltr"><div><div><div><div><div><div><div><span style="color:rgb(32,18,77)"><font size="4">Dear all,<br> <br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">I just finished configuring <b>geonode.conf</b> in order to customize Geonode main layout (installed via apt-get) based on changes made through Geonode-Project Dev layout (installed via Python Virtualenv). Before configuring <b>geonode.conf</b>, I had 6 Maps and 2 users in my Geonode and after applying Geonode-Project Dev layout by changing <b>geonode.conf</b>, I faced the following problems:<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">1 - The 6 Maps and 2 Users I had in Geonode are gone;<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">2 - I am unable to log in even with Geonode default credentials;<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Could someone tell me why I am facing these problems and figure out one way to fix them?<br><br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Thank you very much for your time and patience in advance.<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Best Regards<br><br></font></span></div><span style="color:rgb(32,18,77)"><font size="4">Julierme    </font></span><br></div>
<br></div></div>______________________________<wbr>_________________
<br>geonode-users mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=5361932&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="nofollow" link="external" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>

        
        
        
        <br>
        <br>
        <hr size="1" noshade color="#cccccc">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Customizing-Geonode-Installed-via-apt-get-from-Geonode-project-Dev-Installed-via-Python-Virtualenv-tp5361932.html" target="_blank">http://osgeo-org.1560.x6.nabbl<wbr>e.com/Customizing-Geonode-<wbr>Installed-via-apt-get-from-<wbr>Geonode-project-Dev-Installed-<wbr>via-Python-Virtualenv-<wbr>tp5361932.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from GeoNode users, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185389&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM4OXwtOTI1NjEyMTk0" target="_blank">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank">NAML</a>
        </div></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">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>
<br></blockquote></div><br></div>