Skip to content

[BUG] After upgrading to version v.3.6.0.0 PerformanceMonitorLite cannot start #2748

Description

@H-Engmark

Component

Lite

Performance Monitor Version

3.6.0.0

SQL Server Version

SQL Server 2019 (RTM-CU32-GDR) (KB5102335) - 15.0.4480.2 (X64)

Windows Version

Windows Server 2019 Datacenter 10.0 (Build 17763: ) (Hypervisor)

Describe the Bug

After ugrading to version 3.6.0.0 PerformanceMonitorLite cannot start.
There are errors found in the lite_xxxxxx.log log file. These are pasted in below.

Steps to Reproduce

Upgrade PerformanceMonitorLite to version 3.6.0.0

Expected Behavior

I would like PerformanceMonitorLite to start.

Actual Behavior

PerformanceMonitorLite does not start.

Error Messages / Log Output

PerformanceMonitorLite does not start.

Screenshots

No response

Additional Context

2026-08-31 08.41.08.990 [INFO ] [DataRoot] Moved Lite's data out of the install directory 'C:\Users\adm-hce\AppData\Local\PerformanceMonitorLite' and into 'C:\Users\adm-hce\AppData\Local\PerformanceMonitorLite-Data' (#1832): config, archive, logs, monitor.duckdb, monitor.duckdb.wal, alert_state.json. Re-running Setup.exe deletes the install directory, which is why data kept there did not survive an installer upgrade.
2026-08-31 08.41.09.992 [INFO ] [AppLogger] Logging initialized
2026-08-31 08.41.09.995 [INFO ] [App] Starting PerformanceMonitorLite v3.6.0.0
2026-08-31 08.41.09.995 [INFO ] [App] Data directory: C:\Users\adm-hce\AppData\Local\PerformanceMonitorLite-Data
2026-08-31 08.41.10.614 [INFO ] [ServerManager] Loaded 2 servers from configuration
2026-08-31 08.41.10.632 [INFO ] [ProfileManager] Loaded 0 credential profiles
2026-08-31 08.41.10.817 [INFO ] [DuckDbInitializer] Initializing DuckDB database at C:\Users\adm-hce\AppData\Local\PerformanceMonitorLite-Data\monitor.duckdb
2026-08-31 08.41.16.741 [INFO ] [DuckDbInitializer] Schema upgrade needed: v47 -> v56
2026-08-31 08.41.16.755 [INFO ] [DuckDbInitializer] Running migration to v48: server_properties hardware columns become nullable
2026-08-31 08.41.16.759 [ERROR] [DuckDbInitializer] Failed to execute SQL: ALTER TABLE server_properties ALTER COLUMN cpu_count DROP NOT NULL | DuckDBException: Dependency Error: Cannot alter entry "server_properties" because there are entries that depend on it.
2026-08-31 08.41.16.776 [ERROR] [DuckDbInitializer] Stack: at DuckDB.NET.Data.PreparedStatement.PreparedStatement.Execute(DuckDBParameterCollection parameterCollection, Boolean useStreamingMode, DuckDBNativeConnection connection)
at DuckDB.NET.Data.PreparedStatement.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters, Boolean useStreamingMode)+MoveNext()
at DuckDB.NET.Data.DuckDBCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at PerformanceMonitorLite.Database.DuckDbInitializer.ExecuteNonQueryAsync(DuckDBConnection connection, String sql)
2026-08-31 08.41.16.776 [WARN ] [DuckDbInitializer] Migration to v48 on cpu_count encountered an error (non-fatal): Dependency Error: Cannot alter entry "server_properties" because there are entries that depend on it.
2026-08-31 08.41.16.776 [ERROR] [DuckDbInitializer] Failed to execute SQL: ALTER TABLE server_properties ALTER COLUMN hyperthread_ratio DROP NOT NULL | DuckDBException: Dependency Error: Cannot alter entry "server_properties" because there are entries that depend on it.
2026-08-31 08.41.16.777 [ERROR] [DuckDbInitializer] Stack: at DuckDB.NET.Data.PreparedStatement.PreparedStatement.Execute(DuckDBParameterCollection parameterCollection, Boolean useStreamingMode, DuckDBNativeConnection connection)
at DuckDB.NET.Data.PreparedStatement.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters, Boolean useStreamingMode)+MoveNext()
at DuckDB.NET.Data.DuckDBCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at PerformanceMonitorLite.Database.DuckDbInitializer.ExecuteNonQueryAsync(DuckDBConnection connection, String sql)
2026-08-31 08.41.16.777 [WARN ] [DuckDbInitializer] Migration to v48 on hyperthread_ratio encountered an error (non-fatal): Dependency Error: Cannot alter entry "server_properties" because there are entries that depend on it.
2026-08-31 08.41.16.777 [ERROR] [DuckDbInitializer] Failed to execute SQL: ALTER TABLE server_properties ALTER COLUMN physical_memory_mb DROP NOT NULL | DuckDBException: Dependency Error: Cannot alter entry "server_properties" because there are entries that depend on it.
2026-08-31 08.41.16.777 [ERROR] [DuckDbInitializer] Stack: at DuckDB.NET.Data.PreparedStatement.PreparedStatement.Execute(DuckDBParameterCollection parameterCollection, Boolean useStreamingMode, DuckDBNativeConnection connection)
at DuckDB.NET.Data.PreparedStatement.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters, Boolean useStreamingMode)+MoveNext()
at DuckDB.NET.Data.DuckDBCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at PerformanceMonitorLite.Database.DuckDbInitializer.ExecuteNonQueryAsync(DuckDBConnection connection, String sql)
2026-08-31 08.41.16.777 [WARN ] [DuckDbInitializer] Migration to v48 on physical_memory_mb encountered an error (non-fatal): Dependency Error: Cannot alter entry "server_properties" because there are entries that depend on it.
2026-08-31 08.41.16.777 [INFO ] [DuckDbInitializer] Running migration to v49: query_store_stats interval identity columns
2026-08-31 08.41.16.797 [INFO ] [DuckDbInitializer] Running migration to v50: adding plan_correction table
2026-08-31 08.41.16.797 [INFO ] [DuckDbInitializer] Running migration to v51: adding pvs_stats table
2026-08-31 08.41.16.797 [INFO ] [DuckDbInitializer] Running migration to v52: adding host_object_name to query_stats
2026-08-31 08.41.16.802 [INFO ] [DuckDbInitializer] Running migration to v53: adding the alerted-state memory to config_database_state_expected
2026-08-31 08.41.16.805 [ERROR] [DuckDbInitializer] Failed to execute SQL: ALTER TABLE config_database_state_expected ADD COLUMN IF NOT EXISTS last_alerted_state VARCHAR | DuckDBException: Catalog Error: Table with name config_database_state_expected does not exist!
Did you mean "pg_database"?
2026-08-31 08.41.16.806 [ERROR] [DuckDbInitializer] Stack: at DuckDB.NET.Data.PreparedStatement.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters, Boolean useStreamingMode)+MoveNext()
at DuckDB.NET.Data.DuckDBCommand.ExecuteNonQuery()
at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at PerformanceMonitorLite.Database.DuckDbInitializer.ExecuteNonQueryAsync(DuckDBConnection connection, String sql)
2026-08-31 08.41.16.806 [INFO ] [DuckDbInitializer] Running migration to v54: adding config_incident_occurrences
2026-08-31 08.41.16.809 [INFO ] [DuckDbInitializer] Running migration to v55: adding collection_log fan-out rollup columns
2026-08-31 08.41.16.822 [INFO ] [DuckDbInitializer] Running migration to v56: adding max_size_mb to tempdb_stats
2026-08-31 08.41.17.001 [INFO ] [DuckDbInitializer] Schema initialization created 96 tables
2026-08-31 08.41.17.001 [INFO ] [DuckDbInitializer] Database initialization complete. Schema version: 56
2026-08-31 08.41.19.196 [INFO ] [DuckDbInitializer] Archive-view refresh sees 96 tables
2026-08-31 08.41.20.590 [INFO ] [DuckDbInitializer] Analysis schema initialized at version 5

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions