Unable to add tuner

Server Version#: 1.40.5.8761
Player Version#: 4.134.2
Tuner Make/Model: HDHomeRun Prime
Guide/Lineup name: N/A
Using XMLTV?: No
Channel number/Name: N/A

This tuner uses CableCARD and was previously connected to Plex and live streaming with local channel guides working.
I once tried to add a second, virtual tuner to run alongside the HDHomeRun, intending to use XMLTV and EPG at the same time, but gave up when forum posts 1 and 2 showed that was not possible.
I had to delete both tuners from Plex and am no longer able to add back the HDHomeRun.

I deleted each tuner with the request found here for all IDs in my com.plexapp.plugins.library.db table media_provider_resources:

curl -L -X DELETE https://plex.example.com/media/grabbers/devices/15 -H 'X-Plex-Token: MY-TOKEN'
<?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="0" message="" status="0">
</MediaContainer>

I have also tried editing the com.plexapp.plugins.library.db to manually delete app tuners with sqlite3 query DELETE FROM media_provider_resources; based on this post.

The tuner lives on a different subnet, so I am unable to use the HDHomeRun app which does not allow one to manually provide an IP address and instead only scans the local subnet. The HDHomeRun web UI is accessible, firewall rules are wide open between these two subnets, and the firewall rules are the same as when the HDHomeRun was successfully streaming to Plex.

Under Manage > Live TV & DVR > Set Up Plex DVR I manually add the IP address and the tuner HDHomeRun is found, however regardless of whether or not I give my real ZIP code to the field, a red banner appears saying “There was a problem getting the channels for your device”. The request https://plex.example.com/media/grabbers/devices/16/channels gets a 500 response.

On the Add Tuner UI, if I enter my ZIP code and click Next, the Scanning Channels step is stuck in a loop of 500 responses to that same request.

The issue seems to be related to Plex finding the EPG channel guides, which were previously working before my attempt with the XMLTV tuner.

I have tried shutting down PMS, deleting tv.plex.providers.epg.onconnect-UUID.db and restarting, but have the same issue behavior.

Same behavior whether I log in from my reverse proxy host plex.example.com or from app.plex.tv.

Redacted verbose logs attached, though do not seem to show any errors or warnings corresponding to the web UI channel guide 500s.
Plex Media Server.log (78.9 KB)

I just tried deleting /Library/Application Support/Plex Media Server/Cache/* and /Library/Application Support/Plex Media Server/Plug-in Support/Databases/tv.plex.providers.epg.onconnect* and restarting PMS and adding the HDHomeRun again, and still experience the same issue.

Here are new Plex Media Server logs:
Plex Media Server.log (50.3 KB)

I am still seeking support for this issue. Is there anything I can do or more info I should provide? My only remaining idea is to create a completely new Plex Media Server instance and copy over whatever data I can.

I’m having a similar or the same issue. In my case I switched from using the TrueNAS Scale TrueCharts to the TruNAS Scale Official Plex app. I copied my files over so that I didn’t need to go through the whole “start for scratch” version of Plex Media Server. When I try to add my HDHomerun FLEX 4K (which worked fine before the move) I get to the screen where Plex is browsing for compatible hardware and never finds it. That isn’t surprising as the other version doesn’t either. When I manually input the IP address of the HDHomerun it just flips back to the page where it is scanning with no on-screen error. In the console I’m seeing the:

[Req#21f7b6] DVR:Device: Error refreshing existing device device://tv.plex.grabbers.hdhomerun/10******, marking as dead.

When I try to manually add it with the IP I get this info:

[Req#21fffb/Grabber] The device was already discovered at http://10...*, updating URI

but nothing is updated or shows up on the screen.

Just an FYI that you are not alone with this issue. I don’t have a fix for it yet.

1 Like

In my case I think I’ve figured it out. It was a permissions issue with some of the files and the directories. I did a chown recursive command with the correct user in the Plex directory to be sure that all directories and files had the correct permissions and then restarted Plex. Immediately the screen for refreshing the guide data came up. In my case it was a sloppy job of copying the files from my previous installation and setting permissions correctly.

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