Preserve Modified NARs
If you have modified any of the default NAR files, an upgrade will overwrite these changes. Preserve your customizations as follows:
Identify and save the changes you made to the default NAR files.
Perform your NiFi upgrade.
Implement the same NAR file changes in your new NiFi instance.