Commercial skipping not working - An error occurred while postprocessing

I recently moved my plex server to some new hardware. The plex server is running on ubuntu as a VM. I use MergerFS and an NFS share on separate ubuntu server for media storage.

After moving to the new server, all of my recordings now show as failed with the message “An error occurred while postprocessing”

The recordings do get saved and added to the appropriate library but they still contain all of the commercials. This was working well before moving things around.

It seems to be able to create the edl file but when it tries to cut the commercials from the original recording, it fails with “permission denied”.

The plex user is the owner of all media files.

Here is what the logs show:

Nov 24, 2018 11:05:23.839 [0x7f022cfff700] VERBOSE - JobManager: child process with PID 11535 exited

Nov 24, 2018 11:05:23.839 [0x7f022cfff700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Commercial Skipper' exit code for process 11535 is 0 (success)

Nov 24, 2018 11:05:23.840 [0x7f01a4fff700] DEBUG - DVR:Recorder: EDL built after 280.7 seconds.

Nov 24, 2018 11:05:23.847 [0x7f01a4fff700] DEBUG - Job running: EAE_ROOT='/tmp/pms-513eaf40-e6df-44d9-b421-b7ab65134a90/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/531e313-1328-linux-ubuntu-x86_64/' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-y' '-safe' '0' '-skip_before_video_key' '1' '-skip_before_inpoint' '1' '-offset_inout' '1' '-i' '/mnt/c3po/TVShows/TVShows5/.grab/f0372f42a4415c2d4b8aa83665b516a6b3ea5667/segment-list.txt' '-map' '0' '-c' 'copy' '-loglevel' 'quiet' '-loglevel_plex' 'error' '/mnt/c3po/TVShows/TVShows5/.grab/f0372f42a4415c2d4b8aa83665b516a6b3ea5667/Ridiculousness (2011) - S05E02 - Eddie Huang-comskipped.ts'


Nov 24, 2018 11:05:23.862 [0x7f01a4fff700] DEBUG - Jobs: Starting child process with pid 11655

Nov 24, 2018 11:05:23.889 [0x7f01eb7fd700] ERROR - [Transcoder] /mnt/c3po/TVShows/TVShows5/.grab/f0372f42a4415c2d4b8aa83665b516a6b3ea5667/segment-list.txt: Permission denied

Nov 24, 2018 11:05:23.890 [0x7f022cfff700] VERBOSE - JobManager: child process with PID 11655 exited

Nov 24, 2018 11:05:23.890 [0x7f022cfff700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 11655 is 1 (failure)

What is the transcoder trying to do here? ERROR - [Transcoder] /mnt/…/segment-list.txt: Permission denied

Any assistance would be appreciated.

Hi there. Sorry you’re having troubles.
Just to say, “you’re not crazy,” I have had permissions issues as well, just attaching an external volume with DVR content created on a MacOS PMS to an Ubuntu OS, PMS-combo, booted from a different drive on the same MacPro hardware. I wanted to see if the Ubuntu OS/ PMS combo on MacPro hardware would be any faster than MacOS 10.10.5 and PMS—it’s not by a long shot—the MacPro is a 1,1 box is patched-to-hell getting beyond 10.7!
Best of luck finding a solution… I will be lurking to see what you learn.
Cheers!

News flash!
This might be helpful:
‘Forum Tips’ on Linux drives migrating to other OS

Thanks for the link. I think I’ve already seen that but I’ll take another look at it. I’ve been looking for a solution for over a week now.

The odd thing is that the permissions all seem to be fine except for the commercial skipping part. I can record shows but the commercial skipping is failing at some point and I just don’t know where I’m missing permissions.

Still no luck…

I reviewed the Linux setup guidelines and upgraded to version 1.14.0.5470 this morning.

  • The plex user has the same UID on the plex server and the server hosting the NFS share
  • all directories and media files are owned by plex:plex on the NFS server

The Transcoder still gets a Permission denied error on segment-list.txt for every show I record when commercial skipping is turned on. The show does get recorded and added to the appropriate library but it still has commercials.

If I disable commercial skipping, I get no errors when recording.

Where is the transcoder trying to read from or write to at this step?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.