LinHES Forums
http://forum.linhes.org/

Input cards won't display after Client version mismatch
http://forum.linhes.org/viewtopic.php?f=6&t=18575
Page 1 of 1

Author:  jmacmythtv [ Thu Jul 17, 2008 6:24 pm ]
Post subject:  Input cards won't display after Client version mismatch

HI everyone,

I upgraded a debian system that had mythtv installed and by accident it brought the mythtv version up to one that is incompatible with R5F27- my backend. I started myth on this frontend once and got the "running different versions" error message. A couple of days later I noticed that the backend had stopped recording. No cards were listed in the tuners section. I checked the db table manually and the entries were still there. I did a global repair of mysql tables and finally deleted all cards. When I add a card, they are not listed in the mythtv-setup, but they do show in the db when accessed outside of myth. Here is the event that seems to have corrupted something:

2008-07-09 21:40:37.934 MainServer::HandleVersion - Client speaks protocol version 40 but we speak 31!
2008-07-09 21:40:48.344 MainServer::HandleVersion - Client speaks protocol version 40 but we speak 31!
2008-07-09 22:00:02.966 TVRec(2): Changing from None to RecordingOnly
2008-07-09 22:00:02.971 TVRec(2): HW Tuner: 2->2
2008-07-09 22:00:02.972 DB Error (InitializeInputs):
Query was:
SELECT cardinputid, inputname, startchan, tunechan, externalcommand, sourceid, childcardid FROM cardinput WHERE cardid = 2
Driver error was [2/1054]:
QMYSQL3: Unable to execute query
Database error was:
Unknown column 'childcardid' in 'field list'

2008-07-09 22:00:02.972 ChannelBase: Could not find input: Tuner 1 on card when setting channel 28

2008-07-09 22:00:02.973 TVRec(2) Error: Failed to set channel to 28. Reverting to kState_None
2008-07-09 22:00:02.973 TVRec(2): Changing from RecordingOnly to None
2008-07-09 22:00:02.977 Canceled recording (Recorder Failed): SportsCentre: channel 1028 on cardid 2, sourceid 1

Any thoughts would be much appreciated.

tks!

Author:  jmacmythtv [ Sat Jul 19, 2008 6:37 am ]
Post subject: 

So I thought that I would just tackle the upgrade and luckily stumbled across this thread before starting.:

http://mysettopbox.tv/phpBB2/viewtopic. ... c&start=15

Turns out, my issue is that my Debian Lenny Frontend upgraded my R5F27 Databases to schema 1214 without asking. The R5F27 Code doesn't work with the new DB since there are new tables, columns, relationships, etc. :( The cardid table has changes that result in the old sql query failing.

Aptitude should NOT be allowed to make changes on other computers without asking/warning...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/