Can't add Library

Server Version#: Latest
Player Version#: Latest

Hey!
I recently installed Plex & went to add a library (is using CIFS on Ubuntu to mount it), yet when I attempt to I am unable. After checking console I get the following error (image attached). Does anyone know how to fix this?

Thanks!
Kian

what scanner/agent/language options have you selected when attempting to create that library?

Commenting here because I’m getting the same error when attempting to upgrade a library.

Server Version: 1.31.0.6654
Player Version: 4.101.1

Library Details:
Current Scanner: Plex Music Scanner
Current Agent: Last.fm
Current Language: English

Target Scanner: Plex Music
Target agent: Plex Music
Target Language: English

Clicking “Upgrade Library” returns the error “There was a problem upgrading the library”. Looking at the network data, I’m getting a 400 Bad Request respond with the description: “‘agent’ is missing or invalid new scanner needs to be paired with new agent”.

The URL parameters list the agent as “tv.plex.agents.music” and the scanner as “Plex Music” in the sent request.

::EDIT
Getting the same error when attempting to create a new library, again using the scanner and agent “Plex Music”, with the error happening with multiple language choices. Log entry from the console:

[Req#19bc97] Library: Couldn't create section: 'agent' is missing or invalid
[Req#19bc97] Library: Couldn't create section: 'language' is invalid
[Req#19bc97] Library: Couldn't create section: new scanner needs to be paired with new agent

Here is the console output when I attempt to upgrade an existing Music library:

Request: [10.7.7.3:31202 (Subnet)] PUT /library/sections/6?agent=tv.plex.agents.music&scanner=Plex%20Music (12 live) #19c2c4 TLS GZIP Signed-in Token (envyUK) (Firefox) / Accept => text/plain, */*; q=0.01 / Accept-Encoding => gzip, deflate, br / Accept-Language => en / Connection => keep-alive / Content-Length => 0 / DNT => 1 / Host => 10-7-7-71.e849b49a6b384a3389f52e9e3b60d448.plex.direct:32400 / Origin => https://app.plex.tv / Referer => https://app.plex.tv/ / Sec-Fetch-Dest => empty / Sec-Fetch-Mode => cors / Sec-Fetch-Site => cross-site / User-Agent => Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0 / X-Plex-Client-Identifier => xjgo59icdf5k4zmocher9a1j / X-Plex-Device => Windows / X-Plex-Device-Name => Firefox / X-Plex-Device-Screen-Resolution => 2560x1315,2560x1440 / X-Plex-Features => external-media,indirect-media,hub-style-list / X-Plex-Language => en / X-Plex-Model => hosted / X-Plex-Platform => Firefox / X-Plex-Platform-Version => 110.0 / X-Plex-Product => Plex Web / X-Plex-Token => xxxxxxxxxxxxxxxxxxxx / X-Plex-Version => 4.101.1
[Req#19c2c4] Errors in PUT request: <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>'agent' is missing or invalid new scanner needs to be paired with new agent 
Completed: [10.7.7.3:31202] 400 PUT /library/sections/6?agent=tv.plex.agents.music&scanner=Plex%20Music (12 live) TLS GZIP 0ms 572 bytes (pipelined: 12)

If this is similar to the issues on the latest Windows server versions, try this:

  1. stop Plex server
  2. restart Plex server
  3. try again

Hey!
Already tried this. Didnt work :frowning:

A restart fixed it on my end.

I got the same issue (hopefully the screenshot shows)

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