<div dir="ltr"><div>I did an upgrade from Ubuntu 12.02 32/MythTV .25 bit to Ubuntu 14.04 64 bit/MythTV .27 and now have a database upgrade failure.  I think it actually started at 1299 but there is no message about going from 1299 to 1300.  Just that it tried to get to 1301.  The .27 is from the Ubuntu software center.</div><div><br></div><div>Text out of mythtv-setup:</div><div><br></div><div>Shall I upgrade this database? [yes]  2014-12-14 17:26:29.874638 C  Database Backup complete.<br>2014-12-14 17:26:29.875128 C  Backed up database to file: '/var/lib/mythtv/recordings/mythconverg-1300-20141214222611.sql.gz'<br>yes<br>2014-12-14 17:50:06.643255 C  Upgrading to MythTV schema version 1301<br>2014-12-14 17:50:06.643802 E  DB Error (Performing database upgrade): <br>Query was: ALTER TABLE channel ADD COLUMN iptvid SMALLINT(6) UNSIGNED; <br>Error was: Driver error was [2/1060]:<br>QMYSQL: Unable to execute query<br>Database error was:<br>Duplicate column name 'iptvid'<br> <br>new version: 1301<br>2014-12-14 17:50:06.643840 E  Database schema upgrade failed.<br>2014-12-14 17:50:06.644392 E  Couldn't upgrade database to new schema<br>htpc@htpc:/home/mythtv$ </div><div><br></div><div>I originally did the upgrade to Ubuntu 14.04 32 bit with a MythTV build out of the repositories.  The db did a forward convert with no problems but ALSA was not working.  I noticed the 32 bit (real old install, started around MythTV 20 or less) and decided to do a clean install.  I am using a backup of the 32 bit database.</div><div><br></div><div>What would be useful would be:<br>1) What is the db upgrade script so I can run it and watch what is happening?  If I just need to fix a few tables to let it run I am good.</div><div>2) Alternatively all I really care about is access to the old recordings.  I could let it build an empty .27 database and then insert the data from the backup into the tables that point at the recordings.  Can someone give the list of tables that need to be populated to point at the old recordings?  </div><div><br>Dave</div></div>