Opened 6 years ago
Closed 6 years ago
Last modified 6 years ago
#13162 closed Bug Report - General (fixed)
mythfrontend does not start when Retry used
Reported by: | Owned by: | Peter Bennett | |
---|---|---|---|
Priority: | minor | Milestone: | 29.1 |
Component: | MythTV - General | Version: | v29-fixes |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I have test system where the backend takes a long time to start due to many tuners (PCie and network). mythfrontend is set to autostart when machine boots. MythTV Startup Status screen is displayed and displays Unable to connect to master backend. This is expected as I have not changed any defaults. When I click Retry it fails again, this is not expected. Looking at the mythfrontend log, the first attempt after boot has BE and DB values for the connection test. After Retry the values of BE and DB have gone - looks like they are not being reloaded or get cleared. If I click Search backend is found via upnp and frontend start correctly. I have attached both frontend and backend logs.
Attachments (2)
Change History (10)
Changed 6 years ago by
Attachment: | mythfrontend.log.tar.bz2 added |
---|
comment:1 Changed 6 years ago by
operating system is Debian Stretch amd64, mythtv installed via apt from deb files built from source as in https://www.mythtv.org/wiki/Installing_MythTV_on_Debian
mythtv --version MythTV Version : v29.0-48-gcf364afa84-dirty MythTV Branch : fixes/29 Network Protocol : 91 Library API : 29.20170212-1 QT Version : 5.7.1 Options compiled in:
linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame
comment:2 Changed 6 years ago by
config.xml contents for user running mythfrontend:
<Configuration> <Database> <PingHost>1</PingHost> <Host>127.0.0.1</Host> <UserName>mythtv</UserName> <Password>MacGR3B5</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>5f02e1a8-9ef5-4b60-858c-aaffb6d1e43c</MediaRenderer> </UDN> </UPnP> <LocalHostName></LocalHostName> </Configuration>
config.xml file for user mythtv (/etc/mythtv/config.xml)
<Configuration> <Database> <PingHost>1</PingHost> <Host>localhost</Host> <UserName>mythtv</UserName> <Password>MacGR3B5</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>
Note config.xml file for user running mythtv was originally sym linked to /etc/mythtv/config.xml. running mythfrontend caused this sym link to be removed and replaced with a new config.xml file.
comment:3 Changed 6 years ago by
Owner: | set to Peter Bennett |
---|---|
Status: | new → assigned |
comment:4 Changed 6 years ago by
Milestone: | needs_triage → 29.1 |
---|
comment:5 Changed 6 years ago by
Just a data point. Same issue on xubuntu 16.04 with mythtv (master) built from source.
MythTV Version : v30-Pre-293-gd6bf26d MythTV Branch : master Network Protocol : 91 Library API : 30.20171015-1 QT Version : 5.5.1 Options compiled in:
linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
comment:6 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:8 Changed 6 years ago by
Owner: | changed from Peter Bennett to Peter Bennett |
---|
frontend log