Metadata such as episode names no longer being added

Server Version#: 1.20.1.3252

UPDATE 21-10-2020 - Problem fixed, turned out the DB had been corrupted and that was the source of all the problems

I recently moved everything to a new Ryzen 9 3950x server. Copied over the APPDATA\Plex Media Server folder to the new, and everything seemed to work fine and dandy, all played stats and everything.

But i started noticing that tv shows were no longer getting metadata correctly, and episode names were not fetched and added.

As it can be seen frem these 2 images, naming errors are NOT relevant here, as the episodes are named exactly alike, and are added to the disk at the exact same time, but only some of them are getting episode name added.


I also have a few shows, where it keeps resetting the watched status, no matter how many times i mark the show as watched. I tried deleting the files and show, and readding them again. It seems it keeps trying to update meta data, and thereby resetting the watched status to unwatched.
Also happened after the server move.

Im getting really frustrated with this, as it does it with almost all shows i add after the server move.
There are no security issues on the file/folders in APPDATA
I read somewhere that IPv6 could cause these errors so i disabled that on the server, however it did not work.
A few shows that i have added HAVE episode names on them, so i have no idea why most of them just dont get episode names on them.

I believe if you properly name you file most of your problems will go away:


TV Shows <- The TV library points here

_______ShowName (year)

____________Season 01

__________________ShowName (year) - s01e01 - Optional Name.ext

__________________ShowName (year) - s01e02 - Optional Name.ext

__________________and so on for the shows in season 01

____________Season 02 <- just like Season 01

____________Season 03 <- and so on for each season

____________Season 00 <- or “Specials”

__________________ShowName (year) - s00e01 - Optional name

__________________ShowName (year) - s00e02 - Optional name

__________________and so on for each special

Note 1: the eXX part of the specials must match EXACTLY what is found in TheTVDB

Note 2: The (year) may be omitted for shows that do not have more than one occurrence throughout the years.

There are many other structures and naming systems that work but this is the one I use and it just works.

For a mass rename I use FileBot with this format string {n.replaceTrailingBrackets()} - {s00e00.lower()} - {t}

Thank you for a standard answer, which is unfortunately completely irrelevant in this case.
If i were to guess, id say you only read the topic??

If you want to help, and that would be awesome, please try again and read my post and see the attached images.

I did read your post and I still believe you should fix your naming and/or structure.

Improper naming may work sometime and may fail sometimes but it is known that often what did work may suddenly stop working for no apparent reason. Plex tries very hard to match any naming you give it but it may well fail without warning. There is a lot that happens on the back end that we do not see and that can change without notice.

Just because it did work does not mean it will work in the future when your naming is poor.

I do not really much care if your Plex works correctly or not I am just trying to help but it is part of good practices to maintain your media in a format that Plex recognizes easily.

Thank you again, and i do appreciate that you try to help, but again this happened when i changed server - as soon as i started adding content to the new.
Therefore it is completely illogical that it should be a naming error.

Likewise when you see the images i added, all episodes are named exactly the same, and only SOME of them have episode names added to them, and others not.

So it is clear that Plex knows which show it is, which season and which episode.
Therefore Plex should have enough info to fetch the episode name.

I also have other shows, where the naming and dirrectory structure is exactly like you suggest, and STILL they are not getting episode names added.

I just tested with 1 episode and it worked for me.

I noticed that your image for episode 1 is different than mine. Are you using TheTVDB as the agent?

Sorry for the long delay, been a bit busy irl. Yes i am using TheTvDB.
But a bigger problem is that it keeps resetting everything i have added and watched since the server move, to unwatched. All the time, no matter how often i mark it as watched, insanely annoying.

Must be something that went totally wrong in regards to the server move - but i just copied the Plex Media Server folder and everything seemed fine.

I can also see, on the edit page on the libraries, that last updated is 2 weeks ago, as in just before the server move. Very strange, it also says that on the Movies library which seems to be working just fine - although movies it cant match on its own, never gets any metadata added, even though i manually match it :frowning:

Also i have an old 4K library, that i cant delete… Nothing happens when i click Delete button, and an error pops up in console: An entity does not exist with the type “providers” and id “undefined”

Would hate to have to reset all libraries, it will take ages to rematch everything, and i will loose watched status on everything…

  1. activate debug logging (not ‘verbose’!)
  2. quit Plex Server
  3. wait 1 minute
  4. start Plex Server
  5. wait 5 minutes
  6. fetch log files and attach them here

Or inspect them yourself. Take a look at the Plex Media Server.log file and seek for messages about database corrupt or malformed.
If you find these, you may have to repair your database.

Digged deeper into the issue, found some SQL3Lite DB errors saying it was corrupt.
Tried following the repair guide in here, would not build the DB from the SQL Dump due to errors.

Found a 1 month old database backup, closed Plex and renamed it to the current db name, started Plex again, and after some scanning everything seems to have been fixed :slight_smile:

So thanks for the advice :slight_smile:

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