[GeoNode-users] Geonode Docker provisioning problems. tasks.py
John, Steffen
s.john at atenekom.eu
Thu Jun 14 00:32:24 PDT 2018
Hi!
I tried setting up Geonode 2.6 from this repo (https://github.com/GeoNode/geonode-docker/ and https://hub.docker.com/r/geonode/geonode/) using docker.
Building the container works without problem, but when I integrate into my docker-compose stack and try to start the container, I get the following error message:
django_1 | Traceback (most recent call last):
django_1 | File "/usr/local/bin/invoke", line 11, in <module>
django_1 | sys.exit(program.run())
django_1 | File "/usr/local/lib/python2.7/site-packages/invoke/program.py", line 293, in run
django_1 | self.execute()
django_1 | File "/usr/local/lib/python2.7/site-packages/invoke/program.py", line 414, in execute
django_1 | executor.execute(*self.tasks)
django_1 | File "/usr/local/lib/python2.7/site-packages/invoke/executor.py", line 129, in execute
django_1 | result = call.task(*args, **call.kwargs)
django_1 | File "/usr/local/lib/python2.7/site-packages/invoke/tasks.py", line 115, in __call__
django_1 | result = self.body(*args, **kwargs)
django_1 | File "/usr/src/app/tasks.py", line 25, in update
django_1 | pub_port = _geonode_public_port()
django_1 | File "/usr/src/app/tasks.py", line 144, in _geonode_public_port
django_1 | os.getenv('GEONODE_INSTANCE_NAME', 'geonode')
django_1 | File "/usr/src/app/tasks.py", line 95, in _container_exposed_port
django_1 | ) if '{0}'.format(instname) in c.name][0]
django_1 | IndexError: list index out of range
As far as I understood, the error originated from tasks.py which does some kind of provisioning.
But what my be the reason for that error and how can I fix it?
Any help is appreciated! Thanks a lot!
Steffen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180614/3fc1e7aa/attachment.html>
More information about the geonode-users
mailing list