[GeoNode-users] Database and user "geonode" do not exist after apt-get installation [fixed]

Simone Dalmasso 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
> 2.4
> 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
> "geonode"
> 2017-01-31 22:15:58 EET DETAIL:  Connection matched pg_hba.conf line 94:
> "host
> 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:
> http://docs.geonode.org/en/master/tutorials/install_and_
> admin/geonode_install/create_geonode_db.html
>
> 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
> 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/20170201/f47f5b2f/attachment.html>


More information about the geonode-users mailing list