Archives not extracting (Arch linux, headless)
Posted: 21 Nov 2018, 07:15
I've been running a headless Arch Linux server for a few years now and using Filebot to extract, rename, and move downloaded files using the following script that is run by the Execute deluge plugin:
It had been a while since I was able to update filebot through the Arch repositories, but last week I was finally able to update. I noticed today that filebot hadn't been doing its thing and saw that when I ran the above command by hand I got an error about the license. So I bought a 1 year license and applied it to get that error to go away. Unfortunately it still wasn't working. A bit more poking around and I established that it wasn't extracting the files. Running the filebot -extract command yields the following:
and generates no extracted file.
Running filebot -script fn:sysinfo yields:
I noticed another recent thread with a similar problem. They recommended using the following command:
This did not change any of the above output even though I can extract the archive using "7z e". Does anyone have any ideas on what I'm missing? I have java-p7zip-binding installed, which I think i need, but I'm not sure how to tell if it is used or detected.
Code: Select all
#!/bin/bash
TORRENT_ID=$1
TORRENT_NAME=$2
TORRENT_PATH=$3
filebot -script fn:amc --output "/mnt/downloads/deluge/complete/" --log-file amc.log --action copy --conflict override -non-strict --def extractFolder=/mnt/downloads/deluge/extracts "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" music=y subtitles=en,es "seriesFormat=/mnt/videos/shows/{n}/{'S'+s}/{n} - {s00e00} - {t}" "movieFormat=/mnt/videos/movies/{n} {y}/{fn}" "musicFormat=/mnt/files/shared/music/{artist}/{album}/{fn}" clean=y
Code: Select all
filebot -extract /mnt/downloads/deluge/complete/Last.Week.Tonight.With.John.Oliver.S05E30.720p.HDTV.X264-UAV/last.week.tonight.530.720p-uav.rar
Read archive [last.week.tonight.530.720p-uav.rar] and extract to [/mnt/downloads/deluge/complete/Last.Week.Tonight.With.John.Oliver.S05E30.720p.HDTV.X264-UAV/last.week.tonight.530.720p-uav]
Running filebot -script fn:sysinfo yields:
Code: Select all
filebot -script fn:sysinfo
FileBot 4.8.4 (r5884)
JNA Native: 5.2.2
MediaInfo: 18.08.1
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2018-10-05 (r536)
Groovy: 2.5.1
JRE: OpenJDK Runtime Environment 1.8.0_192
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 28 MB Used Memory
OS: Linux (amd64)
HW: Linux NASty 4.19.2-arch1-1-ARCH #1 SMP PREEMPT Tue Nov 13 21:16:19 UTC 2018 x86_64 GNU/Linux
DATA: /home/jlg/.config/filebot
Package: AUR
License: FileBot License P6231867 (Valid-Until: 2019-11-21)
Done ヾ(@⌒ー⌒@)ノ
Code: Select all
export FILEBOT_OPTS="-Dnet.filebot.Archive.extractor=SevenZipExecutable"