2015-05-02, 05:08
There appears to be a problem with Beta1 and MySQL upgrades
It tries to update the database (doing that hang thing for several minutes with zero progress report...) ... and apparently then has an issue:
Full debug log: https://dl.dropboxusercontent.com/u/1088...di.old.log
mysql error 1062 appears to be a duplicate key error, perhaps because you are inserting '' into a key column instead of null (just a very quick google!)
Note the beta then starts as if nothing has happened and uses the partially upgraded tables.
Close the beta, open it again - it then appears to get confused and tries to re-upgrade the DB but can't as the new one already exists...the rollback has not deleted them...
Quick log snippet of the second run -
Full debug log: https://dl.dropboxusercontent.com/u/1088...C/kodi.log
It tries to update the database (doing that hang thing for several minutes with zero progress report...) ... and apparently then has an issue:
Code:
12:50:43 T:12012 DEBUG: Mysql execute: CREATE UNIQUE INDEX ix_actor_1 ON actor (name(255))
12:50:44 T:12012 ERROR: SQL: Undefined MySQL error: Code (1062)
Query: CREATE UNIQUE INDEX ix_actor_1 ON actor (name(255))
Full debug log: https://dl.dropboxusercontent.com/u/1088...di.old.log
mysql error 1062 appears to be a duplicate key error, perhaps because you are inserting '' into a key column instead of null (just a very quick google!)
Note the beta then starts as if nothing has happened and uses the partially upgraded tables.
Close the beta, open it again - it then appears to get confused and tries to re-upgrade the DB but can't as the new one already exists...the rollback has not deleted them...
Quick log snippet of the second run -
Code:
12:54:45 T:5820 DEBUG: Mysql Start transaction
12:54:45 T:5820 ERROR: SQL: The table does not exist
Query: SELECT TRIM(strActor) as strActor FROM actors GROUP BY TRIM(strActor) HAVING COUNT(1) > 1
12:54:45 T:5820 ERROR: Exception updating database xbmcvideo92 from version 90 to 92
12:54:45 T:5820 ERROR: Error updating database xbmcvideo92 from version 90 to 92
12:54:45 T:5820 DEBUG: Mysql rollback transaction
12:54:45 T:5820 ERROR: Unable to open database: xbmcvideo91 [1049](Unknown database 'xbmcvideo91')
12:54:45 T:5820 NOTICE: Old database found - updating from version 90 to 92
12:54:45 T:5820 ERROR: SQL: Can't create database for copy: 'xbmcvideo90' (1007)
12:54:45 T:5820 ERROR: Unable to copy old database xbmcvideo90 to new version xbmcvideo92
Full debug log: https://dl.dropboxusercontent.com/u/1088...C/kodi.log