What makes you so sure it is exactly the same. Please provide log files so we can check!I'm having the exact same error as MaxMan23 after upgarding from 1.3.0 Alpha (no custom build here)
I'm seeing the same SQL error:
Code:
2012-12-17 15:47:36.654477 [SetupTv(1)]: ---- SetupTv v1.2.200.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
2012-12-17 15:47:36.757483 [SetupTv(1)]: ---- check connection with database ----
2012-12-17 15:47:37.560529 [SetupTv(1)]: SetupDatabaseForm: Added dependency for TvService - MySQL
2012-12-17 15:47:37.644534 [SetupTv(1)]: ---- check if database needs to be updated/created ----
2012-12-17 15:47:37.737539 [SetupTv(1)]: ---- upgrade database schema ----
2012-12-17 15:47:37.850546 [SetupTv(1)]: Exec SQL: USE MpTvDb;ALTER TABLE `Channel` ADD COLUMN `channelNumber` int(11) NOT NULL DEFAULT 10000;UPDATE Channel c set c.channelNumber = (SELECT t.channelNumber FROM TuningDetail t WHERE t.idChannel = c.idChannel ORDER BY t.idTuning limit 1);UPDATE Version SET versionNumber=61;
2012-12-17 15:47:37.941551 [SetupTv(1)]: ********* SQL statement failed! *********
2012-12-17 15:47:38.003554 [SetupTv(1)]: ********* Error reason: Duplicate column name 'channelNumber'
2012-12-17 15:47:38.084559 [SetupTv(1)]: ********* Error code: 1060 *********
I removed the column per SQL console successfully and it was then created again without error:
Code:
2012-12-17 15:56:04.310514 [SetupTv(1)]: ---- SetupTv v1.2.200.0 is starting up on Windows 7 ( Service Pack 1 ) [6.1.7601.65536]
2012-12-17 15:56:04.386518 [SetupTv(1)]: ---- check connection with database ----
2012-12-17 15:56:04.541527 [TvClient-TvHome: HeartBeat transmitter thread(88)]: TCP connect took : 12
2012-12-17 15:56:04.607531 [TvClient-TvHome: HeartBeat transmitter thread(88)]: RemoteControl - Connected
2012-12-17 15:56:04.952550 [SetupTv(1)]: SetupDatabaseForm: Added dependency for TvService - MySQL
2012-12-17 15:56:05.034555 [SetupTv(1)]: ---- check if database needs to be updated/created ----
2012-12-17 15:56:05.118560 [SetupTv(1)]: ---- upgrade database schema ----
2012-12-17 15:56:05.204565 [SetupTv(1)]: Exec SQL: USE MpTvDb;ALTER TABLE `Channel` ADD COLUMN `channelNumber` int(11) NOT NULL DEFAULT 10000;UPDATE Channel c set c.channelNumber = (SELECT t.channelNumber FROM TuningDetail t WHERE t.idChannel = c.idChannel ORDER BY t.idTuning limit 1);UPDATE Version SET versionNumber=61;
SetupTV stopped with an error again though, which is probably the same that happened while upgrading:
Code:
2012-12-17 15:56:35.373290 [SetupTv(1)]: ********* SQL statement failed! *********
2012-12-17 15:56:35.435294 [SetupTv(1)]: ********* Error reason: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
2012-12-17 15:56:35.498297 [SetupTv(1)]: ********* Error code: 0 *********
Last edited: