Closed jemus42 closed 6 years ago
I have since managed to get it working, but only under conditions I don't understand.
The init script at https://github.com/Jackett/Jackett/wiki/FreeBSD-Start-Script did not work. I don't know why, but it complained PERMISSION DENIED for /var/db/jackett
, which was chown
ed to jackett
, which I triple checked to be the user definied in the init script. (This error also occured after I chmod 777
'd the folder, or after I changed the jackett user in the init script to root)
What works for now is the following:
mono --debug JackettConsole.exe
/home/jackett/.config/Jackett
, which I don't want, but at least it works. That's what is automatically chosen when I mono --debug JackettConsole.exe
as user jackett
.Am confused.
I'm not an expert on FreeBSD but you might want to check the permissions of /var and /var/db too. The Mandatory Access Control Framework might also cause the permission error.
Sigh… The issue was a linebreak in the init script at
command_args="-f ${procname} /usr/local/share/Jackett/JackettConsole.exe -d ${jackett_data_dir}"
A linebreak right after the -d
results in the issue.
Posting here as a reminder of my own stupidity and in case anyone else has the same issue for some reason.
Copy&paste wisely, folks.
Oh boy, nevermind, that permission thing was a derp on my part, but the original post still stands: the current version of jackett crashes on startup with the log in OP still valid.
Tested v0.10.12, but reverting back to v0.9.41 helps and it runs fine.
Did you ever figure this out? I'm having the same problem. Does reverting the mono version make it more stable?
I vaguely remember rolling back the jackett version, have it working then, and not touching it since (I think). Or a subsequent version fixed the issue.
Jackett version: v0.10.12 (also tried previous releases) Mono version (if not using Windows):
Log file: https://paste.xinu.at/zAAJT9/bash
I created a new FreeBSD jail, installed sonarr, went to install jackett but I can't get it to start. I have tried running it as its user (jackett, which I manually created) or as root via
mono --debug JackettConsole.exe
, but no matter what I do it crashes on startup. I made sure I have the correct permisisons on both the jackett installation folder and the jacket_data folder.I don't understand what I'm doing wrong here, as just last week I migrated jackett into a new jail with no issues.
Please advise.