Installing and Upgrading NiFi
Also available as:

Restarting the dataflow after upgrade

After you have installed and configured the new NiFi cluster, complete the upgrade process by configuring your new NiFi cluster to take over flow management tasks.

  1. Set the directory and file ownership of your new NiFi instance to match the current owner and permissions of the existing NiFi instance.
  2. If you have not already done so, stop your existing NiFi instance.

    Do not start your new NiFi installation while the existing NiFi installation is still running. You may experience data loss if both NiFi configurations are pointing at any of the same external configuration files, repositories, or similar.

  3. Start your new NiFi instance as the same user as for your existing NiFi instance.
  4. If your existing NiFi instance was configured to run as a service, update any symlinks or service scripts to point to new NiFi version executables.