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

Toni Schönbuchner toni.schoenbuchner at csgis.de
Mon May 14 10:23:00 PDT 2018


Dear Julierme,

so glad to hear! Just a little note.  For example if I´m quickly setup a VM via vagrant
my root user is called vagrant. Given this I just use vagrant instead of geo user etc …
(and don´t care about setting up user accounts)
In other words if you just like to test quickly it should work that you setup with
your root user as well ;)

cheers,

Toni

-----------------------------------------------
CSGIS

-----------------------------------------------
Kolonnadenstraße 1
04109 Leipzig
-----------------------------------------------
Mobil	+49/ (0) 176 6680 3198
Tel 		+49/ (0) 341 24 04 738
Fax 		+49/ (0) 341 24 04 73
Web		http://csgis.de
-----------------------------------------------

Hinweis gemäß § 33 BDSG
Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den 
Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich 
erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht 
von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, 
Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.

> Am 14.05.2018 um 19:14 schrieb geonode-users-request at lists.osgeo.org:
> 
> Today's Topics:
> 
>   1. Re: [GeoNode-devel] Geonode Unable to Sign in (Julierme Pinheiro)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 14 May 2018 14:14:16 -0300
> From: Julierme Pinheiro <juliermeopensourcedeveloper at gmail.com <mailto:juliermeopensourcedeveloper at gmail.com>>
> To: Paolo Corti <pcorti at gmail.com <mailto:pcorti at gmail.com>>
> Cc: Alessio Fabiani <alessio.fabiani at geo-solutions.it <mailto:alessio.fabiani at geo-solutions.it>>,  geonode-devel
> 	<geonode-devel at lists.osgeo.org <mailto:geonode-devel at lists.osgeo.org>>,  ANDRIAMIADANTSOA Fanevanjanahary
> 	<fanevanjanahary at gmail.com <mailto:fanevanjanahary at gmail.com>>, geonode-users
> 	<geonode-users at lists.osgeo.org <mailto:geonode-users at lists.osgeo.org>>
> Subject: Re: [GeoNode-users] [GeoNode-devel] Geonode Unable to Sign in
> Message-ID:
> 	<CAKTKyJK6NTyVNqPgqqo2yTTyi-xF8Zh1woL+Sn1+aByf4M00NA at mail.gmail.com <mailto:CAKTKyJK6NTyVNqPgqqo2yTTyi-xF8Zh1woL+Sn1+aByf4M00NA at mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi Paolo Corti  and Toni Schonbuchner,
> 
> Thank you very much for your reply. In order to make sure that I was not
> having problem with permission (rwx) only to the root user, I went over the
> installation guide and I installed everything again in a fresh Ubuntu 16.04
> VM as geo user. All permissions are granted to geonode, geo, tomcat8 and
> www-data users. Geonode and Geoserver are running smoothly. I can create
> superuser now by python manage.py createsuperuser. I have two user in
> geonode (admin, juliermeadmin). After all, I was yet having problem to sign
> in to geonode.
> 
> *HOW I SOLVED THE PROBLEM RELATED TO USERS AND PERMISSIONS:*
> 
> *1 - I installed everything as geo user *
> 
> *2 - Sqlite3 DB = development.db and it is located in
> ~/Envs/geonode/lib/python2.7/site-packages/geonode*
> 
> *2.1 - Granting rw to users and groups for development.db file*
> 
> sudo chown www-data:www-data development.db (# changing the user)
> sudo chmod u+rwx  development.db (user read write and execute)
> sudo chmod g+rwx  development.db (group read write and execute)
> sudo chmod o+r--  development.db (group read write and execute)
> 
> *2.2 - Granting geo:www-data do the  geonode directory found in
> ~/Envs/geonode/lib/python2.7/site-packages*
> 
> sudo chown geo: www-data geonode
> drwxrwxr-x  26 geo www-data    4096 Mai 14 13:40 geonode
> 
> That was it. Finally I got Geonode and Geoserver running like a charm in
> Dev mode.
> 
> I appreciated your time, patience and help.
> 
> Kind regards
> 
> Julierme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180514/71ecbbb8/attachment-0001.html>


More information about the geonode-users mailing list