Jackett is broken: Incorrect Mono Version
Issue description
journalctl -f -u jackett
Sep 08 15:01:06 *** Jackett[24996]: 09-08 15:01:06 Info mono version: 5.0.1.1 (2017-02/5077205 Sat Sep 1 11:08:28 UTC 2018)
Sep 08 15:01:06 *** Jackett[24996]: 09-08 15:01:06 Error A minimum Mono version of 5.8 is required. Please update to the latest version from http://www.mono-project.com/download/
Sep 08 15:01:06 *** systemd[1]: jackett.service: Main process exited, code=exited, status=1/FAILURE
Sep 08 15:01:06 *** systemd[1]: jackett.service: Failed with result 'exit-code'.
Sep 08 15:01:06 *** systemd[1]: jackett.service: Service RestartSec=100ms expired, scheduling restart.
Sep 08 15:01:06 *** systemd[1]: jackett.service: Scheduled restart job, restart counter is at 5.
Sep 08 15:01:06 *** systemd[1]: Stopped Jackett.
Sep 08 15:01:06 *** systemd[1]: jackett.service: Start request repeated too quickly.
Sep 08 15:01:06 *** systemd[1]: jackett.service: Failed with result 'exit-code'.
Sep 08 15:01:06 *** systemd[1]: Failed to start Jackett.
Steps to reproduce
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.
- system: `"x86_64-linux"`
- host os: `Linux 4.14.43, NixOS, 19.03pre151837.ca2ba44cab4 (Koi)`
- multi-user?: `no`
- sandbox: `yes`
- version: `nix-env (Nix) 2.1`
- channels(root): `"nixos-19.03pre151837.ca2ba44cab4"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
There was a patch recently, check that it's jackett 0.10 you have installed.
#46114
actually, I'm loading it using the service module, it seems to be requiring the latest.
https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/jackett.nix
Can you confirm that the version you are using is the 0.10 ?
For information what is the content of jackett.service (systemctl cat jackett) and the ExecStart script ?
I just checked the unstable channel and this commit is not yet included
@nyanloutre it seems to be 0.9.41, this is what I get from unstable:
[gbuisson@home:~]$ nix-env -qaP 'jackett' --description
nixos.jackett jackett-0.9.41 API Support for your favorite torrent trackers.
[gbuisson@home:~]$ systemctl cat jackett
# /nix/store/41251550mp74117x7g7ll1878bdk59yq-unit-jackett.service/jackett.service
[Unit]
After=network.target
Description=Jackett
[Service]
Environment="LOCALE_ARCHIVE=/nix/store/78yiqfgzz2b32pn391najl1k1jqch2hf-glibc-locales-2.27>
Environment="PATH=/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin:/nix/stor>
Environment="TZDIR=/nix/store/qh0473bw25p2nciwmvc24dwamc920485-tzdata-2018e/share/zoneinfo"
ExecStart=/nix/store/zq9a8fgxfvqsdk0m5kwrg0hf9mxl6xij-jackett-0.9.41/bin/Jackett
ExecStartPre=/nix/store/6kn9xp42kg4xna7q0arm2lpph443773d-unit-script-jackett-pre-start
Group=jackett
PermissionsStartOnly=true
Restart=on-failure
Type=simple
User=jackett
[gbuisson@home:~]$ cat /nix/store/zq9a8fgxfvqsdk0m5kwrg0hf9mxl6xij-jackett-0.9.41/bin/Jackett
#! /nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/bash -e
export LD_LIBRARY_PATH='/nix/store/9c9vryq51hlw0jr8ddk2yk1qvkaq0vl2-curl-7.61.0/lib'${LD_LIBRARY_PATH:+':'}$LD_LIBRARY_PATH
exec "/nix/store/sl33khwmbrhkrwz07xnysrkxpm3c1zig-mono-5.0.1.1/bin/mono" /nix/store/zq9a8fgxfvqsdk0m5kwrg0hf9mxl6xij-jackett-0.9.41/share/jackett-0.9.41/JackettConsole.exe "${extraFlagsArray[@]}" "$@"
The commit is still not in the nixos-unstable channel.
If you want a quick fix you can use this overlay:
self: super:
let
unstable = import (fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/fc2c606a7ac8fb48be4181f777d029bd75c0c58a.tar.gz";
sha256 = "1sd4587ip0fc05nwbaiiqqfx5ra2iyjdcmrapda4g41m0c9cyd34";
}) {};
in
{
jackett = unstable.jackett;
}
The URL is master branch pinned on the merge commit
Thanks that's helpful!
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
- Search for maintainers and people that previously touched the related code and @ mention them in a comment.
- Ask on the NixOS Discourse.
- Ask on the #nixos channel on irc.freenode.net.
This seems solved since a long time