Bug #3995
EPG data lost after reboot
0%
Description
after reboot the epg data is lost and I've to wait for finish epg grab to get new epg data
This is output of journalctl on milhouse libreelec build rpi2
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module eit created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module uk_freesat created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module uk_freeview created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module viasat_baltic created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module Bulsatcom_39E created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module psip created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module opentv-ausat created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module opentv-skyuk created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module opentv-skynz created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module opentv-skyit created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module pyepg created
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module xmltv created
Sep 24 18:14:49 LibreELEC tvheadend397: spawn: Executing "/storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file"
Sep 24 18:14:49 LibreELEC tvheadend397: epggrab: module /storage/.kodi/addons/service.tvheadend42/bin/tv_grab_file created
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: corruption detected, some/all data lost
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: loaded v2
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: config 0
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: channels 0
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: brands 0
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: seasons 0
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: episodes 0
Sep 24 18:14:50 LibreELEC tvheadend397: epgdb: broadcasts 0
Files
Related issues
History
Updated by saen acro about 8 years ago
There is a option
Periodically save EPG to disk (hours):
after how many time EPG to be written on storage,
Set it correctly and there is no problems
Next is to set Grabber to scan periodical.
Do not disable EPG on tuner settings.
Updated by Max M about 8 years ago
epg grab works but my problem is, I can see epg in kodi after epg grab, but after reboot of pi epg data is lost and I have to wait for new scan
Updated by Max M about 8 years ago
this is journalctl before reboot:
http://sprunge.us/UFgd
Oct 09 19:18:26 LibreELEC tvheadend402: epgdb: snapshot start
Oct 09 19:18:27 LibreELEC tvheadend402: epgdb: queued to save (size 16979372)
Oct 09 19:18:27 LibreELEC tvheadend402: epgdb: brands 0
Oct 09 19:18:27 LibreELEC tvheadend402: epgdb: save start
Oct 09 19:18:27 LibreELEC tvheadend402: epgdb: seasons 0
Oct 09 19:18:27 LibreELEC tvheadend402: epgdb: episodes 23926
Oct 09 19:18:27 LibreELEC tvheadend402: epgdb: broadcasts 23926
and after reboot
http://sprunge.us/HHdM
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: loaded v2
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: config 0
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: channels 0
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: brands 0
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: seasons 0
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: episodes 0
Oct 09 20:37:30 LibreELEC tvheadend406: epgdb: broadcasts 0
Updated by Jaroslav Kysela about 8 years ago
Try v4.1-2247 or higher.. I added more error handling to the code. It appears, that tvh in your environment has trouble to decompress the EPG data for a reason.
Updated by Max M about 8 years ago
I tried latest builds, no issues any more. Please close the ticket.