[mythtvnz] Upgrade Error - Attn: Hads
Steven Ellis
steven at openmedia.co.nz
Wed Jun 11 22:50:31 BST 2008
Ashley Kirk wrote:
> Hi Hads
>
> This is the error I get when I try to start the frontend with the
> --upgrade-schema switch... any ideas or is it time to reinstall fresh?
>
> --
>
> 2008-06-12 09:18:32.222 Using runtime prefix = /usr, libdir = /usr/lib
> 2008-06-12 09:18:32.745 XScreenSaver support enabled
> 2008-06-12 09:18:32.746 DPMS is active.
> 2008-06-12 09:18:32.746 Empty LocalHostName.
> 2008-06-12 09:18:32.746 Using localhost value of mythbackend
> 2008-06-12 09:18:32.755 New DB connection, total: 1
> 2008-06-12 09:18:32.758 Connected to database 'mythconverg' at host: localhost
> 2008-06-12 09:18:32.760 Closing DB connection named 'DBManager0'
> 2008-06-12 09:18:32.761 Primary screen 0.
> 2008-06-12 09:18:32.762 Connected to database 'mythconverg' at host: localhost
> 2008-06-12 09:18:32.762 Using screen 0, 1280x1024 at 0,0
> 2008-06-12 09:18:32.767 New DB connection, total: 2
> 2008-06-12 09:18:32.768 Connected to database 'mythconverg' at host: localhost
> 2008-06-12 09:18:32.769 Current Schema Version: 1180
> 2008-06-12 09:18:32.780 New DB connection, total: 3
> 2008-06-12 09:18:32.780 Connected to database 'mythconverg' at host: localhost
> 2008-06-12 09:18:32.782 Backing up database to file:
> /var/lib/mythtv/recordings/mythconverg-1180-20080612091832.sql
> 2008-06-12 09:18:32.805 DBUtil Error: Error backing up database: mysqldump
> --defaults-extra-file='/tmp/mythtv_db_backup_conf_g9UzXQ' --host='localhost'
> --user='mythtv' --add-drop-table --add-locks --allow-keywords --complete-insert
> --extended-insert --lock-tables --no-create-db --quick 'mythconverg' >
> '/var/lib/mythtv/recordings/mythconverg-1180-20080612091832.sql' 2>/dev/null (512)
> 2008-06-12 09:18:32.818 Primary screen 0.
> 2008-06-12 09:18:32.819 Using screen 0, 1280x1024 at 0,0
> 2008-06-12 09:18:32.875 Switching to square mode (G.A.N.T)
> 2008-06-12 09:18:32.901 Using the Qt painter
> mythtv: could not connect to socket
> mythtv: No such file or directory
> 2008-06-12 09:18:32.901 lirc_init failed for mythtv, see preceding messages
> 2008-06-12 09:18:32.901 JoystickMenuClient Error: Joystick disabled - Failed to
> read /home/bg/.mythtv/joystickmenurc
> 2008-06-12 09:18:35.846 Newest Schema Version : 1214
> 2008-06-12 09:18:35.847 Upgrading to schema version 1181
> 2008-06-12 09:18:35.852 DB Error (Performing database upgrade):
> Query was: ALTER TABLE recordedseek MODIFY mark MEDIUMINT UNSIGNED NOT NULL
> DEFAULT 0,MODIFY offset BIGINT UNSIGNED NOT NULL,MODIFY type TINYINT NOT NULL
> DEFAULT 0;
> Error was: Driver error was [2/145]:
> QMYSQL3: Unable to execute query
> Database error was:
> Table './mythconverg/recordedseek' is marked as crashed and should be repaired
>
> new version: 1181
> 2008-06-12 09:18:35.852 Database Schema upgrade FAILED, unlocking.
> 2008-06-12 09:18:35.852 Couldn't upgrade database to new schema, exiting.
> root at mythbackend:~#
>
>
> _____________________________________________________________________
>
Try running the mysql backup manually and seeing what the errors are
mysqldump
--defaults-extra-file='/tmp/mythtv_db_backup_conf_g9UzXQ' --host='localhost'
--user='mythtv' --add-drop-table --add-locks --allow-keywords --complete-insert
--extended-insert --lock-tables --no-create-db --quick 'mythconverg' >
'/var/lib/mythtv/recordings/mythconverg-1180-20080612091832.sql'
Steve
--
Steven Ellis - Technical Director
OpenMedia Limited
email - steven at openmedia.co.nz
website - http://www.openmedia.co.nz
More information about the mythtvnz
mailing list