2025-05-30 16:18:51 +02:00

46 lines
6.4 KiB
Plaintext

[2025-05-30 14:16:14+00:00] [Error] [Oqtane.Infrastructure.NotificationJob] An Error Occurred Stopping Scheduled Job: Notification Job - System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Collections.Generic.IEnumerable<TEntity>.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Oqtane.Repository.JobRepository.<GetJobs>b__3_0(ICacheEntry entry) in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Repository/JobRepository.cs:line 26
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory, MemoryCacheEntryOptions createOptions)
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory)
at Oqtane.Repository.JobRepository.GetJobs() in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Repository/JobRepository.cs:line 23
at Oqtane.Infrastructure.HostedServiceBase.StopAsync(CancellationToken cancellationToken) in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Infrastructure/Jobs/HostedServiceBase.cs:line 288
[2025-05-30 14:16:14+00:00] [Error] [Oqtane.Infrastructure.PurgeJob] An Error Occurred Stopping Scheduled Job: Purge Job - System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Collections.Generic.IEnumerable<TEntity>.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Oqtane.Repository.JobRepository.<GetJobs>b__3_0(ICacheEntry entry) in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Repository/JobRepository.cs:line 26
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory, MemoryCacheEntryOptions createOptions)
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory)
at Oqtane.Repository.JobRepository.GetJobs() in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Repository/JobRepository.cs:line 23
at Oqtane.Infrastructure.HostedServiceBase.StopAsync(CancellationToken cancellationToken) in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Infrastructure/Jobs/HostedServiceBase.cs:line 288
[2025-05-30 14:16:14+00:00] [Error] [Oqtane.Infrastructure.SearchIndexJob] An Error Occurred Stopping Scheduled Job: Search Index Job - System.InvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
at Microsoft.EntityFrameworkCore.Internal.DbContextServices.Initialize(IServiceProvider scopedProvider, DbContextOptions contextOptions, DbContext context)
at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices()
at Microsoft.EntityFrameworkCore.DbContext.get_Model()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.CheckState()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Collections.Generic.IEnumerable<TEntity>.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Oqtane.Repository.JobRepository.<GetJobs>b__3_0(ICacheEntry entry) in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Repository/JobRepository.cs:line 26
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory, MemoryCacheEntryOptions createOptions)
at Microsoft.Extensions.Caching.Memory.CacheExtensions.GetOrCreate[TItem](IMemoryCache cache, Object key, Func`2 factory)
at Oqtane.Repository.JobRepository.GetJobs() in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Repository/JobRepository.cs:line 23
at Oqtane.Infrastructure.HostedServiceBase.StopAsync(CancellationToken cancellationToken) in /home/kocoder/src/dotnet/oqtane.framework/oqtane.framework/Oqtane.Server/Infrastructure/Jobs/HostedServiceBase.cs:line 288