Script is failing after adding license. Debian torrent box
Posted: 07 Jul 2018, 20:14
I have a couple scripts that run upon torrent completion to run filebot. even though I added a valid license file, when the script runs filebot errors and fails to see the license file. Script is owned by debian-transmission. and please keep in mind it has been working flawlessly for almost a year. Updated and added a license and now its fucked.
Where it is called.
settings.json
"script-torrent-done-filename": "/etc/transmission-daemon/process.sh",
contents of process.sh
#!/bin/bash
LANG="en_US.UTF-8"
/usr/bin/filebot -script fn:amc --output /srv/1TBUSB/NewStuff --action copy -non-strict /srv/1TBUSB/Recents --encoding utf8 --def clean=y --log-file amc.log -no-xattr --def minFileSize=0 --def excludeList=amc.txt
logfile output
However when I run the script manually no error message.
Where it is called.
settings.json
"script-torrent-done-filename": "/etc/transmission-daemon/process.sh",
contents of process.sh
#!/bin/bash
LANG="en_US.UTF-8"
/usr/bin/filebot -script fn:amc --output /srv/1TBUSB/NewStuff --action copy -non-strict /srv/1TBUSB/Recents --encoding utf8 --def clean=y --log-file amc.log -no-xattr --def minFileSize=0 --def excludeList=amc.txt
logfile output
Code: Select all
Jul 7 12:47:19 Torrent-OpenVPN-Filebot transmission-daemon[527]: Locking /var/log/transmission-daemon/.filebot/logs/amc.log
Jul 7 12:47:22 Torrent-OpenVPN-Filebot transmission-daemon[527]: Run script [fn:amc] at [Sat Jul 07 12:47:22 PDT 2018]
Jul 7 12:47:22 Torrent-OpenVPN-Filebot transmission-daemon[527]: Parameter: clean = y
Jul 7 12:47:22 Torrent-OpenVPN-Filebot transmission-daemon[527]: Parameter: minFileSize = 0
Jul 7 12:47:22 Torrent-OpenVPN-Filebot transmission-daemon[527]: Parameter: excludeList = amc.txt
Jul 7 12:47:22 Torrent-OpenVPN-Filebot transmission-daemon[527]: Argument[0]: /srv/1TBUSB/Recents
Jul 7 12:47:22 Torrent-OpenVPN-Filebot transmission-daemon[527]: Use excludes: /srv/1TBUSB/NewStuff/amc.txt (47)
Jul 7 12:47:23 Torrent-OpenVPN-Filebot transmission-daemon[527]: Ignore extra: /srv/1TBUSB/Recents/Mr Show/Extras
Jul 7 12:47:23 Torrent-OpenVPN-Filebot transmission-daemon[527]: Input: /srv/1TBUSB/Recents/Brooklyn.Nine-Nine.S05E08.HDTV.x264-SVA[ettv]/Brooklyn.Nine-Nine.S05E08.HDTV.x264-SVA[ettv].mkv
Jul 7 12:47:25 Torrent-OpenVPN-Filebot transmission-daemon[527]: Group: [tvs:brooklyn nine nine] => [Brooklyn.Nine-Nine.S05E08.HDTV.x264-SVA[ettv].mkv]
Jul 7 12:47:25 Torrent-OpenVPN-Filebot transmission-daemon[527]: Rename episodes using [TheTVDB]
Jul 7 12:47:25 Torrent-OpenVPN-Filebot transmission-daemon[527]: Auto-detected query: [Brooklyn Nine Nine]
Jul 7 12:47:28 Torrent-OpenVPN-Filebot transmission-daemon[527]: Fetching episode data for [Brooklyn Nine-Nine]
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: License Error: UNREGISTERED
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: ________________________________________________
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: / Please purchase a FileBot License: \
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: \ https://www.filebot.net/purchase.html#deb /
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: ------------------------------------------------
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: \ . .
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: \ / `. .' "
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: \ .---. < > < > .---.
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: \ | \ \ - ~ ~ - / / |
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: _____ ..-~ ~-..-~
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: | | \~~~\.' `./~~~/
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: --------- \__/ \__/
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: .' O \ / / \ "
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: (_____, `._.' | } \/~~~/
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: `----. / } | / \__/
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: `-. | / | / `. ,~~|
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: ~-.__| /_ - ~ ^| /- _ `..-'
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: | / | / ~-. `-. _ _ _
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: |_____| |_____| ~ - . _ _ _ _ _>
Jul 7 12:47:29 Torrent-OpenVPN-Filebot transmission-daemon[527]: FileBot requires a valid license. Please run `filebot --license *.psm` to install your FileBot license.
Code: Select all
Locking /root/.filebot/logs/amc.log
Run script [fn:amc] at [Sat Jul 07 13:02:30 PDT 2018]
Parameter: clean = y
Parameter: minFileSize = 0
Parameter: excludeList = amc.txt
Argument[0]: /srv/1TBUSB/Recents
Use excludes: /srv/1TBUSB/NewStuff/amc.txt (48)
Ignore extra: /srv/1TBUSB/Recents/Mr Show/Extras
No files selected for processing
Done ヾ(@⌒ー⌒@)ノ