[mythtv-users] Can't start backend on Debian 9 (Stretch)

Stefan Davids mythtv at stefan.davids.uk.net
Thu Jul 27 18:28:30 UTC 2017


On 27/07/17 18:44, Mike Perkins wrote:

>>
> As I said, I don't have that file. I've checked the .deb contents and
> the .service file isn't in there.
>
> Since I selected "mythtv-backend" to install I'm wondering if the
> .service files only come with an install of everything.
>
> My big problem is that everything was working fine until I reloaded the
> database. Something changed and I don't know what. If I run the backend
> by hand it comes up fine, so I know there's nothing wrong with the
> database or the internal configuration, but that's not a sustainable
> solution.

You could try just dropping that .service file into where I found it, do 
"systemctl daemon-reload" and see if you can start it with systemctl 
start then.

I'd expect a .system to be in the mythtv-backend package since that's 
what needs them but I didn't get the deb's I used from deb-multimedia. I 
followed

https://www.mythtv.org/wiki/Installing_MythTV_on_Debian

which was pretty painless and built .debs which did all the systemd 
stuff for me.  You'll have to fiddle the dependencies since it still 
depends on libmysqlclient-dev which doesn't seem to be in stretch 
anymore.  I did the following:

+++ packaging/deb/mythtv/debian/control 2017-07-27 19:20:21.543742313 +0100
@@ -71,7 +71,7 @@
                  libxv-dev,
                  libtag1-dev,
                  libvisual-0.4-dev,
+                default-libmysqlclient-dev,
-                libmysqlclient-dev,
                  libdate-manip-perl,
                  libxml-simple-perl,
                  libimage-size-perl,

And it build and installed fine.  Probably MariaDB related.

Stefan


More information about the mythtv-users mailing list