---
title: "Step 4: Deploy Core Services with CLI – v6 to v7 Migration"
description: "Step 4 of the Nodinite v6 to v7 migration: validate, dry-run, and deploy the Core Services package with Nodinite.Installer.Cli.exe from an elevated PowerShell 7 prompt."
---

# <i class="fal fa-forward-step" aria-hidden="true"></i> Step 4: Deploy Core Services with CLI

Deploy the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 7 [Core Services][] with `Nodinite.Installer.Cli.exe` from the bundle you downloaded in [Step 3][Step03]. The CLI creates one [IIS][] web site per Core Service, upgrades the existing v6 [Configuration Database][ConfigDB] in place, and leaves the v6 installation running until you remove it in [Step 9][Step09]. The general CLI reference is [Step 7: Run the CLI Workflow (Elevated PowerShell 7)][InstallPackage]; this page covers the migration specifics.

## Prerequisites

* [ ] [Step 3 completed – CLI bundle downloaded and extracted][Step03]
* [ ] [Pickup Log Events Service][Pickup Service] stopped and disabled
* [ ] Latest [PowerShell 7][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, run as administrator
* [ ] [IIS Windows Features][] installed, then the latest [.NET 10.0 Hosting Bundle](https://aka.ms/dotnet/10.0/dotnet-hosting-win.exe)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>, required by every Core Service web site
* [ ] [DacFX][]<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup> installed on the target server
* [ ] Service accounts with the [Logon as a Service right][Logon as a Service], DCOM Local Activation for the [Monitoring Service][Monitoring Service Rights], and a configured [MSDTC][]
* [ ] Current user is sysadmin on the [SQL Server][Microsoft SQL Server] instance; see [SQL Server Sysadmin Requirements][] for the rationale and post-install rights reduction

## Steps

### 1. Stop the Pickup Service

If you use it, stop and disable the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Pickup Log Events Service][Pickup Service]:

* Open Services (`services.msc`)
* Find **Nodinite Pickup Log Events Service**
* Right-click → Stop
* Right-click → Properties → Startup type: **Disabled**

### 2. Open PowerShell 7 as Administrator

* Start Menu → Search **PowerShell 7** → Right-click → **Run as administrator**

### 3. Navigate to the Extracted Bundle

The ZIP is named `<EnvironmentName>-upgrade-core-environment.zip`. Go to the root of the extracted bundle:

```powershell
cd C:\Temp\DEV-upgrade-core-environment
```

*(Replace `DEV` with your environment name.)*

The bundle root contains `Nodinite.Installer.Cli.exe`, the `InstallationMedia` folder, `config.cli.json` (the generated configuration that the CLI consumes), and `README.txt`, which shows **Mode: Upgrade from Nodinite 6** and the recommended workflow. This package holds the Core Services only, so you run `install`, not `deploy-environment`; the agents follow in [Step 7][Step07].

### 4. Review the Bundle Before Running

* Review `config.cli.json` for paths, ports, and service account names.
* Verify the `SqlPackage.exe` path for your server.
* Keep the extracted folder structure intact so media paths resolve.

```powershell
.\Nodinite.Installer.Cli.exe --help
.\Nodinite.Installer.Cli.exe install --help
```

### 5. Validate the Package

Validation changes nothing on the machine. The CLI prompts for service account passwords that aren't stored in the configuration.

```powershell
.\Nodinite.Installer.Cli.exe validate --config .\config.cli.json
```

![CLI validation prompting for the service account password][1]  
*Example of CLI validation of the Core Services package: one service account runs the [Web Client][], [Web API][], [Log API][], [Logging Service][], [Monitoring Service][], and MCP Server, and the CLI asks for its password.*  

<aside aria-label="Warning" class="nodinite-note nodinite-note--warning">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-triangle-exclamation"></i> Warning</p>
<div class="nodinite-note__content"><p>Fix every error reported during validation before you continue. Errors are shown in red.</p></div>
</aside>

![CLI validation errors][2]  
*Example of CLI validation errors; resolve all of them before you run install.*  

### 6. Run a Dry-Run

```powershell
.\Nodinite.Installer.Cli.exe install --config ".\config.cli.json" --dry-run
```

### 7. Deploy Core Services

Deploy when validation and the dry-run are clean:

```powershell
.\Nodinite.Installer.Cli.exe install --config ".\config.cli.json"
```

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>If the Configuration Database has no verified backup state, the CLI asks you to back up now, continue, or abort before it applies schema changes; see <a href="https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#config-db-backup-confirmation-prompt">Config DB backup confirmation prompt</a>.</p><p>During the upgrade, the CLI also asks you to acknowledge that it stops the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 6 Logging and Monitoring services. Run this step at the console: with <code>--non-interactive</code>, the run aborts at that prompt.</p></div>
</aside>

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>If IIS-hosted v7 services run as <strong>custom domain accounts</strong>, validate <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/">Service Principal Names (SPN)</a> before the first Windows-authenticated sign-in. Missing HTTP SPNs for the <a href="https://docs.nodinite.com/core-services/web-client/overview/">Web Client</a> and <a href="https://docs.nodinite.com/core-services/web-api/overview/">Web API</a> are the most visible failures; missing SQL Server SPNs can break backend connections.</p></div>
</aside>

![CLI Core Services deployment success][3]  
*Example of a successful Core Services deployment. The CLI lists the next migration steps: verify the environment, then return to the Portal to import the [Monitoring Agents][Monitoring].*  

### 8. Verify

Open the [Web Client][] at `http://<server name>:<Web Client port>`, using the port from the Portal [Servers step][V7 Servers], and sign in. HTTPS follows in [Step 10][Step10]. If the browser can't connect, check the [Network and Firewall Overview][Firewall].

## Completion Checklist

* [ ] Pickup Service stopped and disabled
* [ ] Validation passed without errors
* [ ] Dry-run output reviewed
* [ ] `install` completed without errors
* [ ] Web Client reachable, and you can sign in
* [ ] Configuration Database upgraded to the v7 schema

## Troubleshooting

### "Access Denied" on Database

The CLI fails with a SQL permission error. Check the following:

* The user running the CLI is **sysadmin** on the SQL Server instance
* SQL Server allows integrated authentication (required for Windows auth)
* The SQL Server service is running

### Web Client Shows "500.21" Error

The browser reports "Handler not recognized" after the install. Check the following:

* The .NET 10.0 Hosting Bundle is installed after the IIS features; see [Verify ASP.NET Core Module][Verify ANCM]
* Restart IIS: `iisreset /restart` (elevated prompt)

### CLI Exits Without Output

The CLI returns immediately without progress. Check the following:

* PowerShell 7 runs with administrator privileges
* `.\Nodinite.Installer.Cli.exe --version` prints a version
* The [Windows Event Log][] shows no application errors

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* [<i class="fal fa-forward-step" aria-hidden="true"></i> Step 5: Export Monitoring Agents][Step05]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* [Updating from v6 to v7 – Migration Guide][Main]  
* [Step 7: Run the CLI Workflow (Elevated PowerShell 7) – fresh install reference][InstallPackage]  
* [Core Services Overview][Core Services]  
* [SQL Server Connection Strings][Connection Strings]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_ValidateCoreServicesPackageInstallation.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_ErrorsExample.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/Portal/Env/v6_v7/CLI_CoreServicesUpdateSucccess.png

[Backup Prompt]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/#config-db-backup-confirmation-prompt
[ConfigDB]:https://docs.nodinite.com/core-services/configuration-database/overview/
[Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[Core Services]:https://docs.nodinite.com/core-services/overview/
[DacFX]:https://aka.ms/dacfx-msi
[Firewall]:https://docs.nodinite.com/install-and-update/getting-started/prerequisites/#network-and-firewall-overview
[IIS]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/overview/
[IIS Windows Features]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/
[InstallPackage]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/07-install-the-generated-package/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[Logon as a Service]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/logon-as-a-service-right/
[Main]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/
[Microsoft SQL Server]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-options/
[Monitoring]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[Monitoring Service Rights]:https://docs.nodinite.com/core-services/monitoring-service/getting-started/prerequisites/#what-windows-rights-does-the-monitoring-service-require
[MSDTC]:https://docs.nodinite.com/install-and-update/troubleshooting/windows/transactions-msdtc/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[PowerShell 7]:https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-windows
[SPN]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/spn/
[SQL Server Sysadmin Requirements]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/sql-server-sysadmin-requirements/
[Step03]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/03-download-binaries/
[Step05]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/05-export-monitoring-agents/
[Step07]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/07-download-and-update-monitoring-agents/
[Step09]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/09-remove-old-windows-services/
[Step10]:https://docs.nodinite.com/install-and-update/getting-started/version-6/updating-from-v6-to-v7/10-configure-tls/
[V7 Servers]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/04-servers/
[Verify ANCM]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-windows-features/#verify-aspnet-core-module
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/core-services/web-client/overview/
[Windows Event Log]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/event-log/