When running the below command from qbt webui, the file is correcly copied to the planned location on /nas, but the script doesn't complete fully i.e. mail isn't sent and there is no output to amc.log.
Everything works when using a local output (/storage/torrent/xxx/zzz). The problem comes when using /nas, which is mapped to my nas box.
Code: Select all
filebot -script fn:amc --output "/nas" --action copy --def clean=y --conflict skip -non-strict --def deleteAfterExtract=y --log-file "/storage/torrent/amc.log" --def subtitles=en,da --def movieFormat=movies/{plex} seriesFormat=serier/{plex.tail} --def [email protected]:email_key "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"
If there is no mkv.file at the destination, and I run the amc script, the mkv.file is generated but there there is no log output.
If I run the amc script when there is an mkv.fil at the destination, the log is populated.
Output from failed run (when there is a file at destination)
Code: Select all
$USER@plex:~$ cat /storage/torrent/amc.log
# Application Bundle
FileBot 5.0.1 (r9665) / Groovy 4.0.9 / OpenJDK Runtime Environment 11.0.18 / Linux 5.15.0-69-generic (amd64)
# Local Time
Sat Apr 08 05:22:04 UTC 2023
# Process Tree
└─ /usr/bin/dash
└─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java
# Environment Variables
HOME = /home/$USER
INVOCATION_ID = 3186c08356b148e38a12da4579c0db7a
JOURNAL_STREAM = 8:21664
LANG = en_US.UTF-8
PATH = /sbin:/usr/sbin:/bin:/usr/bin
PWD = /
SYSTEMD_EXEC_PID = 792
http_proxy =
https_proxy =
sock_proxy =
# Java System Properties
application.cache = /home/$USER/.filebot/cache
application.deployment = deb
application.dir = /home/$USER/.filebot
awt.toolkit = sun.awt.X11.XToolkit
awt.useSystemAAFontSettings = on
file.encoding = UTF-8
file.separator = /
grape.root = /home/$USER/.filebot/grape
http.agent = FileBot/5.0.1
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/share/filebot/jar/filebot.jar
java.class.version = 55.0
java.home = /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir = /home/$USER/.filebot/tmp
java.library.path = /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies = false
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.18+10-post-Ubuntu-0ubuntu122.04
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 11
java.vendor = Ubuntu
java.vendor.url = https://ubuntu.com/
java.vendor.url.bug = https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version = 11.0.18
java.version.date = 2023-01-17
java.vm.compressedOopsMode = 32-bit
java.vm.info = mixed mode, sharing
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 11
java.vm.vendor = Ubuntu
java.vm.version = 11.0.18+10-post-Ubuntu-0ubuntu122.04
jdk.debug = release
jdk.logger.packages = net.filebot.Log
jdk.module.path = /usr/share/openjfx/lib
jna.boot.library.name = jnidispatch.system
jna.boot.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath = true
jna.nosys = false
jna.nounpack = true
line.separator = ↲
net.filebot.archive.extractor = ShellExecutables
net.filebot.gio.GVFS = /gvfs
net.filebot.logging.debug = INFO
net.filebot.theme = Darcula
org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog
os.arch = amd64
os.name = Linux
os.version = 5.15.0-69-generic
path.separator = :
prism.order = sw
sun.arch.data.model = 64
sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /usr/share/filebot/jar/filebot.jar -script fn:amc --output /nas --action copy --def clean=y --conflict skip -non-strict --def deleteAfterExtract=y --log-file /storage/torrent/amc.log --def subtitles=en,da --def movieFormat=movies/{plex} seriesFormat=serier/{plex.tail} --def [email protected]:email_key ut_dir=/storage/torrent/download/ABCD ut_kind=multi ut_title=ABCD ut_label=
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout = 10000
sun.net.client.defaultReadTimeout = 60000
sun.os.patch.level = unknown
swing.crossplatformlaf = javax.swing.plaf.nimbus.NimbusLookAndFeel
unixfs = false
useCreationDate = false
useExtendedFileAttributes = true
useGVFS = true
user.country = US
user.dir = /
user.home = /home/$USER
user.language = en
user.name = $USER
user.timezone = Etc/UTC
# Arguments
└─ -script
└─ fn:amc
└─ --output
└─ /nas
└─ --action
└─ copy
└─ --def
└─ clean=y
└─ --conflict
└─ skip
└─ -non-strict
└─ --def
└─ deleteAfterExtract=y
└─ --log-file
└─ /storage/torrent/amc.log
└─ --def
└─ subtitles=en,da
└─ --def
└─ movieFormat=movies/{plex}
└─ seriesFormat=serier/{plex.tail}
└─ --def
└─ [email protected]:email_key
└─ ut_dir=/storage/torrent/download/ABCD
└─ ut_kind=multi
└─ ut_title=ABCD
└─ ut_label=
Low Disk Space (3.5 GB) on / (/dev/mapper/ubuntu--vg-ubuntu--lv)
Script Bundle: 2023-03-28 (r895)
Run script [fn:amc] at [Sat Apr 08 05:22:06 UTC 2023]
[PSA] Important Discussion of Proposed Changes:
https://www.filebot.net/forums/viewtopic.php?t=13406
Parameter: clean = y
Parameter: deleteAfterExtract = y
Parameter: subtitles = en,da
Parameter: movieFormat = movies/{plex}
Parameter: seriesFormat = serier/{plex.tail}
Parameter: gmail = *****
Parameter: ut_dir = /storage/torrent/ABCD
Parameter: ut_kind = multi
Parameter: ut_title = ABCD
Parameter: ut_label =
Input: /storage/torrent/download/ABCD.mkv
Group: {Series=ABCD} => [ABCD.mkv]
Get [English] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: /storage/torrent/download/ABCD/ABCD.mkv (English)
Get [Danish] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: /storage/torrent/download/ABCD/ABCD.mkv (Danish)
Rename episodes using [TheMovieDB] with [Airdate Order]
Lookup via [ABCD] [ABCD]
Fetching episode data for [ABCD]
└─ 357 episodes
Activate License [LICENSE] on [Sat Apr 08 05:22:13 UTC 2023]
[SKIP] Skipped [/storage/torrent/download/ABCD/ABCD.mkv] because [/nas/serier/ABCD/Season xx/ABCD.mkv] already exists
Processed 0 files
Finished without processing any files
Failure (×_×)⌒☆
As there is no log output, let me know if more info is needed.
Sysinfo
Code: Select all
$USER@plex:~$ filebot -script fn:sysinfo
# Application Bundle
FileBot 5.0.1 (r9665) / Groovy 4.0.9 / OpenJDK Runtime Environment 11.0.18 / Linux 5.15.0-69-generic (amd64)
# Local Time
Sat Apr 08 05:25:58 UTC 2023
# Process Tree
└─ /usr/bin/bash
└─ /usr/bin/dash
└─ /usr/lib/jvm/java-11-openjdk-amd64/bin/java
# Environment Variables
DBUS_SESSION_BUS_ADDRESS = unix:path=/run/user/1000/bus
HOME = /home/$USER
LANG = en_US.UTF-8
LESSCLOSE = /usr/bin/lesspipe %s %s
LESSOPEN = | /usr/bin/lesspipe %s
LOGNAME = $USER
LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MOTD_SHOWN = pam
PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD = /home/$USER
SHELL = /bin/bash
SHLVL = 1
SSH_CLIENT = 192.168.1.252 58983 22
SSH_CONNECTION = 192.168.1.252 58983 192.168.2.13 22
SSH_TTY = /dev/pts/0
TERM = xterm-256color
USER = $USER
XDG_DATA_DIRS = /usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_RUNTIME_DIR = /run/user/1000
XDG_SESSION_CLASS = user
XDG_SESSION_ID = 11
XDG_SESSION_TYPE = tty
_ = /usr/bin/filebot
# Java System Properties
application.cache = /home/$USER/.filebot/cache
application.deployment = deb
application.dir = /home/$USER/.filebot
awt.toolkit = sun.awt.X11.XToolkit
awt.useSystemAAFontSettings = on
file.encoding = UTF-8
file.separator = /
grape.root = /home/$USER/.filebot/grape
http.agent = FileBot/5.0.1
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /usr/share/filebot/jar/filebot.jar
java.class.version = 55.0
java.home = /usr/lib/jvm/java-11-openjdk-amd64
java.io.tmpdir = /home/$USER/.filebot/tmp
java.library.path = /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies = false
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 11.0.18+10-post-Ubuntu-0ubuntu122.04
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 11
java.vendor = Ubuntu
java.vendor.url = https://ubuntu.com/
java.vendor.url.bug = https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
java.version = 11.0.18
java.version.date = 2023-01-17
java.vm.compressedOopsMode = 32-bit
java.vm.info = mixed mode, sharing
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 11
java.vm.vendor = Ubuntu
java.vm.version = 11.0.18+10-post-Ubuntu-0ubuntu122.04
jdk.debug = release
jdk.logger.packages = net.filebot.Log
jdk.module.path = /usr/share/openjfx/lib
jna.boot.library.name = jnidispatch.system
jna.boot.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.library.path = /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath = true
jna.nosys = false
jna.nounpack = true
line.separator = ↲
net.filebot.archive.extractor = ShellExecutables
net.filebot.gio.GVFS = /run/user/1000/gvfs
net.filebot.logging.debug = INFO
net.filebot.theme = Darcula
org.apache.commons.logging.Log = org.apache.commons.logging.impl.NoOpLog
os.arch = amd64
os.name = Linux
os.version = 5.15.0-69-generic
path.separator = :
prism.order = sw
sun.arch.data.model = 64
sun.boot.library.path = /usr/lib/jvm/java-11-openjdk-amd64/lib
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /usr/share/filebot/jar/filebot.jar -script fn:sysinfo
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout = 10000
sun.net.client.defaultReadTimeout = 60000
sun.os.patch.level = unknown
swing.crossplatformlaf = javax.swing.plaf.nimbus.NimbusLookAndFeel
unixfs = false
useCreationDate = false
useExtendedFileAttributes = true
useGVFS = true
user.country = US
user.dir = /home/$USER
user.home = /home/$USER
user.language = en
user.name = $USER
user.timezone = Etc/UTC
# Arguments
└─ -script
└─ fn:sysinfo
Low Disk Space (3.5 GB) on / (/dev/mapper/ubuntu--vg-ubuntu--lv)
Script Bundle: 2023-03-28 (r895)
FileBot 5.0.1 (r9665)
JNA Native: 6.1.1
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7z/16.02 unrar/6.11
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2023-03-28 (r895)
Groovy: 4.0.9
JRE: OpenJDK Runtime Environment 11.0.18
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 517 MB Max Memory / 44 MB Used Memory
OS: Linux (amd64)
HW: Linux plex 5.15.0-69-generic #76-Ubuntu SMP Fri Mar 17 17:19:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: Common KVM processor [MemTotal: 2.1 GB | MemFree: 930 MB | MemAvailable: 1.5 GB | SwapTotal: 1.9 GB | SwapFree: 1.9 GB]
STORAGE: ext4 [/] @ 3.5 GB | ext4 [/storage] @ 149 GB | cifs [/nas/serier] @ 920 GB | cifs [/nas/movies] @ 920 GB | cifs [/nas/movies2] @ 920 GB
UID/GID: uid=1000($USER) gid=1000($USER) groups=1000($USER),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd)
DATA: /home/$USER/.filebot
Package: DEB
License: FileBot License LICENSE_KEY (Valid-Until: 2024-04-14)
Done ヾ(@⌒ー⌒@)ノ