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 file properties with the following command:

/usr/hdf/current/nifi-toolkit/bin/ -r /usr/hdf/current/nifi-registry/conf/ --decrypt --nifiRegistry -v -p <<password_used_for_encryption>>

The output of the command contains the database password.