# \[bug\] Cannot Delete Uploaded Subtitles

**URL:** https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447
**Category:** Plex Media Server
**Tags:** server-windows
**Created:** [January 7, 2024, 1:34pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447 "2024-01-07T13:34:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![TVBanks98](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tvbanks98/32/348809_2.png) [@TVBanks98](https://forums.plex.tv/u/TVBanks98)
#### Post date: [January 7, 2024, 1:34pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/1 "2024-01-07T13:34:13Z")

</div>

Server Version#: 1.32.8.7639  
Player Version#: Plex Web

I recently added some external SRT subtitles to a movie and realized there was a typo in one of them and the time needed to be shifted a bit. I made the changes and re-uploaded the new SRT file through Plex Web, but cannot remove the old SRT file. The [DELETE] button appears to work (no visible error thrown), but the old subtitle entry remains. I tried cleaning bundles hoping that would help but it’s still there. How can I get rid of this old subtitle entry ?

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [January 10, 2024, 1:59pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/2 "2024-01-10T13:59:15Z")

</div>

That may actually be a simple caching issue. You can also try to Refresh Metadata. If it’s a tv show episode, refresh metadata on the whole show.

Never use the upload feature if you have a subtitle file.  
Always place it beside the video file, like so: [https://support.plex.tv/articles/200471133-adding-local-subtitles-to-your-media/](https://support.plex.tv/articles/200471133-adding-local-subtitles-to-your-media/)

---

<div class="post-metadata">

### Author: ![TVBanks98](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tvbanks98/32/348809_2.png) [@TVBanks98](https://forums.plex.tv/u/TVBanks98)
#### Post date: [January 10, 2024, 3:08pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/3 "2024-01-10T15:08:48Z")

</div>

Unfortunately that does not seem to have cleaned up the old subtitle files. I tried emptying trash, analyzing the library, refreshing metadata and cleaning bundles. The movie still has three entries for subtitles.

Interestingly, when I click the “X” next to two of them and click [DELETE}, nothing happens. On the third entry (actually the top-listed one), it seems to actually do something though there is no visible sign of a result.

I used to always add the SRT files separately “next to” the movie files, but it stopped recognizing them some time back. Upload is the only way I can seem to get them recognized.

Here are a couple screen grabs. (_And I know tvdb is not used for movie hints_ 😀 )

The delete button “spins” for a second and the pop-up goes away on two of the files. It is non-responsive on the other file.

 ![image](https://global.discourse-cdn.com/plex/original/4X/b/1/6/b1667bd96bb0254c167dfecce513c73b4f2a98a9.png)

![image](https://global.discourse-cdn.com/plex/original/4X/9/6/2/962ed1b99596646ff12c0211aa0826b4bfd8b243.jpeg)

![image](https://global.discourse-cdn.com/plex/original/4X/3/a/d/3adc0e215fbfe2e01aa33cb93ead73af76f5f145.png)

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [January 10, 2024, 3:47pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/4 "2024-01-10T15:47:16Z")

</div>

> [@TVBanks98](#):
>
> I used to always add the SRT files separately “next to” the movie files, but it stopped recognizing them some time back.

Your screenshot makes it immediately clear why that is.  
The subtitle must have the _exact same_ file name as the video file, except for the added language code (and the file name extension, ofc).

---

<div class="post-metadata">

### Author: ![TVBanks98](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tvbanks98/32/348809_2.png) [@TVBanks98](https://forums.plex.tv/u/TVBanks98)
#### Post date: [January 10, 2024, 8:20pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/5 "2024-01-10T20:20:18Z")

</div>

Ooops, yes, that was my mistake. I renamed the file and now I show four subtitle options for this film. Delete is still not getting rid of the three that were uploaded. I hope I’m not stuck with them forever.

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [January 11, 2024, 7:31am UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/6 "2024-01-11T07:31:06Z")

</div>

Verify your database file for damage. Better safe than sorry.  
[https://support.plex.tv/articles/repair-a-corrupted-database/](https://support.plex.tv/articles/repair-a-corrupted-database/)

---

<div class="post-metadata">

### Author: ![TVBanks98](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tvbanks98/32/348809_2.png) [@TVBanks98](https://forums.plex.tv/u/TVBanks98)
#### Post date: [January 11, 2024, 7:23pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/7 "2024-01-11T19:23:57Z")

</div>

I ran the integrity\_check and got a clean “ok” response. I also ran VACUUM; and REINDEX; and another integrity\_check;. All came back clean. I stopped short of the rebuild step because it did not seem necessary.

Those pesky extra uploaded subtitles entries are still there and will not delete.

---

<div class="post-metadata">

### Author: ![DTR](https://avatars.discourse-cdn.com/v4/letter/d/9fc348/32.png) [@DTR](https://forums.plex.tv/u/DTR)
#### Post date: [January 11, 2024, 9:16pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/8 "2024-01-11T21:16:28Z")

</div>

Are there any relevant warning/errors in your [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) after attempting to delete the tracks? I’d only recommend the following if you’ve exhausted all other options, but if you’re comfortable editing your database manually you can try deleting them directly:

1. Shut down PMS.

2. Make a backup of your main database and blobs database.

3. Open your main database (com.plexapp.plugins.library.db) and list all uploaded subtitles associated with the file (based on your file name in the above screenshot):

4. Make note of the `id`s for later.

5. Delete all references to uploaded subtitles associated with the file:

6. Open your blobs database (com.plexapp.plugins.library.blobs.db) and delete the subtitles themselves from the blobs database:

One thing to note is that the steps might not work if any of the links between `media_items`, `media_streams`, and the blobs database are broken, which won’t necessarily show up after an `integrity_check`.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [April 10, 2024, 9:16pm UTC](https://forums.plex.tv/t/bug-cannot-delete-uploaded-subtitles/865447/9 "2024-04-10T21:16:53Z")

</div>

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