[mythtv-users] Mythfrontend will not start

Jack McGee jack at greendesk.net
Fri Sep 2 01:22:20 UTC 2016


On 09/01/2016 12:15 PM, Bill Meek wrote:
> On 09/01/2016 07:04 AM, Jack McGee wrote:
> ...
>> Sep  1 05:51:39 mythuser-ZBOX-ID84 mythfrontend.real: 
>> mythfrontend[5364]: N thread_unknown mythdirs.cpp:194
>> (InitializeMythDirs) Using configuration directory = 
>> /home/mythuser/.mythtv
>> Sep  1 05:51:39 mythuser-ZBOX-ID84 mythfrontend.real: 
>> mythfrontend[5364]: E CoreContext mythdbparams.cpp:49 (IsValid)
>> DBPassword is not set in config.xml
>> Sep  1 05:51:39 mythuser-ZBOX-ID84 mythfrontend.real: 
>> mythfrontend[5364]: E CoreContext mythdbparams.cpp:39 (IsValid)
>> DBHostName is not set in config.xml
>
> This is a regression. You had fixed this before by adding a
> proper /home/mythuser/.mythtv file.
>
> You said that another (laptop) frontend worked OK. Just copy
> the config.xml file from that host to this one. 

Thanks for all your help, Bill.  I figured nothing to lose to purge and 
reinstall, and indeed that did fix it.
maybe it was that I edited it config.xml using sudo and could not be 
accessed.  It might have been I could have copied it over from another 
working frontend.

Now several more problems to tackle, this has not been a smooth upgrade.

For the record, the working config.xml:
mythuser at mythuser-ZBOX-ID84:~/.mythtv$ cat config.xml
<Configuration>
<LocalHostName>my-unique-identifier-goes-here</LocalHostName>
   <Database>
     <PingHost>1</PingHost>
     <Host>192.168.0.105</Host>
     <UserName>mythtv</UserName>
     <Password>mythtv</Password>
     <DatabaseName>mythconverg</DatabaseName>
     <Port>3306</Port>
   </Database>
   <WakeOnLAN>
     <Enabled>0</Enabled>
     <SQLReconnectWaitTime>0</SQLReconnectWaitTime>
     <SQLConnectRetry>5</SQLConnectRetry>
     <Command>echo 'WOLsqlServerCommand not set'</Command>
   </WakeOnLAN>
   <UPnP>
     <UDN>
<MediaRenderer>bf65efbd-469f-4f8e-99a2-e2d4556f8fb6</MediaRenderer>
     </UDN>
   </UPnP>
</Configuration>


and this is close to what I started with:

mythuser at mythuser-ZBOX-ID84:~$ cat /home/mythtv/.mythtv/config.xml
<Configuration>
   <Database>
     <PingHost>1</PingHost>
     <Host>192.168.0.105</Host>
     <UserName>mythtv</UserName>
     <Password>Tj4zOBwM</Password>
     <DatabaseName>mythconverg</DatabaseName>
     <Port>3306</Port>
   </Database>
   <WakeOnLAN>
     <Enabled>0</Enabled>
     <SQLReconnectWaitTime>0</SQLReconnectWaitTime>
     <SQLConnectRetry>5</SQLConnectRetry>
     <Command>echo 'WOLsqlServerCommand not set'</Command>
   </WakeOnLAN>
</Configuration>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160901/4fdc9a43/attachment.html>


More information about the mythtv-users mailing list