[HELP] "Output folder must exist and must be a directory" Error
Posted: 28 Jun 2019, 09:36
Hi,
So I'm getting this error for when filebot is processing my torrents. I've tried looking all around for help but I can't find anything that seems to of worked.
Log;
rtorrent-postprocess.sh
formatting file;
rtorrent.rc file
Filebot sysinfo;
The directory is owned by my user group 1000:1000 in which filebot is installed on and I can access the directory normally as well. I just can't work out what's going on.
Thanks
So I'm getting this error for when filebot is processing my torrents. I've tried looking all around for help but I can't find anything that seems to of worked.
Log;
Code: Select all
Run script [fn:amc] at [Fri Jun 28 09:30:14 CEST 2019]
Parameter: ut_label = tv
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = /home/<username>/.excludes
Parameter: ut_dir = /home/<username>/torrents/rtorrent/Star.Trek.Voyager.S01E04.iNTERNAL.MULTi.1080p.WEB.x264-N3TFL1X
Parameter: ut_kind = multi
Parameter: ut_title = Star.Trek.Voyager.S01E04.iNTERNAL.MULTi.1080p.WEB.x264-N3TFL1X
Parameter: movieFormat = Movies/{n} [{y}]/{n} [{y}]
Parameter: seriesFormat = Shows/{plex.tail}
Parameter: animeFormat = Anime/{plex.tail}
Parameter: musicFormat = Music/{n}/{album+'/'}{pi.pad(2)+'. '}{artist} - {t}
Illegal usage: output folder must exist and must be a directory: /home/<username>/Cloud
Abort (×_×)
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$1"
ARG_NAME="$2"
ARG_LABEL="$3"
# Configuration
CONFIG_OUTPUT="/home/<username>/Cloud"
filebot -script fn:amc --output "$CONFIG_OUTPUT" --action copy --conflict auto -non-strict --def "ut_label=music" --def "ut_label=tv" --def "ut_label=movie" -no-xattr --log-file amc.log --def unsorted=y music=y artwork=y excludeList="/home/<username>/.excludes" ut_dir="$ARG_PATH" ut_kind=multi ut_title="$ARG_NAME" ut_label="$ARG_LABEL" --def @/home/<username>/.filebot/formatting &
#filebot -script fn:amc --output "$CONFIG_OUTPUT" --action copy --conflict skip -non-strict -no-xattr --log-file amc.log --def unsorted=y music=y artwork=y excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL" &
Code: Select all
movieFormat=Movies/{n} [{y}]/{n} [{y}]
seriesFormat=Shows/{plex.tail}
animeFormat=Anime/{plex.tail}
musicFormat=Music/{n}/{album+'/'}{pi.pad(2)+'. '}{artist} - {t}
Code: Select all
# -- START HERE --
directory.default.set = /home/<username>/torrents/rtorrent
encoding.add = UTF-8
encryption = allow_incoming,try_outgoing,enable_retry
execute.nothrow = chmod,777,/home/<username>/.config/rpc.socket
execute.nothrow = chmod,777,/home/<username>/.sessions
network.port_random.set = yes
network.port_range.set = 36530-38030
network.scgi.open_local = /var/run/<username>/.rtorrent.sock
schedule2 = chmod_scgi_socket, 0, 0, "execute2=chmod,\"g+w,o=\",/var/run/<username>/.rtorrent.sock"
network.tos.set = throughput
pieces.hash.on_completion.set = no
protocol.pex.set = no
method.set_key=event.download.finished,filebot,"execute={/home/<username>/.filebot/rtorrent-postprocess.sh,$d.base_path=,$d.name=,$d.custom1=}"
schedule = watch_directory,5,5,load.start=/home/<username>/rwatch/*.torrent
session.path.set = /home/<username>/.sessions/
throttle.global_down.max_rate.set = 0
throttle.global_up.max_rate.set = 0
throttle.max_peers.normal.set = 100
throttle.max_peers.seed.set = -1
throttle.max_uploads.global.set = 100
throttle.min_peers.normal.set = 1
throttle.min_peers.seed.set = -1
trackers.use_udp.set = yes
execute = {sh,-c,/usr/bin/php /srv/rutorrent/php/initplugins.php <username> &}
# -- END HERE --
Code: Select all
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 1.8.0_212
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 12 Core / 13 GB Max Memory / 30 MB Used Memory
OS: Linux (amd64)
HW: Linux jayeesmediabox 4.15.0-52-generic #56~16.04.1-Ubuntu SMP Thu Jun 6 12:03:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
DATA: /home/<username>/.filebot/filebot-portable/data/<username>
Package: TAR
License: FileBot License P8219968 (Valid-Until: 2020-06-15)
Done ヾ(@⌒ー⌒@)ノ
Thanks