I’m running the official PMS docker container, as well as a ffmpeg docker container on my unRAID server. I’m setup the post processing for the DVR to run a script which utilizes the ffmpeg docker image.
When it runs I’m seeing “An error occurred while post processing the recording”. The logs are showing this:
Mar 01, 2018 10:30:51.437 [0x14ca777ff700] DEBUG - Job running: ‘/scripts/PlexPostProc.sh’ ‘/dvrrecordings/.grab/2d9912eddf6a9e9ce3ca494b104694dd0bf19eb4/Mister Rogers’’’ Neighborhood (1968) - S13E05 - Episode 5.ts’
Mar 01, 2018 10:30:51.438 [0x14ca777ff700] VERBOSE - Jobs: Starting child process with pid 392
Mar 01, 2018 10:30:51.443 [0x14ca76ffb700] VERBOSE - JobManager: child process with PID 392 exited
Mar 01, 2018 10:30:51.443 [0x14ca76ffb700] ERROR - JobManager: child process returned: 127 (Key has expired)
Mar 01, 2018 10:30:51.443 [0x14ca777ff700] DEBUG - Jobs: ‘/scripts/PlexPostProc.sh’ exit code for process 392 is 127
Mar 01, 2018 10:30:51.443 [0x14ca777ff700] ERROR - DVR:Recorder: Postprocessing script ‘/scripts/PlexPostProc.sh’ exited with error code 127.
I’ve tried looking this error code up, but I can’t find any useful information. Any idea what is happening here?
Here’s the full post processing script. https://pastebin.com/raw/0nyHH5Ha
Any ideas?