<div dir="ltr">Some progress but still no joy. It is still starting as a slave backend and the frontend still won't connect.<br><br><div class="gmail_quote"><div dir="ltr">On Fri, May 25, 2018 at 5:40 PM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Need to know what hostname is used by the backend.<br>
<br>
Look at these two log lines:<br>
<br>
...Empty LocalHostName <may not print if not empty><br>
...Using localhost value of <probably <a href="http://mongoliad.gregandeva.net" rel="noreferrer" target="_blank">mongoliad.gregandeva.net</a>)<br></blockquote><div><br></div><div>Since I finally figured out that /etc/mythtv/config.xml was being used, I changed it to this:<br><br></div><div> <Configuration></div><div> <UPnP></div><div> <UDN></div><div> <MediaRenderer>3da71c71-cb33-45ca-beae-93bc4a062152</MediaRenderer></div><div> </UDN></div><div> <MythFrontend></div><div> <DefaultBackend></div><div> <LocalHostName><a href="http://mongoliad.gregandeva.net">mongoliad.gregandeva.net</a></LocalHostName></div><div> </DefaultBackend></div><div> </MythFrontend></div><div> </UPnP></div><div> <LocalHostName><a href="http://mongoliad.gregandeva.net">mongoliad.gregandeva.net</a></LocalHostName></div><div> <Database></div><div> <PingHost>1</PingHost></div><div> <Host><a href="http://mongoliad.gregandeva.net">mongoliad.gregandeva.net</a></Host></div><div> <UserName>mythtv</UserName></div><div> <Password>*redacted*</Password></div><div> <DatabaseName>mythconverg</DatabaseName></div><div> <Port>3306</Port></div><div> </Database></div><div> <WakeOnLAN></div><div> <Enabled>0</Enabled></div><div> <SQLReconnectWaitTime>0</SQLReconnectWaitTime></div><div> <SQLConnectRetry>5</SQLConnectRetry></div><div> <Command>echo 'WOLsqlServerCommand not set'</Command></div><div> </WakeOnLAN></div><div></Configuration></div><div><br></div><div>When I did this, it no longer logs the Empty LocalHostName line, and I could actually connect to the backend when I ran "mythutil --clearcache".</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><br>
Upstart, systemd can set MYTHCONFDIR too. Just something to watch for.<br></blockquote><div><br></div><div>Bingo on this. The /usr/lib/systemd/system/mythbackend.service file is what was setting MYTHCONFDIR=/etc/mythtv </div><div><br></div><div>Unfortunately, after all this, it still starts as a slave backend, and it still logs:<br><br></div><div>2018-05-25 18:02:26.010241 C [17703/17752] ProcessRequest mainserver.cpp:1614 (HandleVersion) - MainServer: MainServer::HandleVersion - Client speaks protocol version 88 but we speak 91!</div><div><br></div><div>..and the frontend still can't connect.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> - Client speaks protocol version 88 but we speak 91!<br>
<br>
Wondering if this is a red herring. Could be something like a Kodi<br>
host.<br></blockquote><div><br></div><div>I sure don't know whether it's a red herring, but I do know that I don't have any Kodi hosts.</div><div><br></div><div>Thanks to all you guys for spending time helping.</div><div><br></div><div>--Greg</div></div></div>