Collecting NiFi Registry database password

You need to migrate the NiFi Registry database password manually during the upgrade.

If you forget your database password, but you know your password which used to encrypt the NiFi Registry password, you can decrypt the nifi.registry.properties file properties with the following command:

/usr/hdf/current/nifi-toolkit/bin/encrypt-config.sh -r /usr/hdf/current/nifi-registry/conf/nifi-registry.properties --decrypt --nifiRegistry -v -p <<password_used_for_encryption>>

The output of the command contains the database password.