Project

General

Profile

losing the list of recordings after restart [solved]

Added by Matze Kiel about 2 years ago

If ever I have to restart tvheandend server (4.3 on Odroid C1+ with Ubuntu 20.04 LTS), i end up losing the list of recordings. The only way I can repopulate the list is by ssh and running the following command:
systemctl restart tvheadend

So i think during the restart tvheadend starts faster then the connection to my NAS over NFS. How i can solve the problem?


Replies (2)

RE: losing the list of recordings after restart - Added by Dave Pickles about 2 years ago

1. Find the systemd service file which starts Tvheadend (the first line of the output from systemctl status tvheadend will give this information)

2. Edit the file. Under the section [service] add the line:

ExecStartPre=/bin/sleep 10

this will add a 10 second delay to the Tvheadend startup.

3. Run systemctl daemon-reload to force systemd to re-read the modified file.

RE: losing the list of recordings after restart [solved] - Added by Matze Kiel about 2 years ago

Hi Dave,

thank you for your help. This works great.

    (1-2/2)