[mythtv-users] HDHR offline but not really

Douglas Peale Douglas_Peale at Comcast.net
Thu Sep 3 04:30:00 UTC 2020

On 8/12/20 9:45 AM, Stephen Worthington wrote:
> On Wed, 12 Aug 2020 08:30:07 -0700, you wrote:
>> On Wed, Aug 12, 2020 at 2:55 AM Stephen Worthington <
>> stephen_agent at jsw.gen.nz> wrote:
>>> On Tue, 11 Aug 2020 21:39:13 -0700, you wrote:
>>>> Recordings are failing on my HDHomerun capture card.  Menus on
>>> mythfrontend
>>>> (myth 31/ubuntu 18.04) say the recorder is offline, but it's not.
>>>> HDHomerun setup app on the myth box can detect channels, and I can
>>>> tune/watch HDHR channels on other devices.  Grepping mythbackend.log for
>>>> hdhomerun or error shows nothing interesting.  Rebooting doesn't help.
>>> Was
>>>> working fine yesterday and haven't changed anything.  How to troubleshoot?
>>> Does it work if you restart mythbackend some time after bootup is
>>> complete?  If so, you have the boot time race condition where
>>> mythbackend is starting up before the network is ready and when it
>>> starts it is unable to see the HDHRs and marks them as bad.  If that
>>> is the problem, then see here for my fix:
>>> https://lists.archive.carbon60.com/mythtv/users/633552
>> Ah right, I had read about that before but forgot.  That was the problem.
>> Unfortunately I don't have the server version of Ubuntu.  I think I will
>> try the startup delay fix <https://forum.mythtv.org/viewtopic.php?t=1467>
>> first and if that doesn't work go to more extreme measures.
> Please do not use that startup delay fix.  Time and time again people
> try to use delays to fix race conditions and then get caught out when
> something changes the timing.  In this case, the timing will change
> drastically whenever one of your ext partitions needs to have its
> automatic fsck done at startup.  So here is the scenario - you are
> away on holiday and there is a power cut.  The MythTV box reboots
> automatically and does fsck on boot.  Mythbackend does not see the
> HDHRs and fails to record.  When you get home, you are missing a
> couple of weeks of recordings.
> The instructions I post for how to fix this correctly are detailed
> enough that you should be able to just follow them.  If not, ask for
> help.  This is a problem that has been fully solved long ago, so
> please do not create more future problems for yourself by not fixing
> it now.
> You mentioned the server version of Ubuntu - the fix I pointed you to
> is for the desktop version.  For the server version if it does not
> have NetworkManager (I have not checked recently) the fix may need to
> be modified a little.  I think it is actually a little bit simpler to
> fix if NetworkManager is not being used.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

I have followed the instructions you gave me a while ago. This seems to be working. I left the delay in place because it is not
hurting anything.

Thank you for the instructions.

More information about the mythtv-users mailing list