<div><div>The easiest way is to copy the installed apps block from the default settings, see in github, and copy in your /etc/geonode/local_settings.py uncommenting notifications. </div></div><div><br><div class="gmail_quote"><div>Il giorno ven 10 mar 2017 alle 11:36 Adam Lawrence <<a href="mailto:alaw005@gmail.com">alaw005@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 class="gmail_msg"><div class="gmail_extra gmail_msg">Hi, thank you for the advice. Can you please advise how to access the installed apps settings if I've used the PPA install method or is that not possible? </div></div><div class="gmail_msg"><div class="gmail_extra gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">On 10 March 2017 at 21:55, Simone Dalmasso <span class="gmail_msg"><<a href="mailto:simone.dalmasso@gmail.com" class="gmail_msg" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<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">Hi, you have to also uncomment "notifications" in the settings installed apps. then run syncdb. If that is missing from the doc then we need to fix it.</div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div class="gmail_msg"><div class="m_-1315821913603240896im m_-1315821913603240896trimless-h5 m_-1315821913603240896trimless-content gmail_msg">2017-03-10 5:09 GMT+01:00 Adam Lawrence <span class="gmail_msg"><<a href="mailto:alaw005@gmail.com" class="gmail_msg" target="_blank">alaw005@gmail.com</a>></span>:<br class="gmail_msg"></div></div><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 class="m_-1315821913603240896im m_-1315821913603240896trimless-h5 m_-1315821913603240896trimless-content gmail_msg"><div class="gmail_msg">Hi,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I have using the Ubuntu PPA install of geonode but user registration does not work. I get the error below and understand that the "notifications" module is not enabled in python, e.g. refer <a href="https://github.com/GeoNode/geonode/issues/2114" class="gmail_msg" target="_blank">https://github.com/GeoNode/geonode/issues/2114</a>. How do I enable notifications given I used the quick install method? </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg">The steps I followed to configure email server and user registration were </div><div class="gmail_msg"> </div><div class="gmail_msg"> Open config file::</div><div class="gmail_msg"> </div><div class="gmail_msg"> sudo nano /etc/geonode/local_settings.py</div><div class="gmail_msg"> </div><div class="gmail_msg"> Locate the following email and user registration settings:: </div><div class="gmail_msg"> </div><div class="gmail_msg"> #REGISTRATION_OPEN = False</div><div class="gmail_msg"> #ACCOUNT_APPROVAL_REQUIRED = False</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"> #ACCOUNT_EMAIL_CONFIRMATION_EMAIL = False</div><div class="gmail_msg"> #ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False</div><div class="gmail_msg"> </div><div class="gmail_msg"> ...</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"> # Uncomment the following to receive emails whenever there are errors in GeoNode</div><div class="gmail_msg"> # or to be notified of new user requests when ACCOUNT_APPROVAL_REQUIRED has been set.</div><div class="gmail_msg"> #ADMINS = (</div><div class="gmail_msg"> # ('John', '<a href="mailto:john@example.com" class="gmail_msg" target="_blank">john@example.com</a>'),</div><div class="gmail_msg"> # )</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"> # Uncomment the following to use a Gmail account as the email backend</div><div class="gmail_msg"> #EMAIL_USE_TLS = True</div><div class="gmail_msg"> #EMAIL_HOST = '<a href="http://smtp.gmail.com" class="gmail_msg" target="_blank">smtp.gmail.com</a>'</div><div class="gmail_msg"> #EMAIL_HOST_USER = '<a href="mailto:youremail@gmail.com" class="gmail_msg" target="_blank">youremail@gmail.com</a>'</div><div class="gmail_msg"> #EMAIL_HOST_PASSWORD = 'yourpassword'</div><div class="gmail_msg"> #EMAIL_PORT = 587</div><div class="gmail_msg"> </div><div class="gmail_msg"> Update these settings according to your requirements. Then do the following to ensure works:</div><div class="gmail_msg"> </div><div class="gmail_msg"> sudo geonode syncdb</div><div class="gmail_msg"> sudo service apache2 restart</div><div class="gmail_msg"> sudo service tomcat7 restart</div></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">[[This does not work as "notification" module not enabled in django settings file]] <br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><h1 class="gmail_msg">ProgrammingError at /account/signup/</h1><pre class="m_-1315821913603240896m_2461945615067243229m_63116172441032236exception_value gmail_msg">relation "notification_noticetype" does not exist
LINE 1: ...iption", "notification_noticetype"."default" FROM "notificat...</pre><pre class="m_-1315821913603240896m_2461945615067243229m_63116172441032236exception_value gmail_msg"><br class="gmail_msg"></pre><pre class="m_-1315821913603240896m_2461945615067243229m_63116172441032236exception_value gmail_msg">Regards</pre><span class="m_-1315821913603240896m_2461945615067243229HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><pre class="m_-1315821913603240896m_2461945615067243229m_63116172441032236exception_value gmail_msg">Adam</pre></font></span></div></div>
<br class="gmail_msg"></div></div>_______________________________________________<br class="gmail_msg">
geonode-users mailing list<br class="gmail_msg">
<a href="mailto:geonode-users@lists.osgeo.org" class="gmail_msg" target="_blank">geonode-users@lists.osgeo.org</a><br class="gmail_msg">
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><span class="m_-1315821913603240896HOEnZb 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_-1315821913603240896m_2461945615067243229gmail_signature gmail_msg" data-smartmail="gmail_signature">Simone </div>
</font></span></div>
</blockquote></div><br class="gmail_msg"></div></div></blockquote></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature">Simone </div>