Best approach to rebuild channel database

MofTot

Member
At least one user of the new Remote Scheduling package has an issue with the channel database (/opt/epg/channels.db) - TBL_SVC_DEFAULT is empty, whereas TBL_SVC is not.

What's the best approach to completely rebuild it? A re-tune hasn't fixed the issue.

Would it work to rebuild TBL_SVC_DEFAULT from TBL_SVC or would the first reboot after the next housekeeper boot remove the data?

Could it be owing to a corrupt /opt/channels/FOXSAT-HDR_channels_update.fcl and if so, would it help to remove it?

The box has had CFW 4.1.2, which was then upgraded to CFW 4.1.3.

Thanks for any help.
 
You could try just deleting it and see if the system rebuilds it when it is detected as missing.
 
You could try just deleting it and see if the system rebuilds it when it is detected as missing.
Thank you Black Hole, the CFW actually rebuilds /opt/epg/channels.db if not found on the next boot. It appears that it takes two boots before WebIf Channel Editor works, perhaps because the channel database is out of sync with the .fcl file(s).

However, this way any custom settings (channel names and/or hidden channels) are lost, so perhaps the first approach towards rebuilding should be the following if the file
/opt/channels/FOXSAT-HDR_channels_backup.fcl exists:
Code:
/opt/bin/channels readall -f /opt/channels/FOXSAT-HDR_channels_backup.fcl -d /opt/tmp/channels.db -b TBL_SVC_DEFAULT
 
Maybe it is then - I don't know the Foxsat CF anatomy, but on HDR-FOX most of the custom files are in /mod. If the file in question is not the usual channel.db file, all bets are off.
 
Maybe it is then - I don't know the Foxsat CF anatomy, but on HDR-FOX most of the custom files are in /mod. If the file in question is not the usual channel.db file, all bets are off.
There's no /mod on Foxsat-HDR, CFW is under /opt instead.
 
Back
Top