Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Move Converted File #30

Open
Hollywood42 opened this issue Dec 4, 2022 · 5 comments
Open

Failed to Move Converted File #30

Hollywood42 opened this issue Dec 4, 2022 · 5 comments

Comments

@Hollywood42
Copy link

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.

@sidens
Copy link

sidens commented Aug 13, 2023

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

@Hollywood42
Copy link
Author

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.

@apassiou
Copy link
Contributor

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

@btv
Copy link

btv commented Jan 30, 2024

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.

@apassiou
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants