Component
Darling
Performance Monitor Version
3.2.0
SQL Server Version
SQL Server 2022 CU 25
Windows Version
Windows 2019
Describe the Bug
Good morning,
I am trying to get your Performance monitor tool and keep getting the following error after install.
darling.json could not be read: darling.json uses the managed Postgres (postgres.managed = true), but the credential file for the 'admin' role (C:\ProgramData\Performance MonitorDarling\pg-admin- credential.dpapi) does not exist yet. Start the Performance Monitor Darling service once - its first run initializes the bundled Postgres and provisions the least-privilege roles and their credentials.
here is what's in the log file:
8-11 10:07:22.798 [INFO ] [Lifetime] Application started. Hosting environment: Production; Content root path: C:\Users\username\Desktop\PerformanceMonitorDarling-3.2.0
2026-08-11 10:07:22.879 [INFO ] [DarlingWorker] Loaded configuration from C:\Users\Username\Desktop\PerformanceMonitorDarling-3.2.0\darling.json: 2 server(s)
2026-08-11 10:07:22.894 [INFO ] [DarlingWorker] Initializing managed Postgres cluster in C:\ProgramData\PerformanceMonitorDarling\pg (first run)
2026-08-11 10:07:23.096 [CRIT ] [DarlingWorker] Managed Postgres bootstrap failed: initdb failed (exit code -1073741515) for C:\ProgramData\PerformanceMonitorDarling\pg. Output:
Steps to Reproduce
installed app from powershell .\install-darling.ps1
Expected Behavior
service and app to install properly
Actual Behavior
darling.json could not be read: darling.json uses the managed Postgres (postgres.managed = true), but the credential file for the 'admin' role (C:\ProgramData\Performance MonitorDarling\pg-admin- credential.dpapi) does not exist yet. Start the Performance Monitor Darling service once - its first run initializes the bundled Postgres and provisions the least-privilege roles and their credentials.
Error Messages / Log Output
8-11 10:07:22.798 [INFO ] [Lifetime] Application started. Hosting environment: Production; Content root path: C:\Users\username\Desktop\PerformanceMonitorDarling-3.2.0\
2026-08-11 10:07:22.879 [INFO ] [DarlingWorker] Loaded configuration from C:\Users\Username\Desktop\PerformanceMonitorDarling-3.2.0\darling.json: 2 server(s)
2026-08-11 10:07:22.894 [INFO ] [DarlingWorker] Initializing managed Postgres cluster in C:\ProgramData\PerformanceMonitorDarling\pg (first run)
2026-08-11 10:07:23.096 [CRIT ] [DarlingWorker] Managed Postgres bootstrap failed: initdb failed (exit code -1073741515) for C:\ProgramData\PerformanceMonitorDarling\pg. Output:
Screenshots
Additional Context
first time installing to monitor on prem SQL Servers
Component
Darling
Performance Monitor Version
3.2.0
SQL Server Version
SQL Server 2022 CU 25
Windows Version
Windows 2019
Describe the Bug
Good morning,
I am trying to get your Performance monitor tool and keep getting the following error after install.
darling.json could not be read: darling.json uses the managed Postgres (postgres.managed = true), but the credential file for the 'admin' role (C:\ProgramData\Performance MonitorDarling\pg-admin- credential.dpapi) does not exist yet. Start the Performance Monitor Darling service once - its first run initializes the bundled Postgres and provisions the least-privilege roles and their credentials.
here is what's in the log file:
8-11 10:07:22.798 [INFO ] [Lifetime] Application started. Hosting environment: Production; Content root path: C:\Users\username\Desktop\PerformanceMonitorDarling-3.2.0
2026-08-11 10:07:22.879 [INFO ] [DarlingWorker] Loaded configuration from C:\Users\Username\Desktop\PerformanceMonitorDarling-3.2.0\darling.json: 2 server(s)
2026-08-11 10:07:22.894 [INFO ] [DarlingWorker] Initializing managed Postgres cluster in C:\ProgramData\PerformanceMonitorDarling\pg (first run)
2026-08-11 10:07:23.096 [CRIT ] [DarlingWorker] Managed Postgres bootstrap failed: initdb failed (exit code -1073741515) for C:\ProgramData\PerformanceMonitorDarling\pg. Output:
Steps to Reproduce
installed app from powershell .\install-darling.ps1
Expected Behavior
service and app to install properly
Actual Behavior
darling.json could not be read: darling.json uses the managed Postgres (postgres.managed = true), but the credential file for the 'admin' role (C:\ProgramData\Performance MonitorDarling\pg-admin- credential.dpapi) does not exist yet. Start the Performance Monitor Darling service once - its first run initializes the bundled Postgres and provisions the least-privilege roles and their credentials.
Error Messages / Log Output
Screenshots
Additional Context
first time installing to monitor on prem SQL Servers