[Bug] Plex recordings being deleted and have wrong path

Server Version#: 1.15.3.835

Since last Thursday (the first time I noticed the issue), my recordings are being deleted after they are completed and have been added in the DVR library.

Information about my setup :
Recordings are done in plex.
A post-processing script adds the recording the the MCEBuddy manual queue and completed once the recording has been fully transcoded.
After that, Plex moves the file to the correct directory.

I investigated a little about the issue and I found that Plex has the wrong path for the file and I’m not sure how that happens : “F:\Videos\DVR\Polisse (2011)\Polisse (2011).edl\Polisse (2011).mp4”. Clearly, the mp4 file is not in the edl (chapters) file. However, if I check in the “F:\Videos\DVR\Polisse (2011)”, there is no .mp4, only the .edl file having a size of 1 KB). It’s as if the file has completely been deleted or has not been moved. The .grab directory is also empty.

Everything seems in order on the MCEBuddy side of things, the mp4 file being at the root of the grab directory according to the conversion history :

conversion history and I see this:

Original file : F:\Videos\DVR.grab\c48e1c154502f47371608defa3fe00acf5065511\Polisse (2011).ts
Converted on : 03/31/2019 06:55:13
Conversion Status : Converted
TIme taken : 02:25
Task Name : Reduce recording size
Profile Name : MP4 High Quality FixedResolution SkipCropping
Converted file : F:\Videos\DVR.grab\c48e1c154502f47371608defa3fe00acf5065511\Polisse (2011).mp4

Everything worked perfectly until Thursday’s recording.

Does anyone have any idea of what is going on? I am hoping it is just a bug with the latest Beta.

For now, I have removed permissions to Delete files for all users, except Administrators (Plex is not running as administrator), so I will see what happens with the final folder next recording. Maybe it will just block plex from removing the final file from the .grab directory, but i can move it manually if needed until a fix has been released.

I have also attached the Plex logs in case there is more information in there. I looked a little through them and I only saw the same thing that I saw in Plex : messages about not finding the mp4 file because it has the .edl file before it in the path.
Plex Media Server Logs_2019-03-31_10-28-05.zip (3.1 MB)

Guess I should have search harder, but this looks like the same issue I’m having. I glanced at your log file (see below) and it moves the .edl file fine, but then tries to move the .mp4 file into a directory with the name of the .edl file.

Mar 31, 2019 06:56:13.245 [19932] DEBUG - DVR:Grabber: Moving "F:\Videos\DVR\.grab\c48e1c154502f47371608defa3fe00acf5065511\Polisse (2011).edl" to "F:\Videos\DVR\Polisse (2011)\Polisse (2011).edl"
Mar 31, 2019 06:56:13.245 [19932] DEBUG - DVR:Grabber: Moving "F:\Videos\DVR\.grab\c48e1c154502f47371608defa3fe00acf5065511\Polisse (2011).mp4" to "F:\Videos\DVR\Polisse (2011)\Polisse (2011).edl\Polisse (2011).mp4"
Mar 31, 2019 06:56:13.246 [19932] ERROR - Couldn't rename file "F:\Videos\DVR\.grab\c48e1c154502f47371608defa3fe00acf5065511\Polisse (2011).mp4" to "F:\Videos\DVR\Polisse (2011)\Polisse (2011).edl\Polisse (2011).mp4": The parameter is incorrect

Same issue here… Windows 10 Version 1.15.3.876

My batch file creates an .ffmeta to then (potentially) merge as a chapter list for commercial skipping.

The .ffmeta is moved from the grab dir and nothing else makes it…

Apr 09, 2019 02:33:59.142 [7904] ERROR - Couldn't rename file "Y:\Videos\TV (DVR)\.grab\474105ed7ddbc6a493bde111793aa74602180776\Seinfeld (1989) - S02E02 - The Pony Remark.ts" to "Y:\Videos\TV (DVR)\Seinfeld (1989)\Season 02\Seinfeld (1989) - S02E02 - The Pony Remark.ffmeta\Seinfeld (1989) - S02E02 - The Pony Remark.ts": The parameter is incorrect

`

Same issue, on Mac OS.

Workaround is to have script remove everything but the .ts file so that will get moved properly.

Lost 3 days of recordings.

Version 1.15.3.876-ad6e39743

could I please have logs from the current beta or public release versions to investigate

Please capture logs after the recording completes and the file is not saved. And please provide a directory listing of the target location

See
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
https://support.plex.tv/articles/200250417-plex-media-server-log-files/

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

Release 1.18.3 has just got released to Beta as Plex Media Server version 1.18.3.2111

See Release Notice Plex Media Server

  • (DVR) Support moving multiple files during assimilation. (#9996)