[mythtv-users] options for upgrade from 0.21

Karl Newman newmank1 at asme.org
Wed Sep 3 16:19:56 UTC 2014


On Wed, Sep 3, 2014 at 4:49 AM, Michael T. Dean <mtdean at thirdcontact.com>
wrote:

> On 09/03/2014 06:20 AM, Jean-Yves Avenard wrote:
>
>  On 3 September 2014 12:01, Joseph Fry wrote:
>>
>>> Just do an iterative upgrade... 0.23, 0.25, 0.27.... should be pretty
>>> flawless as far as upgrading the critical data (recording history).
>>>
>> Why?
>>
>> Only need to upgrade to 0.24 first, and then straight to 0.27...
>>
>
> Right, either upgrade to 0.22, 0.23, 0.24 or 0.25--whichever is easiest
> (i.e. if any is available from a package, then use it), then go to 0.27.
> Actually, to be more specific, use the most-current -fixes version of 0.22,
> 0.23, 0.24, or 0.25 to do the upgrade (we fixed some DB upgrade issues that
> occur with later versions of Qt/MySQL in the -fixes branches of some
> versions).
>
> A 2-step upgrade should work as well for you as upgrading version by
> version.  The main problem with upgrading from an ancient version to a
> modern version is that the upgrade is generally tested against specific
> (current-at-the-time-of-release) versions of Qt, Qt-MySQL drivers, and
> MySQL.  So if you don't use those versions of Qt/Qt-MySQL/MySQL, there's no
> benefit to the iterative upgrade for MythTV (and because MySQL upgrades are
> probably more work than MythTV upgrades, it's generally not worth trying).
>

Don't forget these important steps: After each mythtv upgrade, *don't* run
mythbackend yet. First backup the database (using mythconverg_backup.pl)
and store it somewhere safe (even better to back it up before upgrading the
mythtv packages), then run mythtv-setup and let it upgrade the database.
Note that any upgrade after version 0.24 might take quite a while because
all the date/time fields have to be converted to UTC. Once the upgrade
completes successfully, run mythbackend, then start mythfrontend to upgrade
any frontend-specific database fields. You should also be sure to open any
plugins you use (Videos, Music, etc.). Then exit mythfrontend, stop
mythbackend, make a new database backup and then continue with your mythtv
upgrade.

Sincerely,

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140903/4eb7ad7a/attachment.html>


More information about the mythtv-users mailing list