<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hi Francesco,</div><div> thank you very much. Now all work fine!</div><div>Kind regards</div><div>Matteo</div><div></div><div data-marker="__SIG_PRE__"><div><table cellpadding="3px" border="0px" style="width: 100%; table-layout: fixed; float: left;"><tbody><tr><td>
<div><span style="font-size: 9pt; color: #333333; font-family: arial, helvetica, sans-serif;"><span style="color: #333333;"> </span></span></div>
</td>
</tr>
</tbody>
</table>
<div></div><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>Da: </b>"Francesco Bartoli" <xbartolone@gmail.com><br><b>A: </b>"matteo.conte" <matteo.conte@abitat.it><br><b>Cc: </b>"Alessio Fabiani" <alessio.fabiani@geo-solutions.it>, "geonode-users" <geonode-users@lists.osgeo.org><br><b>Inviato: </b>Lunedì, 15 ottobre 2018 9:46:35<br><b>Oggetto: </b>Re: [GeoNode-users] Change Geonode admin password on Docker installation<br></div><br><div data-marker="__QUOTED_TEXT__"><div dir="ltr"><div dir="ltr">Hi Matteo,<br><div>after having read carefully your email I would figure out it saying that password and categories are fixtures and at the moment they are not persisted.</div><div>The quickest way you can do it is an hack by adding a new variable in the .env file django.env, i.e. SKIP_FIXTURES, and an "if" control here <a href="https://github.com/GeoNode/geonode/blob/master/entrypoint.sh#L22" target="_blank">https://github.com/GeoNode/geonode/blob/master/entrypoint.sh#L22</a> to skip that couple of lines.</div><br><div>In the long term we have to decide how to manage this as it looks like to me a sort of backup policy.</div><br><div>Hope this helps.</div><div>Francesco </div><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 15 ott 2018 alle ore 08:56 Matteo Conte <<a href="mailto:matteo.conte@abitat.it" target="_blank">matteo.conte@abitat.it</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div>Hi Francesco,</div><div> I tried with docker-compose commands. I stopped all geonode containers with docker-compose stop commands and then I start the containers with docker-compose start but I get the same result.</div><div>Kind regards</div><div>Matteo</div><div><div><table cellpadding="3px" border="0px" style="width:100%;table-layout:fixed;float:left"><tbody><tr><td>
</td>
</tr>
</tbody>
</table>
<br><hr id="gmail-m_-3726668637116473900zwchr"><div><b>Da: </b>"Francesco Bartoli" <<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>><br><b>A: </b>"Alessio Fabiani" <<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>>, "matteo.conte" <<a href="mailto:matteo.conte@abitat.it" target="_blank">matteo.conte@abitat.it</a>><br><b>Cc: </b>"geonode-users" <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>><br><b>Inviato: </b>Sabato, 13 ottobre 2018 18:34:17<br><b>Oggetto: </b>Re: [GeoNode-users] Change Geonode admin password on Docker installation<br></div><br><div>
<div>Hi Matteo,<br>
<br>
Can you please try to reproduce the same issue with the plain docker-compose commands?</div>
<div><br>
Thanks,<br>
Francesco</div>
<div>Il 13 ott 2018, 09:24 +0200, Matteo Conte <<a href="mailto:matteo.conte@abitat.it" target="_blank">matteo.conte@abitat.it</a>>, ha scritto:<br>
<blockquote>
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">Hi Alessio,</div>
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"> the guide on <a href="https://github.com/GeoNode/geonode-project#start-your-server" target="_blank">https://github.com/GeoNode/geonode-project#start-your-server</a> is similar to this <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/running_docker/setup_docker_compose.html#running-geonode-stack-on-localhost" target="_blank">http://docs.geonode.org/en/master/tutorials/install_and_admin/running_docker/setup_docker_compose.html#running-geonode-stack-on-localhost</a>. I use <a href="http://portainer.io" target="_blank">portainer.io</a> interface to manage docker and to start/stop container or stack. Another couple of very strange things:</div>
<ul>
<li style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">If I change the admin password this will be reset after restart <span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13.3333px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">geonode<span> </span></span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13.3333px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">stack</span>;</li>
<li style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">If I edit topics category these will be reset after restart <span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13.3333px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">geonode<span> </span></span><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:13.3333px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">stack</span>;</li>
<li style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">BUT If I add layers/maps/users these remain after restart geonode stack.</li>
</ul>
<div><span style="font-size:13.3333px">Why some settings remain and others do not?</span><br></div>
<div><span style="font-size:13.3333px">Kind Regards</span></div>
<div><span style="font-size:13.3333px">Matteo</span></div>
<hr id="gmail-m_-3726668637116473900zwchr">
<div><b>Da:</b> "Alessio Fabiani" <<a href="mailto:alessio.fabiani@geo-solutions.it" target="_blank">alessio.fabiani@geo-solutions.it</a>><br>
<b>A:</b> "matteo.conte" <<a href="mailto:matteo.conte@abitat.it" target="_blank">matteo.conte@abitat.it</a>><br>
<b>Cc:</b> "geonode-users" <<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>><br>
<b>Inviato:</b> Venerdì, 12 ottobre 2018 12:39:14<br>
<b>Oggetto:</b> Re: [GeoNode-users] Change Geonode admin password on Docker installation<br></div>
<br>
<div>
<div dir="ltr">P.S.: for this specific issue, be sure you DO NOT build the image every time<br></div>
<br>
<div class="gmail_quote">
<div dir="ltr">Il giorno ven 12 ott 2018 alle ore 12:04 Matteo Conte <<a href="mailto:matteo.conte@abitat.it" target="_blank">matteo.conte@abitat.it</a>> ha scritto:<br></div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">
<div>Hi All,</div>
<div> I've installed Geonode (2.10_rc4) on docker following this guide <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/running_docker/index.html" target="_blank">http://docs.geonode.org/en/master/tutorials/install_and_admin/running_docker/index.html</a>.</div>
<div>When I change Geonode admin password and restarted the docker containers the password return to be the default.</div>
<div>Kind regards</div>
<div>Matteo</div>
<br></div>
</div>
</div>
_______________________________________________<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/mailman/listinfo/geonode-users</a><br></blockquote>
</div>
<br clear="all">
<br>
--<br>
<div dir="ltr" class="gmail-m_-3726668637116473900gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div style="font-size:12.8px"><span></span>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span><span style="font-family:Arial;font-size:11pt;white-space:pre-wrap">==</span><br></span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">GeoServer Professional Services from the experts! Visit <a href="http://goo.gl/it488V" target="_blank">http://goo.gl/it488V</a> for more information.</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">==</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Ing. Alessio Fabiani</span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">@alfa7691</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Founder/Technical Lead</span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">GeoSolutions S.A.S.</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Via di Montramito 3/A -</span> <span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">55054 Massarosa (LU) -</span> <span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Italy</span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">phone: <a href="tel:+39%200584%20962313" target="_blank">+39 0584 962313</a></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">fax: <a href="tel:+39%200584%201660272" target="_blank">+39 0584 1660272</a></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">mob: <a href="tel:+39%20331%206233686" target="_blank">+39 331 6233686</a></span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><a href="http://twitter.com/geosolutions_it" target="_blank">http://twitter.com/geosolutions_it</a></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(34,34,34);background-color:rgb(255,255,255);font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">-------------------------------------------------------</span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.</span></p>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><br></span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.</span><span style="font-size:11pt;font-family:Arial;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:italic;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br></div>
_______________________________________________<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" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br></blockquote>
</div><br></div></div></div><div id="gmail-m_-3726668637116473900mceResizeHandlenw" class="gmail-m_-3726668637116473900mce-resizehandle" style="margin:0px;padding:0px"></div><div id="gmail-m_-3726668637116473900mceResizeHandlene" class="gmail-m_-3726668637116473900mce-resizehandle" style="margin:0px;padding:0px"></div><div id="gmail-m_-3726668637116473900mceResizeHandlese" class="gmail-m_-3726668637116473900mce-resizehandle" style="margin:0px;padding:0px"></div><div id="gmail-m_-3726668637116473900mceResizeHandlesw" class="gmail-m_-3726668637116473900mce-resizehandle" style="margin:0px;padding:0px"></div></div></div></blockquote></div></div></div><br></div></div></div></div></body></html>