Ubuntu
NiFi Version Upgrade on Bridge Client from 1.28.x to 2.6.x on Ubuntu
This article provides a step-by-step procedure to upgrade Apache NiFi from versions 1.28.x or 1.25.0 to 2.6 for both:
Apache NiFi Server
OvalEdge Bridge Client on Linux
The document also includes the Java upgrade procedure from JDK 17 to JDK 21, along with:
prerequisite validation
backup requirements
configuration updates
rollback considerations
validation procedures
post-upgrade verification steps
This guide is intended for administrators, DevOps engineers, implementation teams, and support engineers responsible for maintaining the OvalEdge Bridge environment.
Upgrade Overview
Perform the upgrade in the following sequence:
Verify prerequisites and current environment status.
Validate Bridge connectivity from the OvalEdge application.
Back up the existing NiFi configuration and Bridge artifacts.
Stop existing NiFi services.
Upgrade the Apache NiFi Server from 1.28.x to 2.6.
Update ECS task definitions and EFS mount configurations.
Upgrade Java from JDK 17 to JDK 21 on the Bridge Client.
Upgrade the Apache NiFi Bridge Client from 1.28.x to 2.6.
Update NiFi configuration files.
Restart NiFi services.
Validate Bridge connectivity and connector execution.
Verify logs, metadata extraction, and processor communication.
Supported Upgrade Paths
Apache NiFi Server
1.25.0 / 1.28.x
2.6
Apache NiFi Client
1.25.0 / 1.28.x
2.6
Java
JDK 17
JDK 21
Prerequisites
System Requirements
Ensure the following prerequisites are met before starting the upgrade.
Ubuntu Server
22.04 / 24.04
Java
JDK 21
Apache NiFi
2.6
Minimum Hardware Requirements
CPU
4 vCPUs
Memory
8 GB RAM
Disk Space
20 GB Free
Recommended Hardware Requirements
CPU
8 vCPUs
Memory
16 GB RAM
Disk Space
50 GB Free
Network Requirements
Ensure connectivity to:
OvalEdge Application URL
Data Sources
Cloud Services (if applicable)
If a proxy server is used:
Configure proxy settings before installation.
Verify outbound HTTPS communication.
Validate access to OvalEdge endpoints.
Mandatory
Root or sudo access
Access to the OvalEdge Application UI
Access to ECS Task Definitions
Access to EFS mount configurations
Sufficient disk space for backups
Existing Bridge artifact ZIP package
Internet access or offline installation binaries
Recommended
Perform the upgrade during a maintenance window.
Notify users about temporary connector interruptions.
Export screenshots of existing NiFi flows before the upgrade.
Pre-Upgrade Validation
Validate Bridge Status from the OvalEdge UI
Log in to the OvalEdge application.
Navigate to the Bridge Monitoring page.
Verify the Bridge status displays:
Connected
Running
Expected Result
The Bridge status appears healthy before the upgrade begins.
Failure Impact
If the Bridge is disconnected before the upgrade, troubleshooting becomes more difficult after the migration.
Apache NiFi Server Upgrade (1.28.x → 2.6)
Stop the Existing NiFi ECS Service
Procedure
Open AWS Console.
Navigate to Amazon ECS → Cluster → Service → Tasks.
Stop the currently running NiFi ECS service.

Validation
Verify the ECS task status changes to:
Warning
Do not continue while the existing NiFi service remains active.
Update the ECS Task Definition
Procedure
Open the ECS Task Definition used by the NiFi service.
Replace the existing NiFi Docker image with the approved NiFi 2.6 image.
Register a new task definition revision. Example:
Validation
Verify that a new ECS task revision is successfully created.
Validate EFS Mount Paths
Procedure
Open the ECS Task Definition.
Verify EFS container mount mappings.
Confirm all required NiFi directories are accessible.
Validate the Following Mounts
nificonf
nifilib
certificates directory
flow configuration directory
Failure Impact
Incorrect EFS mappings may cause:
missing flows
missing certificates
startup failures
Back Up the Existing nificonf Directory
Mandatory
Take a complete backup of the existing nificonf directory before modifying any configuration files.
Sample Reference Screenshot:

Example Backup Command
Expected Result
A complete backup of the NiFi configuration is available for rollback.
Retain Required Files in nificonf
Retain only the following files:
Update the nifi.properties File
Open:
Locate:
Update to:
Sample Reference Screenshot:

Save the file.
Purpose
NiFi 2.6 uses flow.json.gz instead of flow.xml.gz.
Validation
Verify the updated property is saved correctly.
Clean the nifilib Directory
Procedure
Navigate to the nifilib directory.
Remove all .nar and .jar files except:
Warning
Do not delete the SAP JCo library required for SAP connectors. Before removing any files from the nifilib directory, create a backup of the existing directory to support rollback if required.
Start the Updated NiFi ECS Service
Procedure
Deploy the updated ECS task revision.
Start the ECS service.
Validate the Following
NiFi UI is accessible.
Existing flows are visible.
No certificate errors appear.
No startup failures appear in logs.
Validation Commands
or
Expected Result
The ECS service reaches a Healthy state, all tasks start successfully, and the NiFi UI is accessible.
Update the InvokeHTTP Processor
Log in to the NiFi UI.
Open the existing InvokeHTTP processor.
Update:
Remote URL
SSL Context Service (if configured)
Authentication configuration
HTTP Method
Request timeout settings
Example:
Validate the Following
URL connectivity
processor execution status
successful HTTP communication
processor scheduling state
Expected Result
Processor status displays:
Running
No communication errors
Apache NiFi Bridge Client Upgrade (Linux)
Environment Information
Operating System
Ubuntu 22.04 / 24.04
Existing Java Version
JDK 17
Target Java Version
JDK 21
Existing NiFi Version
1.25.0 / 1.28.1
Target NiFi Version
2.6
Verify Existing NiFi and Java Versions
Before starting the upgrade, verify the currently installed versions of NiFi and Java.
Procedure
Connect to the Bridge Client server using SSH.
Verify the NiFi service status.
Verify the running NiFi process.
Verify the installed Java version.
Record the current NiFi installation path. Example:
Validation
Verify the following:
NiFi service exists and is currently running.
The installed NiFi version is 1.25.x or 1.28.x.
Java version is JDK 17.
The existing NiFi installation directory is accessible.
Expected Result
Example output:
The existing NiFi installation and Java runtime are successfully identified before the upgrade begins.
Stop the Existing NiFi Service
Stop the currently running NiFi service before upgrading Java and installing the new Bridge Client version.
Procedure
Verify the current service status.
Stop the NiFi service.
Verify that the service has stopped successfully.
Confirm that no NiFi Java processes remain active.
Sample Reference Screenshot:

Validation
Verify:
The NiFi service status is inactive.
No active NiFi Java processes remain.
No startup or shutdown errors appear in the service logs.
Optional log verification:
Expected Result
Service status displays:
No active NiFi process is visible in the process list.
Failure Impact
Upgrading while NiFi is still running may result in:
configuration corruption
incomplete file updates
Service startup failures after migration
Back Up Existing Bridge Files
Mandatory Backup Activities
Back up:
Existing NiFi installation directory
BridgeRegistration.properties
Existing Bridge ZIP artifacts
Java cacerts file
Sample backup commands
Important Files
Important
If the original Bridge ZIP artifact is unavailable, retrieve it from the existing Bridge server temporary directory. Sample Reference Screenshot:

Install OpenJDK 21
Install JDK 21 before installing the NiFi 2.6 Bridge Client.
Installation Procedure
Refresh the package repository.
Install OpenJDK 21.
Verify the installation directory.
Configure JDK 21 as the active Java version if multiple Java versions exist.
Select the OpenJDK 21 installation path.
Validation
Verify the installed Java version.
Verify the Java compiler version.
Verify the Java installation path.
Expected Result
Example output:
The system uses JDK 21 as the active Java runtime.
Failure Impact
If Java 21 is not configured as the active version:
NiFi 2.6 may fail to start.
Unsupported JVM errors may appear in startup logs.
Uninstall Java 17 Version
Before uninstalling JDK 17, back up the existing Java certificate store (cacerts) if any connector certificates were previously imported into the Java truststore.
Back Up the Java Certificate Store
Run the following command to create a backup of the existing cacerts file:
Purpose
Preserve custom certificates required by connectors and secure connections after the Java upgrade.
Validation
Verify that the backup file exists:
Configure the Active Java Version
After installing JDK 21, update the active Java version using the alternatives configuration.
Sample Reference Screenshot:

Select the JDK 21 installation path from the available options.
Validation
Verify the active Java version:
Expected Result
Optional Cleanup
After validating that NiFi 2.6 starts successfully and all connector validations pass, remove JDK 17 from the server if it is no longer required.
Failure Impact
If the cacerts file is not backed up, custom connector certificates may need to be re-imported after the Java upgrade.
NiFi Upgrade Procedure (1.28.1 → 2.6)
Create a New NiFi Client Directory
Create a separate installation directory for the upgraded Bridge Client.
Purpose
Maintains the existing NiFi installation for rollback and prevents accidental modifications to the current environment.
Procedure
Navigate to the Bridge Client installation location.
Create a new directory for NiFi 2.6.
Verify that the directory has been created.
Confirm that sufficient disk space is available.
Validation
Verify:
The directory exists.
The directory owner and permissions are correct.
Sufficient free disk space is available for installation.
Expected Result
Example output:
The new installation directory is available and ready for the Bridge Client installation.
Rollback
The original NiFi installation remains unchanged and can be restored quickly if validation fails after the upgrade.
Download NiFi 2.6 Installer JAR
Download the latest Bridge Client installer JAR file on the Bridge Client VM using the wget command or copy the installer package to the server.
Before running the installer, collect the required values from the existing:
Run the installer.
Sample Reference Screenshot:

When prompted, press 1 and then press Enter to confirm the installation. Sample Reference Screenshot:

When prompted to select the installation path, provide the path of the directory created earlier for the new Bridge Client installation. Example:
Sample Reference Screenshot:

The default installation path is:
Press 1 and then press Enter to confirm the installation path. Sample Reference Screenshot:

Enter the Security Code from the existing BridgeRegistration.properties file. Sample Reference Screenshot:

Important: Use the same Security Code configured in the existing Bridge Client.
Enter the same IP Address from the existing BridgeRegistration.properties file. Sample Reference Screenshot:

Enter the Bridge Name exactly as configured in the existing BridgeRegistration.properties file. Sample Reference Screenshot:

Enter the Cloud Server URL provided by the OvalEdge team. Sample Reference Screenshot:

For the Certificates Path, enter the location of the Bridge Secure Connectivity Pack (ZIP file) copied to the Bridge Client VM. Sample Reference Screenshot:

For the Bridge Temp Path, enter the existing temporary directory path configured on the server. Sample Reference Screenshot:

Enter the User Name and Email Address from the existing BridgeRegistration.properties file. Sample Reference Screenshot:

When prompted for Is askEdgi, enter one of the following values:
Enable askEdgi.
or
Do not enable askEdgi.
Sample Reference Screenshot:

Press 1 and then press Enter to continue. Sample Reference Screenshot:

Press 1 and then press Enter again to proceed with the installation. Sample Reference Screenshot:

When prompted for confirmation, enter:
and press Enter.
When prompted, provide the configuration file path enclosed in square brackets ([]).
Wait for the installation process to complete.
Sample Reference Screenshot:

Validation
Verify that the following messages are displayed:
Expected Result
The NiFi 2.6 Bridge Client has been successfully installed in the specified installation directory and is ready for post-installation configuration.
Download and Run the Bridge Installer
Place the latest Bridge installer JAR in the bridge_artifacts directory.
Run:
Configure the Bridge Installation
Run the Bridge installer.
When prompted, provide the Bridge registration details from the existing BridgeRegistration.properties file.
Specify the newly created installation directory. Example:
Complete the installation wizard.
Validation
Verify the installer completes without errors.
Expected Result
The installer displays:
Update Bridge Configuration Files
Copy Required Files
Copy the existing Bridge NAR file to the NiFi 2.6 lib directory.
Copy the SAP library file to the NiFi 2.6 lib directory.
Verify bootstrap.conf
Open:
Verify that the existing Bridge registration values are preserved.
Verify that the JVM arguments and heap settings match those of the previous Bridge installation.
Validation
Verify:
Required NAR files exist.
SAP JCo library exists.
Bridge registration values are correct.
JVM settings match the existing environment.
Update nifi.properties
Open:
Locate the following properties:
Update the properties as shown below:
Sample Reference Screenshot:

Save the file.
Validation
Verify the updated values are saved successfully.
Expected Result
NiFi is configured to use the flow.json.gz file required by NiFi 2.6.
Restart NiFi
Navigate to the NiFi installation directory. Example:
Start the NiFi service.
Start the NiFi service.
or
Validation
Verify:
NiFi starts successfully.
No startup exceptions appear in the logs.
NiFi UI is accessible.
Expected Result
The NiFi service status displays as running, and the NiFi UI opens successfully.
Validate Bridge Status in the OvalEdge UI
Verify:
Connected
Running
Expected Result
Bridge status displays:

Validate Connector Connectivity
Validate:
Connector connection status
Metadata crawling
Lineage extraction
Scheduler execution
Profiling execution
SAP connector communication
Bridge response time
Expected Result
All connectors execute successfully without Bridge communication failures.
Rollback Procedure
Perform rollback if:
NiFi fails to start
Connectors fail consistently
Bridge communication fails
ECS task deployment fails
Processor validation fails
Metadata crawling stops unexpectedly
Rollback Steps
Stop the upgraded NiFi service.
Restore the backed-up nificonf directory.
Restore the previous ECS task definition or Bridge installation.
Restore the previous Java configuration if required.
Restart the original NiFi version.
Validation
Verify:
Original flows are visible.
Bridge status is healthy.
Connectors execute successfully.
Post-Upgrade Verification Checklist
NiFi UI Accessibility
Accessible
Bridge Status
Connected
InvokeHTTP Processor
Running
Connector Validation
Successful
Metadata Crawling
Successful
Lineage Generation
Successful
Scheduler Execution
Successful
SAP Communication
Successful
Application Logs
No Critical Errors
Known Limitations
Validate existing custom processors for compatibility with NiFi 2.6 before deployment.
Verify third-party connector library compatibility with NiFi 2.6 before upgrading.
Copyright © 2026, OvalEdge LLC, Peachtree Corners, GA, USA.
Last updated
Was this helpful?

