-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL server error #169
Comments
Thanks for opening this issue. A contributor should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
This appears related to #168 which I just pushed a fix for Resgrid/resgrid-setup@183162a. Please delete and reclone the resgrid-setup repo and try again. |
I am also having this issue when attempting to log in. I am using the fixed version and still getting the this error. ERROR NUMBER:208, State:1, Class:16 worker-1 | [05:31:27 FTL] |
@cw957 can you get the logs from earlier in the docker-compose process? It should be one of the first set of logs coming from the db container. |
here is the start of the db container. mongodb-1 | {"t":{"$date":"2025-03-11T23:37:07.026+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} |
Thanks for that! But the logs we need will be from the db container and not the MongoDB on (too many db's I know). |
I hope this helps you. db-1 | SQL Server 2022 will run as non-root by default. |
@ucswift Any update on this bug? |
Also still experiencing this exact behaviour with same logs - HTTP 500 error when trying to login for first time |
I just did the installation today and got the same result here is the console of the DB container for comparison. seems like the only error is something about the "Service Master Key" being in error. resgrid:~/resgrid$ docker compose run db |
Trying to deploy a single server Resgrid for a demo, however after running the docker up command below error is preventing me from logging into the application:
worker-1 | ClientConnectionId:989d275d-7df9-4c92-9302-459bd6111118 worker-1 | Error Number:208,State:1,Class:16 worker-1 | fail: Resgrid.Workers.Console.Program[0] worker-1 | System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'dbo.Departments'. worker-1 | at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__126_0(Task
1 result)worker-1 | at System.Threading.Tasks.ContinuationResultTaskFromResultTask
2.InnerInvoke() worker-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) worker-1 | --- End of stack trace from previous location --- worker-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) worker-1 | at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) worker-1 | --- End of stack trace from previous location --- worker-1 | at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 434 worker-1 | at Resgrid.Repositories.DataRepository.RepositoryBase
1.b__5_0(DbConnection x) in /src/Repositories/Resgrid.Repositories.DataRepository/RepositoryBase.cs:line 45worker-1 | at Resgrid.Repositories.DataRepository.RepositoryBase
1.GetAllAsync() in /src/Repositories/Resgrid.Repositories.DataRepository/RepositoryBase.cs:line 57 worker-1 | at Resgrid.Services.DepartmentsService.GetAllAsync() in /src/Core/Resgrid.Services/DepartmentsService.cs:line 71 worker-1 | at Resgrid.Workers.Console.Tasks.StatusScheduleTask.ProcessAsync(StatusScheduleCommand command, IQuidjiboProgress progress, CancellationToken cancellationToken) in /src/Workers/Resgrid.Workers.Console/Tasks/StatusScheduleTask.cs:line 39 worker-1 | ClientConnectionId:989d275d-7df9-4c92-9302-459bd6111118 worker-1 | Error Number:208,State:1,Class:16 mongodb-1 | {"t":{"$date":"2025-03-07T05:41:39.422+00:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1741326099:422246][1:0x7fdaaa616700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 56, snapshot max: 56 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1267"}} worker-1 | [05:42:15 FTL] worker-1 | System.Data.SqlClient.SqlException (0x80131904): Invalid object name 'dbo.ScheduledTasks'. worker-1 | at System.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__126_0(Task
1 result)worker-1 | at System.Threading.Tasks.ContinuationResultTaskFromResultTask
2.InnerInvoke() worker-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) worker-1 | --- End of stack trace from previous location --- worker-1 | at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) worker-1 | at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) worker-1 | --- End of stack trace from previous location --- worker-1 | at Dapper.SqlMapper.QueryAsync[T](IDbConnection cnn, Type effectiveType, CommandDefinition command) in /_/Dapper/SqlMapper.Async.cs:line 434 worker-1 | at Resgrid.Repositories.DataRepository.ScheduledTasksRepository.<GetAllUpcomingOrRecurringReportDeliveryTasksAsync>b__7_0(DbConnection x) in /src/Repositories/Resgrid.Repositories.DataRepository/ScheduledTasksRepository.cs:line 78 worker-1 | at Resgrid.Repositories.DataRepository.ScheduledTasksRepository.GetAllUpcomingOrRecurringReportDeliveryTasksAsync() in /src/Repositories/Resgrid.Repositories.DataRepository/ScheduledTasksRepository.cs:line 90
The text was updated successfully, but these errors were encountered: