EPG will not refresh == no shows are recording!

I noticed that since Wednesday no shows have been recording. I check the Program Guide and it is empty. I navigate to the DVR settings and select Refresh Program Guide. It kicks off, but never finishes. I see the following in the logs.

May 26, 2017 07:48:56.005 [17728] DEBUG - EPG[onconnect]: Step 53/56 (2017-06-08T07:00Z) (network: 188.7 sec, database: 910.2 sec total: 1096.5 sec)
May 26, 2017 07:48:56.006 [17728] DEBUG - Activity: updated activity a311c4f8-b0dc-4885-a24d-b89a9eff75db - completed 96% - Refreshing EPG
May 26, 2017 07:48:56.006 [17728] DEBUG - Activity: updated activity a311c4f8-b0dc-4885-a24d-b89a9eff75db - completed 96% - Refreshing EPG
May 26, 2017 07:48:56.427 [17728] ERROR - EPG: JSON parse error.
May 26, 2017 07:48:56.427 [17728] DEBUG - EPG[onconnect]: Total time to load EPG was 1096.9 (HTTP details cached 98.0%, CloudFlare grid cached: 96.3%, 1 HTTP errors)
May 26, 2017 07:48:56.427 [17728] DEBUG - Activity: Ended activity a311c4f8-b0dc-4885-a24d-b89a9eff75db.

@john.rader said:
I noticed that since Wednesday no shows have been recording. I check the Program Guide and it is empty. I navigate to the DVR settings and select Refresh Program Guide. It kicks off, but never finishes. I see the following in the logs.

May 26, 2017 07:48:56.005 [17728] DEBUG - EPG[onconnect]: Step 53/56 (2017-06-08T07:00Z) (network: 188.7 sec, database: 910.2 sec total: 1096.5 sec)
May 26, 2017 07:48:56.006 [17728] DEBUG - Activity: updated activity a311c4f8-b0dc-4885-a24d-b89a9eff75db - completed 96% - Refreshing EPG
May 26, 2017 07:48:56.006 [17728] DEBUG - Activity: updated activity a311c4f8-b0dc-4885-a24d-b89a9eff75db - completed 96% - Refreshing EPG
May 26, 2017 07:48:56.427 [17728] ERROR - EPG: JSON parse error.
May 26, 2017 07:48:56.427 [17728] DEBUG - EPG[onconnect]: Total time to load EPG was 1096.9 (HTTP details cached 98.0%, CloudFlare grid cached: 96.3%, 1 HTTP errors)
May 26, 2017 07:48:56.427 [17728] DEBUG - Activity: Ended activity a311c4f8-b0dc-4885-a24d-b89a9eff75db.

Could you attach the full log file please (you can use the web interface to get a zip of the logs)

Also if this JSON parse error is reproducible, could you restart the server and refresh the guide and get fresh logs attached

https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

Also, let us know what lineup you’re using (e.g. Over the Air in zip code blah blah).

Actually, looking closer, the HTTP error in the logs likely indicates a transient issue, which should repair itself the next refresh.

I have the same issue, it’s been like that for a few days now, restarted server, manually refreshed multiple time, nothing, Guide is always empty.

TV set up is local cable via 2 HDHomeRun Primes, configured for Midcontinent Communications - Digital. I have restarted the server and tried refreshing, but the same symptom occurs. Is there a way to privately or securely send the log files? Given the data contained, I don’t want to attach them to the thread.

I have the Programming Guide refreshed with current data now, and here are the changes I made since the last attempt:

  1. Disabled the Enhanced Programming Guide from the DVR Settings.
  2. Restarted the Plex Server. NOTE: I had restarted earlier before disabling EPG, tried refreshing the Programming Guide, and it still failed, so I’m not sure this was a contributing factor.

I suspect there is an issue when Enhanced Programming Guide is enabled (This is not the first time I’ve had a blank Programming Guide), or there is an issue in the data it is downloading and fails there during parsing.

Considering DVR recordings are dependent on current data in the Programming Guide, it is very important that the PG is bullet proof. If issues like this cause the entire PG to nullify, are there any ways to implement a back up, such as continuing to record with the last known guide data, while presenting a message to the users stating new PG data is unable to be downloaded currently, and to manually refresh via the DVR Settings.

John

Confirmed, this fixed it for me too!

Considering DVR recordings are dependent on current data in the Programming Guide, it is very important that the PG is bullet proof

Totally agreed!

If you really think it’s an issue with Enhanced EPG, can you provide a log showing issues when it’s enabled?

I already have Enhanced Programming Guide disabled and this is still an issue for me…

I am seeing same thing plex dvr not working, no program guide.
Setup is two hdhomerun primes, running AMD 8 core/16GB, Linux mint 18.1
I disabled enhanced guide
I removed both Hdhomeruns and re-added.
Restarted Plex Media Service
Reboot entire Plex server
Restarted Both hdhomeruns

I see in the logs it might be an issues with SQLlite DB and JSON processing:

Jun 01, 2017 21:43:21.871 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.874 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.877 [0x7fa569bf7700] ERROR - SQLITE3:0x10, 1, duplicate column name: grandparent_guid
Jun 01, 2017 21:43:21.877 [0x7fa569bf7700] ERROR - SQLITE3:0x10, 1, duplicate column name: originally_available_at
Jun 01, 2017 21:43:21.907 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.912 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.919 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.922 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.958 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.960 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jun 01, 2017 21:43:21.963 [0x7fa569bf7700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed

…8< Snipped out about 50 duplicate SQLITE errors as above 8<…

Jun 01, 2017 21:43:31.135 [0x7fa56abf9700] ERROR - LPE: unknown item 42005.
Jun 01, 2017 21:43:31.136 [0x7fa56abf9700] ERROR - Versions: failed to generate query for path library://fce38cb4-2bed-4103-a543-2b483cf107bf/item/%2Flibrary%2Fmetadata%2F42005
Jun 01, 2017 21:43:31.136 [0x7fa56abf9700] ERROR - Versions: skipping items for generator 9079: unable to generate version set query
Jun 01, 2017 21:43:31.209 [0x7fa56abf9700] ERROR - LPE: unknown item 42005.
Jun 01, 2017 21:43:31.210 [0x7fa56abf9700] ERROR - Versions: failed to generate query for path library://fce38cb4-2bed-4103-a543-2b483cf107bf/item/%2Flibrary%2Fmetadata%2F42005
Jun 01, 2017 21:43:31.210 [0x7fa56abf9700] WARN - Versions: generator SOLOMON KANE has an empty version set query, assuming generator is no longer valid
Jun 01, 2017 21:43:46.690 [0x7fa5743ff700] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (97f5b715-ebf2-486d-9b7d-2349a40d5a7a, expected 5633bf84-51d8-42d1-9de2-bc64c674046b)
Jun 01, 2017 21:43:47.060 [0x7fa569bf7700] ERROR - EPG: JSON parse error.
Jun 01, 2017 21:43:47.060 [0x7fa569bf7700] WARN - EPG[onconnect]: Failed to load EPG.

I have the above issue as well, and I also have done all of the above.

I just got to 37% and it failed. Only displays 4 shows in the guide. Here is my section of the log that seemed relevant that I could find. I did as people above said, restarting plex, restarting the machine, unselecting the enhanced guide and still ahving issues.

Our metadata provider had a ‘maintenance’ window. Should be good now, try again?

DVR schedule was blank again this morning as well as programming guide. Pretty frustrating how this keeps happening.

I’m also on server build 1.7.2.3878.

I am having this issue too now, for over 2 weeks. I just rebuilt my plex server on a single board computer from scratch and I cannot get a complete pull of EPG data. Before that, I ran out on two separate occasions and no amount of retries fixed it. I will continue to periodically try to pull it again today. Never had the enhanced setting turned on.

@keithah said:
Our metadata provider had a ‘maintenance’ window. Should be good now, try again?

I had this same issue this morning and I’ve had a similar issue at least one other time within the last 2 weeks. The problem with this is that it doesn’t flag an error so the bad data is processed and the recordings are deleted from the schedule until it has a successful update. Presumably this will be the next late night check so a day of recordings is lost. Rather than telling us to try again, the software should detect a failure due to a maintenance window (or any other error) and not trash the good guide data with a null or partial set. It should also set a retry before the next regular 24 hour check.

@keithah said:
Our metadata provider had a ‘maintenance’ window. Should be good now, try again?

Just to make it known, still not getting fresh EPG data. Refreshes keep dying before 30%

I am on version 1.7.3.3937 and only have the first 48 channels showing on my program guide, out of 538 enabled channels. I have tried to disable the enhanced guide, restarted, reinstalled/repaired nothing seems to get my program guide back fully. The refresh sometimes makes it to 30%, but more commonly stops before hand. Additionally, I am in the ATL Comcast Digital Market.

@ricka777 and @modf, please post full logs (Settings>Help>Download Logs) so we can see what the errors are causing this.