For the complete documentation index, see llms.txt. This page is also available as Markdown.

Windows

Update Task Scheduler Paths After NiFi Migration for AutoNAR Upgrade on Windows

This article describes how to update the required paths in Windows Task Scheduler after migrating NiFi from one version to another. The configuration enables the Task Scheduler to automate the NiFi NAR file upgrade and service restart for the Bridge Client. The guide also provides steps to validate the Auto NAR Upgrade functionality.

Prerequisites

Ensure the following before proceeding:

  • Windows system with access to the Bridge Client installation.

  • Access to the BridgeRegistration.properties configuration file.

  • Access to Windows Task Scheduler.

  • The required NAR file is available for upload through the OvalEdge UI.

Configuration Steps

Update Bridge Configuration

  1. Update the install path in the BridgeRegistration.properties file.

Configure Task Scheduler

Open Task Scheduler

  1. Press Win + R.

  2. Enter taskschd.msc and press Enter.

  3. In Task Scheduler, navigate to Task Scheduler Library.

  4. Locate the task named CheckAndRestartNifiService.

  5. Update the path to the latest complete Bridge bin directory.

Update Task Properties

  1. Right-click CheckAndRestartNifiService and select Properties.

  2. Open the Triggers tab. Edit the trigger and set the time when the scheduler starts. Set Repeat task every to 5 minutes.

  3. Open the Conditions tab. Clear all checkboxes in the Power section.

  4. Open the Settings tab. Clear Stop the task if it runs longer than.

Restart NiFi Service

  1. Restart the NiFi service after completing the configuration.

Validation & Testing

Validate Auto NAR Upgrade

  1. Navigate to the NiFi lib folder.

  2. Manually rename an existing NAR file. Example:

  3. Upload or update the correct NAR file, such as 8.2.4.5, from the OvalEdge UI.

Expected Behavior

  • The UI displays an Auto NAR update message.

  • After a few minutes, the correct NAR file is updated in the backend lib folder.

  • The NiFi service restarts automatically.


Copyright © 2026, OvalEdge LLC, Peachtree Corners, GA, USA.

Last updated

Was this helpful?