linuxserver / docker-jackett

GNU General Public License v3.0
395 stars 95 forks source link

Error to fix on linuxserver #97

Closed Anon0ne closed 4 years ago

Anon0ne commented 4 years ago

linuxserver.io

If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.

https://github.com/Jackett/Jackett/pull/6779/commits/49404aafdde10ad76813db3202dec1ba6ae9a818

Expected Behavior

Add the account...

Current Behavior

Steps to Reproduce

  1. Try to add your DigitalCore account

Environment

OS: LibreElec x64

Command used to create docker container (run/create/compose/screenshot)

Docker logs

Jackett.Common.ExceptionWithConfigData: Invalid Captcha at Jackett.Common.Indexers.Digitalcore.<>cDisplayClass8_0.b0() in /home/appveyor/projects/jackett/src/Jackett.Common/Indexers/digitalcore.cs:line 96 at Jackett.Common.Indexers.BaseIndexer.ConfigureIfOK(String cookies, Boolean isLoggedin, Func`1 onError) in /home/appveyor/projects/jackett/src/Jackett.Common/Indexers/BaseIndexer.cs:line 267 at Jackett.Common.Indexers.Digitalcore.ApplyConfiguration(JToken configJson) in /home/appveyor/projects/jackett/src/Jackett.Common/Indexers/digitalcore.cs:line 98 at Jackett.Server.Controllers.IndexerApiController.UpdateConfig(ConfigItem[] config) in /home/appveyor/projects/jackett/src/Jackett.Server/Controllers/IndexerApiController.cs:line 94 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Jackett.Server.Middleware.CustomExceptionHandler.Invoke(HttpContext httpContext) in /home/appveyor/projects/jackett/src/Jackett.Server/Middleware/CustomExceptionHandler.cs:line 29

Here is the fix: https://github.com/Jackett/Jackett/pull/6779/commits/49404aafdde10ad76813db3202dec1ba6ae9a818

aptalca commented 4 years ago

So it's fixed upstream???

aptalca commented 4 years ago

Latest stable release was a day ago, so update your docker image and recreate your container

Anon0ne commented 4 years ago

I did update today, and it didn't help. Where are these cs files in your image? I will hunt it.

aptalca commented 4 years ago

They are part of the app, that we include in the docker image

Anon0ne commented 4 years ago

Okay. I was told via the Jackett github that the latest version is still not up to date for this fix. It's not resolved on this version.

you are still using 0.12.1398 and you need to be on at least version v0.12.1415

https://github.com/Jackett/Jackett/pull/6779#issuecomment-577849692

aptalca commented 4 years ago

latest docker image has 0.12.1632 https://github.com/linuxserver/docker-jackett/releases/tag/v0.12.1632-ls51