Project

General

Profile

Bug #3995

EPG data lost after reboot

Added by Max M about 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
Category:
EPG
Target version:
-
Start date:
2016-03-02
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-2236
Affected Versions:

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

http://sprunge.us/SeMj

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

epgdb.v2 (2.26 MB) epgdb.v2 Max M, 2016-09-24 19:51

Related issues

Copied from Bug #3603: EPG data lost after rebootFixed2016-03-02

Actions

History

#1

Updated by Max M about 8 years ago

  • Copied from Bug #3603: EPG data lost after reboot added
#2

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.

#3

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

#4

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

#5

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.

#6

Updated by Max M about 8 years ago

I tried latest builds, no issues any more. Please close the ticket.

#7

Updated by Jaroslav Kysela about 8 years ago

  • Status changed from New to Fixed

Also available in: Atom PDF