[GeoNode-users] Error on running geonode using docker

Francesco Bartoli xbartolone at gmail.com
Wed Jan 4 07:59:06 PST 2017


the command suggested has to be run outside containers in the same place where
you execute the docker-compose up.  

  

  

  
Sent from [Nylas N1](https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc
/local-4c316ce7-6d18/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=Z2Vv
bm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=), the extensible, open source mail
client.![](https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-
4c316ce7-6d18?r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)

  
On gen 4 2017, at 4:56 pm, Sindile Bidla <sindile.bidla at geoilocate.co.za>
wrote:  

> Hi Jeffrey,

>

> In which container must i execute `make sync`

>

> I was using the following workflow as per the notes:

>

> If you want to use Docker you can now:

>  
>  
>     # build the docker container

>     docker-compose build

>  
>     # run the docker container

>     docker-compose up

>  
>     # turn it off

>     docker-compose down

>  
>     Regards,

>     Sindile

>  
>

>  

>

> On 04/01/2017 17:37, Jeffrey Johnson wrote:  

>

>> You need to execute `make sync` to run the migrations.

>>

>>  

>>

>> On Wed, Jan 4, 2017 at 6:49 AM, Sindile Bidla
<[sindile.bidla at geoilocate.co.za](mailto:sindile.bidla at geoilocate.co.za)>
wrote:  

>>

>>> I am trying to run geonode via the docker on Ubuntu 16.04, but have been
faced with the following error message:

>>>

>>> running docker ps -a

>>>

>>>  

>>>

>>> CONTAINER ID        IMAGE                     COMMAND
CREATED             STATUS                    PORTS
NAMES  
543b85dfd393        geonode/nginx:geoserver   "nginx -g 'daemon off"   22
hours ago        Up 22 hours               0.0.0.0:80->80/tcp, 443/tcp
geonode_nginx_1  

>>>

>>> 9a327ceeba10        geonode/django            "django-admin.py runs"   22
hours ago        Up 22 hours               8000/tcp
geonode_django_1  

>>>

>>> d25966950b90        geonode/django            "celery worker --app="   22
hours ago        Exited (0) 22 hours ago
geonode_celery_1  

>>>

>>> 1501d708bca9        geonode/geoserver         "/usr/local/tomcat/tm"   22
hours ago        Up 22 hours               0.0.0.0:32769->8080/tcp
geonode_geoserver_1  

>>>

>>> 1978155ef4f4        rabbitmq                  "docker-entrypoint.sh"   22
hours ago        Up 22 hours               4369/tcp, 5671-5672/tcp, 25672/tcp
geonode_rabbitmq_1  

>>>

>>> 95324b25309d        postgres                  "/docker-entrypoint.s"   22
hours ago        Up 22 hours               5432/tcp
geonode_postgres_1  

>>>

>>> 63b5746192f9        geonode/geoserver_data    "/bin/true"              22
hours ago        Exited (0) 22 hours ago
geoserver_data_dir  

>>>

>>> b6567923df39        elasticsearch             "/docker-entrypoint.s"   22
hours ago        Up 22 hours               9200/tcp, 9300/tcp
geonode_elasticsearch_1  
  

>>>

>>> d25966950b90        geonode/django            "celery worker --app="   22
hours ago        Exited (0) 22 hours ago
geonode_celery_1 - Is this an expected behavior, if not what could I be doing
wrong?

>>>

>>>  

>>>

>>> Also going to [http://localhost](http://localhost&r=Z2Vvbm9kZS11c2Vyc0BsaX
N0cy5vc2dlby5vcmc=), I get the following error message:  

>>>

>>> # ProgrammingError at /

>>>  
>>>  
>>>     relation "django_site" does not exist

>>>     LINE 1: ..."django_site"."domain", "django_site"."name" FROM
"django_si...

>>>                                                                  ^

>>>  
>>>

>>> Request Method:

>>> GET

>>>

>>> Request URL:

>>> <http://localhost/>](http://localhost/&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlb
y5vcmc=)

>>>

>>> Django Version:

>>> 1.8.7

>>>

>>> Exception Type:

>>> ProgrammingError

>>>

>>> Exception Value:

>>>  
>>>  
>>>     relation "django_site" does not exist

>>>     LINE 1: ..."django_site"."domain", "django_site"."name" FROM
"django_si...

>>>                                                                  ^

>>>  
>>>

>>> Exception Location:

>>> /usr/local/lib/python2.7/site-packages/django/db/backends/utils.py in
execute, line 64

>>>

>>> Python Executable:

>>> /usr/local/bin/python2

>>>

>>> Python Version:

>>> 2.7.9

>>>

>>> Python Path:

>>>  
>>>  
>>>     ['/usr/local/bin',

>>>      '/usr/src/app',

>>>      '/usr/local/lib/python27.zip',

>>>      '/usr/local/lib/python2.7',

>>>      '/usr/local/lib/python2.7/plat-linux2',

>>>      '/usr/local/lib/python2.7/lib-tk',

>>>      '/usr/local/lib/python2.7/lib-old',

>>>      '/usr/local/lib/python2.7/lib-dynload',

>>>      '/usr/local/lib/python2.7/site-packages',

>>>      '/usr/src/app']

>>>

>>> Server time:

>>> Wed, 4 Jan 2017 08:38:38 -0600

>>>

>>> I am able to access geoserver web interface though.

>>>

>>> Will greatly appreciate any pointers.

>>>

>>> Regards,

>>>

>>> Sindile

>>>

>>> _______________________________________________ geonode-users mailing list
[geonode-users at lists.osgeo.org](mailto:geonode-users at lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/geonode-
users](http://lists.osgeo.org/mailman/listinfo/geonode-
users&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=)

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


More information about the geonode-users mailing list