Server Version#: 1.40.1.8120-7000
Player Version#: 4.123.2
Tuner Make/Model: HDHomeRun FLEX QUATRO
Guide/Lineup name:
Using XMLTV?:
Channel number/Name:
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
Need to move PMS & the HD Homerun to a different subnet on the network however despite being able to move the HD Homerun and provide it with a static IP via DHCP, Plex appears to be holding onto the old IP in it’s database and is not adding it back to Plex as it’s a known device so is expecting it on the old IP.
I’ve searched the internet and various forums looking for answers and trying different methods to resolve the issue but my patience has now worn out
How can I remove the old device from the database? I have already tried looking into resolving it by using Plex SQLite and the media_provider_resources like some others have suggested or deleting the EPG files in Plugin Support but no joy. I’ve also looked at checking the database but the integrity check comes back OK.
The steps I had taken are:
Remove the DVR by deleting it from PMS while the server using the old subnet.
Stop PMS
Change IP’s for server and HD Homerun
Restart PMS then HD Homerun
Try re-add the DVR to Plex using the new IP but PMS is still searching for the device using the old IP despite not having a DVR configured.
Plex does not want to appear to release the device from its known devices list which is therefore locking the device to the IP address and unable to re-add. Currently I’ve had to open up a route to the subnet so it can continue to talk to the DVR but I need to be able to have the DVR talking on the new subnet.
Note: Similar to the forum post here and possibly here but rebooting the server should do the same thing?
/usr/lib/plexmediaserver/Plex\ SQLite com.plexapp.plugins.library.db “delete from media_provider_resources;”
rm all tv.plex.providers* files from the “/Plex Media Server/Plug-in Support/Databases” directory
Restarted Plex
These problems usually show up when you have hidden database corruption so I would dump and repair the database as well.
If you list out the database directory after you have stopped Plex and you see *.db-shm and *.db-wal files that is a good indication that the database isn’t shutting down cleanly. I would also look and see if your database backups are being created every 3 days and are current.
Checked ‘com.plexapp.plugins.library.db’ no media_provider_resources table found (reverted to a previous backup and no tables shown when .tables in SQLite??
No tv.plex.providers* in the Databases directory.
No *.db-shm and *.db-wal files after shutting down so appears to be ok.
Can confirm databases are being backed up every 3 days
Checked the database for corrupted data and went though the repair corrupted database process, and even tried rolling back to a previous version to no avail as it keeps latching onto the device and wont release it then wont recognize the new IP
Also renamed the current ‘com.plexapp.plugins.library.db’ to *.bak and restarted the server so no libraries but it can’t find the tuner at all, even when manually specifying the IP.
The error I keep getting is
[Req#2279] DVR:Device: Error refreshing existing device device://tv.plex.grabbers.hdhomerun/12602xxx, marking as dead.
This appears to be the identifier preventing it from working. I’ve found using CURL i can get the device information. Surely this could be a way of removing the device but I’m not even 20% up to speed with CURL and PUT commands or if its even possible.
It appears that deleting the device using ssh & curl removes it fully from the system and it now works when readding it to the system … except not on .2 !!!