[GeoNode-devel] [GeoNode-users] Geonode Unable to Sign in

Julierme Pinheiro juliermeopensourcedeveloper at gmail.com
Thu May 10 10:18:16 PDT 2018


HI Alessio Fabiani,

Thank you very much for your reply.  In general, I followed all the steps
in this tutorial (
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/install_geonode_application.html
)

1 - I have two users in the home directory: /home/geo and /home/geonode

2 - I followed all the guide directions as root at geo

3 - While preparing Python Virtual Environment, I had created the directory
Envs in the root's home and it caused me a lot of trouble with the
geonode.conf and after the whole installation process, I moved Envs
directory to /home/geo/Envs and I got rid of the troubles with geonode.conf.

5 - I got geoserver and geonode installed in Dev  Mode :
http://localhost:8080/geoserver and http://localhost:8000

6 - I tweaked through local-settings.py as in here: (
http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/setup_configure_httpd.html
)

Note: In  my geonode project local_settings.py does not have the config to
LOGGING = {...}
'handlers': {
'null': {
'level': 'ERROR',
'class': 'django.utils.log.NullHandler',
},

as you have in here
https://github.com/GeoNode/geonode-project/blob/2.8.0/project_name/local_settings.py.sample

7 - I commented out line 348 in settings.py <INSTALLED_APPS += ('
geonode.contrib.ows_api',>

Note: When I was root I could do python manage.py migrate and the command
would work. After moving Envs directory to /home/geo/Envs I am unable to
run any python manage.py --
migrate/collectstatic/createsuperuser/changepassword

So, I followed the whole installation guide as root. I have geonode and geo
users in /home. I had to move Envs directory from /root to /home/geo/.
Geonode project is in /home/geonode/my_geonode/my_geonode. I have geoserver
2.12-SNAPSHOT running perfectly fine and  geonode is starting up  in
http://localhost. However I am unable to sign in and run python manage.py
----------

I hope I am giving you enough information for the whole process I followed.

I appreciated your time and help.

Kind regards

Julierme













2018-05-10 5:08 GMT-03:00 Alessio Fabiani <alessio.fabiani at geo-solutions.it>
:

> Hello Julieme,
> it looks to me that there's some issue on your setup.
>
> Sorry to jump into the discussion only now. Can you please quickly
> summarize how you installed and configured the system?
>
> Regards,
>
> Alessio Fabiani
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
> (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> 2018-05-10 0:10 GMT+02:00 Julierme Pinheiro <juliermeopensourcedeveloper@
> gmail.com>:
>
>> The response is the same to python manage.py shell
>>
>> I have no idea about what is going on. Any help on that would be very
>> appreciated.
>>
>> Thank you very much for your help and time.
>>
>> Kind regards
>>
>> 2018-05-09 18:58 GMT-03:00 Julierme Pinheiro <
>> juliermeopensourcedeveloper at gmail.com>:
>>
>>> Hi Faneva,
>>>
>>> I have tried all these commands:
>>>
>>> python manage.py createsuperuser
>>> python manage.py changepassword admin
>>>
>>> And the response to both is:
>>>
>>> Traceback (most recent call last):
>>>   File "manage.py", line 31, in <module>
>>>     execute_from_command_line(sys.argv)
>>>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>>> line 354, in execute_from_command_line
>>>     utility.execute()
>>>   File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
>>> line 303, in execute
>>>     settings.INSTALLED_APPS
>>>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>>> line 48, in __getattr__
>>>     self._setup(name)
>>>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>>> line 44, in _setup
>>>     self._wrapped = Settings(settings_module)
>>>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>>> line 92, in __init__
>>>     mod = importlib.import_module(self.SETTINGS_MODULE)
>>>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
>>> import_module
>>>     __import__(name)
>>>   File "/home/geonode/my_geonode/my_geonode/settings.py", line 27, in
>>> <module>
>>>     from geonode.settings import *
>>> ImportError: No module named geonode.settings
>>>
>>> I have no idea in what is going on. Any help on that would be very
>>> appreciated.
>>>
>>> Thank you very much for your help and time.
>>>
>>> Kind regards
>>>
>>> Julierme
>>>
>>>
>>> 2018-05-09 18:50 GMT-03:00 ANDRIAMIADANTSOA Fanevanjanahary <
>>> fanevanjanahary at gmail.com>:
>>>
>>>> Hello Julierme,
>>>>
>>>> Did you already try to change the admin's password?
>>>>
>>>> This is commande to change this
>>>>
>>>> python manage.py changepassword admin
>>>>
>>>>
>>>> Best regards
>>>>
>>>> Faneva
>>>>
>>>> On Thu, May 10, 2018, 00:21 Julierme Pinheiro <
>>>> juliermeopensourcedeveloper at gmail.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I finally got the end of the geonode installation as in here:
>>>>> http://docs.geonode.org/en/master/tutorials/install_and_admi
>>>>> n/geonode_install/all_together.html
>>>>>
>>>>> But now, I am unable to sign in. The tutorial says: Login with admin
>>>>> username and password you just set. But I do not remember setting an
>>>>> username and a password during the installation. I tried the default one:
>>>>> username:admin and password: admin, but I got no success.
>>>>>
>>>>> Any help on that please?
>>>>>
>>>>> Thank you for your time in advance.
>>>>>
>>>>> Best regards
>>>>>
>>>>>
>>>>> Julierme
>>>>> _______________________________________________
>>>>> geonode-devel mailing list
>>>>> geonode-devel at lists.osgeo.org
>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>
>>>>
>>>
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180510/6e5e7d9a/attachment-0001.html>


More information about the geonode-devel mailing list