Unable to UPDATE or MODIFY libraries

I have noticed that my libraries are no longer being updated with new media, that I cannot modify my libraries and playback buffers continuously.

It all started when I noticed that one particular show I enjoy watching would not update in PMS, even though the show is being recorded by PMS Live TV + DVR and is downloaded by Sonarr (I watch the better copy).

I tried tweaking my library scanning agents, but was met with the error, “Your changes could not be saved.”

I tried deleting and recreating the library, “Television”, but now the entire library will not update with new media.

I uninstalled + reinstalled PMS for Windows 1.13.6.5339 and now no libraries will update new media.

I think it’s time to completely uninstall + delete all traces of PMS, then reinstall, but then I have to rebuild all of my libraries from scratch.

I am able to play the media in VLC, directly off the drive, but PMS does not see or cannot play it.

Is there any other troubleshooting steps I can take to avoid having to obliterate my PMS installation?

  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.
https://support.plex.tv/articles/201100678-repair-a-corrupt-database/

Thanks, @OttoKerner, I reviewed the logs and there is no mention of malformed or corrupt database files so I couldn’t bother with repairing the DB. I closed PMS and deleted all the files in the “…\Databases” folder then restarted my PC and PMS.

Now, there are no libraries in PMS and I’m not able to create any libraries. I’m still getting the error, “Your changes could not be saved.”

Did you modify the location of the Plex data folder, away from the default?

If so:

No, it’s still set to the default %appdata% folder. This change happened almost randomly. I don’t tweak my settings once configured to my needs.

Is it possible a third party app is interfering with PMS? Perhaps, our friendly neighborhood Tautulli?

Tautulli? I don’t think so. But you could easily disable it and see what happens.

Try this:

  • Stop/quit/end Plex Server with the tray icon
  • deinstall Plex Server with the regular ‘Apps’ control panel of Windows (do not use 3rd party ‘Uninstaller’ software like Revo etc.)
  • for safety, reboot Windows
  • download a fresh copy of the installation exe and install it

I’ve already tried that. My next step is to check the access permissions for the install or DB folders, failing that, to install PMS in the root folder of C:\ instead of “… Program Files x86”

I’ve checked the file permissions and tried running PMS with administrative privileges to no avail.

However, I’m now getting this error message in the logs:

“Sep 05, 2018 19:59:31.313 [9520] ERROR - Library: Couldn’t create section: ‘agent’ is missing or invalid”.

Please post the whole log folder (zipped).
A single line doesn’t tell enough.

Plex Media Server Logs_2018-09-08_00-17-06.zip (173.9 KB)

Thanks for your help, @OttoKerner.

I’ve also noticed that when creating the library the option to select the library’s language is not populated.


Edit 1: I had debugging and verbosity disabled for these logs. I’ll edit this post again once I upload the correct logs.
Edit 2: The verbose logs have been uploaded and the link updated.

Sorry, Verbose logs don’t help. Actually they do the opposite.

non-verbose logs — Plex Media Server Logs_2018-09-08_10-34-44.zip (1.5 MB)

Thanks for looking into this problem for me, @OttoKerner, but I was able to solve the problem.

PMS was configured to use IPv6 and to listen on local IPv4 interface. My router was not issuing a public-routable IPv6 address, causing PMS to be confused.

I disabled IPv6 connectivity and now I’m able to create, modify and update my libraries and their contents!

I didn’t realize how server-dependent PMS is or that PMS is not fully compatible with IPv6. To ensure that things are back to normal, I’ve enabled IPv6 in PMS again, set PMS to listen on all interfaces and restarted my router.

1 Like

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