Open FlorentinCONGO opened 5 years ago
Looks like elasticsearch hadn't booted up yet.
A couple of things: could you past a docker-compose ps
to share what the status of the containers and services is? Also, perhaps just wait a bit? It takes a while for things to boot up, and in the process, it throws a bunch of errors... That's OK, eventually ES boots, just takes time.
Hi!
this is result of docker-compose ps
:
WARNING: The MANAGEPY_IMPORT_GEOJSON variable is not set. Defaulting to a blank string.
WARNING: The OSM_RELATION_IDS variable is not set. Defaulting to a blank string.
WARNING: The AWS_S3_CUSTOM_DOMAIN variable is not set. Defaulting to a blank string.
WARNING: The BRANDING_SPLASH variable is not set. Defaulting to a blank string.
Name Command State Ports
----------------------------------------------------------------------------------------------------------------------
letsencrypt-nginx-proxy-companion /bin/bash /app/entrypoint. ... Up
nginx-proxy /app/docker-entrypoint.sh ... Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
rapidpro_celery_base_1 /venv/bin/celery --beat -- ... Up 8000/tcp
rapidpro_celery_msgs_1 /venv/bin/celery --app=tem ... Up 8000/tcp
rapidpro_courier_1 courier Up 8080/tcp
rapidpro_elasticsearch_1 /usr/local/bin/docker-entr ... Up 9200/tcp, 9300/tcp
rapidpro_mailroom_1 mailroom Up 8090/tcp
rapidpro_nginx_1 nginx -g daemon off; Up 80/tcp
rapidpro_postgresql_1 docker-entrypoint.sh postgres Up 5432/tcp
rapidpro_rapidpro_1 /startup.sh Exit 1
rapidpro_redis_1 docker-entrypoint.sh redis ... Up 6379/tcp
rapidpro_rp-archiver_1 rp-archiver Exit 1
rapidpro_rp-indexer_1 rp-indexer Up 8080/tcp
Hi! Sorry it took so long to get back to you. Likely you'll need to run the migrations.
docker-compose exec rapidpro /venv/bin/python manage.py migrate
Hi Mr @cromulus ! i deployed Rapidpro docker but when i run
docker-compose up
i got this error :'level=error msg="error creating new index" error="Get http://localhost:9200/contacts_2019_09_19: dial tcp 127.0.0.1:9200: connect: connection refused"
Could you help me please?Thanks i advance.