config gets corrupted really easily
Added by Paul M almost 4 years ago
my TVH server is a desktop PC with a core-i3 2nd gen and a pair of spinning rust drives in raid0. / and /home are XFS. the latter is where TVH lives in /home/hts
the PC has a pair of PCIe cards, each is a TurboSat DVB-S2 twin tuner card.
if I have a power failure then the configuration is always trashed, usually it's the network definition and its muxes. I end up having to create a new network, assign it to the tuners, create the muxes, blah blah.
is this normal?
is there a way to get TVH to save/backup its config at regular intervals so that I can try reverting back to a recent good config?
BTW, does anyone ever look at the TVH issues? e.g. https://tvheadend.org/issues/5781#change-32255
there's 1377 open tickets.
Replies (4)
RE: config gets corrupted really easily - Added by Flole Systems almost 4 years ago
Paul M wrote:
BTW, does anyone ever look at the TVH issues? e.g. https://tvheadend.org/issues/5781#change-32255
there's 1377 open tickets.
If you want the number of open tickets to go down then you should take an issue and start working on a fix for it. This is open source Software, so you're free to contribute in case there's anything that bothers you.
RE: config gets corrupted really easily - Added by Paul M almost 4 years ago
I would help if I could. I am willing to test other people's code and write documentation. You probably don't want me trying to add code ;-)
RE: config gets corrupted really easily - Added by Flole Systems almost 4 years ago
Since all contributed Code ends up in a PR for review you can definitely try to add or change code to implement fixes. Since everything you add will be reviewed you'll also get feedback to your coding style
RE: config gets corrupted really easily - Added by Ron L almost 4 years ago
I live on a farm and power outages are a regular occurrence. I have never had a single corruption of my TVH configuration. I can't remember exactly how long I've been running TVH but over 10 years at least. Currently it runs on single 128GB SSD with EXT4.
As you mentioned config is in /home/hts/.hts Very easy to make simple script to back up this folder and run as cron job.
Open tickets could probably be reduced by some one who has time to search for duplicate issues or issues that are already resolved in current master. There has been a lot of development since 4.2 release and git master version is probably better version to run.