I did a fresh install to my RPi 3 b+ to be my server (previous was a RPi 3 running dietpi and several services just perfectly).
First install gives me some problems hanging on boot as using external partitions for /var but I resolved it using a symlink, all is fine but sickrage fails to install (details in a sec) and I think it’s due to me moving the default dietpi_userdata location (through dietpi-drive-manager).
Today, as a test, I tried a fresh install onto another SD (on the same RPi) with no external HD, therefore everything is on the SD card.
Whilst installing sickrage, I notice it hangs a bit and complains saying it cannot find SickBeard.py in the /mnt/dietpi-userdata folder and therefore it cannot create its config.ini file, since it was installing I could not (or I don’t know how) grab the output of the errors nor the ones on boot (dmesg | grep sickrage and similar greps give 0 results).
Following some outputs:
root@DietPi:~# dietpi-services restart
[ OK ] DietPi-Services | Root access verified.
DietPi-Services
─────────────────────────────────────────────────────
Mode: restart
[ OK ] DietPi-Services | restart : transmission-daemon
[FAILED] DietPi-Services | restart : sickrage
[ OK ] DietPi-Services | restart : cron
[ SUB1 ] DietPi-Process_tool > Apply
[ OK ] DietPi-Process_tool | Cron (1727) : Nice 0
[ OK ] DietPi-Process_tool | Cron (1727) : Affinity 0-3
[ OK ] DietPi-Process_tool | Cron (1727) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | DHCP Client (737) : Nice 0
[ OK ] DietPi-Process_tool | DHCP Client (737) : Affinity 0-3
[ OK ] DietPi-Process_tool | DHCP Client (737) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | Dropbear (270) : Nice 0
[ OK ] DietPi-Process_tool | Dropbear (270) : Affinity 0-3
[ OK ] DietPi-Process_tool | Dropbear (270) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | Dropbear (1177) : Nice 0
[ OK ] DietPi-Process_tool | Dropbear (1177) : Affinity 0-3
[ OK ] DietPi-Process_tool | Dropbear (1177) : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | SickRage () : Nice 0
[FAILED] DietPi-Process_tool | SickRage () : Affinity 0-3
[ OK ] DietPi-Process_tool | SickRage () : Scheduler SCHED_OTHER 0
[ OK ] DietPi-Process_tool | Transmission (1704) : Nice 0
[ OK ] DietPi-Process_tool | Transmission (1704) : Affinity 0-3
[ OK ] DietPi-Process_tool | Transmission (1704) : Scheduler SCHED_OTHER 0
[FAILED] DietPi-Process_tool | An issue has occurred
root@DietPi:~# systemctl status sickrage.service
● sickrage.service - SickRage
Loaded: loaded (/etc/systemd/system/sickrage.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-10-20 14:57:36 BST; 24s ago
Process: 1962 ExecStart=/usr/bin/python /mnt/dietpi_userdata/sickrage/SickBeard.py -q --daemon --nolaunch --datadir=/mnt/dietpi_userdata/sickrage (code=exited, status=2)
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Control process exited, code=exited status=2
Oct 20 14:57:36 DietPi systemd[1]: Failed to start SickRage.
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Unit entered failed state.
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Failed with result 'exit-code'.
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Service hold-off time over, scheduling restart.
Oct 20 14:57:36 DietPi systemd[1]: Stopped SickRage.
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Start request repeated too quickly.
Oct 20 14:57:36 DietPi systemd[1]: Failed to start SickRage.
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Unit entered failed state.
Oct 20 14:57:36 DietPi systemd[1]: sickrage.service: Failed with result 'exit-code'.
root@DietPi:~# dietpi-services restart sickrage.service
[ OK ] DietPi-Services | Root access verified.
DietPi-Services
─────────────────────────────────────────────────────
Mode: restart
[FAILED] DietPi-Services | restart sickrage.service
root@DietPi:~# cat /var/log/syslog | grep sickrage
Oct 20 14:56:48 DietPi python[1135]: /usr/bin/python: can't open file '/mnt/dietpi_userdata/sickrage/SickBeard.py': [Errno 2] No such file or directory
Oct 20 14:56:48 DietPi systemd[1]: sickrage.service: Control process exited, code=exited status=2
Oct 20 14:56:48 DietPi systemd[1]: sickrage.service: Unit entered failed state.
Oct 20 14:56:48 DietPi systemd[1]: sickrage.service: Failed with result 'exit-code'.
Oct 20 14:56:49 DietPi systemd[1]: sickrage.service: Service hold-off time over, scheduling restart.
root@DietPi:~# ls -l /mnt/dietpi_userdata/sickrage/
total 0
-rwxrwxr-x 1 sickrage dietpi 0 Oct 20 13:31 config.ini
root@DietPi:~# cat /mnt/dietpi_userdata/sickrage/config.ini
root@DietPi:~#
If anyone has a similar issue or knows the answer?
Is there furhter code I should post?
Thanks in advance
cpp