Docker JDBC connection

Hi,

Thanks for this great product.

When I am trying to configure a JDBC datasource, I get:
{“error”:{“root_cause”:[{“type”:“exception”,“reason”:“There are no connector nodes with JDBC enabled that can process the request at this time.”}],“type”:“exception”,“reason”:“There are no connector nodes with JDBC enabled that can process the request at this time.”},“status”:500}

My install is using Docker image sirensolutions/siren-platform-no-data-no-security:10.2.1.
Any advice?

Hi, Mig.

The no-demo-no-data docker image doesn’t come with JDBC enabled. To enable it, you’ll need to change the configuration by hand, which is tricky because there is no text editor inside the docker image. Under Linux or Mac, this would be done as follows, where $CONTAINER is the ID of the running container (as found by docker ps):

docker exec $CONTAINER /bin/bash -c "echo $'\nnode.attr.connector.jdbc: true' >> /opt/platform/elasticsearch/config/elasticsearch.yml"
docker restart $CONTAINER

Hope that helps!