Plex not showing all my movies

Hello all,

I have currently migrated my plex server to from my all debian linux server to my new one. So I copied all content from plexmediaserver folder and moved on to the new server.
After making the migration, I rescanned all my library and it seems that some movies have dissapeared, checking in the logs I see the following:

Blockquote
Aug 22, 2021 14:12:26.939 [0x7fd784a29b38] INFO - Plex Media Server v1.24.1.4931-1a38e63c6 - Debian GNU/Linux PC x86_64 - build: linux-x86_64 debian - GMT 02:00
Aug 22, 2021 14:12:26.939 [0x7fd784a29b38] INFO - Linux version: 10 (buster), language: en-US
Aug 22, 2021 14:12:26.939 [0x7fd784a29b38] INFO - Processor Intel(R) Xeon(R) CPU E5-2678 v3 @ 2.50GHz
Aug 22, 2021 14:12:26.939 [0x7fd784a29b38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv e0c29d5827bc4eaaa2ceb882cbeed224b0960173)
Aug 22, 2021 14:12:26.939 [0x7fd784a29b38] INFO - /usr/lib/plexmediaserver/Plex Media Server
Aug 22, 2021 14:12:26.942 [0x7fd787fb9c68] INFO - SQLITE3:0x80000001, 283, recovered 212 frames from WAL file /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-wal
Aug 22, 2021 14:12:27.007 [0x7fd787fb9c68] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Aug 22, 2021 14:12:27.031 [0x7fd782c02b38] WARN - Couldn’t determine bundle identifier for plug-in at: “/usr/lib/plexmediaserver/Resources/Plug-ins-1a38e63c6/WebClient.bundle”
Aug 22, 2021 14:12:27.489 [0x7fd782e64b38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability
Aug 22, 2021 14:12:27.489 [0x7fd782e64b38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms
Aug 22, 2021 14:12:27.502 [0x7fd782d92b38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability
Aug 22, 2021 14:12:27.502 [0x7fd782d92b38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms
Aug 22, 2021 14:12:28.985 [0x7fd7822dab38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:12:29.006 [0x7fd7822b7b38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:12:29.120 [0x7fd7822b7b38] WARN - SLOW QUERY: It took 210.000000 ms to retrieve 50 items.
Aug 22, 2021 14:12:29.152 [0x7fd7823ddb38] WARN - Held transaction for too long (…/Library/MetadataCollection.cpp:500): 0.620000 seconds
Aug 22, 2021 14:12:29.153 [0x7fd782c02b38] WARN - Took too long (0.390000 seconds) to start a transaction on …/Plugins/PluginDatabaseState.cpp:189
Aug 22, 2021 14:12:29.153 [0x7fd782c02b38] WARN - Transaction that was running was started on thread 0x7fd7823ddb38 at …/Library/MetadataCollection.cpp:327
Aug 22, 2021 14:12:29.153 [0x7fd782c02b38] INFO - LibraryUpdateManager path watching is disabled
Aug 22, 2021 14:12:29.258 [0x7fd782396b38] INFO - AutoUpdate: no updates available
Aug 22, 2021 14:12:29.281 [0x7fd7823ddb38] WARN - Held transaction for too long (…/Library/MetadataCollection.cpp:500): 0.150000 seconds
Aug 22, 2021 14:12:29.354 [0x7fd7831c6b38] WARN - [EventSourceClient/pubsub] MyPlex: attempted a reachability check but we’re not yet mapped.
Aug 22, 2021 14:12:29.571 [0x7fd7825a6b38] INFO - Sync: downloaded 2 sync list(s) with 3 sync items(s): 0 new, 0 updated, 0 deleted
Aug 22, 2021 14:12:30.247 [0x7fd7822dab38] INFO - [PlexRelay] Allocated port 6633 for remote forward to 127.0.0.1:32401
Aug 22, 2021 14:12:32.951 [0x7fd782396b38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:12:32.955 [0x7fd7821cab38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:12:38.711 [0x7fd782396b38] WARN - QueryParser: Invalid field ‘contentDirectoryID’ found, ignoring.
Aug 22, 2021 14:12:38.711 [0x7fd7822b7b38] WARN - QueryParser: Invalid field ‘contentDirectoryID’ found, ignoring.
Aug 22, 2021 14:12:38.711 [0x7fd782396b38] WARN - QueryParser: Invalid field ‘pinnedContentDirectoryID’ found, ignoring.
Aug 22, 2021 14:12:38.711 [0x7fd7822b7b38] WARN - QueryParser: Invalid field ‘pinnedContentDirectoryID’ found, ignoring.
Aug 22, 2021 14:12:39.336 [0x7fd78413eb38] ERROR - Unknown metadata type:
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - XML: Entity: line 1:
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - XML: parser
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - XML: error :
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - XML: Start tag expected, ‘<’ not found
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - XML: status=ok
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - XML: ^
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - Error parsing content.
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - Error parsing XML: Error parsing file.
Aug 22, 2021 14:12:39.871 [0x7fd78243bb38] ERROR - SSDP: Error parsing device schema for http://192.168.1.9:9080
Aug 22, 2021 14:12:42.351 [0x7fd7828cdb38] WARN - NAT: PMP, got an error: Not Supported by gateway.
Aug 22, 2021 14:13:18.651 [0x7fd783219b38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:13:18.707 [0x7fd7821cab38] INFO - AutoUpdate: no updates available
Aug 22, 2021 14:14:37.895 [0x7fd782d4cb38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:14:37.908 [0x7fd782e64b38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:14:41.891 [0x7fd782e64b38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:14:41.900 [0x7fd782d4cb38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:14:43.294 [0x7fd782e64b38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:14:43.305 [0x7fd782d4cb38] ERROR - Unknown metadata type: folder
Aug 22, 2021 14:15:03.076 [0x7fd782373b38] WARN - Held transaction for too long (…/Library/MetadataCollection.cpp:500): 0.150000 seconds
Aug 22, 2021 14:15:03.083 [0x7fd782373b38] WARN - Held transaction for too long (…/Library/MetadataItem.cpp:7212): 0.150000 seconds
Aug 22, 2021 14:15:14.177 [0x7fd781f82b38] WARN - Held transaction for too long (…/Library/MetadataCollection.cpp:500): 0.120000 seconds
Aug 22, 2021 14:15:14.185 [0x7fd781f82b38] WARN - Held transaction for too long (…/Library/MetadataItem.cpp:7212): 0.140000 seconds
Aug 22, 2021 14:15:26.016 [0x7fd7822b7b38] WARN - Held transaction for too long (…/Library/MetadataItem.cpp:7212): 0.110000 seconds

Any idea?
For the movies that are not showing on my Plex library, it is strange as I am able to access them by searching them in the search box.

Kind regards

Hello,

Any feedback so that I can fix my plex?

Kind regards

@el_pedriyo

  1. PLEASE turn DEBUG logging back on. I cannot help when it’s turned off. (I cannot see what’s happening. DEBUG ON, VERBOSE OFF, SAVE.

  2. Restart Plex

  3. Wait 60 seconds

  4. Now recreate what you see.

  5. Download the logs ZIP file (settings - server - troubleshooting - download logs)

  6. Attach the ZIP file ( I cannot diagnose this problem from an excerpt )

Hello,

I have attached here the logs, to see if you find any problem. However after this restart it seems Plex has detected all movies again, and it is now rescaning and download info about them. Don’t know why it was failing before
Plex Media Server Logs_2021-08-22_21-52-17.zip (990.8 KB)

On the other hand, is there any option that I can activate, so that, in case this happens again, and more than 10 movies are deleted at once, they just appear as not available, or maintain the information of them on the plex DDBB?
Now I am going to lose some time on checking if all movies are identified correctly, and if not correct them myself through plex, as I alreadyd did once they were added

You can set the library to not Empty Trash.

That will keep the metadata and history but they will drop from the list if, because of how you have your media structured, individual files don’t have permission.

The structure which marks as Unavailable most readily is:

/storage/movies/Movie (Year)/Movie (Year).ext

This way, If movies is not readable, everything is unavailabe.
Also, If “Movies (Year)/” is not readable, it’s marked unavaiable.

However, if you put individual movie files in a single directory, there is no way to know what’s happening except by monitoring or the trash can (which you will have to maintain diligence with yourself.

Hello,

Perfect, I have already activated the trash for my libraries :slight_smile: Thanks for that.
On the other hand, were you able to see if something on my plex logs is failing?

Kind regards

no… but it also looks like you purged old logs?

(PMS keeps 5 rollover files – total of 6 but you have only 2 total)

I deleted old logs, for you to find it easier.
What do you mean about 5 rollover files, but that I have 6, but only 2? Totally losted in here

In the ZIP file you downloaded, the file contained:

Plex Media Server.log (the current file)
Plex Media Server.1.log (the previous)

PMS will, by default, maintain 1,2,3,4,5 before they start rolling off the end.

I was looking to see that previous history because it’s very common for activity to cross multiple files.

ah yes, but since I deleted the logs before, thats why you do not see them :sweat_smile:

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