Invalid usage: output folder must exist and must be a writable directory

Any questions? Need some help?
Post Reply
vtmikel
Posts: 6
Joined: 05 May 2014, 16:11

Invalid usage: output folder must exist and must be a writable directory

Post by vtmikel »

Hello-

I was looking at my logs and noticed this error message. Despite it, everything seems to be working fine. Any suggestions on what I need to change?

Code: Select all



Run script [fn:amc] at [Wed Jun 01 09:20:03 EDT 2022]
Parameter: excludeList = /var/log/FileBot-excludeList.txt
Parameter: seriesFormat = /mnt/nas/tv_shows/{n}/{'Season '+s}/{n}.{s00e00}-{t}
Parameter: movieFormat = /mnt/nas/movies/{n} ({y})/{fn}
Parameter: clean = y
Parameter: ignore = incomplete
Parameter: deleteAfterExtract = y
Parameter: plex = *****
Parameter: pushover = *****
Parameter: exec = python3 /home/ZZZ/media-manager/filebot_post_process.py "{n}" "{fn}" "{folder}" "{type}" "{s00e00}" "{id}">> /home/ZZZ/filebot_post_process.log
Argument[0]: /var/torrent/completed
Invalid usage: output folder must exist and must be a writable directory: /mnt/nas
Use excludes: /var/log/FileBot-excludeList.txt (0)
Ignore hidden: /var/torrent/completed/._.DS_Store
Ignore hidden: /var/torrent/completed/.DS_Store
Input: /var/torrent/completed/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv
Group: {Movie=Joker (2019)} => [Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [/var/torrent/completed/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv]
[MOVE] from [/var/torrent/completed/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT.mkv] to [/mnt/nas/movies/Joker (20>
Processed 1 file
Execute: python3 /home/ZZZ/media-manager/filebot_post_process.py "Joker" "Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT" "/mnt/nas/movies/Joker (2019)" "Movie" "" "475557">> /home/m>
Notify Plex [10.66.0.8]
GET: http://10.66.0.8:32400/library/sections/1/refresh?path=%2Fmnt%2Fnas%2Fmovies%2FJoker+%282019%29&X-Plex-Token=Lzju45vRgKuqgyFLh7Qq
Sending Pushover notification
Clean clutter files and empty folders
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/00-Israel_Kamakawiwoole-Somewhere_Over_The_Rainbow_-_The_Best_Of_Israel_Kamakawiwoole-2011.nfo (p>
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/01-Israel_Kamakawiwoole-Over_The_Rainbow.mp3 (not clutter)
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/02-Israel_Kamakawiwoole-HawaiI_78.mp3.part (not clutter)
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/08-Israel_Kamakawiwoole-Ka_Pua_UI.mp3.part (not clutter)
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/09-Israel_Kamakawiwoole-Hiilawe.mp3.part (not clutter)
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/10-Israel_Kamakawiwoole-La_Elima.mp3.part (not clutter)
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew/Front.jpg.part (not clutter)
Delete /var/torrent/completed/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT/RARBG.txt
Delete /var/torrent/completed/Joker.2019.2160p.BluRay.REMUX.HEVC.DTS-HD.MA.TrueHD.7.1.Atmos-FGT
Keep /var/torrent/completed/Israel_Kamakawiwoole_-_Somewhere_Over_The_Rainbow-_The_Best_Of_-2011-DMXCrew (not empty)
Keep /var/torrent/completed (root folder)
Done ヾ(@⌒ー⌒@)ノ

User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Invalid usage: output folder must exist and must be a writable directory

Post by rednoah »

It's probably fine. Just a sanity check. If --output is not writable, then some things might not work out-of-the-box, since --output is used as base directory everywhere. So things may fail for one reason or another if the amc script can't create files there. But it might just work in your case where you have already prepared the series / movies folders in --output and directed all the other options to writable locations elsewhere.


:arrow: So you just need to fix things one by one as needed. You have already done so, e.g. doing --def excludeList=/var/log/FileBot-excludeList.txt instead of --def excludeList=amc.txt to workaround filebot not being able to create /mnt/nas/amc.txt and so on. The --def musicFormat and --def unsortedFormat parameters come to mind as well, but those probably won't ever be used in your specific use case.
:idea: Please read the FAQ and How to Request Help.
Post Reply