"all tuners are currently busy" and mythweb not working properly

Bug #1615197 reported by linkku
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
Invalid
Low
Thomas Mashos

Bug Description

I did a fresh install of Mythbuntu 16.04. I have 3 identical Hauppauge Nova TD dual USB DVB-T tuners that use the DiBcom 7000PC driver. After a reboot if I try to watch live TV I get a message "All tuners are currently busy".

In addition to "all tuners are currently busy" my mythweb has all the headers in place but the Listings page has no content and says: "Warning at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php, line 12: !!NoTrans: Cannot modify header information - headers already sent by (output started at /usr/share/mythtv/mythweb/modules/_shared/tmpl/default/header.php:152)!!"

After a backend restart 'sudo /etc/init.d/mythtv-backend restart' everything works.

This is possibly related to tuners not being ready before mythbackend starts up. There are a few possible workarounds, but I haven't picked one simple enough yet.

Revision history for this message
linkku (aapo-anderson) wrote :

An easy workaround was to add "ExecStartPre=/bin/sleep 15" line into my /lib/systemd/system/mythtv-backend.service file:

[Service]
User=mythtv
EnvironmentFile=-/etc/mythtv/additional.args
ExecStartPre=/bin/sleep 15
ExecStart=/usr/bin/mythbackend --quiet --syslog local7 $ADDITIONAL_ARGS
StartLimitBurst=10
StartLimitInterval=10m
Restart=on-failure
RestartSec=1

Revision history for this message
linkku (aapo-anderson) wrote :

Furthermore, you have to do the above everytime apt-get upgrade gives your distro a new /lib/systemd/system/mythtv-backend.service file.

Revision history for this message
Thomas Mashos (tgm4883) wrote :

We can't really delay an arbitrary about of time, as it would cause issues with waking to record. A better fix for you would be an overrride file, which should be in a different directory rather than changing the shipped startup files. See https://wiki.ubuntu.com/SystemdForUpstartUsers#Override_Files

Changed in mythbuntu:
assignee: nobody → Thomas Mashos (tgm4883)
importance: Undecided → Low
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.