Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- radarr-v5-prerelease v4 sqlite database upgrade query error
- Dec 30 00:35:11 fenrir Radarr[4381]: SQLite error (1): no such column: Movies.SortTitle in "SELECT "History".*, "Movies".*, "QualityProfiles".*
- FROM "History"
- JOIN "Movies" ON ("History"."MovieId" = "Movies"."Id")
- JOIN "QualityProfiles" ON ("Movies"."QualityProf
- Dec 30 00:35:11 fenrir Radarr[4381]: [Error] RadarrErrorPipeline: [GET /api/v3/history]
- Dec 30 00:35:11 fenrir Radarr[4381]: [v5.2.4.8328] code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
- Dec 30 00:35:11 fenrir Radarr[4381]: no such column: Movies.SortTitle
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQLiteStatement previous, UInt32 timeoutMS, String& strRemain)
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Data.SQLite.SQLiteDataReader.NextResult()
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1142
- Dec 30 00:35:11 fenrir Radarr[4381]: at Dapper.SqlMapper.MultiMapImpl[TFirst,TSecond,TThird,TFourth,TFifth,TSixth,TSeventh,TReturn](IDbConnection cnn, CommandDefinition command, Delegate map, String splitOn, DbDataReader reader, Identity identity, Boolean finalize)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1537
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
- Dec 30 00:35:11 fenrir Radarr[4381]: at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Dapper.SqlMapper.MultiMap[TFirst,TSecond,TThird,TFourth,TFifth,TSixth,TSeventh,TReturn](IDbConnection cnn, String sql, Delegate map, Object param, IDbTransaction transaction, Boolean buffered, String splitOn, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 1518
- Dec 30 00:35:11 fenrir Radarr[4381]: at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[TFirst,TSecond,TThird,TReturn](IDatabase db, String sql, Func`4 map, Object param, IDbTransaction transaction, Boolean buffered, String splitOn, Nullable`1 commandTimeout, Nullable`1 commandType) in ./Radarr.Core/Datastore/Extensions/SqlMapperExtensions.cs:line 82
- Dec 30 00:35:11 fenrir Radarr[4381]: at NzbDrone.Core.Datastore.SqlMapperExtensions.QueryJoined[T,T2,T3](IDatabase db, SqlBuilder builder, Func`4 mapper) in ./Radarr.Core/Datastore/Extensions/SqlMapperExtensions.cs:line 164
- Dec 30 00:35:11 fenrir Radarr[4381]: at NzbDrone.Core.Datastore.BasicRepository`1.GetPagedRecords(SqlBuilder builder, PagingSpec`1 pagingSpec, Func`2 queryFunc) in ./Radarr.Core/Datastore/BasicRepository.cs:line 434
- Dec 30 00:35:11 fenrir Radarr[4381]: at NzbDrone.Core.History.HistoryRepository.GetPaged(PagingSpec`1 pagingSpec, Int32[] languages, Int32[] qualities) in ./Radarr.Core/History/HistoryRepository.cs:line 100
- Dec 30 00:35:11 fenrir Radarr[4381]: at NzbDrone.Core.History.HistoryService.Paged(PagingSpec`1 pagingSpec, Int32[] languages, Int32[] qualities) in ./Radarr.Core/History/HistoryService.cs:line 54
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Api.V3.History.HistoryController.<>c__DisplayClass7_0.<GetHistory>b__2(PagingSpec`1 h) in ./Radarr.Api.V3/History/HistoryController.cs:line 85
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Extensions.RequestExtensions.ApplyToPage[TResource,TModel](PagingSpec`1 pagingSpec, Func`2 function, Converter`2 mapper) in ./Radarr.Http/Extensions/RequestExtensions.cs:line 56
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Api.V3.History.HistoryController.GetHistory(PagingRequestResource paging, Boolean includeMovie, Nullable`1 eventType, String downloadId, Int32[] movieIds, Int32[] languages, Int32[] quality) in ./Radarr.Api.V3/History/HistoryController.cs:line 85
- Dec 30 00:35:11 fenrir Radarr[4381]: at lambda_method489(Closure , Object , Object[] )
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
- Dec 30 00:35:11 fenrir Radarr[4381]: --- End of stack trace from previous location ---
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
- Dec 30 00:35:11 fenrir Radarr[4381]: --- End of stack trace from previous location ---
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/BufferingMiddleware.cs:line 28
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/StartingUpMiddleware.cs:line 38
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/UrlBaseMiddleware.cs:line 27
- Dec 30 00:35:11 fenrir Radarr[4381]: at Radarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Radarr.Http/Middleware/VersionMiddleware.cs:line 29
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
- Dec 30 00:35:11 fenrir Radarr[4381]: at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
- Dec 30 00:35:11 fenrir Radarr[4381]: SQL:
- Dec 30 00:35:11 fenrir Radarr[4381]: ==== Begin Query Trace ====
- Dec 30 00:35:11 fenrir Radarr[4381]: QUERY TEXT:
- Dec 30 00:35:11 fenrir Radarr[4381]: SELECT "History".*, "Movies".*, "QualityProfiles".*
- Dec 30 00:35:11 fenrir Radarr[4381]: FROM "History"
- Dec 30 00:35:11 fenrir Radarr[4381]: JOIN "Movies" ON ("History"."MovieId" = "Movies"."Id")
- Dec 30 00:35:11 fenrir Radarr[4381]: JOIN "QualityProfiles" ON ("Movies"."QualityProfileId" = "QualityProfiles"."Id")
- Dec 30 00:35:11 fenrir Radarr[4381]:
- Dec 30 00:35:11 fenrir Radarr[4381]: LEFT JOIN "MovieMetadata" ON ("Movies"."MovieMetadataId" = "MovieMetadata"."Id")
- Dec 30 00:35:11 fenrir Radarr[4381]: ORDER BY "Movies"."SortTitle" DESC LIMIT 20 OFFSET 0
- Dec 30 00:35:11 fenrir Radarr[4381]: PARAMETERS:
- Dec 30 00:35:11 fenrir Radarr[4381]: ==== End Query Trace ====
Add Comment
Please, Sign In to add comment