title: InfluxDB influx-enterprise.key.json no such file or directory
body: <p>I try to install InfluxDB Enterprise Edition using this documentation: <a href="https://docs.influxdata.com/enterprise/v1.2/production_installation/" rel="nofollow noreferrer">https://docs.influxdata.com/enterprise/v1.2/production_installation/</a>. The Requirements suggest to either use a <code>license-key</code> or <code>license-path</code>, where I do it with the License Key. </p>
  
  <p>In Step 2, after installing, configuring and starting the Data Nodes I try to <a href="https://docs.influxdata.com/enterprise/v1.2/production_installation/data_node_installation/#join-the-data-nodes-to-the-cluster" rel="nofollow noreferrer">join the data nodes to the cluster</a>. But executing <code>influxd-ctl add-data enterprise-data-01:8088</code> gives me the error:</p>
  
  <pre><code>add-data: operation exited with error: open /tmp/influx-enterprise.key.json: no such file or directory
  </code></pre>
  
  <p>although I configured not to use the license-key json but rather the license-key.
  I also have the json file, so I tried it with the <code>license-path</code> but still getting the same error. Has somebody else encountered the same issues?</p>
  
  <p><strong>EDIT</strong>
  Issue has been resolved, I had to restart the Data nodes after I changed the configuration to use the <code>license-path</code> <em>facepalm</em>. I went into this problem as I previously entered an old license key.</p>