Funny I had to search to find this. What I see is you can’t delete the file until you play something else. The reason you are able to in your video is you crashed the player. Very annoying behavior for sure. You know it is going to happen when you see the “Talking to server” message pop-up. Pretty sure this was present maybe a year ago, then went away, not it’s back.
Pretty sure it will come back. How do you store your video? Mine are on a two disk raid 1 array. If I copy the data off, format, then copy data back the problem goes away for awhile.
I have tried to reproduce it on Windows 10 and Server 2016, with Plex media stored on a single partition, RAIDed partition, Windows storage, as well as SAS storage array. I am unable to reproduce the issue under any scenario. Media deletion works just fine.
@DartVeiga what i found so far is that the Plex for Android app has Direct Play download request connections in progress when you were attempting the deletes.
Only when the following happens and the requests are closed would the delete succeed
Example
Dec 26, 2018 23:28:15.397 [19784] DEBUG - Failed to stream media, client probably disconnected after 90554368 bytes: 10054 - An existing connection was forcibly closed by the remote host
Dec 26, 2018 23:28:15.397 [19784] DEBUG - Completed: [192.168.1.30:41944] 200 GET /library/parts/54455/1544638339/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=74944 (26 live) TLS 29169ms 90554368 bytes (range: bytes=5573-)
So probably will need to get plex app logs to go with your excellent diagnostics and the steps that are resulting for the playback Direct Play requests not to terminate tidily by the mobile app before you are attempting the delete the movie
You see, I had to reinstall my server for other reasons, and then I reinstalled my Plex Server.
After that, the problem stoped, even though I did NOT make any changes in my client apps. I’m still using my Galaxy S9+ and my NVidia Shields. In booth of them I can now delete media files without a problem.
If the bug returns and I can reproduce it, I’ll come back to this.
Thank you for your support and hope we can help others with this.
Thank you for the feedback - maybe the server behaviour changed and it now closes the stream on getting the stopped state rather than wait for the client app