According to migration guidance for NiFi property 'Sensitive Properties Key' should be generated at startup, I believe this is the same behaviour in case of MiNiFi since they merged the codebase. Why is this happening?
BR, Tom From: Tomislav Novosel <[email protected]> Sent: 20 September 2021 11:05 To: [email protected] Subject: Minifi 1.14.0 exception - sensitive props key Hi to all, I was using MiNiFi 0.5.0 running on ubuntu, installed as a service. I switched now to MiNiFi 1.14.0 - I disabled minifi service, deleted installation folder and unpacked MiNiFi 1.14.0 folder at the same place where was 0.5.0 installed. I started new MiNiFi 1.14.0 and the service don't want to start properly with this exception: java.lang.Exception: Unable to load flow due to: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required at org.apache.nifi.headless.HeadlessNiFiServer.start(HeadlessNiFiServer.java:166) at org.apache.nifi.minifi.MiNiFi.<init>(MiNiFi.java:163) at org.apache.nifi.minifi.MiNiFi.<init>(MiNiFi.java:64) at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:265) Caused by: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required at org.apache.nifi.encrypt.PropertyEncryptorFactory.getPropertyEncryptor(PropertyEncryptorFactory.java:42) at org.apache.nifi.headless.HeadlessNiFiServer.start(HeadlessNiFiServer.java:125) ... 3 common frames omitted I tried to set the key manually, but the property in nifi.properties gets overwritten every time I am starting the service. Could not find anything about this exception, can someone help, why is this happening? Thanks, regards, Tom
