<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>Hi!</div>
<div class="-x-evo-paragraph -x-evo-top-signature-spacer"><br>
</div>
<div>I tried setting up Geonode 2.6 from this repo (<a href="https://github.com/GeoNode/geonode-docker/">https://github.com/GeoNode/geonode-docker/</a> and <a href="https://hub.docker.com/r/geonode/geonode/">https://hub.docker.com/r/geonode/geonode/</a>) using
 docker.</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div>django_1         | Traceback (most recent call last):</div>
<div>django_1         |   File "/usr/local/bin/invoke", line 11, in <module></div>
<div>django_1         |     sys.exit(program.run())</div>
<div>django_1         |   File "/usr/local/lib/python2.7/site-packages/invoke/program.py", line 293, in run</div>
<div>django_1         |     self.execute()</div>
<div>django_1         |   File "/usr/local/lib/python2.7/site-packages/invoke/program.py", line 414, in execute</div>
<div>django_1         |     executor.execute(*self.tasks)</div>
<div>django_1         |   File "/usr/local/lib/python2.7/site-packages/invoke/executor.py", line 129, in execute</div>
<div>django_1         |     result = call.task(*args, **call.kwargs)</div>
<div>django_1         |   File "/usr/local/lib/python2.7/site-packages/invoke/tasks.py", line 115, in __call__</div>
<div>django_1         |     result = self.body(*args, **kwargs)</div>
<div>django_1         |   File "/usr/src/app/tasks.py", line 25, in update</div>
<div>django_1         |     pub_port = _geonode_public_port()</div>
<div>django_1         |   File "/usr/src/app/tasks.py", line 144, in _geonode_public_port</div>
<div>django_1         |     os.getenv('GEONODE_INSTANCE_NAME', 'geonode')</div>
<div>django_1         |   File "/usr/src/app/tasks.py", line 95, in _container_exposed_port</div>
<div>django_1         |     ) if '{0}'.format(instname) in c.name][0]</div>
<div>django_1         | IndexError: list index out of range</div>
<div><br>
</div>
<div><br>
</div>
<div>As far as I understood, the error originated from tasks.py which does some kind of provisioning. </div>
<div><br>
</div>
<div>But what my be the reason for that error and how can I fix it?</div>
<div><br>
</div>
<div>Any help is appreciated! Thanks a lot!</div>
<div><br>
</div>
<div>Steffen</div>
<div><br>
</div>
</body>
</html>