- ABP Framework version: v7.0.0
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
After I upgraded from 6.0 to 7.0, some microservices in my ABP microservice solution not starting up and in the logs, I see all microservices get stuck here and no logs after. Some microservices are starting up but everytime i run the solution, same microservices are not starting and Swagger API page is not shown.
2023-01-09 11:17:35.686 -05:00 [DBG] Beginning transaction with isolation level 'Unspecified'. 2023-01-09 11:17:35.719 -05:00 [DBG] Began transaction with isolation level 'ReadCommitted'. 2023-01-09 11:17:35.838 -05:00 [DBG] Compiling query expression: 'DbSet<LocalizationResourceRecord>() .FirstOrDefault(x => x.Name == __St1aaGFC0_0)' 2023-01-09 11:17:36.379 -05:00 [DBG] Generated query execution expression: 'queryContext => new SplitQueryingEnumerable<LocalizationResourceRecord>( (RelationalQueryContext)queryContext, RelationalCommandCache.QueryExpression( Projection Mapping: EmptyProjectionMember -> Dictionary<IProperty, int> { [Property: LocalizationResourceRecord.Id (Guid) Required PK AfterSave:Throw, 0], [Property: LocalizationResourceRecord.BaseResources (no field, string) MaxLength(1280), 1], [Property: LocalizationResourceRecord.CreationTime (no field, DateTime) Required, 2], [Property: LocalizationResourceRecord.DefaultCulture (no field, string) MaxLength(10), 3], [Property: LocalizationResourceRecord.LastModificationTime (no field, DateTime?), 4], [Property: LocalizationResourceRecord.Name (no field, string) Required Index MaxLength(128), 5], [Property: LocalizationResourceRecord.SupportedCultures (no field, string) MaxLength(640), 6] } SELECT TOP(1) a.Id, a.BaseResources, a.CreationTime, a.DefaultCulture, a.LastModificationTime, a.Name, a.SupportedCultures FROM AbpLocalizationResources AS a WHERE a.Name == @__St1aaGFC0_0), ReaderColumn[] { ReaderColumn<Guid>, ReaderColumn<object>, ReaderColumn<DateTime>, ReaderColumn<object>, ReaderColumn<DateTime>, ReaderColumn<object>, ReaderColumn<object> }, Func<QueryContext, DbDataReader, ResultContext, SplitQueryResultCoordinator, LocalizationResourceRecord>, null, null, Bdo.ResourceMe.AdministrationService.EntityFrameworkCore.AdministrationServiceDbContext, False, False, True ) .SingleOrDefault()' 2023-01-09 11:17:36.438 -05:00 [DBG] Creating DbCommand for 'ExecuteReader'. 2023-01-09 11:17:36.457 -05:00 [DBG] Created DbCommand for 'ExecuteReader' (15ms). 2023-01-09 11:17:36.477 -05:00 [DBG] Initialized DbCommand for 'ExecuteReader' (37ms). 2023-01-09 11:17:36.497 -05:00 [DBG] Executing DbCommand [Parameters=[@__St1aaGFC0_0='?' (Size = 128)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[BaseResources], [a].[CreationTime], [a].[DefaultCulture], [a].[LastModificationTime], [a].[Name], [a].[SupportedCultures] FROM [AbpLocalizationResources] AS [a] WHERE [a].[Name] = @__St1aaGFC0_0 2023-01-09 11:17:36.731 -05:00 [INF] Executed DbCommand (245ms) [Parameters=[@__St1aaGFC0_0='?' (Size = 128)], CommandType='"Text"', CommandTimeout='30'] SELECT TOP(1) [a].[Id], [a].[BaseResources], [a].[CreationTime], [a].[DefaultCulture], [a].[LastModificationTime], [a].[Name], [a].[SupportedCultures] FROM [AbpLocalizationResources] AS [a] WHERE [a].[Name] = @__St1aaGFC0_0 2023-01-09 11:17:36.857 -05:00 [DBG] Context 'AdministrationServiceDbContext' started tracking 'LocalizationResourceRecord' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values. 2023-01-09 11:17:36.933 -05:00 [DBG] Closing data reader to 'XX' on server 'XX'. 2023-01-09 11:17:36.940 -05:00 [DBG] A data reader for 'XX' on server 'XX' is being disposed after spending 152ms reading results.
2 Answer(s)
-
0
The issue happens most of time but sometimes, all services startup.
-
0
hi
Currently I don't see useful information from the logs, can you share more details?
You can create a new 7.0 microservice project to test it out.