Filebot Node exit code 3 (e.g. LOL 2012)

Support for Ubuntu and other Desktop Linux distributions
Post Reply
dyl4n20
Posts: 11
Joined: 10 Oct 2023, 23:16

Filebot Node exit code 3 (e.g. LOL 2012)

Post by dyl4n20 »

Hello I have been having an issue with filebot node failing to process any files and giving exit code 3 I’m not sure what happened.

Here is what I see in the logs (sensitive info redacted).

Code: Select all

/opt/filebot-node/start: 18: source: not found

ENVIRONMENT {

  FILEBOT_NODE_HOME: '/opt/filebot-node',

  SUDO_GID: '0',

  PUSER: 'filebot',

  PGROUP: 'filebot',

  FILEBOT_NODE_SHA256: 'xxxx',

  USER: 'filebot',

  FILEBOT_CMD_UID: '1000',

  HOSTNAME: 'Media-Manager-vm',

  HOME: '/data/filebot',

  OLDPWD: '/',

  FILEBOT_TASK_CMD: '/opt/filebot-node/task',

  FILEBOT_NODE_AUTH: 'BASIC',

  PGID: '1000',

  FILEBOT_NODE_HTTP_PORT: '5452',

  SUDO_UID: '0',

  LOGNAME: 'filebot',

  TERM: 'unknown',

  FILEBOT_NODE_VERSION: '0.4.6',

  FILEBOT_VERSION: '5.1.3',

  PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',

  FILEBOT_NODE_HOST: '0.0.0.0',

  FILEBOT_NODE_HTTP: 'YES',

  LANG: 'C.UTF-8',

  FILEBOT_NODE_URL: 'https://github.com/filebot/filebot-node/releases/download/0.4.6/filebot-node_0.4.6.tar.xz',

  FILEBOT_NODE_DATA: '/data/filebot/node',

  FILEBOT_NODE_AUTH_PASS: 'xxxx',

  PUID: '1000',

  SUDO_COMMAND: '/opt/bin/run /opt/filebot-node/start',

  SHELL: '/bin/bash',

  FILEBOT_CMD_GID: '1000',

  FILEBOT_NODE_OPTS: 'useExtendedFileAttributes=false',

  SUDO_USER: 'root',

  FILEBOT_NODE_AUTH_USER: 'xxxx',

  PWD: '/data/filebot',

  FILEBOT_CMD: 'filebot',

  FILEBOT_NODE_CLIENT: '/opt/filebot-node/client',

  FILEBOT_CMD_CWD: '/'

}

STATUS {

  pid: 40,

  node: 'v20.14.0',

  uptime: '0',

  date: 'Wed, 10 Jul 2024 20:55:33 GMT'

}

USER { UID: 1000, GID: 1000 }

filebot-node listening at http://0.0.0.0:5452/

Code: Select all

filebot -script 'dev:amc' /realdebrid --output /organized2 --action symlink -non-strict --order Airdate --conflict auto --lang en --def 'subtitles=eng' 'clean=y' 'skipExtract=y' 'minLengthMS=0' 'minFileSize=0' 'plex=http://192.168.1.21:32400:xxxx' 'discord=https://discord.com/api/webhooks/xxxxx' 'seriesFormat=/organized2/{   (type == '\''Episode'\'' && anime) ? '\''Anime TV'\'':   (type == '\''Movie'\'' && anime) ? '\''Anime Movies'\'':   (type == '\''Episode'\'' && (genre.contains('\''Animation'\'') || genre.contains('\''Kids'\''))) ? '\''Kids TV'\'':   (type == '\''Movie'\'' && (genre.contains('\''Animation'\'') || genre.contains('\''Kids'\''))) ? '\''Kids Movies'\'':   '\''TV Shows'\'' }/{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }' 'animeFormat=/organized2/{    (type == '\''Episode'\'' && anime) ? '\''Anime TV'\'':   (type == '\''Movie'\'' && anime) ? '\''Anime Movies'\'':   '\''Unsorted/Anime'\'' }/{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }' 'movieFormat=/organized2/{   (type == '\''Episode'\'' && anime) ? '\''Anime TV'\'':   (type == '\''Movie'\'' && anime) ? '\''Anime Movies'\'':   (type == '\''Episode'\'' && (genre.contains('\''Animation'\'') || genre.contains('\''Kids'\''))) ? '\''Kids TV'\'':   (type == '\''Movie'\'' && (genre.contains('\''Animation'\'') || genre.contains('\''Kids'\''))) ? '\''Kids Movies'\'':   genre.contains('\''Documentary'\'') ? '\''Documentaries'\'':   n.contains('\''UFC'\'') ? '\''UFC Events'\'':   '\''Movies'\'' }/{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }' 'movieDB=TheMovieDB' 'seriesDB=TheTVDB' 'animeDB=TheMovieDB::TV' 'unsortedFormat=Unsorted/{relativeFile}' 'excludeList=excludes.txt' --apply refresh -no-probe -no-index --log all --log-file '/data/filebot/node/filebot.log'

------------------------------------------

Run script [dev:amc] at [Wed Jul 10 20:47:22 GMT 2024]

[PSA] Important Discussion of Changes effective as of 28 Apr 2023:
https://www.filebot.net/forums/viewtopic.php?t=13406

Parameter: subtitles = eng
Parameter: clean = y
Parameter: skipExtract = y
Parameter: minLengthMS = 0
Parameter: minFileSize = 0
Parameter: plex = *****
Parameter: discord = *****
Parameter: seriesFormat = /organized2/{   (type == 'Episode' && anime) ? 'Anime TV':   (type == 'Movie' && anime) ? 'Anime Movies':   (type == 'Episode' && (genre.contains('Animation') || genre.contains('Kids'))) ? 'Kids TV':   (type == 'Movie' && (genre.contains('Animation') || genre.contains('Kids'))) ? 'Kids Movies':   'TV Shows' }/{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }
Parameter: animeFormat = /organized2/{    (type == 'Episode' && anime) ? 'Anime TV':   (type == 'Movie' && anime) ? 'Anime Movies':   'Unsorted/Anime' }/{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }
Parameter: movieFormat = /organized2/{   (type == 'Episode' && anime) ? 'Anime TV':   (type == 'Movie' && anime) ? 'Anime Movies':   (type == 'Episode' && (genre.contains('Animation') || genre.contains('Kids'))) ? 'Kids TV':   (type == 'Movie' && (genre.contains('Animation') || genre.contains('Kids'))) ? 'Kids Movies':   genre.contains('Documentary') ? 'Documentaries':   n.contains('UFC') ? 'UFC Events':   'Movies' }/{ ~plex.id % { " {edition-$edition}" } % { " [$vf, $vc, $ac]" } }
Parameter: movieDB = TheMovieDB
Parameter: seriesDB = TheTVDB
Parameter: animeDB = TheMovieDB::TV
Parameter: unsortedFormat = Unsorted/{relativeFile}
Parameter: excludeList = excludes.txt
Argument[0]: /realdebrid
Use excludes: /organized2/excludes.txt (7835)
Ignore extra: /realdebrid/movies/[ www.TorrentDay.com ] - Friday.After.Next.2002.1080p.WEB-DL.AC3.x264-FraMeSToR/Friday.After.Next.2002.1080p.WEB-DL.AC3.x264-FraMeSToR.sample.mkv
Ignore extra: /realdebrid/movies/Avatar The Way of Water 2022 BluRay 1080p ReMux AVC DTS-HD MA TrueHD Atmos 7.1-MgB/Avatar The Way of Water 2022 BluRay 1080p ReMux AVC DTS-HD MA TrueHD Atmos 7.1-MgB (Sample).mkv
Ignore extra: /realdebrid/movies/Casino Royale (2006) + Extras (1080p BluRay x265 HEVC 10bit DTS 5.1 SAMPA)/Chris Cornell - You Know My Name (Music Video).mkv
Ignore extra: /realdebrid/movies/Casino Royale (2006) + Extras (1080p BluRay x265 HEVC 10bit DTS 5.1 SAMPA)/Deleted Scenes.mkv
Ignore extra: /realdebrid/movies/Dumb.and.Dumber.1994.RERIP.Unrated.Bluray.1080p.DTS-HD.x264-Grym/Extras-Grym.mkv
Ignore extra: /realdebrid/movies/Fast Five 2011 Extended BluRay 1080p DTS AC3 x264-MgB/Fast Five 2011 Extended BluRay 1080p DTS AC3 x264-MgB (Sample).mkv
Ignore extra: /realdebrid/movies/Jumper.2008.Bluray.1080p.DTS-HD.x264-GrymEmpire/Deleted.Scenes-GrymEmpire.mkv
Ignore extra: /realdebrid/movies/Ratatouille.2007.Bluray.1080p.DTS-HD.x264-Grym/Deleted.Scenes-Grym.mkv
Ignore extra: /realdebrid/movies/Ratatouille.2007.Bluray.1080p.DTS-HD.x264-Grym/Ratatouille.Featurettes.(Play.All)-Grym.mkv
Ignore extra: /realdebrid/movies/Sleeping Beauty 1959 Diamond Edition BluRay 1080p DTS-HD MA 7.1 x264 dxva-FraMeSToR (Silver Torrent)/Sample.mkv
Ignore extra: /realdebrid/movies/The Help (2011) + Extras (1080p BluRay x265 HEVC 10bit AAC 5.1 afm72)/Deleted Scenes.mkv
Ignore extra: /realdebrid/movies/Tron.1982.Bluray.1080p.DTS-HD.x264-Grym/Tron.Extras11.Deleted.Scenes.Alternate.Opening.Prologue2-Grym.mkv
Ignore extra: /realdebrid/movies/TRON Legacy (2010) + Extras (1080p WEB-DL x265 HEVC 10bit EAC3 7.1 SAMPA)/Derezzed Music Video by Daft Punk.mkv
Ignore extra: /realdebrid/movies/Vacation.2015.Bluray.1080p.DTS-HD.x264-Grym/Deleted.Scenes-Grym.mkv
Ignore extra: /realdebrid/shows/[JySzE] Naruto Shippuden [Dual Audio] [Complete] [Extras] [x264] [v2]
Ignore extra: /realdebrid/shows/Attack on Titan S04 Bluray 1080p TRUEHD 5.1 Hybrid-REMUX Dual Audio/NCED #01.mkv
Ignore extra: /realdebrid/shows/Attack on Titan S04 Bluray 1080p TRUEHD 5.1 Hybrid-REMUX Dual Audio/NCED #02 For P2.mkv
Ignore extra: /realdebrid/shows/Attack on Titan S04 Bluray 1080p TRUEHD 5.1 Hybrid-REMUX Dual Audio/NCOP #01.mkv
Ignore extra: /realdebrid/shows/Attack on Titan S04 Bluray 1080p TRUEHD 5.1 Hybrid-REMUX Dual Audio/NCOP #02 For P2.mkv
Ignore extra: /realdebrid/shows/Breaking Bad (2008) Season 1-5 S01-S05 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/Behind the Scenes of the Alternate Ending.mkv
Ignore extra: /realdebrid/shows/Breaking Bad (2008) Season 1-5 S01-S05 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/Chicks 'N' Guns Behind-the-Scenes.mkv
Ignore extra: /realdebrid/shows/Brooklyn Nine-Nine (2013) Season 1-8 S01-S08 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence) REPACK/S06E11 Deleted Scenes.mkv
Ignore extra: /realdebrid/shows/Friends (1994) Season 1-10 S01-S10 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/Joey Joey - Music Video_new.mkv
Ignore extra: /realdebrid/shows/Friends (1994) Season 1-10 S01-S10 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/Music Video - I'll Be There for You by The Rembrandts_new.mkv
Ignore extra: /realdebrid/shows/Friends (1994) Season 1-10 S01-S10 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/Phoebe Battles the Pink Robots - Music video by The Flaming Lips_new.mkv
Ignore extra: /realdebrid/shows/Friends (1994) Season 1-10 S01-S10 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/Smelly Cat Music Video_new.mkv
Ignore extra: /realdebrid/shows/Friends (1994) Season 1-10 S01-S10 (1080p BluRay x265 HEVC 10bit AAC 5.1 Silence)/The One That Goes Behind the Scenes_new.mkv
Input: /realdebrid/movies/LOL.2012.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PiRaTeS.mkv/LOL.2012.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PiRaTeS.mkv
Input: /realdebrid/movies/LOL.2012.1080p.BluRay.x264-REFiNED/refined-lol-1080p-rpk.mkv
Group files by movie or series
Group: {Movie=null} => [LOL.2012.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PiRaTeS.mkv, refined-lol-1080p-rpk.mkv]
Finished without processing any files
Failure (×_×)⌒☆

------------------------------------------

[Process error]

🔺 Exit Code: 3
User avatar
rednoah
The Source
Posts: 23202
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Node exit code 3

Post by rednoah »

:?: Can you reproduce the issue with any other movie name?


:idea: In this case, the amc script cannot reliably tell if the file at hand is a movie or an episode, and will thus do nothing:

Code: Select all

Group files by movie or series
Group: {Movie=null} => [LOL.2012.1080p.AMZN.WEB-DL.DDP.5.1.H.264-PiRaTeS.mkv, refined-lol-1080p-rpk.mkv]
Finished without processing any files

:arrow: It might work if you add --def "ut_label=Movie" to force movie mode. If you know in advance that your input files are all movies, then forcing movie mode will making things work much better. Please read Advanced Fine-Tuning for details.


:arrow: You may need to semi-manually process this particular file, either via the Desktop application or via the filebot command-line tool. Please read FAQ #2 and Manual Matching for details.
:idea: Please read the FAQ and How to Request Help.
Post Reply