Posts: 2,771
Joined: Mar 2011
Reputation:
95
I'd suggest some debug logs - both of client and server. What you see isn't normal (although you don't say which end is being rebooted - "the system" could be either - but it implies the server side).
I can reboot clients and server independently without problem FWIW. So, let's see what's going on on both ends...
Posts: 1,019
Joined: May 2010
Reputation:
18
loggio
Posting Freak
Posts: 1,019
This to me from time to time on the RPi using OpenElec. I just SSH to the pi and type killall tvheadend
tvheadend will restart and xbmc will connect.
Posts: 28
Joined: Jun 2015
Reputation:
0
Sorry if my first post was a little confusing. I'm running both Kodi and tvheadend on the same machine, so it' both frontend and backend. tvheadend was installed using apt-get from the official repo selecting the stable and then unstable branches (same problem on both). tvheadend isn't actually loading on boot (I've now found), but when I manually start it the login screen hangs (when I enter login details it simply refreshes and asks me for them again).
As I can't get into tvheadend without reconfiguring, is there another way of getting debug logs?
Posts: 2,771
Joined: Mar 2011
Reputation:
95
2015-07-20, 20:04
(This post was last modified: 2015-07-20, 20:10 by Prof Yaffle.)
Edit /etc/default/theadend, set TVH_DEBUG=1 and restart the process.
You say "Ubuntu MATE", but I'm guessing it's actually Mint, yes? Or do you mean you've installed the Mate desktop onto Ubuntu? The latter shouldn't make any difference, as tvh isn't bothered by your desktop environment; the former might be relevant, as Mint has taken to sticking with the LTS Ubuntu base rather than updating alongside the 6-monthly Ubuntu releases. Either way, it should still auto-start, especially if installed from PPA, so that's clearly an issue.
I'm losing track of the various init systems, but do you have something in /etc/init/tvheadend.conf or in /etc/init.d/tvheadend?
EDIT
Google is your friend. Seems that Ubuntu Mate is an official Canonical distro now, with the Mate desktop bolted into Ubuntu instead of using Unity. There you go, I've learned something (that - let me guess - everyone else already knew!).
EDIT2
Thoroughly confused myself with systemd vs upstart now, so I'm giving up on that until Someone Who Understands comes along and can explain. I'm using 14.04 LTS, but I can't imagine you're the only tvh user on a systemd 'buntu release...
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
Can you file a bug report about that on tvheadend.org? I take it not that many of us use systemd (yet atleast) so the installation scripts may still be a bit buggy.
Posts: 28
Joined: Jun 2015
Reputation:
0
Cheers for that. I was going log it myself, but I never got the registration email from tvheadend.org. That seems to about cover it, hopefully they get it sorted so nobody else has the same issues.