Jackett not working?

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
finch_6
Posts: 30
Joined: Tue Sep 04, 2018 7:21 pm

Jackett not working?

Post by finch_6 »

Hi everyone,

Sorry if I missed a post on this, but did look briefly.

When trying to access Jackett on xxx.xxx.x.x:9117/UI/Dashboard, Im getting this on the screen instead of the lovely Jackett UI :( :( :(

Code: Select all

{
  "result": "error",
  "error": "Unable to load one or more of the requested types.\nCould not load file or assembly 'Microsoft.CodeAnalysis.CSharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The module was expected to contain an assembly manifest.",
  "stacktrace": "   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)\n   at System.Reflection.RuntimeAssembly.get_DefinedTypes()\n   at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.get_Types()\n   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)\n   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()\n   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)\n   at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.UpdateCollection()\n   at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.Initialize()\n   at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.get_ActionDescriptors()\n   at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()\n   at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)\n   at Microsoft.AspNetCore.Routing.RouteCollection.RouteAsync(RouteContext context)\n   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)\n   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)\n   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)\n   at Jackett.Server.Middleware.CustomExceptionHandler.Invoke(HttpContext httpContext) in /home/appveyor/projects/jackett/src/Jackett.Server/Middleware/CustomExceptionHandler.cs:line 29"
}
Help someone please? When I usually have issues with Jackett, I just uninstall it and reinstall and set up the indexers again, but this is the first time I have seen "code" when it doesn't run. Usually it just says "Failed to load page".

I have tried a "reboot -h now" but that didn't solve the issue.

Thanks in advance everyone.
DietPi on a Raspberry Pi 3 B+ running:
- Sonarr
- Deluge
- Jackett
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jackett not working?

Post by MichaIng »

@finch_6
Many thanks for your report.

Which SBC you tried the install? On non-ARMv6 we switched to the non-mono standalone version. Possibly this somehow does not work well in your case.
User avatar
finch_6
Posts: 30
Joined: Tue Sep 04, 2018 7:21 pm

Re: Jackett not working?

Post by finch_6 »

MichaIng wrote: Sun May 26, 2019 7:14 pm @finch_6
Many thanks for your report.

Which SBC you tried the install? On non-ARMv6 we switched to the non-mono standalone version. Possibly this somehow does not work well in your case.
@MichaIng

Running this on a Raspberry Pi 3 B+. I did the last DietPi update and Jackett worked for a while, then stopped?
Before I did the update, I was getting the banner on the Jackett UI that Jackett doesn't require Mono anymore. After the DietPi update, that banner was no more. So I assume the new DietPi update installed it as a standalone?

Any more info you need, just ask. Looked at my Jackett again now and still the same error.
DietPi on a Raspberry Pi 3 B+ running:
- Sonarr
- Deluge
- Jackett
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jackett not working?

Post by MichaIng »

@finch_6
Okay perfect so the standalone version has been installed successfully indeed.

So then we need to investigate why the service fails after a while:

Code: Select all

journalctl -u  jackett
tail -20 /opt/jackett/Jackett/log.txt
Please paste this after you face issues on web UI login.
User avatar
finch_6
Posts: 30
Joined: Tue Sep 04, 2018 7:21 pm

Re: Jackett not working?

Post by finch_6 »

@MichaIng

Not too sure if I did it correctly... The second line that I pasted didn't seem to do anything?

Code: Select all

root@DietPi:~# journalctl -u  jackett
-- Logs begin at Mon 2019-05-27 16:07:05 BST, end at Mon 2019-05-27 16:08:46 BST. --
May 27 16:07:19 DietPi systemd[1]: Started Jackett Daemon (DietPi).
May 27 16:07:25 DietPi jackett[884]: 05-27 16:07:25 Info Starting Jackett v0.11.375.0
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info Environment version: 4.0.30319.42000 (/opt/jackett/)
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info OS version: Unix 4.19.42.7
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info Jackett variant: CoreLinuxArm32
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info ThreadPool MaxThreads: 32767 workerThreads, 1000 completionPortThreads
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info App config/log directory: /opt/jackett/Jackett
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info issue: Raspbian GNU/Linux 9 \n \l
May 27 16:07:33 DietPi jackett[884]: 05-27 16:07:33 Info Using HTTP Client: HttpWebClient2NetCore
May 27 16:07:37 DietPi jackett[884]: 05-27 16:07:37 Info Loading Cardigann definitions from: /opt/jackett/cardigann/definitions/, /etc/xdg/cardigan/definitions/, /opt/jackett/Definitions
May 27 16:07:38 DietPi jackett[884]: 05-27 16:07:38 Info Loading Cardigann definition /opt/jackett/Definitions/empornium.yml
May 27 16:07:38 DietPi jackett[884]: 05-27 16:07:38 Info Loading Cardigann definition /opt/jackett/Definitions/datascene.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/torrent9.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/world-of-tomorrow.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/torrentfunk.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/gktorrent.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/inperil.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/polishsource.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/elitetorrent-biz.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/hush.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/theshow.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/pt99.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/acgrip.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/icetorrent.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/hd4free.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/cpasbienclone.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/cartoonchaos.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/anidex.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/torrentkitty.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/theempire.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/3dtorrents.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/btkitty.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/worldofp2p.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/myspleen.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/prostylex.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/pwtorrents.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/speed-share.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/retroflix.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/zamundanet.yml
May 27 16:07:39 DietPi jackett[884]: 05-27 16:07:39 Info Loading Cardigann definition /opt/jackett/Definitions/thehorrorcharnel.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/trezzor.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/takeabyte.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/concen.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/bithumen.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/monova.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/hdhome.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/carpathians.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/arenabg.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/hdtorrentsit.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/gfxpeers.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/p2pbg.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/ccfbits.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/btdigg.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/torrenting.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/gfxnews.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/alein.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/film-paleis.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/tenyardtracker.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/nostalgic.yml
May 27 16:07:40 DietPi jackett[884]: 05-27 16:07:40 Info Loading Cardigann definition /opt/jackett/Definitions/zelkaorg.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/torrentbd.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/unionfansub.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/pthome.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/kinozal.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/cinefilhd.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/torrentland.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/sharespacedb.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/torrentlt.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/crnaberza.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/cinematik.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/Bittorrentfiles.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/asiandvdclub.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/sukebei-pantsu.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/cztorrent.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/nyoo.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/gay-torrents.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/scenefz.yml
May 27 16:07:41 DietPi jackett[884]: 05-27 16:07:41 Info Loading Cardigann definition /opt/jackett/Definitions/divteam.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/dragonworldreloaded.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/ztracker.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/elitehd.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/passionetorrent.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/b2s-share.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/btnext.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/tokyotosho.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/speedtorrentreloaded.yml
May 27 16:07:42 DietPi jackett[884]: 05-27 16:07:42 Info Loading Cardigann definition /opt/jackett/Definitions/bluebird.yml
/opt/jackett/Jackett/log.txt
Pattern not found
root@DietPi:~# 
DietPi on a Raspberry Pi 3 B+ running:
- Sonarr
- Deluge
- Jackett
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jackett not working?

Post by MichaIng »

@finch_6
Strange is is actually active: systemctl status jackett

In my case there is much more output, especially after "Loading Cardiagann..." lines:

Code: Select all

May 27 17:11:20 VM-Stretch jackett[23549]: 05-27 17:11:20 Info Loading Cardigann definition /opt/jackett/Definitions/diablotorrent.yml
May 27 17:11:20 VM-Stretch jackett[23549]: 05-27 17:11:20 Info Adding aggregate indexer
May 27 17:11:21 VM-Stretch jackett[23549]: Hosting environment: Production
May 27 17:11:21 VM-Stretch jackett[23549]: Content root path: /opt/jackett/Content
May 27 17:11:21 VM-Stretch jackett[23549]: Now listening on: http://[::]:9117
May 27 17:11:21 VM-Stretch jackett[23549]: Application started. Press Ctrl+C to shut down.
Pattern not found
- Strange output. If the file does not exist, there is a different error message. Are you sure you copied the "tail" command correctly?

Ahh perhaps journalctl opened a pager, try:

Code: Select all

journalctl --no-pager -u  jackett
tail -20 /opt/jackett/Jackett/log.txt
User avatar
noobian
Posts: 26
Joined: Sun Mar 24, 2019 8:57 am

Re: Jackett not working?

Post by noobian »

SInce I have the same issues with Jackett, here's what I get as outputs to the mentioned commands.
Hope this helps ...:

Code: Select all

journalctl --no-pager -u  jackett
Mai 27 17:07:22 XYZ systemd[1]: jackett.service: Main process exited, code=killed, status=7/BUS
Mai 27 17:07:22 XYZ systemd[1]: jackett.service: Unit entered failed state.
Mai 27 17:07:22 XYZ systemd[1]: jackett.service: Failed with result 'signal'.
Mai 27 17:07:28 XYZ systemd[1]: jackett.service: Service hold-off time over, scheduling restart.
Mai 27 17:07:28 XYZ systemd[1]: Stopped Jackett Daemon (DietPi).
Mai 27 17:07:28 XYZ systemd[1]: Started Jackett Daemon (DietPi).

Code: Select all

tail -20 /opt/jackett/Jackett/log.txt
2019-05-25 09:58:05.7584 Info Jackett variant: CoreLinuxAmdx64
2019-05-25 09:58:06.4716 Info New release found. Current: v0.11.364 New: v0.11.375
2019-05-25 09:58:52.5203 Info Starting updater: /tmp/JackettUpdate-v0.11.375-636943751248503773/Jackett/JackettUpdater --Path "/opt/jackett" --Type "Console" --Args " --NoRestart" --KillPids "12586" --NoRestart
2019-05-25 09:58:52.5499 Info Updater started process id: 17533

I already un-installed, and re-installed Jackett through "Dietpi-Software" ... Fresh install works for a while ... but it looks like every new update of Jacket just makes it unusable and inaccessible again ... manual reboot and jacket-service restarts don't help ... any help is appreciated :)
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Jackett not working?

Post by MichaIng »

@noobian
Now that you say it and I see the update log: https://github.com/MichaIng/DietPi/issu ... -490096681
Known issue. Actually we thought to have it resolved with v6.23 but it looks like even the way the official documentation states it, the update breaks the service since it restarts the process, even that it shouldn't.

This is an external issue for now and we need to hope that the Jackett guys find a way to have their updater working well with the systemd unit.

Workaround should be after every Jackett update: systemctl restart jackett
User avatar
noobian
Posts: 26
Joined: Sun Mar 24, 2019 8:57 am

Re: Jackett not working?

Post by noobian »

@MichaIng

hmm, even the command systemctl restart jackett led to "failed" today.
so I just re-intsall Jackett again and also uninstalled Mono. Let's see what comes next.

thx for the Input. maybe after this re-install it will really restart jackett,
User avatar
deathisunknown
Posts: 3
Joined: Fri Feb 15, 2019 4:08 pm

Re: Jackett not working?

Post by deathisunknown »

For now I've just been using

Code: Select all

dietpi-software reinstall 147
when Jackett fails to auto-update. Hopefully the Jackett team is able to fix this soon.
Post Reply