[GeoNode-users] Database and user "geonode" do not exist after apt-get installation [fixed]
simone.dalmasso at gmail.com
Wed Feb 1 07:11:53 PST 2017
Hi, this is interesting. I would be curious to see what the original error
is, it should appear in the terminal during the geonode installation.
2017-02-01 16:06 GMT+01:00 Gi Petrak <gkpetrak at gmail.com>:
> I 'd like to post an issue that I had with apt-get Installation of GeoNode
> and I fixed with the hope of helping someone else with the same problem.
> After creating a clean and fresh Ubuntu 14.04 remote VM, I installed
> geonode with apt-get:
> sudo add-apt-repository ppa:geonode/stable
> sudo apt-get update
> sudo apt-get install geonode
> But when I executed the following commands:
> geonode createsuperuser
> sudo geonode-updateip 127.0.0.1
> I had errors like:
> 2017-01-31 22:15:58 EET FATAL: password authentication failed for user
> 2017-01-31 22:15:58 EET DETAIL: Connection matched pg_hba.conf line 94:
> 2017-01-31 22:54:31 EET FATAL: role "user" does not exist
> 2017-01-31 22:54:49 EET FATAL: database "geonode" does not exist
> So, I realized that geonode user and database didn't exist. Thus, I
> followed the custom procedure of creating GeoNode DB:
> and finally I ran: sudo python manage.py syncdb -noinput
> After these steps, problem solved.
> geonode-users mailing list
> geonode-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users