Версия 0.4.2 agent-win64.zip
C:\OneSwiss\agent>oneswiss-agent.exe
2025-10-09 09:50:16 info: OneSwiss.Agent.Services.FilesProvider[0]
Путь к каталогу сбора технологического журнала не указан, будет использован каталог по умолчанию: C:\ProgramData\oneswiss\techlog
2025-10-09 09:50:16 info: OneSwiss.Agent.Services.FilesProvider[0]
Путь к служебному каталогу синхронизатора хранилищ и Git не указан, будет использован каталог по умолчанию: C:\OneSwiss\agent\repos
2025-10-09 09:50:18 info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
2025-10-09 09:50:18 info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
2025-10-09 09:50:18 info: Microsoft.Hosting.Lifetime[0]
Content root path: C:\OneSwiss\agent
2025-10-09 09:50:19 fail: Microsoft.Extensions.Hosting.Internal.Host[9]
BackgroundService failed
System.NullReferenceException: Object reference not set to an instance of an object.
at OneSwiss.Common.Helpers.EventLogSettingsExtensions.GetDbContext(EventLogSettingsDto settings)
at OneSwiss.Agent.Services.EventLog.EventLogExportManager.InitFromSettings(EventLogSettingsDto settings, CancellationToken cancellationToken)
at OneSwiss.Agent.Services.EventLog.EventLogExportManager.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
2025-10-09 09:50:19 crit: Microsoft.Extensions.Hosting.Internal.Host[10]
The HostOptions.BackgroundServiceExceptionBehavior is configured to StopHost. A BackgroundService has thrown an unhandled exception, and the IHost instance is stopping. To avoid this behavior, configure this to Ignore; however the BackgroundService will not be restarted.
System.NullReferenceException: Object reference not set to an instance of an object.
at OneSwiss.Common.Helpers.EventLogSettingsExtensions.GetDbContext(EventLogSettingsDto settings)
at OneSwiss.Agent.Services.EventLog.EventLogExportManager.InitFromSettings(EventLogSettingsDto settings, CancellationToken cancellationToken)
at OneSwiss.Agent.Services.EventLog.EventLogExportManager.ExecuteAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
2025-10-09 09:50:19 warn: OneSwiss.Agent.Services.OneSwissConnection[0]
Отключен от сервера
2025-10-09 09:50:19 info: Microsoft.Hosting.Lifetime[0]
Application is shutting down...
2025-10-09 09:50:19 warn: OneSwiss.Agent.Services.OneSwissConnection[0]
Отключен от сервера
2025-10-09 09:50:19 warn: OneSwiss.Agent.Services.OneSwissConnection[0]
Отключен от сервера
2025-10-09 09:50:19 warn: OneSwiss.Agent.Services.OneSwissConnection[0]
Отключен от сервера
2025-10-09 09:50:19 warn: OneSwiss.Agent.Services.OneSwissConnection[0]
Отключен от сервера`
Версия 0.4.2 agent-win64.zip