Program Guide Error Refreshing

I went to look at my program guide today and found that there were no shows or anything in the list - the guide was empty. I tried to refresh the guide manually and as soon as I click refresh, it hits 0% and then resets back as if I hadn’t clicked the button. Note that no error message is displayed, the button just resets to the unpressed state.

I looked at the logs and found this relevant snippet in PlexMediaServer.log right when I clicked the button to attempt to refresh the guide:

Aug 08, 2017 21:45:28.354 [0x7f1cd3fff700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Aug 08, 2017 21:45:28.358 [0x7f1cd3fff700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Aug 08, 2017 21:45:28.362 [0x7f1cd3fff700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Aug 08, 2017 21:45:28.366 [0x7f1cd3fff700] INFO - SQLITE3:0x10, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Aug 08, 2017 21:45:28.370 [0x7f1cd3fff700] DEBUG - Completed forward migration 20170707000000.
Aug 08, 2017 21:45:28.370 [0x7f1cd3fff700] ERROR - Error parsing XML.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] ERROR - Error parsing XML.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] WARN - EPG[xmltv]: Failed to load EPG.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] DEBUG - Database: Shutting down.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] DEBUG - Captured session 0.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] DEBUG - Captured session 1.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] DEBUG - Captured session 2.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] DEBUG - Captured session 3.
Aug 08, 2017 21:45:28.371 [0x7f1cd3fff700] DEBUG - Captured session 4.
Aug 08, 2017 21:45:28.375 [0x7f1cd3fff700] DEBUG - EPG[xmltv]: Total time to load EPG was 0.0 (HTTP details cached 0.0%, CloudFlare grid cached: 0.0%, 0 HTTP errors)

Server Version: 1.8.0.4109
Server OS: Ubuntu 16.04
Tuner: HDHomeRun Connect
Rebooted Recently: Yes (Today)

Please let me know if you need more info from me. Thanks!

I re-imported my XMLTV guide file, but I’m still running into a similar issue. The refresh button goes to 0% then shows “Optimizing Database” then goes right back to the start. Any ideas here? This used to work fine on the same version of Plex…

I also have trouble importing xmltv guide.

I used WebGrab++, which creats an xmltv file, but it’s not recognized by Plex as being a valid file.
does anyone know how to make a valid xml file based on the data found on this link (for Denmark)?

http://www.webgrabplus.com/epg-channels#stc_E

I did the config with the channels I need, but it won’t import.

Any help appreciated.