dokku / dokku-elasticsearch

an elasticsearch plugin for dokku
MIT License
94 stars 35 forks source link

[unlink] FAILED: Invalid key name: (...) #74

Closed StephanMeijer closed 3 years ago

StephanMeijer commented 5 years ago
root@xyz:~/apps/snowstorm# dokku elasticsearch:unlink snowstorm-es snowstorm
FAILED: Invalid key name: 'DOKKU_ELASTICSEARCH_AQUA_URL ELASTICSEARCH_URL'
root@xyz:~/apps/snowstorm# dokku config snowstorm
=====> snowstorm env vars
DOKKU_APP_RESTORE:             1
DOKKU_APP_TYPE:                dockerfile
DOKKU_ELASTICSEARCH_AQUA_URL:  http://dokku-elasticsearch-snowstorm-es:9200
DOKKU_LETSENCRYPT_EMAIL:       abc@xyz.com
DOKKU_PROXY_PORT:              8080
DOKKU_PROXY_PORT_MAP:          http:80:8080 https:443:8080
DOKKU_PROXY_SSL_PORT:          443
ELASTICSEARCH_URL:             http://dokku-elasticsearch-snowstorm-es:9200
GIT_REV:                       123123123123123123123123xyzabc
StephanMeijer commented 5 years ago

Issue occurs when both config options ELASTICSEARCH_URL and DOKKU_ELASTICSEARCH_AQUA_URL are being set.

josegonzalez commented 5 years ago

Can you run:

dokku --trace elasticsearch:unlink snowstorm-es snowstorm

And gist the output?