Project

General

Profile

How to install in ubuntu 15.10 ?

Added by Yusterlan Knick about 9 years ago

Hi all,

I had a computer with tvheadend working over ubuntu 14.04 and due to a problem I've update to latest 15.10.

Unfortunately tvheadend does not work as it should, there are no official builds for any version newer than trusty, so I've try a solution that doesn't work:

I added those lines to /etc/apt/sources.list:

deb http://apt.tvheadend.org/stable/ trusty main
deb-src http://apt.tvheadend.org/stable/ trusty main

In this way I can install the newer stable version (trusty). As a result I can go to browser and navigate to "localhost:9981" correctly, enter username and password specified on installation and I enter on web menu with no issues.

The problem comes when I restart computer, for some reason I don't know in this moment I cant access "localhost:9981", the URL is not found (tvheadend service not running?). Then I run from terminal "tvheadend" and it seems to active.

Now I can enter "localhost:9981", but the username/pass that I used on installation doesn't work, so I can't access web interface . I have even try to create a new user/pass before the first restart (when I can enter web-menu) but after restart it doesn't work.

So, it seems that after restarting computer the service is not able to run automatically on startup, and what is worse, even when I can run manually, it doesn't recognize users.

I'd be very thank if someone can help. Perhaps I have to build tvheadend from sources, but I have no idea about how to do this.

Regards


Replies (5)

RE: How to install in ubuntu 15.10 ? - Added by Arthur S about 9 years ago

In Ubuntu 15 Tvheadend don't run automatikally. Can You to try write to terminal: /etc/init.d/tvheadend restart :) Automatically service starts on Ubuntu 14. To change password and user you can as root to write to terminal: dpkg-reconfigure tvheadend . In the table you can to enter new user and password.

RE: How to install in ubuntu 15.10 ? - Added by Prof Yaffle about 9 years ago

Yeah, it's to do with the changes that Canonical has made to the startup routines - systemd vs upstart. It'll get fixed, it just needs someone who understands it all so we can reconfigure the .deb files as built for 'buntu/Debian systems.

RE: How to install in ubuntu 15.10 ? - Added by Yusterlan Knick about 9 years ago

Many thanks for the answers.

If I do dpkg-reconfigure tvheadend and I re-enter the password it works, but I've to do this everytime I restart the computer :(

Is there any way of fixing this? If I could add something on command line to dpkg-reconfigure tvheadend in way it enter automatically user and pass I could program it to run on system boot.

Regards

RE: How to install in ubuntu 15.10 ? - Added by Mark Clarkstone about 9 years ago

Yusterlan Knick wrote:

Many thanks for the answers.

If I do dpkg-reconfigure tvheadend and I re-enter the password it works, but I've to do this everytime I restart the computer :(

Is there any way of fixing this? If I could add something on command line to dpkg-reconfigure tvheadend in way it enter automatically user and pass I could program it to run on system boot.

Regards

Yes, just stop tvheadend and create a superuser in /home/hts/.hts/tvheadend

{
"username": "usernamehere",
"password": "passwordhere" 
}

Make sure to chown it (sudo chown hts:hts /home/hts/.hts/tvheadend/superuser).

RE: How to install in ubuntu 15.10 ? - Added by Yusterlan Knick about 9 years ago

Many Thanks!! It workss!!!! :)

    (1-5/5)