SOLVED Several versions of server...

Hippotastic

Cadet
Joined
Mar 9, 2019
Messages
5
Hi,

I am trouble shooting a working Plex plugin. I say working, it seems to be absolutely fine, but I installed and removed the plex plugin a few times, and one of the previous instances is still ghosting around.

I have my server called Plex. The previous install was called Plex_new. It is still being referenced. I renamed it on a whim, but I am glad I did as it is either helping solve this ( I like to think) or causing the problem as it did not over write the config of the same name.

I looked through the logs and cant find where it is referenced, but I did discover this..
Code:
http://192.168.2.12:32400/servers


I found the reference to the URL in the file called com.plexapp.system.log

Now when i refresh the page, I get both instances...

The right one...
Code:
<MediaContainer size="1">
<Server name="plex" host="192.168.2.12" address="192.168.2.12" port="32400" machineIdentifier="774d88719d2ede22622ffd63d8f5a832a776af0b" version="1.14.1.5488-cc260c476"/>
</MediaContainer>


the wrong one...

Code:
<MediaContainer size="1">
<Server name="Plex_new" host="192.168.2.12" address="192.168.2.12" port="32400" machineIdentifier="0449b03dae290f5e091c32424256665fe9053891" version="1.14.1.5488-cc260c476"/>
</MediaContainer>



In my authorised devices, I have only the Plex instance..

Code:
plex
a minute ago
1.14.1.5488-cc260c476
Plex Media Server
PC
FreeBSD 11.2-STABLE (FreeBSD 11.2-STABLE #0 r325575+fc3d65faae6(HEAD):
Thu Dec 20 16:12:30 EST 2018
root@nemesis.tn.ixsystems.com:/freenas-releng-final/freenas/_BE/objs/freenas-releng-final/freenas/_BE/os/sys/FreeNAS.amd6


I assume that i must be in the database that is replying to the query, so any ideas of how I can flush it out?
 
Joined
Jan 4, 2014
Messages
1,644
It's a good idea to detail your FreeNAS hardware and configuration when seeking assistance. Refer to the Forum Guidelines for further details.
 

Hippotastic

Cadet
Joined
Mar 9, 2019
Messages
5
It's a good idea to detail your FreeNAS hardware and configuration when seeking assistance. Refer to the Forum Guidelines for further details.

Hmm, I see,

FreeNAS-11.2-RELEASE-U1
- running four jails (Plex, qbittorent,FreeBSD, nextcloud)
Motherboard: ASRock J4105B ITX
CPU: Intel(R) Celeron(R) J4105 CPU @ 1.50GHz (4 cores)
RAM: 8GB (2 Crucial CT4G4SFS824A 4 GB DDR4 2400 MT/s (PC4-19200) CL17 SR x 8 260-Pin) Unbuffered SODIMM Memory
Storage pool: 2 x 4TB Seagate Ironwolf
Boot pool: 1 x 32BG SanDisk Cruzer USB flash drive
Battery backup: none

Jails

freebsd
192.168.2.16/24
9.3-RELEASE

nextcloud
192.168.2.14/24
pluginv2
11.2-RELEASE-p8

plex
192.168.2.12/24
pluginv2
11.2-RELEASE-p8

qbittorrent
192.168.2.11/24
pluginv2
11.2-RELEASE-p8
 

Hippotastic

Cadet
Joined
Mar 9, 2019
Messages
5
My question revolves around how this functions : http://192.168.x.x:32400/servers

If it is querying a database, or a file somewhere, and can i edit it to remove unwanted data.

My plex works fine in itself.

Thanks for taking the time to help.
 

Hippotastic

Cadet
Joined
Mar 9, 2019
Messages
5
Well it does not seem the data is in a database. I downloaded a database backup and used SQLSpy to look at it. Although there are 71 tables, non seem to hold data on the server instance information. Must be in a file I guess. I will keep looking.
 

Hippotastic

Cadet
Joined
Mar 9, 2019
Messages
5
I have solved the problem now. Its is a long story but here goes.


I had a pms with dying hard drives and old hardware, so I made a new server and replicated it to the new server. All my data was good. I then changed ip on the old server and moved the config to the new server, and my migration was complete. All went well, happy days.


I wiped the old server, re installed freenas and created a new pool and set it up as a target for replication the other way. It was a dodgy platform, but it was a backup and okay to fail.


Today after un installing the plex plugin (which takes the jail with it) from my my live freenas I checked for the ghost plex by using **`http://localIP:32400/web ** and found I still had a pms! It was on the same IP and was doing its own thing. My ghost pms. After shutting down the backup box it went away. So it was the backup box offering the service.


This freenas config had no jail, or plugins, or any indication that a fully functional pms was coming out of it. No IP conflicts, just this annoying ghost server I could not “see” as there was no evidence of it except for the symptoms. It was a clean install with a replication of the live server.


So i have closed the box down, and I reinstalled the plex plugin in freenas on the new hardware and all is well in my world again.


Funny really, but annoying to figure it out. I might have a deeper look at the backup box and see how it produced this no config magic, or I might just wipe it and shelve it.
 
Top