How To Update TVHeadend Server?

TVH makes its own backup before upgrading. You can find it in ~/.hts/tvheadend/backup/

Did you enable it in the webui?

Yeah i checked the backup but it was missing the muxes.

Ill make a manual backup before upgrading in the future just incase.

Odd. Should be under input/dvb/networks.

Yeah the input/dvb/networks folder is there but the muxes files were missing.

May have just been an issue on my end as @nvdias updated ok.

Would need more users to test but it would have been a big pain setting tvheadend up from scratch again if i didnt have a backup.

1 Like

So far so good Sam! Recordings keep recording, epg is looking good to boot.

1 Like

With this update kodi isn’t populating the epg correctly from the tvheadend server.

Only some channels are getting epg while the rest are blank.

All channels have correct full epg listings when viewed in the tvheadend gui server.

Tried clearing tv guide data in tv settings.

Both tvheadend server and client on the same pi

Looking at the log seeing a lot of these entries for most channels

12:01:49.384 T:1471148800 DEBUG: EPG - Load - no database entries found for table ‘QUEST’.
12:01:49.385 T:1471148800 DEBUG: EPG - UpdateFromScraper - updating EPG for channel ‘QUEST’ from client ‘2146250725’
12:01:49.385 T:1471148800 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - get epg channel 13873165 start 1523530909 stop 1523530909
12:01:49.385 T:1471148800 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - get epg channel 13873165 ignored
12:01:49.385 T:1891627776 DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.audio_render handle 0x55a58b40
12:01:49.385 T:1471148800 DEBUG: EPG - Load - no database entries found for table ‘ITV +1’.
12:01:49.385 T:1471148800 DEBUG: EPG - UpdateFromScraper - updating EPG for channel ‘ITV +1’ from client ‘2146250725’
12:01:49.385 T:1471148800 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - get epg channel 16490806 start 1523530909 stop 1523530909
12:01:49.385 T:1471148800 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - get epg channel 16490806 ignored
12:01:49.385 T:1471148800 DEBUG: EPG - Load - no database entries found for table ‘Travel Ch +1’.
12:01:49.386 T:1471148800 DEBUG: EPG - UpdateFromScraper - updating EPG for channel ‘Travel Ch +1’ from client ‘2146250725’
12:01:49.386 T:1471148800 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - get epg channel 17600398 start 1523530909 stop 1523530909
12:01:49.386 T:1471148800 DEBUG: AddOnLog: Tvheadend HTSP Client: pvr.hts - get epg channel 17600398 ignored

Is it enabled or disabled on your client side?

Yes i have that enabled. No change it seems

Last idea I have: User osmc password osmc specified on the client side, ip address is then 127.0.0.1 the loopback?

No change unfortunatley very strange.

Is there a way i can revert back to 4.2.4 temporairly to check if it solves the issue?

What is the process you are using to update your EPG ?
A specific , program, etc …

[EDIT] - Do you have the channels (services) mapped to the EPG entries ?
(Configuraton / channel epg / channel)
(rerun epg grabbers or restart tvheadend)

Alterntively you can go to
Configuration, DVB INPUTS, Muxes
and associate the channel to the correct epg scan

I’m using the OTA EPG Grabber. The channels have corresponding epg source see below. Maybe when i restored from backup the epg sources got mixed up or something. I will try deleting the epg grabber channels and trigger the OTA update again.

I see you have many channels without the correspondent epg source.
try to manually setup the epg source.
I’ve done that myself. it never fails.

The channels without EPG source are not enabled so they don’t have epg.

I’ll try deleting the EPG sources data and rescan hope that solves it.

You can try to reinstall 4.2.4-3 but there’s a possibility that the latest version might have changed something that is incompatible with the previous version. So at your risk.

sudo apt-get install --reinstall armv7-tvheadend-app-osmc=4.2.4-3

Solved :slightly_smiling_face:

Deleting the epg grabber channels and rescanning OTA solved it.

Thanks @nvdias and all for your help

1 Like

Hi dill

I’m having issues with latest tvheadend and would like to downgrade to 4.2.4. Running your command above it displays not found.

sudo apt-get install --reinstall armv7-tvheadend-app-osmc=4.2.4-3
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Version ‘4.2.4-3’ for ‘armv7-tvheadend-app-osmc’ was not found

Thanks for any info

The last 4.2.4 was armv7-tvheadend-app-osmc_4.2.4-3_armhf. I can let you have the deb if you tell me where to send it.