Project

General

Profile

[SOLVED] tvheadend and ubuntu 15.04 and 15.10

Added by onder tol almost 9 years ago

Hello world,
i try to use tvheadend in new ubunu's versions, but after power on the pc i can't access to tvheadend with the link "http://localhost:9981" and i have a problem to connect it with kodi. Only if I write the command sudo dpkg-reconfigure tvheadend i can access inside and i can use it in kodi...

do you have an idea to solve this problem?

Thank you


Replies (4)

RE: tvheadend and ubuntu 15.04 and 15.10 - Added by Prof Yaffle almost 9 years ago

I suspect it's simply not starting on boot, but is starting when you reconfigure the package - probably a systemd vs upstart issue.

After switching on, try ps -eaf | grep tvheadend to see if it's actually running... if it's not, try the command again after you've reconfigured.

If this is the issue, then I believe sudo systemctl enable tvheadend.service will add it to the startup list.

RE: tvheadend and ubuntu 15.04 and 15.10 - Added by onder tol almost 9 years ago

Ok... i study your information and i suppose to have resolved the problem:

if i write the command "ps -eaf | grep tvheadend" after this "sudo dpkg-reconfigure tvheadend" i see the command to start tvheadend:

hts 712 1 0 22:10 ? 00:00:00
/usr/bin/tvheadend -f -u hts -g video

I insert the command "/usr/bin/tvheadend -f -u hts -g video" in the startup list... and all times tvheadend start.

I tried with

sudo systemctl enable tvheadend.service

but tvheadend don't start...

Do you think this is the correct way?

Thank you very much

RE: tvheadend and ubuntu 15.04 and 15.10 - Added by Lukasz Nowak almost 9 years ago

On Ubuntu 15.10 I run following command to add tvheadend to autostart:
sudo update-rc.d tvheadend defaults

RE: tvheadend and ubuntu 15.04 and 15.10 - Added by onder tol almost 9 years ago

Perfect!!! After this instruction tvheadend autostart all time after a reboot!!!!

Thank you!!!

    (1-4/4)