wstewart 9 Posted June 16, 2022 Share Posted June 16, 2022 my post processing script no longer runs in 4.7.2. it ran fine in 4.6.3 and my settings and script are unchanged. all i get in the log is Info LiveTV: Recording post-processing script completed with exit code 132 The script itself is ok for permissions (777). I doubt the script is even running. script runs on ssh command line when run same as it appears in the log Info LiveTV: Running recording post processor /share/CACHEDEV1_DATA/Public/post.sh "/share/DVR/Hitler's Secret Tunnels (2019)/Hitler's Secret Tunnels 2019-01-03.ts" It is it possible that something changed in 4.7.2 that emby can no longer run /bin/sh? permissions maybe? Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 16, 2022 Share Posted June 16, 2022 Hi, is this all connected to your other posting about ffmpeg? Maybe the script is just failing? Link to comment Share on other sites More sharing options...
wstewart 9 Posted June 16, 2022 Author Share Posted June 16, 2022 (edited) yes connected, but two separate problems, no the script is not the problem for this issue. yes I am having problems with ffmpeg, but the first thing the script runs is comskip. so it should at least run that and I know emby doesn't since no EDL file is generated so I know the script is not really running. In its is present state the script should do comskip, generate EDL file, attempt ffmpeg (and not perform conversion), then move the file to the archive directory. it does none of that. If I copy the command from the log, for example /share/CACHEDEV1_DATA/Public/post.sh "/share/DVR/Hitler's Secret Tunnels (2019)/Hitler's Secret Tunnels 2019-01-03.ts" run from SSH, it does exactly as I expect it too (generate EDL, not run ffmpeg successfully then move file to archive directory) Is is possible that some recent change in emby 4.7.2 (or maybe QNAP although I have not made any updates), it doesn't have permission to run sh which the script needs to run? my script has full path to compskip and everything else. when i enable debug in the log, i see nothing else beyond what I posted above. Edited June 16, 2022 by wstewart Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 16, 2022 Share Posted June 16, 2022 If you make the post.sh file empty, does it successfully run then? Link to comment Share on other sites More sharing options...
wstewart 9 Posted June 22, 2022 Author Share Posted June 22, 2022 no still does not run. here is the script I have now just for test, the posttest.lock file is not being created and log shows error 139. any ideas? this was happening after I upgraded to 4.7.2, i updated to 4.7.3 and that did not help. (log below is for 4.7.3). Is it possible that emby can longer run sh? script posted below was tested from command line and works. Quote #!/bin/sh lockfile="/tmp/posttest.lock" touch "$lockfile" Quote 2022-06-21 19:00:00.925 Info LiveTV: Running recording post processor /share/CACHEDEV1_DATA/Public/post.sh "/share/DVR/The A-Team (1983)/Season 2/The A-Team S02E12 The White Ballot.ts" 2022-06-21 19:00:00.933 Info LiveTV: Triggering refresh on /share/DVR/The A-Team (1983)/Season 2/The A-Team S02E12 The White Ballot.ts 2022-06-21 19:00:00.934 Info LiveTV: Refreshing recording parent /share/DVR/The A-Team (1983)/Season 2 2022-06-21 19:00:00.962 Info LiveTV: Recording post-processing script completed with exit code 139 Link to comment Share on other sites More sharing options...
Luke 37118 Posted June 26, 2022 Share Posted June 26, 2022 Can you please attach the complete emby server log? Thanks. Link to comment Share on other sites More sharing options...
wstewart 9 Posted June 28, 2022 Author Share Posted June 28, 2022 (edited) sure will do, I assume you want the log with debug enabled, so I'll do that then post the log after the next scheduled recording. oh I see 4.7.5 is now available, so I'll upgrade first in case by chance that resolves the problem. Edited June 28, 2022 by wstewart 1 Link to comment Share on other sites More sharing options...
wstewart 9 Posted June 29, 2022 Author Share Posted June 29, 2022 here is the log file. search for post.sh to see where the script is run. there are two recordings and two calls to the post script. post script is a test script as posted above. embyserver-7.txt Link to comment Share on other sites More sharing options...
wstewart 9 Posted July 8, 2022 Author Share Posted July 8, 2022 While I wait for Luc to have a chance to look at the log, I was wondering if anyone else has problems with post processing script running on QNAP,. In other words, if it is a problem with my installation or problem with Emby. if you are also having problems, could you post here please? Link to comment Share on other sites More sharing options...
Luke 37118 Posted August 3, 2022 Share Posted August 3, 2022 Hi are you still having an issue with this? Have you updated to Emby Server 4.7.6? Link to comment Share on other sites More sharing options...
wstewart 9 Posted August 12, 2022 Author Share Posted August 12, 2022 Think I'm on 4.7.5. I'll try 4.7.6 in a few days. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now