I would use the config set API - it is more clean for production deployments and you do not have to deal with the zkCli script:
https://lucene.apache.org/solr/guide/7_4/configsets-api.html > Am 18.11.2019 um 15:48 schrieb Michael Becker <mbec...@ipcoop.com>: > > I’ve run into an issue when attempting to configure Zookeeper. When running > the zk upconfig -d command specifying a local directory where the > solrconfig.xml files are located, I get the following error: > “Could not complete upconfig operation for reason: Could not find > solrconfig.xml at /opt/solr-6.5.1/server/solr/configsets/solrconfig.xml, > /opt/solr-6.5.1/server/solr/configsets/conf/solrconfig.xml or > /opt/solr-6.5.1/server/solr/configsets/ <path to local directory> > /solrconfig.xml” > > I’m trying to determine why the solr zk upconfig command is appending my > local directory to the default confdir, rather than looking for the XML files > in that directory, > I have two other environments with Solr where this does not occur. It’s just > this one environment that is having this issue. > I am using Solr version 6.5.1. > Any suggestions on how to troubleshoot this would be appreciated. > > Mike