[GeoNode-users] Geonode account registrations don't work

Simone Dalmasso simone.dalmasso at gmail.com
Fri Mar 10 03:45:39 PST 2017


oh right I forgot the geonode apps. Ok discard the previous and try with
this one

INSTALLED_APPS = geonode.settings.INSTALLED_APPS + ('notification',)

2017-03-10 12:37 GMT+01:00 Adam Lawrence <alaw005 at gmail.com>:

>
>
> On 11 March 2017 at 00:16, Adam Lawrence <alaw005 at gmail.com> wrote:
>
>> Thank you, but unfortunately it still doesn't work. I have pasted the
>> following into my local_sttings.py from https://github.com/GeoNod
>> e/geonode/blob/master/geonode/settings.py but I now get a server error
>> 500 code on all pages. I did a sudo service apache2 restart after the
>> change but do I also need to restart something else?
>>
>> INSTALLED_APPS = (
>> 'modeltranslation',
>> # Boostrap admin theme
>> # 'django_admin_bootstrapped.bootstrap3',
>> # 'django_admin_bootstrapped',
>> # Apps bundled with Django
>> 'django.contrib.auth',
>> 'django.contrib.contenttypes',
>> 'django.contrib.sessions',
>> 'django.contrib.sites',
>> 'django.contrib.admin',
>> 'django.contrib.sitemaps',
>> 'django.contrib.staticfiles',
>> 'django.contrib.messages',
>> 'django.contrib.humanize',
>> 'django.contrib.gis',
>> # Third party apps
>> # Utility
>> 'pagination',
>> 'taggit',
>> 'treebeard',
>> 'friendlytagloader',
>> 'geoexplorer',
>> 'leaflet',
>> 'django_extensions',
>> #'geonode-client',
>> # 'haystack',
>> 'autocomplete_light',
>> 'mptt',
>> # 'modeltranslation',
>> 'djcelery',
>> 'storages',
>> 'floppyforms',
>> # Theme
>> "pinax_theme_bootstrap_account",
>> "pinax_theme_bootstrap",
>> 'django_forms_bootstrap',
>> # Social
>> 'account',
>> 'avatar',
>> 'dialogos',
>> 'agon_ratings',
>> # 'notification',
>> 'announcements',
>> 'actstream',
>> 'user_messages',
>> 'tastypie',
>> 'polymorphic',
>> 'guardian',
>> 'oauth2_provider',
>> ) + GEONODE_APPS
>>
>>
>> On 11 March 2017 at 00:01, Simone Dalmasso <simone.dalmasso at gmail.com>
>> wrote:
>>
>>> 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.
>>>
>>> Il giorno ven 10 mar 2017 alle 11:36 Adam Lawrence <alaw005 at gmail.com>
>>> ha scritto:
>>>
>>>> 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?
>>>>
>>>>
>>>> On 10 March 2017 at 21:55, Simone Dalmasso <simone.dalmasso at gmail.com>
>>>> wrote:
>>>>
>>>> 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.
>>>>
>>>> 2017-03-10 5:09 GMT+01:00 Adam Lawrence <alaw005 at gmail.com>:
>>>>
>>>> Hi,
>>>>
>>>> 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
>>>> https://github.com/GeoNode/geonode/issues/2114. How do I enable
>>>> notifications given I used the quick install method?
>>>>
>>>> The steps I followed to configure email server and user registration
>>>> were
>>>>
>>>>       Open config file::
>>>>
>>>>             sudo nano /etc/geonode/local_settings.py
>>>>
>>>>       Locate the following email and user registration settings::
>>>>
>>>>             #REGISTRATION_OPEN = False
>>>>             #ACCOUNT_APPROVAL_REQUIRED = False
>>>>
>>>>             #ACCOUNT_EMAIL_CONFIRMATION_EMAIL = False
>>>>             #ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False
>>>>
>>>>             ...
>>>>
>>>>             # Uncomment the following to receive emails whenever there
>>>> are errors in GeoNode
>>>>             # or to be notified of new user requests when
>>>> ACCOUNT_APPROVAL_REQUIRED has been set.
>>>>             #ADMINS = (
>>>>             #            ('John', 'john at example.com'),
>>>>             #         )
>>>>
>>>>             # Uncomment the following to use a Gmail account as the
>>>> email backend
>>>>             #EMAIL_USE_TLS = True
>>>>             #EMAIL_HOST = 'smtp.gmail.com'
>>>>             #EMAIL_HOST_USER = 'youremail at gmail.com'
>>>>             #EMAIL_HOST_PASSWORD = 'yourpassword'
>>>>             #EMAIL_PORT = 587
>>>>
>>>>       Update these settings according to your requirements. Then do the
>>>> following to ensure works:
>>>>
>>>>             sudo geonode syncdb
>>>>             sudo service apache2 restart
>>>>             sudo service tomcat7 restart
>>>>
>>>> [[This does not work as "notification" module not enabled in django
>>>> settings file]]
>>>>
>>>> ProgrammingError at /account/signup/
>>>>
>>>> relation "notification_noticetype" does not exist
>>>> LINE 1: ...iption", "notification_noticetype"."default" FROM "notificat...
>>>>
>>>>
>>>> Regards
>>>>
>>>> Adam
>>>>
>>>>
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>>
>>>> --
>>> Simone
>>>
>>
>>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170310/7b779ca6/attachment-0001.html>


More information about the geonode-users mailing list