Skip to content
Documentation
Updated 4 minutes to read
Markdown

About manually updating the Configuration Database and Log Databases (Version 6 Only)

Section titled “ About manually updating the Configuration Database and Log Databases (Version 6 Only)”
flowchart LR Portal["fa:fa-cloud Nodinite Portal
generated package"] --> CLI["fa:fa-terminal CLI in elevated PowerShell 7
deploy-environment"] CLI -->|"SqlPackage, Dacpac"| Config["fa:fa-database Configuration Database"] CLI -->|"SqlPackage, Dacpac"| AgentDB["fa:fa-database Monitoring Databases
of CLI-managed agents"] Guide["fa:fa-list-check Update Log Database guide
Web Client"] -->|"Generated SqlPackage scripts"| Log["fa:fa-database Log Databases"] LS["fa:fa-hard-drive Logging Service"] -->|"Creates new ones"| Log style CLI fill:#2678BD style Guide fill:#E47528 style Config fill:#93d16d style AgentDB fill:#93d16d style Log fill:#93d16d style LS fill:#3F827B

Diagram: in Nodinite v7, the CLI (blue) updates the Configuration Database and the Monitoring Databases of agents in the package when you update Nodinite; the Update Log Database guide (orange) generates the scripts that update existing Log Databases; and the Logging Service creates new Log Databases with the current schema, starting with the first one. None of these need the v6 procedure below.


This legacy guide explains how to manually update the Configuration Database and Log Databases in Nodinite v6 using DACPAC and the Update Tool.

  • ✅ Enables updates in highly secure or restricted SQL environments
  • ✅ Supports parallel updates for multiple Log Databases
  • ✅ Avoids browser timeouts and long-running web transactions
  • ✅ Step-by-step, command-line instructions for full control

Nodinite v6 provides built-in support for updating the Configuration Database using the web-based Update Tool. However, you must always manually update the Log Databases. Manual updates are also required in scenarios such as:

  • Security restrictions—only a SQL DBA has sufficient rights to perform the update
  • Long execution times—web-based updates may time out or block the browser
  • Parallel execution—updating many Log Databases at once

When performing a manual update, use the Nodinite Logging Service service account or an account with sysadmin rights on the target Microsoft SQL Server.

For complete guidance on when sysadmin is required and what to configure when it is not available, see SQL Server Sysadmin Requirements.

To start a manual update:

  1. Click the update button ( or ) in the Update Tool.
  2. A modal window opens with a ready-to-run script.
  3. Run this script from a command prompt as the Logging Service account.

Manual Update Buttons (6.1.0.4)
Example: Manual update button locations in the Nodinite v6 Update Tool.

You must have the DACPAC binaries installed. See the SQL Server Package (DACPAC) user guide for details.

Select the appropriate version for the update. The default is the highest available version.

Config manually update Config database (6.1.0.4)
Example: Update modal for Configuration Database showing version selection and generated script.

The following is a sample command for updating the Configuration Database:

Terminal window
"C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe" /Action:Publish /TargetDatabaseName:"NodiniteConfig_Dev" /TargetServerName:"localhost" /SourceFile:"C:\Program Files\Nodinite\Nodinite Update\UpdateClient\App_Data\files\versions\6.1.0.37\Nodinite.ConfigDatabase.dacpac" /SourceEncryptConnection:true /TargetEncryptConnection:true /SourceTrustServerCertificate:false /TargetTrustServerCertificate:true /Properties:RegisterDataTierApplication=True /Properties:BlockOnPossibleDataLoss=False /Properties:BlockWhenDriftDetected=False /Properties:DropIndexesNotInSource=True /Properties:DropConstraintsNotInSource=True /Properties:ScriptNewConstraintValidation=False

New 6.1.0.4
Check the Ignore DACPAC Options box to skip database options like collation and recovery mode during the update.

Terminal window
"C:\Program Files\Microsoft SQL Server\170\DAC\bin\SqlPackage.exe" /Action:Publish /TargetDatabaseName:"NodiniteLog_Dev_20220104" /TargetServerName:"localhost" /SourceFile:"C:\Program Files\Nodinite\Nodinite Update\UpdateClient\App_Data\files\versions\6.1.0.37\Nodinite.LogDatabase.Full.dacpac" /SourceEncryptConnection:true /TargetEncryptConnection:true /SourceTrustServerCertificate:false /TargetTrustServerCertificate:true /Properties:RegisterDataTierApplication=True /Properties:BlockOnPossibleDataLoss=False /Properties:BlockWhenDriftDetected=False /Properties:PopulateFilesOnFilegroups=False /Properties:DropIndexesNotInSource=True /Properties:DropConstraintsNotInSource=True /Properties:ScriptNewConstraintValidation=False /v:CustomPathData="null" /v:CustomPathImagedata="null" /v:CustomPathIndex="null"
  • Update Nodinite v7 – Recommended: automated Core Services and Configuration Database updates with the CLI in the generated package
  • Update Log Database – Use the Update Guide in Web Client for Log Database updates (v7.2.0+)
  • Update Nodinite v6 – Legacy update instructions (deprecated)

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...