Plex Media Server not matching

Status
Not open for further replies.

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
Hi
I recently upgraded my PMS jail to a FreeBSD 10 jail. I created it back when I had FreeNAs 9.3. The reason was that I could not upgrade pkg anymore, so I figured my jail was too old. I then installed PMS 1.4.3 and migrated my old 1.3.3. The problem I have is that when I add something to the library, it will not be matched. Manually serching for e.g. a movie will return me an empty results list.

I then tried to install PMS into a new jail is I figured that the migrating messed something up. But nope, a new jail didn't do it (installed 1.4.3 via pkg install). I then created another jail and installed 1.3.3 via ports on github (used the history for it) - didn't work as well, matchmaking would not work!

Now my conclusion is that either PMS is buggy or it has something to do with the new jail. The reason why I posted this here is that I'm not getting any replies on the plex forums plus I hoped that other people using FreeNAS 9.10 experience the same problem. My FreeNAS build is FreeNAS-9.10.2-U2 (e1497f2). I'm open for any suggestions!

I know that questions for other programs is not liked here, but I hope to find people with the same experience! So please don't delete it!

Kind Regards
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Not having any issues here so something is amiss with your install. Give us a little more info about your network setup and system specs. Also was is your network setup for your jails config?
 

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
System Specs:

Intel(R) Pentium(R) CPU G3220 @ 3.00GHz
16 GB EEC RAM (I know, not optimal)
6x 4TB WD Red in RAIDz2, 85% full (again, I know not optimal)

I assigne IPs manually to my jails, set the IP4 netmask to /24, and disable VIMAGE and NAT. Networking itself works fine, I can upgrade pkg and ping IPs outside my network (e.g. google.com). I'm using two Google Name servers. My library items are sitting in a dataset and I add storage to every jail where I need them (e.g. CouchPotato, SickRage, etc.). Permissions are set correctly as the movies can be read and are added to the library.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
16GB is fine but you need to add more space or make space on that pool. Once you hit 90% you're not going to be very happy with how it performs.

I'm wracking my brain and can't think of anything that could be causing this as your network seems to be working fine. Can you ping your jail?
 

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
Yeah I know, I'm working on that problem!

Yes I can. It's not an networking issue as I have remote access to my jail. One thing I saw in the logs was a 401 response when doing a manual search. Google told me that http 401 is an authentication error, although the logs don't suggest anything like that. Here the extract (I pressed search at exactly 1:20:00)

Mar 12, 2017 01:20:00.540 [0x80980dc00] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Mar 12, 2017 01:20:00.540 [0x80980dc00] DEBUG - Auth: authenticated user 1 as xxx
Mar 12, 2017 01:20:00.540 [0x80980dc00] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Mar 12, 2017 01:20:00.540 [0x80b9dd000] DEBUG - Request: [192.168.178.46:50079 (Subnet)] GET /library/metadata/24065/matches?manual=1&title=Live%20by%20Night&agent=com.plexapp.agents.themoviedb&year=&language=en (12 live) TLS GZIP Signed-in Token (xxx)
Mar 12, 2017 01:20:00.545 [0x80b9dd000] DEBUG - Issuing search query: http://127.0.0.1:32400/system/agents/search?mediaType=1&id=24065&identifier=com.plexapp.agents.themoviedb&lang=en&name=Live by Night&year=&manual=1
Mar 12, 2017 01:20:00.545 [0x80b9dd000] DEBUG - HTTP requesting GET http://127.0.0.1:32400/system/agents/search?mediaType=1&id=24065&identifier=com.plexapp.agents.themoviedb&lang=en&name=Live by Night&year=&manual=1
Mar 12, 2017 01:20:00.546 [0x80980dc00] DEBUG - Request: [192.168.178.6:15646 (Subnet)] GET /system/agents/search?mediaType=1&id=24065&identifier=com.plexapp.agents.themoviedb&lang=en&name=Live%20by%20Night&year=&manual=1 (13 live) GZIP Signed-in
Mar 12, 2017 01:20:00.547 [0x80980dc00] DEBUG - Completed: [192.168.178.6:15646] 401 GET /system/agents/search?mediaType=1&id=24065&identifier=com.plexapp.agents.themoviedb&lang=en&name=Live%20by%20Night&year=&manual=1 (13 live) GZIP 0ms 338 bytes
Mar 12, 2017 01:20:00.547 [0x80b9dd000] DEBUG - HTTP 401 response from GET http://127.0.0.1:32400/system/agents/search?mediaType=1&id=24065&identifier=com.plexapp.agents.themoviedb&lang=en&name=Live by Night&year=&manual=1
Mar 12, 2017 01:20:00.547 [0x80b9dd000] DEBUG - -1: ()
Mar 12, 2017 01:20:00.547 [0x80b9dd000] DEBUG - -1: ()
Mar 12, 2017 01:20:00.547 [0x80b9dd000] DEBUG - It took 0.0 sec to serialize a list with 2 elements.
Mar 12, 2017 01:20:00.549 [0x80980dc00] DEBUG - Completed: [192.168.178.46:50079] 200 GET /library/metadata/24065/matches?manual=1&title=Live%20by%20Night&agent=com.plexapp.agents.themoviedb&year=&language=en (12 live) TLS GZIP 8ms 587 bytes (pipelined: 9)
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Yeah I'm lost on this one, sorry. :oops:
 

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
I kinda figured :P Maybe somebody else can help! So a little update: I used the FreeNAS PMS plugin and that works fine! The difference in jails though is that I use standardjails, whereas the plugin is in a plugin jail!
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
I guess that's why it was having an issue authenticating with localhost. Glad you got it figured out and thanks for posting the update.
 

FlyingPersian

Patron
Joined
Jan 27, 2014
Messages
237
I guess that's why it was having an issue authenticating with localhost. Glad you got it figured out and thanks for posting the update.

Yeah I never knew exactly what VIMAGE was, so I always turned it off. Guess that was not wise haha
 
Last edited:

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
Interesting and helpful thread. Please mark it SOLVED. Thanks.
 
Status
Not open for further replies.
Top