[mythtv-users] Attempting upgrade, mythfrontend closing without upgrading

David Fishburn dfishburn.mythtv at gmail.com
Mon Jul 2 14:11:22 UTC 2012


I am upgrading from 0.21 to 0.25, but have to go to 0.24 first.

I have to reinstall from scratch my mythtv backend box, as it is
running Ubuntu 7.04 and I am moving up to Mythbuntu 12.04.

My mythbackend is at 192.168.1.40
I have 2 VMs, one running 0.24 (192.168.1.102) and one running 0.25.

Michael Dean suggested I update the 0.24 mysql.txt file and point it
at my 0.21 database to upgrade it in place.
I have done this and ran mythtv-setup, which upgraded the database
successfully.  Repeated runs of mythtv-setup no longer prompts me that
I need to upgrade.

Now I am attempting to also update the schema by running 0.24 mythfrontend.

I have run:
mythfrontend -u -nw -l /var/log/mythtv/mythfrontend.log

This is what I am getting:
***
2012-07-02 09:50:01.846 mythfrontend version: fixes/0.24
[v0.24.1-80-g1de0431] www.mythtv.org
2012-07-02 09:50:01.846 Using runtime prefix = /usr
2012-07-02 09:50:01.846 Using configuration directory = /home/fishburn/.mythtv
2012-07-02 09:50:01.847 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2012-07-02 09:50:03.014 Setting 'RunFrontendInWindow' being forced to '0'
2012-07-02 09:50:03.015 Empty LocalHostName.
2012-07-02 09:50:03.015 Using localhost value of mythbuntu1104
2012-07-02 09:50:03.016 Testing network connectivity to '192.168.1.40'
2012-07-02 09:50:03.156 New DB connection, total: 1
2012-07-02 09:50:08.188 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:50:08.214 Closing DB connection named 'DBManager0'
2012-07-02 09:50:13.242 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:50:13.251 Current locale en_CA
2012-07-02 09:50:13.290 Reading locale defaults from
/usr/share/mythtv//locales/en_ca.xml
2012-07-02 09:50:13.616 ScreenSaverX11Private: XScreenSaver support enabled
2012-07-02 09:50:13.619 DPMS is disabled.
2012-07-02 09:50:13.732 Desktop video mode: 1024x768 60.004 Hz
2012-07-02 09:50:13.931 Enabled verbose msgs:  important general
2012-07-02 09:50:13.998 Loading en_ca translation for module mythfrontend
2012-07-02 09:50:14.089 LIRC, Error: Failed to connect to Unix socket
'/var/run/lirc/lircd'
                        eno: No such file or directory (2)
2012-07-02 09:50:14.090 JoystickMenuThread: Joystick disabled - Failed
to read /home/fishburn/.mythtv/joystickmenurc
2012-07-02 09:50:14.401 Using Frameless Window
2012-07-02 09:50:14.401 Using Full Screen Window
2012-07-02 09:50:14.442 Using the Qt painter
2012-07-02 09:50:14.668 New DB connection, total: 2
2012-07-02 09:50:14.685 Current MythTV Schema Version (DBSchemaVer): 1264
2012-07-02 09:50:15.887 ThemeInfo, Warning: Unable to open
themeinfo.xml for
/usr/share/mythtv/themes/BlackCurves-OSD/themeinfo.xml
2012-07-02 09:50:15.888 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/BlackCurves-OSD) is missing a themeinfo.xml
file.
2012-07-02 09:50:15.887 ThemeInfo, Warning: Unable to open
themeinfo.xml for
/usr/share/mythtv/themes/BlackCurves-OSD/themeinfo.xml
2012-07-02 09:50:15.888 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/BlackCurves-OSD) is missing a themeinfo.xml
file.
2012-07-02 09:50:15.895 ThemeInfo, Warning: Unable to open
themeinfo.xml for /usr/share/mythtv/themes/Gray-OSD/themeinfo.xml
2012-07-02 09:50:15.895 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/Gray-OSD) is missing a themeinfo.xml file.
2012-07-02 09:50:18.111 Registering Internal as a media playback plugin.
2012-07-02 09:50:18.298 MediaMonitorUnix::AddDevice() - empty device path.
2012-07-02 09:50:18.299 MediaMonitorUnix::AddDevice() - empty device path.
2012-07-02 09:50:18.299 MediaMonitorUnix::AddDevice() - empty device path.
2012-07-02 09:50:18.300 MonitorRegisterExtensions(0x100, gif,jpg,png)
2012-07-02 09:50:18.301 Loading en_ca translation for module mythgallery
2012-07-02 09:50:18.506 Current MythMusic Schema Version
(MusicDBSchemaVer): 1013
2012-07-02 09:50:18.507 MythMusic database schema is old. Waiting to
see if DB is being upgraded.
2012-07-02 09:50:19.508 New DB connection, total: 3
2012-07-02 09:50:19.703 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:50:24.712 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:50:24.771 Current MythMusic Schema Version
(MusicDBSchemaVer): 1013
2012-07-02 09:50:24.784 Timed out waiting.
2012-07-02 09:50:24.922 SG(Default) Error: FindNextDirMostFree:
'/media/mythtv/recordings' does not exist!
2012-07-02 09:50:24.923 SG(Default) Error: FindNextDirMostFree:
'/mnt/usb320drive/mythtv/recordings' does not exist!
2012-07-02 09:50:24.961 Backing up database with script:
'/usr/share/mythtv/mythconverg_backup.pl'
2012-07-02 09:51:00.396 Database Backup complete.
2012-07-02 09:51:00.399 Backed up database to file:
'/tmp/mythconverg-1264-20120702095024.sql.gz'
QProcess: Destroyed while process is still running.
ICE default IO error handler doing an exit(), pid = 3325, errno = 32
2012-07-02 09:52:53.582 mythfrontend version: fixes/0.24
[v0.24.1-80-g1de0431] www.mythtv.org
2012-07-02 09:52:53.583 Using runtime prefix = /usr
2012-07-02 09:52:53.583 Using configuration directory = /home/fishburn/.mythtv
2012-07-02 09:52:53.583 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2012-07-02 09:52:54.791 Setting 'RunFrontendInWindow' being forced to '0'
2012-07-02 09:52:54.793 Empty LocalHostName.
2012-07-02 09:52:54.793 Using localhost value of mythbuntu1104
2012-07-02 09:52:54.795 Testing network connectivity to '192.168.1.40'
2012-07-02 09:52:54.942 New DB connection, total: 1
2012-07-02 09:52:59.973 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:52:59.995 Closing DB connection named 'DBManager0'
2012-07-02 09:53:05.021 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:53:05.049 Current locale en_CA
2012-07-02 09:53:05.050 Reading locale defaults from
/usr/share/mythtv//locales/en_ca.xml
2012-07-02 09:53:05.334 ScreenSaverX11Private: XScreenSaver support enabled
2012-07-02 09:53:05.338 DPMS is disabled.
2012-07-02 09:53:05.431 Desktop video mode: 1024x768 60.004 Hz
2012-07-02 09:53:05.590 Enabled verbose msgs:  important general
2012-07-02 09:53:05.640 Loading en_ca translation for module mythfrontend
2012-07-02 09:53:05.755 LIRC, Error: Failed to connect to Unix socket
'/var/run/lirc/lircd'
                        eno: No such file or directory (2)
2012-07-02 09:53:05.756 JoystickMenuThread: Joystick disabled - Failed
to read /home/fishburn/.mythtv/joystickmenurc
2012-07-02 09:53:06.183 Using Frameless Window
2012-07-02 09:53:06.184 Using Full Screen Window
2012-07-02 09:53:06.206 Using the Qt painter
2012-07-02 09:53:06.549 New DB connection, total: 2
2012-07-02 09:53:06.564 Current MythTV Schema Version (DBSchemaVer): 1264
2012-07-02 09:53:07.665 ThemeInfo, Warning: Unable to open
themeinfo.xml for
/usr/share/mythtv/themes/BlackCurves-OSD/themeinfo.xml
2012-07-02 09:53:07.666 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/BlackCurves-OSD) is missing a themeinfo.xml
file.
2012-07-02 09:53:07.665 ThemeInfo, Warning: Unable to open
themeinfo.xml for
/usr/share/mythtv/themes/BlackCurves-OSD/themeinfo.xml
2012-07-02 09:53:07.666 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/BlackCurves-OSD) is missing a themeinfo.xml
file.
2012-07-02 09:53:07.667 ThemeInfo, Warning: Unable to open
themeinfo.xml for /usr/share/mythtv/themes/Gray-OSD/themeinfo.xml
2012-07-02 09:53:07.667 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/Gray-OSD) is missing a themeinfo.xml file.
2012-07-02 09:53:09.305 Registering Internal as a media playback plugin.
2012-07-02 09:53:09.498 MediaMonitorUnix::AddDevice() - empty device path.
2012-07-02 09:53:09.499 MediaMonitorUnix::AddDevice() - empty device path.
2012-07-02 09:53:09.499 MediaMonitorUnix::AddDevice() - empty device path.
2012-07-02 09:53:09.500 MonitorRegisterExtensions(0x100, gif,jpg,png)
2012-07-02 09:53:09.500 Loading en_ca translation for module mythgallery
2012-07-02 09:53:09.549 Current MythMusic Schema Version
(MusicDBSchemaVer): 1013
2012-07-02 09:53:09.550 MythMusic database schema is old. Waiting to
see if DB is being upgraded.
2012-07-02 09:53:10.551 New DB connection, total: 3
2012-07-02 09:53:11.573 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:53:16.747 Connected to database 'mythconverg' at host:
192.168.1.40
2012-07-02 09:53:16.818 Current MythMusic Schema Version
(MusicDBSchemaVer): 1013
2012-07-02 09:53:16.819 Timed out waiting.
2012-07-02 09:53:16.934 SG(Default) Error: FindNextDirMostFree:
'/media/mythtv/recordings' does not exist!
2012-07-02 09:53:16.934 SG(Default) Error: FindNextDirMostFree:
'/mnt/usb320drive/mythtv/recordings' does not exist!
2012-07-02 09:53:16.956 Backing up database with script:
'/usr/share/mythtv/mythconverg_backup.pl'
2012-07-02 09:53:51.925 Database Backup complete.
2012-07-02 09:53:51.928 Backed up database to file:
'/tmp/mythconverg-1264-20120702095316.sql.gz'
QProcess: Destroyed while process is still running.
ICE default IO error handler doing an exit(), pid = 3377, errno = 32
***

I don't see any messages indicating that it finished the database
ugprade (or I would just move on).


When I run the standard frontend:
mythfrontend  -l /var/log/mythtv/mythfrontend.log

I get a gray screen for a minute or 2 then it just closes, which is
why I tried the -u -nw above.

So it looks like the frontend is just seg faulting.

For the mysql.txt all I changed was:
DBHostName=192.168.1.40
DBPassword=***

My config.xml is:
<Configuration>
  <UPnP>
    <UDN>
      <MediaRenderer>b557472a-a4b8-4bd2-b0a6-62444cac784d</MediaRenderer>
    </UDN>
    <MythFrontend>
      <DefaultBackend>
        <DBHostName>192.168.1.40</DBHostName>
        <DBUserName>mythtv</DBUserName>
        <DBPassword>***</DBPassword>
        <DBName>mythconverg</DBName>
        <DBPort>0</DBPort>
      </DefaultBackend>
    </MythFrontend>
  </UPnP>
</Configuration>


Any suggestions for me?

TIA,
Dave


More information about the mythtv-users mailing list