Good morning.
Thank you for
your fast support.
I really don't know why... but I've turned off the entire proxmox system over night, turned it back on, was just about to provide you the output you were asking for, and it's working from the console window of proxmox...
However, if I run it from the nzbget script, the error comes up again
Here the two results.
Run from console:
Code: Select all
Low Disk Space (5.0 GB) on / (/dev/mapper/pve-vm--101--disk--0)
Run script [fn:amc] at [Sat Feb 17 08:21:40 UTC 2024]
[PSA] Important Discussion of Changes effective as of 28 Apr 2023:
https://www.filebot.net/forums/viewtopic.php?t=13406
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: seriesFormat = Series/{n}/{'Season '+s}/{n} - {s00e00} - {t}
Parameter: movieFormat = Movies/{ny}/{ny}{' CD'+pi}{subt}
Parameter: exec = chmod -R 777 /mnt/media && setfacl -m g:users:rwx {file}
Argument[0]: /mnt/download/completed
Ignore extra: /mnt/download/completed/TV-Series/SERIESNAME/Sample
Input: /mnt/download/completed/TV-Series/SERIESNAME/FILENAME.mkv
Group files by movie or series
Group: {Series=SERIESNAME (2007)} => [FILENAME.mkv]
Rename episodes using [TheMovieDB] with [Airdate Order]
Lookup via [SERIESNAME] []
Fetching episode data for [SERIESNAME]
* SERIESNAME [1418] | 279 episodes | 1x01-17 .. 2x01-23 .. 3x01-23 .. 4x01-24 .. 5x01-24 .. 6x01-24 .. 7x01-24 .. 8x01-24 .. 9x01-24 .. 10x01-24 .. 11x01-24 .. 12x01-24
[MOVE] from [/mnt/download/completed/TV-Series/SERIESNAME/FILENAME.mkv] to [/mnt/media/Series/SERIESNAME/SEASON/SERIESNAME - SEASONEPISODE - TITLE.mkv]
Processed 1 file
Execute: chmod -R 777 /mnt/media && setfacl -m g:users:rwx /mnt/media/Series/SERIESNAME/SEASON/SERIESNAME - SEASONEPISODE - TITLE.mkv
Clean clutter files and empty folders
Delete /mnt/download/completed/TV-Series/SERIESNAME/Sample/FILENAME-sample.mkv
Delete /mnt/download/completed/TV-Series/SERIESNAME/FILENAME.nfo
Delete /mnt/download/completed/TV-Series/SERIESNAME/Sample
Delete /mnt/download/completed/TV-Series/SERIESNAME
Delete /mnt/download/completed/TV-Series
Keep /mnt/download/completed (root folder)
Done ヾ(@⌒ー⌒@)ノ
and here when run from the nzbget script:
Code: Select all
Low Disk Space (5.0 GB) on / (/dev/mapper/pve-vm--101--disk--0)
Bad system encoding: ANSI_X3.4-1968
* Please configure your locale with LANG=C.UTF-8 or LANG=en_US.UTF-8
Run script [fn:amc] at [Sat Feb 17 08:23:24 UTC 2024]
[PSA] Important Discussion of Changes effective as of 28 Apr 2023:
https://www.filebot.net/forums/viewtopic.php?t=13406
Parameter: unsorted = y
Parameter: clean = y
Parameter: skipExtract = y
Parameter: seriesFormat = Series/{n}/{'Season '+s}/{n} - {s00e00} - {t}
Parameter: movieFormat = Movies/{ny}/{ny}{' CD'+pi}{subt}
Parameter: exec = chmod -R 777 /mnt/media && setfacl -m g:users:rwx {file}
Argument[0]: /mnt/download/completed
Ignore extra: /mnt/download/completed/TV-Series/SERIESNAME/Sample
Input: /mnt/download/completed/TV-Series/SERIESNAME/FILENAME.mkv
Group files by movie or series
Group: {Series=SERIESNAME (2007)} => [FILENAME.mkv]
Rename episodes using [TheMovieDB] with [Airdate Order]
Lookup via [SERIESNAME] []
Fetching episode data for [SERIESNAME]
* SERIESNAME [1418] | 279 episodes | 1x01-17 .. 2x01-23 .. 3x01-23 .. 4x01-24 .. 5x01-24 .. 6x01-24 .. 7x01-24 .. 8x01-24 .. 9x01-24 .. 10x01-24 .. 11x01-24 .. 12x01-24
Processed 0 files
No Such File: Malformed input or input contains unmappable characters: /mnt/media/Series/SERIESNAME/SEASON/SERIESNAME - SEASONEPISODE - TITLE.mkv
Processing 1 unsorted files
[MOVE] from [/mnt/download/completed/TV-Series/SERIESNAME/FILENAME.mkv] to [/mnt/media/Unsorted/SERIESNAME/FILENAME.mkv]
Processed 1 file
Execute: chmod -R 777 /mnt/media && setfacl -m g:users:rwx /mnt/media/Unsorted/SERIESNAME/FILENAME.mkv
Clean clutter files and empty folders
Delete /mnt/download/completed/TV-Series/SERIESNAME/Sample/FILENAME-sample.mkv
Delete /mnt/download/completed/TV-Series/SERIESNAME/FILENAME.nfo
Delete /mnt/download/completed/TV-Series/SERIESNAME/Sample
Delete /mnt/download/completed/TV-Series/SERIESNAME
Delete /mnt/download/completed/TV-Series
Keep /mnt/download/completed (root folder)
Done ヾ(@⌒ー⌒@)ノ
The nzbget script looks as follows:
Code: Select all
#!/bin/sh
#######################################
### NZBGET POST-PROCESSING SCRIPT ###
# Trigger Filebot
#
# This is a script to trigger Filebot. It starts sorting,
# renaming and cleaning up the downloaded file.
### NZBGET POST-PROCESSING SCRIPT ###
#######################################
filebot -script fn:amc /mnt/download/completed --output /mnt/media --action move -non-strict --order Airdate --conflict auto --lang de --def unsorted=y clean=y skipExtract=y "seriesFormat=Series/{n}/{'Season '+s}/{n} - {s00e00} - {t}" "movieFormat=Movies/{ny}/{ny}{' CD'+pi}{subt}" "exec=chmod -R 777 /mnt/media && setfacl -m g:users:rwx {file}" --log all --log-file /mnt/download/filebot.log
# NZBGet Exit Codes
if [ $? = 0 ]; then
exit 93 # SUCCESS
else
exit 94 # FAILURE
fi
PS: the filebot command is obviously exactly the same. In fact I copy paste from the script into the console.
-edit-
I think I've found a workaround.
I've just added
export LANG="en_US.UTF-
8"
export LC_ALL="en_US.UTF-
8"
to my nzbget script before the filebot trigger. This seems to do the trick

Also double checked that the script is UTF-
8 encoded, but this didn't change anything (until I've added
your two commands to the script itself).