[mythtv-users] mythweb unable to connect after upgrade to 028
George Bingham
georgeb1962 at gmail.com
Thu May 5 18:26:47 UTC 2016
Fred,
Thanks for pointing out that my problem was similar to yours....
I feel a bit like an idiot for not recognizing that, as I was on this list
and following your issue before I had attempted the upgrade, but the
symptoms I was having were pointing me more in the direction of an
unsupported capture card.
I now realize that when I was in mythtv-setup, my backend was still running
and holding the capture card open for EIT scan, and that's why it would
show the 'unknown error' on the capture card screen.
OK, so after I modified the service files (which I will detail below) I am
still having a bit of a problem. I am not sure of the correct ipv6 address
to use for the backend. It seems that whichever address I choose will be
the wrong one after rebooting.
I think it's still the same problem maybe, only I need to make it wait
until all the inet6 addresses are "up and running" before starting the
backend.
OK, so here's what I did:
Enabled Network Manager wait-online service:
systemctl enable NetworkManager-wait-online.service
Then, changed the file
/etc/systemd/system/multi-user.target.wants/mythtv-backend.service
so that instead of having "network.target" on the "After" line, it says
"network-online.target".
(I made the same change to the mysql.service file in the same directory).
Then I ran the
sudo systemctl daemon-reload
command to make those changes official and rebooted.
However, I still get the issues with the ipv6 address, and also after this
mornings Software Update, the mythtv-backend.service file must have been
overwritten, so it no longer has the network-online.target entry, but since
it is still in the mysql.target file, I think it is still in effect.
I think my next step will be to create the service file to restart the
mythtv-backend later in the boot process, but have not done that yet. Got
to go now, and since everything works until the next reboot....
Thanks for your help, I was just about to give up, wipe the drive and start
over!
George
-- George
On Wed, May 4, 2016 at 11:47 PM, Fred Hamilton <fred at yonkitime.com> wrote:
> I had a similar problem - turned out to be mythbackend launching before
> the network was initialized. Details here:
> http://www.gossamer-threads.com/lists/mythtv/users/598807#598807
>
>
> On Wed, May 4, 2016 at 6:02 PM, George Bingham <georgeb1962 at gmail.com>
> wrote:
>
>>
>> Hi,
>>
>>
>> This problem may be related to mythweb being unable to connect.
>>
>> I have a couple scripts that when they update my videos directory, call
>> mythutil to scan for videos and clear the cache, but that is not working...
>>
>> Here is what I get at the end of mythutil output:
>>
>> 2016-05-04 17:39:14.517143 I MythCoreContext::ConnectCommandSocket():
>> Connecting to backend server: 192.168.20.100:6543 (try 1 of 1)
>> 2016-05-04 17:39:21.531500 E MythSocket(9ce880:11): ReadStringList:
>> Error, timed out after 7000 ms.
>> 2016-05-04 17:39:21.531690 C Protocol version check failure.
>> The response to MYTH_PROTO_VERSION was empty.
>> This happens when the backend is too busy to respond,
>> or has deadlocked due to bugs or hardware failure.
>> 2016-05-04 17:39:21.531929 E Cannot connect to master for video scan
>>
>> I think this may also be why mythweb won't connect, and why I'm getting
>> the constant disconnections and reconnections in the mythbackend.log above.
>>
>> Problem is that I don't know why these problems are happening or what
>> else to look at for a cause.
>>
>> The frontend doesn't complain about the backend going offline, so for the
>> most part, the backend is functioning.
>>
>> What else can I check?
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160505/3e8f4538/attachment.html>
More information about the mythtv-users
mailing list