My scheduler is for some reason not working, and I’ve no idea how to fix it!
Recent changes/events that may or may not have anything to do with it breaking:
I upgraded to 5.6.1 (though I think the issue may have been present before this point - I’m not sure) I purged my DB and did a clean install also.
I configured one-way git (i noticed the create schedule button is gone / one-way sync forces read only mode) so i figured this could have caused an issue, I’ve since removed all git settings and rebooted but no joy.
A (different) manually run job got stuck in ‘cancelling’ state, not sure why, but I restarted the service & server, it stayed in ‘cancelling’ In the end i hit archived to see if that would do anything, not sure if it’s still there in the background or not (not sure how to view archived jobs or if it’s as good as gone?)
“Groom Job Status” is showing as failed on both my nodes, no idea why, I do have some suspect errors in my error log, showing a ‘fatal error starting psu’ though it seemingly starts up fine for me to access the admin console and apps, and run scripts manually. I can see the schedule execution trying, but it complains about not being able to find it.
2025-07-29 17:38:29.421 +01:00 [FTL][] Fatal error starting PowerShell Universal.
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Collections.Concurrent.BlockingCollection`1[[System.String, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at Universal.Server.Services.Configuration.ConfigurationSystemWatcher.ProcessNotificationQueue(CancellationToken cancellationToken) in D:\a\universal\universal\src\PowerShellUniversal.Configuration\ConfigurationSystemWatcher.cs:line 120
at Universal.Server.Services.Configuration.ConfigurationSystemWatcher.<StartAsync>b__18_0() in D:\a\universal\universal\src\PowerShellUniversal.Configuration\ConfigurationSystemWatcher.cs:line 56
at Universal.Server.Services.Configuration.ConfigurationSystemWatcher.StopAsync(CancellationToken cancellationToken) in D:\a\universal\universal\src\PowerShellUniversal.Configuration\ConfigurationSystemWatcher.cs:line 80
at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
at Microsoft.Extensions.Hosting.Internal.Host.StopAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.WaitForShutdownAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at Universal.Server.Program.Main(String[] args) in D:\a\universal\universal\src\Universal.Server\Program.cs:line 37
2025-07-29 18:05:05.133 +01:00 [ERR][PowerShellUniversal.Automation.ExecutionService] Schedule <ScheduleName> not found.