Oh my god, it’s back at it again! I deleted the DVR (after @AndyChips 's workaround), set my tuner back up again, and it was working for about a day. This morning, on my devices, it said “No guide is available” and I went back to the DVR settings and it had that same error message! I don’t get an error message when accessing it locally, but it has unmapped most of my channels for some reason (it has been doing this for a few months actually.
Hmm… I’m out of ideas here. I’ve only been trialling Live TV/DVR for a week and I have to say it’s been an underwhelming experience. Sorry I can’t help, but if it happens to me and I fix it I’ll let you know.
I did set up DizqueueTV at one point! I went through and deleted the epg database files you listed, but that didn’t do the trick. Is there anything else to it? This is a known issue you say… are there other forum posts about it?
Yes, this is on a NAS, but I am running Plex on Docker and it was on the latest version as of a week or two ago (and keeps up to date usually; I use watchtower to update images).
Another way that I solved it was (using chrome) to go into the Developer Tools (F12) and then over to the application tab.
From there, I cleared everything in local storage, session storage and cookies. Someone earlier mentioned Incognito mode and that led me to realize that my issue was due to something corrupt on the web browser.
If you don’t want to go through the Developer tools, I am guessing that if you Clear all cached settings from your browser that will also help.
I’m now having this issue after rebuilding my server and upgrading to the latest PMS. Ugh…so frustrating. None of the workarounds here are helping with the problem. Anyone from the Dev Team know what’s causing this?
I’ve tried a second Plex Server, both without and with setting up Live TV&DVR on it, as soon as I (from that new server which works) select my original server the page is unavailable.
I tried shutting down both, copying new epg files in. I tried restarting original server letting the original epg files in, then moving the working epg files overtop of the one created by the original server.
I’ve tried incognito mode, I’ve tried refreshing it and “quickly” selecting delete DVR before the page flashes to unexpected error.
I would run through the repair corrupt database procedure and if it still wont work you need to select from media_provider_resources to find the id of the tuner that is giving the problem and delete.
"SELECT * FROM media_provider_resources" "DELETE FROM media_provider_resources WHERE id = <id>" .
Last resort would be to delete all the database files and let Plex rediscover everything but you will loose watch status.
After trying the database check and repair, it didn’t change anything.
After looking at the dump that was created, I searched on the resources section that you mentioned and all that I found was this:
INSERT INTO schema_migrations VALUES('20190520131301','delete from media_provider_resources where identifier = ''tv.plex.providers.epg.cloud'';',0);
INSERT INTO schema_migrations VALUES('20190520131302','update media_provider_resources set parent_id = null where parent_id in (select parent_id from media_provider_resources where identifier = ''tv.plex.providers.epg.cloud'');',0);
INSERT INTO schema_migrations VALUES('20190520131303','delete from media_provider_resources where id in (select parent_id from media_provider_resources where identifier = ''tv.plex.providers.epg.cloud'');',0);
INSERT INTO schema_migrations VALUES('20190603140000','select 1',0);
Is there anything that I need to modify or delete in this code? Is this where the issue with deleting the TV tuner are?
TLDR; I solved this by rebuilding the server with an older version, deleting the DVR Tuner, rebuilding with newest version, and re-added the tuner.
I’m using the official plexinc/pms-docker docker image to run my plex in a container. I start my container using the command line 'docker run …`.
A couple days ago, around December 6, 2021, I pulled the latest image of the plex docker container, rebuilt my server and encountered the “Unexpected error” when going to Live TV & DVR Settings page; the screen flashed as though it worked for a second and then showed the error. Most of the advice on this post said to delete the DVR but I couldn’t.
But I did see that people could successfully delete the DVR with the docker image back in October which was about ver 1.24 (the latest version a couple of days ago was 1.25).
So I pull the 1.24.3.5033-757abe6b4 image and rebuilt my plex server using this image.
I could then successfully load the Live TV & DVR Settings page. I deleted my HDHomeRun tuner.
I then rebuild my Plex server using the latest 1.25.* image and successfully accessed the Live TV & DVR Settings page to re-add my HDHomeRun tuner. I see the guide and can watch local channels. So far so good.
That is interesting, there isn’t a tuner configured but still has lines for the EPG. You have a backup of the database so I would delete the remaining lines.
I run Plex on Linux. I recently moved across town with 1.24.5.5173 installed. If I remember correctly, I was having issues tuning in any channels already, but hadn’t had time to troubleshoot. (I watch in a browser, and channels would play for a few minutes and error out if I accessed the server through the Localhost address, but could be watched if I used the Plex.tv address. And yes, the DVR still worked.) Knowing a rescan would be necessary due to the move, that was my first attempt at a fix, right after deleting and adding my DVR, since Plex couldn’t seem to find my tuner. At first I had a guide, but immediately errored out every time I attempted to watch a channel. Next, the entire guide disappeared after rescanning, and finally the Live TV & DVR Settings page would not load (OK, it blinked for a second.), as almost everyone in this thread described. Before hitting the forums, I tried updating to 1.25.1.5286 with no change in behavior. I tried a few other suggestions above with no success either. Then came davidpuplava’s fix:
I downgraded to 1.24.3.5033 as he suggested, deleted my DVR, upgraded back to 1.25.1.5286, added my DVR, scanned for channels, and smooth sailing so far. I’m glad I was too lazy to delete my old Plex images so I could downgrade without too much effort. Thanks for sharing!
Update: OK, dang it. I believe the solution worked for the issue of accessing the Live TV & DVR page and accessing a full guide, but my original issue of the Playback Error a few minutes into watching a channel via the Localhost address in my browser is still with me, so off to search on that!
Thanks Tiebierius, but I had to blow away the database completely (I did keep copies just in case). The problem certainly seems to be with the main database file. I tried removing some files–especially the tv tuner files and nothing worked. I tried different combinations and it always came back to that annoying flash of hope and then to the “go to the forums” (brilliant move on the dev’s part–not) screen.
With the main DB file gone, the tuner page popped right up like it’s SUPPOSED to. I tried editing a copy of the DB by removing those lines, but it wouldn’t work, so there’s something for the devs to dig into–because it’s annoying as hell. Maybe they can leave TIDAL alone long enough to fix actual problems that need to be addressed (yes, sue me I’m bitter).
So now, I’m in the midst of rebuilding a 2000 film library and a 50 or so TV show library. The “new and improved” scanners are not working very well (read: it’s a total sh**show), so I’m basically adding all of that back FROM SCRATCH. Add to that, it looks like a lot of the customization that I enjoyed for so many years with posters, etc. I can’t seem to get back to the way I had it. So thanks for that too, dev team.