EPG Update gets stuck at 100%

Mine goes to 100% and then stays stuck, been this way for over 24 hours now.

https://i.imgur.com/9WX6bN4.png

Please could you provide logs of the problem

Ensure debug logging is enabled
See https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Restart the server and when you get the problem please note down the time, take a screenshot and download the logs and attach the zip and screenshot in a post here
For logs See https://support.plex.tv/articles/200250417-plex-media-server-log-files/

And please attach the screenshots here in your forum post and do not put it on a web site that insists on installing loads of third party cookies to whoever wants to view the screenshot

Logs.zip (4.4 MB)

The time was 10:24 PM when the guide reached 100%

Thanks for the logs. There appears to be database corruption which is causing failures during the optimization at the end of the EPG refresh

have a look at the support articles for db repair and restore from backup
https://support.plex.tv/articles/201100678-repair-a-corrupt-database/
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

@deadman36g I have moved your posts and my replies to a separate forum topic (here) as the issue is different from what is covered in forum thread EPG fails to update

@deadman36g
Examples of the corruptions

Sep 16, 2018 19:53:48.250 [0x7f6e0cffa700] ERROR - SQLITE3:0x10, 6410, statement aborts at 2341: [select distinct media_items.id as 'media_items_id', media_items.library_section_id as 'media_items_library_section_id', media_items.section_location_id as 'media_items_section_locati
Sep 16, 2018 19:53:48.253 [0x7f6e0cffa700] ERROR - Soci Exception handled: sqlite3_statement_backend::loadRS: disk I/O error
Sep 16, 2018 22:24:13.166 [0x7f0627bfe700] ERROR - SQLITE3:0x10, 6410, statement aborts at 84: [delete from tags where tags.tag_type != ? and tags.tag_type != ? and tags.id in (select tags.id from tags left join taggings on taggings.tag_id=tags.id group by tags.id having count(ta
Sep 16, 2018 22:24:13.181 [0x7f0627bfe700] ERROR - Exception inside transaction (inside=1) (../Library/DatabaseFixups.cpp:207): sqlite3_statement_backend::loadOne: disk I/O error

Other Info:
The logs do also show other issues that you need to look into

Reached max default limit for Notidy watched directories (8192)

Sep 16, 2018 22:20:57.972 [0x7f06323ff700] DEBUG - [Notify] Now watching /tv/gdrive/The Sopranos/The.Sopranos.S05.1080p.Bluray.DD5.1.x264-EbP
Sep 16, 2018 22:20:57.979 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Sopranos/The.Sopranos.S06.1080p.BluRay.DD5.1.x264-DON (28: No space left on device)
Sep 16, 2018 22:20:57.989 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Tick (28: No space left on device)
Sep 16, 2018 22:20:57.991 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Tick/Season 1 (28: No space left on device)
Sep 16, 2018 22:20:58.007 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Tick/Season 2 (28: No space left on device)
Sep 16, 2018 22:20:58.025 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Tick/Season 3 (28: No space left on device)
Sep 16, 2018 22:20:58.043 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Torkelsons (28: No space left on device)
Sep 16, 2018 22:20:58.045 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Torkelsons/Season 1 (28: No space left on device)

Sep 16, 2018 22:20:58.054 [0x7f06323ff700] ERROR - [Notify] Failed to add watch for /tv/gdrive/The Torkelsons/Season 2 (28: No space left on device)

+ many more such errors

See this post for similar issue

and Permissions issue on /tmp

Sep 16, 2018 22:20:20.099 [0x7f063fd17d40] WARN - Failed to create temp dir "/tmp/pms-7b0fdc0e-93b4-4c4f-a7ff-71f7f3123c71": 13, Permission denied
Sep 16, 2018 22:27:26.837 [0x7f061d3ff700] ERROR - Error creating directory "/tmp/tempLogs7c425ec4-07e9-486d-93a3-0dd5ca205dfe": boost::filesystem::create_directory: Permission denied: "/tmp/tempLogs7c425ec4-07e9-486d-93a3-0dd5ca205dfe"
Sep 16, 2018 22:27:26.837 [0x7f061d3ff700] ERROR - Error creating directory "/tmp/tempLogs7c425ec4-07e9-486d-93a3-0dd5ca205dfe/PMS Plugin Logs": boost::filesystem::create_directories: Permission denied: "/tmp/tempLogs7c425ec4-07e9-486d-93a3-0dd5ca205dfe"
Sep 16, 2018 22:27:58.608 [0x7f06107fd700] ERROR - Error creating directory "/tmp/tempLogsd6a839d5-bbce-4d1b-9990-28056adada8f": boost::filesystem::create_directory: Permission denied: "/tmp/tempLogsd6a839d5-bbce-4d1b-9990-28056adada8f"
Sep 16, 2018 22:27:58.608 [0x7f06107fd700] ERROR - Error creating directory "/tmp/tempLogsd6a839d5-bbce-4d1b-9990-28056adada8f/PMS Plugin Logs": boost::filesystem::create_directories: Permission denied: "/tmp/tempLogsd6a839d5-bbce-4d1b-9990-28056adada8f"

and similar

Sep 16, 2018 22:28:05.416 [0x7f06323ff700] WARN - Diagnostics: Could not open zip "/tmp/logs.zip2be6d799-f85f-40f0-82e3-ac29c44c4fc2" for write
Sep 16, 2018 22:28:05.417 [0x7f06323ff700] WARN - Diagnostics: Error zipping files for Plex Media Server Databases_2018-09-16_22-28-05.zip
Sep 16, 2018 22:28:05.417 [0x7f0630bfe700] DEBUG - Completed: [192.168.1.143:61937] 500 GET /diagnostics/databases (9 live) GZIP 24314ms 405 bytes (pipelined: 7)

Ok, I have made a few changes and was hoping you could check my logs and see if everything looks good.

I followed the following guide


on increasing inotify

I added /tmp to my PLEX docker container

Also, since upgrading my PMS (Version 1.13.8.5388) my guide seems to be working correctly as well

Plex Media Server Logs_2018-09-19_10-13-30.zip (2.4 MB)

All looks good !

Awesome Thanks man

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