So I updated my system this morning due to the security issue. Now my 2nd node won’t start the service. The appsettings.json is unchanged. Luckily my 1st node is still on 4.0.3 and running. PU is not generating any logs when i start the service and all i get with windows logs is:
Application: Universal.Server.exe
CoreCLR Version: 7.0.222.60605
.NET Version: 7.0.2
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AggregateException: One or more hosted services failed to stop. (Object reference not set to an instance of an object.)
—> System.NullReferenceException: Object reference not set to an instance of an object.
at Universal.Server.Services.DashboardManager.<>c__DisplayClass20_0.b__1(Dashboard m) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Dashboard\DashboardManager.cs:line 182
at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable1 source, Func
2 predicate, Boolean& found)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func
2 predicate)
at Universal.Server.Services.DashboardManager.Stop(Dashboard dashboard) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Dashboard\DashboardManager.cs:line 182
at Universal.Server.Services.DashboardManager.Stop() in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\Dashboard\DashboardManager.cs:line 149
at UniversalAutomation.StartupService.StopAsync(CancellationToken cancellationToken) in C:\actions-runner_work\universal\universal\src\Universal.Server\Services\StartupService.cs:line 430
at Microsoft.Extensions.Hosting.Internal.Host.StopAsync(CancellationToken cancellationToken)
— End of inner exception stack trace —
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.<>c__DisplayClass3_0.b__0(Options o) in C:\actions-runner_work\universal\universal\src\Universal.Server\Program.cs:line 72
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action
1 action)
at Universal.Server.Program.Main(String args) in C:\actions-runner_work\universal\universal\src\Universal.Server\Program.cs:line 52
This error is when the service is stopping. Do you have more errors like this in the event log that are different?
This is when trying to start the application. I also get this:
Faulting application name: Universal.Server.exe, version: 1.0.0.0, time stamp: 0x638f99ee
Faulting module name: KERNELBASE.dll, version: 10.0.17763.4974, time stamp: 0x909c5ed9
Exception code: 0xe0434352
Fault offset: 0x00000000000349b9
Faulting process id: 0x648
Faulting application start time: 0x01da19902243efba
Faulting application path: D:\Universal\Universal.Server.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 2f1e0576-8cb7-4e0b-a540-83ffbc28a46b
Faulting package full name:
Faulting package-relative application ID:
Is there another error next to that one that has the source as .NET?
i only get 2 errors in the application logs. 1st in the main post references .net 7.0.2. System log errors just say the service took too long to respond.