There was an issue loading properties (nifi-2.0.0-M4)
I am facing an issue with my Nifi as I am unable to access the Nifi anymore. I think this maybe because I have modified and replaced the nifi.properties file from the original downloaded version of the file.
When I try to run Nifi as a service using sudo service nifi start it does not start the service.
Here are the nifi-app.log that I can see...
ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi
java.lang.IllegalArgumentException: There was an issue loading properties
at org.apache.nifi.NiFi.initializeProperties(NiFi.java:361)
at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:343)
at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:339)
at org.apache.nifi.NiFi.main(NiFi.java:331)
Caused by: java.lang.IllegalStateException: Sensitive Properties Key [nifi.sensitive.props.key] not found: See Admin Guide section [Updating t
at org.apache.nifi.properties.NiFiPropertiesLoader.getDefaultProperties(NiFiPropertiesLoader.java:159)
at org.apache.nifi.properties.NiFiPropertiesLoader.get(NiFiPropertiesLoader.java:138)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.apache.nifi.NiFi.initializeProperties(NiFi.java:356)
... 3 common frames omitted
2024-09-01 16:47:45,266 INFO [main] org.apache.nifi.NiFi Launching NiFi...
2024-09-01 16:47:45,306 INFO [main] o.a.nifi.properties.NiFiPropertiesLoader Loading Application Properties [/opt/nifi/./conf/nifi.properties]
2024-09-01 16:47:45,310 ERROR [main] o.a.nifi.properties.NiFiPropertiesLoader Flow Configuration [./conf/flow.json.gz] Found: Migration Requirrops.key]
2024-09-01 16:47:45,311 ERROR [main] org.apache.nifi.NiFi Failure to launch NiFi
java.lang.IllegalArgumentException: There was an issue loading properties
at org.apache.nifi.NiFi.initializeProperties(NiFi.java:361)
at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:343)
at org.apache.nifi.NiFi.convertArgumentsToValidatedNiFiProperties(NiFi.java:339)
at org.apache.nifi.NiFi.main(NiFi.java:331)
Caused by: java.lang.IllegalStateException: Sensitive Properties Key [nifi.sensitive.props.key] not found: See Admin Guide section [Updating t
at org.apache.nifi.properties.NiFiPropertiesLoader.getDefaultProperties(NiFiPropertiesLoader.java:159)
at org.apache.nifi.properties.NiFiPropertiesLoader.get(NiFiPropertiesLoader.java:138)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.apache.nifi.NiFi.initializeProperties(NiFi.java:356)
... 3 common frames omitted
I think the problematic area is this in the nifi.properties file.
nifi.security.autoreload.enabled=false
nifi.security.autoreload.interval=10 secs
nifi.security.keystore=./conf/keystore.p12
nifi.security.keystoreType=PKCS12
nifi.security.keystorePasswd=
nifi.security.keyPasswd=
The keystorePasswd and keyPasswd properties are empty, while I am trying to run this on https with default settings.
Can someone please help me here ?


