Project

General

Profile

Update tvheadend with a GIT build does not quite work

Added by Sascha Sambale over 12 years ago

Hi guys,

I've tried to update my current tvheadend ubuntu build (installed via apt) with the one from GIT.

So I cloned into the repo, built the source and now I have the binary (in build.linux or something). Then I've copied the binary to /usr/bin/tvheadend.

Now... when I start tvheadend with "sudo service tvheadend start", it starts... and when I hit the browser, it does not give me a 404 or something... but a blank page. Nothing happens here. Then I've copied the original one back to /usr/bin and everything worked fine again (of course I've started and stopped the service accordingly).

Do you guys have any idea what might be wrong? Are there any logs that might give me some hints?

I'm not quite sure about this anymore, but I think that when I start the app manually (like with: tvheadend -f -g <mygroup> -u <myuser>;) it works fine. Can't test it right now though.

Hope you guys have an idea.

Greetz,

Sascha


Replies (8)

RE: Update tvheadend with a GIT build does not quite work - Added by Sascha Sambale over 12 years ago

Ahhhhh... ok. That's new... will give it a try! Thank you very much! :)

RE: Update tvheadend with a GIT build does not quite work - Added by Sascha Sambale over 12 years ago

Ok... at home now... tried it and I think it's important for some Googlers who run into the same issue, that another change is necessary (has been mentioned in the other thread as well).

./configure => works fine
make => works fine
sudo make install => works fine
sudo service tvheadend restart => works fine

Going with browser to <ip>:9981 and open about page => Still shows old version number => no update detected.

Reason: Init script (/etc/init.d/tvheadend) points to /usr/bin => new binary is at /usr/local/bin

So stop service, change it and start service again... eh voilá... new build number in about box! :)

RE: Update tvheadend with a GIT build does not quite work - Added by Marco Foderi over 12 years ago

Hello to all ...
I have some difficulties with the update ....
are not very practical for ubuntu ...
here is the error ...

ome@home-server:~$ cd Scaricati/
home@home-server:~/Scaricati$ cd andoma-tvheadend-8f9ac90/
home@home-server:~/Scaricati/andoma-tvheadend-8f9ac90$ ./configure
Using C compiler: cc
avahi-client not found. Unable to build with AVAHI support.
To compile without it, configure with: --disable-avahi

Thanks to all

RE: Update tvheadend with a GIT build does not quite work - Added by Hein Rigolo over 12 years ago

well ... not an error ... but some nice instructions on what you can do:

1) add the required libs so that it can be build with avahi support.
2) build tvheadend without avahi support using the supplied configure option

Hein

RE: Update tvheadend with a GIT build does not quite work - Added by Marco Foderi over 12 years ago

well ... not an error ... but some nice instructions on what you can do:

1) add the required libs so that it can be build with avahi support.
2) build tvheadend without avahi support using the supplied configure option

Hein

Thanks for your answer,
I tried to install avahi, but without success ....
How can I update without tvheadend avahi??

The readme is only installed with avahi ....

thanks

Marco

RE: Update tvheadend with a GIT build does not quite work - Added by Hein Rigolo over 12 years ago

just like it said in the message ... add the --disable-avahi to the configure command.
and did you install the avahi client ... or the required libs of avahi?

RE: Update tvheadend with a GIT build does not quite work - Added by Richard Lloyd over 12 years ago

I did exactly the same thing as the OP and had the same issue. Investigation shows that you can't just replace the 2.12 packaged /usr/bin/tvheadend binary with the one you build from a git source snapshot because the install trees (e.g. where images etc. live) are different between the two. I did a "make install" on the git snapshot build and that fixes the problem as other respondents have said.

On a relevant note, why hasn't there been a packaged post-2.12 tvheadend release yet? The 2.12 release is ludicrously buggy (it was so crashy in Ubuntu 12.04 64-bit that I almost abandoned using it until I spotted the git repo) and over 18 months old too! Considering tvheadend is still being actively developed, leaving up such a poor release as 2.12 when the git version is much, much more stable is beyond me.

    (1-8/8)