PlexPostProc icon indicating copy to clipboard operation
PlexPostProc copied to clipboard

Failed to Move Converted File

Open Hollywood42 opened this issue 2 years ago • 5 comments
trafficstars

I just switched to using the flatpak Handbrake so I could keep the subtitles and moved my Plex libraries to /Plex/TV Shows (or movies or music etc.). However, when I'm trying to use this script, I keep getting the error, "ERROR # 1 : Failed to move converted file: /tmp/tmp.lCUfgU3rAd.mkv" and plex says that it couldn't move the recorded media to the destination. The Handbrake log shows the file as completing its encoding, so it seems like it's an issue with the script moving the file back. Plex has ownership and I chmod 777 all the folders its working in, so it seems like it's not a permissions issue, not sure what could be the problem.

Hollywood42 avatar Dec 04 '22 04:12 Hollywood42

Having this same error with ffmpeg, @Hollywood42. I've been trying to get QSV transcoding working and have hit a wall here.

sidens avatar Aug 13 '23 22:08 sidens

I think it's something with the lock file, I remade the script and removed the lock file and it's been working well The only issue is it encodes multiple things at once instead of waiting until each job is compete which can be a bottleneck depending on your CPU.

Hollywood42 avatar Aug 26 '23 18:08 Hollywood42

Usually this is a permission problem, make sure user plex can write to the directory.

apassiou avatar Sep 22 '23 01:09 apassiou

This has been happening to me as well. I can confirm that directory that the file is writing to (hard coded as /tmp) is writeable by the plex user.

btv avatar Jan 30 '24 14:01 btv

This has been happening to me as well. I can confirm that directory that the file is writing to (hard coded as /tmp) is writeable by the plex user.

Can you describe the circumstances when this happens? Does it ever work? Does the script itself have permission to run by plex user?

apassiou avatar Jan 30 '24 18:01 apassiou