[mythtv-commits] Ticket #6923: 0.21->trunk DB upgrade failed
MythTV
mythtv at cvs.mythtv.org
Wed Aug 26 20:14:37 UTC 2009
#6923: 0.21->trunk DB upgrade failed
-----------------------------------+----------------------------------------
Reporter: warpme at o2.pl | Owner: ijr
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Mythtv-setup | Version: head
Severity: medium | Resolution: invalid
Mlocked: 0 |
-----------------------------------+----------------------------------------
Changes (by mdean):
* priority: blocker => minor
* status: new => closed
* resolution: => invalid
* severity: high => medium
* milestone: 0.22 => unknown
Comment:
The error "Duplicate column name 'default_authority'" would be impossible
to get with an upgrade of a "clean" database--meaning something added that
column to your schema before you ran mythtv-setup this time.
Since you're upgrading from schema version 1230 to 1242, where 1231--the
one that adds the default_authority column--fails, one possible reason for
this could be that you tried to upgrade, got a failure, then re-ran
mythtv-setup to capture logs for uploading. If so, this failure is due to
the fact that your database was in an "intermediate" state after the first
(real) failure, having only completed some of the changes in the 1231
upgrade. Without logs showing the first/real failure, we can't track down
the cause of that failure.
Another possibility is that some patch you may have applied to your local
copy of MythTV may have added it and you didn't "clean up" your schema
before the upgrade.
If you can get logs of the first real failure, please upload them and add
a comment to the ticket. You may restore a backup of your 0.21-fixes
database ( http://www.mythtv.org/wiki/Database_Backup_and_Restore ). If
you did not manually backup your database before upgrading, you may have
gotten an automatic backup--check the directories in your DB Backups
storage group or, if you haven't defined a DB Backups SG, check the
directories in your Default storage group.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6923#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list