My setup is as follows, transmission-daemon has a `"script-torrent-done-filename": "torrent-completed.sh",` this is called fine and logs as expected. This script then usually calls filebot with fn:amc but in this example it simply calls `filebot -version` and outputs the following error:
Code: Select all
2023-04-13 10:40:42 Running torrent-completed script as user: uid=128(debian-transmission) gid=134(debian-transmission) groups=134(debian-transmission),1001(media) // <-- logged from torrent-completed.sh
/home/dav/Downloads/Ted.Lasso.S03E05.720p.WEB.H264-CAKES[rarbg] // <-- logged from torrent-completed.sh
Torrent completed script - default filebot command to be used // <-- logged from torrent-completed.sh
Error occurred during initialization of VM
Failed to mark memory page as executable - check if grsecurity/PaX is enabled
Code: Select all
#!/bin/bash
LOG=/etc/transmission-daemon/torrent-completed.log
echo -e "\n$DATE Running torrent-completed script as user: `id`" | tee -a $LOG
echo " $TR_TORRENT_DIR/$TR_TORRENT_NAME" | tee -a $LOG
echo " Torrent completed script - default filebot command to be used" | tee -a $LOG
filebot -version 2>&1 | tee -a $LOG
Code: Select all
# filebot -version
FileBot 5.0.2 (r9722) / OpenJDK Runtime Environment 17.0.6