Hi guys!
I’ve managed to install Sonarr + Radarr using the guides and it all works well, except…
The Torznab services don’t seem to work. I’ve tried both Jacket and Cardigann but I get the following error every time:
* cardigann.service - Cardigann Daemon
Loaded: loaded (/etc/systemd/system/cardigann.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2018-12-14 22:05:53 CET; 22s ago
Process: 4380 ExecStart=/opt/cardigann/cardigann server --bind=0.0.0.0 --port=5060 --passphrase=htpcguides (code=exited, status=217/USER)
Main PID: 4380 (code=exited, status=217/USER)
~
Dec 14 22:05:53 osmc systemd[1]: cardigann.service: Unit entered failed state.
Dec 14 22:05:53 osmc systemd[1]: cardigann.service: Failed with result 'exit-code'.
Hi,
Have you tried starting Jacket or Cardigann manually, they probably have a verbose mode which would you give more information as to why they are not not starting.
Also that doesn’t appear to be the full out of systemctl status?
Have you checked the output of
journalctl -xe
Thanks Tom.
That was fast! This is the output:
root@osmc:~# journalctl -xe
Dec 14 22:53:25 osmc systemd[9683]: cardigann.service: Failed at step USER spawning /opt/cardigann/
-- Subject: Process /opt/cardigann/cardigann could not be executed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The process /opt/cardigann/cardigann could not be executed and failed.
--
-- The error number returned by this process is 3.
Dec 14 22:53:25 osmc systemd[1]: cardigann.service: Main process exited, code=exited, status=217/US
Dec 14 22:53:25 osmc systemd[1]: cardigann.service: Unit entered failed state.
Dec 14 22:53:25 osmc systemd[1]: cardigann.service: Failed with result 'exit-code'.
Dec 14 22:53:25 osmc sudo[9654]: pam_unix(sudo:session): session closed for user root
Dec 14 22:54:33 osmc sudo[9718]: root : TTY=pts/0 ; PWD=/opt/cardigann ; USER=root ; COMMAND=/b
Dec 14 22:54:33 osmc sudo[9718]: pam_unix(sudo:session): session opened for user root by root(uid=0
Dec 14 22:54:36 osmc sudo[9718]: pam_unix(sudo:session): session closed for user root
Dec 14 22:55:25 osmc systemd[1]: cardigann.service: Service hold-off time over, scheduling restart.
Dec 14 22:55:25 osmc systemd[1]: Stopped Cardigann Daemon.
-- Subject: Unit cardigann.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit cardigann.service has finished shutting down.
Dec 14 22:55:25 osmc systemd[1]: Started Cardigann Daemon.
-- Subject: Unit cardigann.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit cardigann.service has finished starting up.
--
-- The start-up result is done.
Dec 14 22:55:25 osmc systemd[9762]: cardigann.service: Failed at step USER spawning /opt/cardigann/
-- Subject: Process /opt/cardigann/cardigann could not be executed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The process /opt/cardigann/cardigann could not be executed and failed.
--
-- The error number returned by this process is 3.
Dec 14 22:55:25 osmc systemd[1]: cardigann.service: Main process exited, code=exited, status=217/US
Dec 14 22:55:25 osmc systemd[1]: cardigann.service: Unit entered failed state.
Dec 14 22:55:25 osmc systemd[1]: cardigann.service: Failed with result 'exit-code'.
Dec 14 22:55:30 osmc sshd[9498]: pam_unix(sshd:session): session closed for user root
Dec 14 22:55:30 osmc systemd-logind[361]: Removed session c3.
-- Subject: Session c3 has been terminated
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A session with the ID c3 has been terminated.
Dec 14 22:55:35 osmc sshd[9771]: rexec line 18: Deprecated option KeyRegenerationInterval
Dec 14 22:55:35 osmc sshd[9771]: rexec line 19: Deprecated option ServerKeyBits
Dec 14 22:55:35 osmc sshd[9771]: rexec line 30: Deprecated option RSAAuthentication
Dec 14 22:55:35 osmc sshd[9771]: rexec line 42: Deprecated option RhostsRSAAuthentication
Dec 14 22:55:37 osmc sshd[9771]: reprocess config line 30: Deprecated option RSAAuthentication
Dec 14 22:55:37 osmc sshd[9771]: reprocess config line 42: Deprecated option RhostsRSAAuthenticatio
Dec 14 22:55:40 osmc sshd[9771]: Accepted password for root from 192.168.11.34 port 54020 ssh2
Dec 14 22:55:40 osmc sshd[9771]: pam_unix(sshd:session): session opened for user root by (uid=0)
Dec 14 22:55:40 osmc systemd[1]: Started Session c4 of user root.
-- Subject: Unit session-c4.scope has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit session-c4.scope has finished starting up.
--
-- The start-up result is done.
Dec 14 22:55:40 osmc systemd-logind[361]: New session c4 of user root.
-- Subject: A new session c4 has been created for user root
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- A new session with the ID c4 has been created for the user root.
--
-- The leading process of the session is 9771.
lines 1099-1172/1172 (END)
Hi,
Please provide the output of:
ls -lah /opt/cardigann
&
cat /etc/systemd/system/cardigann.service
Thanks Tom.
First is:
root@osmc:~# ls -lah /opt/cardigann
total 11M
drwxr-xr-x 2 osmc osmc 4.0K Dec 14 22:51 .
drwxr-xr-x 6 root root 4.0K Dec 14 22:49 ..
-rwxr-xr-x 1 root root 11M Jun 30 10:55 cardigann
Second is:
root@osmc:~# cat /etc/systemd/system/cardigann.service
[Unit]
Description=Cardigann Daemon
[Service]
User=htpcguides
Group=htpcguides
Type=simple
GuessMainPID=no
ExecStart=/opt/cardigann/cardigann server --bind="0.0.0.0" --port="5060" --passphrase="htpcguides"
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.targetroot@osmc:~#
Hi,
Try the following:
sudo chown -R osmc:osmc /opt/cardigann
/etc/systemd/system/cardigann.service:
[Unit]
Description=Cardigann Daemon
[Service]
User=osmc
Group=osmc
Type=simple
GuessMainPID=no
ExecStart=/opt/cardigann/cardigann server --bind="0.0.0.0" --port="5060" --passphrase="htpcguides"
Restart=always
RestartSec=120
[Install]
WantedBy=multi-user.target
Also as the guide suggests you should change --passphrase=“htpcguides”, to a password of your choice.
Thanks Tom.
1 Like
Thanks Tom, that really helped, it works now.
There is a new problem with big file handling in Transmission however. I have mounted an external SSD which I’ve also set as the download location for transmission. It can handle smaller movie files, however when I try to download a 4K HDR torrent of around 50 GB, transmission freezes shortly after starting the download. I have tried various different files.
When I go to system info in OSMC the cpu and memory usage are normal.
Hi,
Is the ssd self powered?
What is the format of SSD, exfat, ntfs or ext4?
If the SSD needs to be connected to a Windows PC, exfat would be better than ntfs. If not ext4 would be the way to go.
In fact ext4 is the best way to go, as both exfat & ntfs have overheads which can cause this issue. If it was me I would format as ext4 and then if you need to share with a windows pc, leave attached to the vero4k and share it with the PC using the samba server in the osmc store.
Thanks Tom.
Thanks Tom.
It’s not self powered, it’s this one: My Passport SSD | Western Digital
The format is NTFS. I’ll change it to ext4 and see how that goes.
Hi,
Ext4 should help, if not a a powered usb-hub is my next suggestion; I can recommend the one in the osmc store.
Thanks Tom.
Allright, working on it.
I’ve also ordered the hub anyhow, as I was already running out of USB ports
1 Like