/srv/irclogs.ubuntu.com/2012/11/15/#ubuntu-mythtv.txt

tgm4883dmfrey, ping01:35
dmfreyhey there01:35
tgm4883dmfrey, just started listening to the last mythtvcast01:35
tgm4883so you had issues upgrading to 0.26 as well?01:35
dmfreyyeah01:35
tgm4883interesting01:35
dmfreysame issue in the mailing list01:35
tgm4883dmfrey, not exactly, it's actually a different issue01:36
tgm4883unless we aren't talking about the same thread01:36
dmfrey/etc/mythtv/config.xml didn't get populated with the db creds01:36
dmfreyso apt-get failed01:36
tgm4883dmfrey, hmm, ok so apt-get couldn't find the db during post install?01:37
dmfreyonce adding the data to the config.xml file, and running dpkg-reconfigure mythtv-database all was good01:37
dmfreyyes01:37
tgm4883did you just need to convert the /etc/mythtv/config.xml file, or did you have to add data?01:37
dmfreyi had to add the values for username, password, etc.01:38
tgm4883dmfrey, so the values weren't there at all01:38
dmfreyit is almost as if it pre-populated values01:38
dmfreythen didn't want to add the existing ones01:38
tgm4883so the values were wrong01:39
tgm4883but they were there? just incorrect values?01:39
dmfreyyes01:39
tgm4883so let me explain the nature of that thread, what was fixed, and what process does what thing01:39
dmfreynot the same as in ~/.mythtv/config.xml01:39
dmfreyok01:39
tgm4883dmfrey, well that is an issue then, because ~/.mythtv/config.xml should be a symlink to /etc/mythtv/config.xml01:40
dmfreylet me check, i don't think it is01:40
tgm4883anyway, let me explain what happens01:40
dmfreyok01:41
dmfreybtw, not a symlink, just a file in ~/.mythtv01:41
dmfreymysql.txt is however to /etc/mythtv/mysql.txt01:41
tgm4883the original issue with not being able to find the db, was that the post install for mythtv-database only looked for the old version of the field names in the XML file (IIRC, they were DBName, DBUser, etc.)01:41
dmfreyah, ok01:41
tgm4883This was a packaging bug and was fixed a few months ago01:41
tgm4883so anyone updating to 0.26 from 0.25 today won't run into that issue01:42
tgm4883(or from 0.26 to a newer version of 0.26, which is what was actually causing problems)01:42
dmfreythat's good to know, i can relay that on the next show01:42
tgm4883so now the post install for mythtv-database looks for the new version and if it doesn't find it, falls back to looking for the old version01:43
tgm4883Then there is the actual conversion of the config.xml file from the old version into the new version01:43
tgm4883that is handled by mythtv, and our packaging has nothing to do with that conversion (which I think was incorrectly stated on the last show)01:43
dmfreyah, looking at it now, i see it has different fields in it01:44
dmfreythan the old one01:44
tgm4883dmfrey, so it appears there is another issue, where ~/.mythtv/config.xml is not a symlink to /etc/mythtv/config.xml01:44
tgm4883dmfrey, yea, it seems that upstream arbitrarly renamed those fields :/01:44
dmfreyis it on yours?01:44
tgm4883dmfrey, it most definitely should be a symlink01:44
tgm4883as should mythtv.txt in previous versions01:45
tgm4883lrwxrwxrwx 1 root   root      22 Oct  7 09:07 config.xml -> /etc/mythtv/config.xml01:45
dmfreyhere is the diff between the 2 files: http://pastebin.com/k8dYqKbh01:46
Zinn[pastebin.com] dmfrey@mythcenter:~$ diff .mythtv/config.xml /etc/mythtv/config.xml 2,7d1 < < - Pastebin.com01:46
tgm4883dmfrey, and I know that I had zero issues upgrading from 0.25 to 0.26 on my backend, and also I tested it with a clean install in a VM01:46
tgm4883no issues there either01:46
dmfreyreally weird, something has to different about the upgrade process between yours and mine to cause this01:47
tgm4883dmfrey, perhaps it is the non-symlinked config.xml file01:47
dmfreyyou upgraded right from mythbuntu-control-centre?01:47
tgm4883if they weren't symlinked, then it could be that the two config.xml files differed01:48
tgm4883where one had the incorrect user/password01:48
tgm4883(which is sounds like was true)01:48
dmfrey/etc/mythtv/config.xml01:48
tgm4883dmfrey, I did apt-get update & apt-get dist-upgrade, but that should all be the same process01:48
dmfreyhad fields in the xml, just values all wrong01:48
tgm4883dmfrey, did you ever have to reset your backend password and such?01:49
dmfreyyeah, did that after changing repos in mythbunut-control-centre01:49
dmfreynope01:49
tgm4883mythbuntu or ubuntu+mythtv01:49
dmfreymythbuntu01:49
tgm4883single user, or did you create multiple users?01:49
dmfreysingle...well, mine and the mythtv user01:50
tgm4883you didn't create a mythtv user though right?01:50
tgm4883that should have already been done01:50
dmfreynope, just my own in the installer01:50
dmfreythat one was created for me01:51
tgm4883and you didn't name that user mythtv did you?01:51
dmfreynope, it is dmfrey01:51
tgm4883ok01:51
tgm4883superm1, ping01:51
tgm4883dmfrey, I'm going to try to recreate it again. I bet I can get it to reproduce that if I sever the link between the two and add bogus stuff to /etc/mythtv/config.xml01:52
tgm4883I just don't know A) in what situations that link will break, and B) how we can fix that01:52
dmfreyyou can copy my diff from the pastebin if you like01:52
dmfreyi never noticed that file before this01:53
dmfreywas it introduced in .25 or .26?01:53
tgm4883dmfrey, config.xml?01:56
dmfreyyes01:56
tgm4883it's been around for as long as I remember, but IDK what used it01:57
tgm4883it has taken over for mythtv.txt (or mysql.txt)01:57
dmfreyhmm, i thought that info was all obtained from mysql.txt01:57
tgm4883mysql.txt isn't used anymore in 0.2601:57
dmfreyi still have that file and it is symlinked01:57
dmfreyok01:57
tgm4883see http://www.mythtv.org/wiki/Release_Notes_-_0.2601:58
Zinn[www.mythtv.org] Release Notes - 0.26 - MythTV Official Wiki01:58
dmfreygotcha, see it there in the Major Changes section02:00
superm1tgm4883: yeah02:59
superm1what up?03:00
tgm4883dmfrey, can you check if /home/mythtv/.mythtv/config.xml is a symlink to /etc/mythtv/config.xml?16:02
dmfreyit is not16:02
dmfreyalso, wanted to mention to you last night but forgot...16:03
dmfreythis was a fresh install in august of 12.04 running .25, then the upgrade to .26 was originated from mytbuntu-control-centre a few weeks after .26 was released16:03
tgm4883dmfrey, hmm strange16:05
tgm4883dmfrey, so I'm unsure why that isn't a symlink, as it should be16:05
tgm4883I did verify that the first user's config.xml wasn't a symlink16:06
dmfreyshould i make it one?16:06
tgm4883is the correct information in /home/mythtv/.mythtv/config.xml?16:06
dmfreygive me a few, i gotta remote into that box at home and check16:06
tgm4883ok16:07
dmfreyah, that one is symlinked16:07
dmfreyand the one in my dmfrey account is not16:07
tgm4883dmfrey, ok, so that is what we were seeing too16:08
tgm4883dmfrey, do you recall what was in /etc/mythtv/config.xml? you mentioned that it looked auto-generated16:08
superm1if the stuff in /etc/mythtv/config.xml is busted, mythbackend wouldn't work16:09
tgm4883dmfrey, does that mean that your actual mythtv db password isn't auto-generated?16:09
dmfreylooks like it just had new generated values in it16:09
superm1because of teh symlink to ~mythtv/.mythtv/config.xml16:09
dmfreyit is, the correct value was not one that I specified16:09
tgm4883superm1, I think the issue is that incorrect info in that file breaks post install, but why is that file getting incorrect stuff?16:10
dmfreythe wrong one just looked like a new random one16:10
superm1but so nothing has broken in the packages themselves16:10
tgm4883superm1, and then becuase of that, it sounds like mythweb doesn't get updated and breaks as well16:10
superm1as in a fail to install/upgrade package et16:10
tgm4883causing both to require manual intervention16:10
tgm4883superm1, correct, it doesn't sound like it's broken packaging, at least to the point it isn't something we can check for and fix16:11
tgm4883superm1, although I still think we should symlink config.xml everywhere16:11
superm1tgm4883: ok i think this is because of that config file upgrade you were talking about, maybe it's before you put that fix in?16:12
tgm4883superm1, nope it was after16:12
tgm4883superm1, I know because they discussed it on the mythtv podcast and I thought, I fixed that already!16:12
superm1well why didn't i hit this on my fresh install yesterday16:12
superm1it seems like it should reproduce 100%?16:12
tgm4883dmfrey, when you did the fresh install in august, did you backup and restore the database from another install?16:12
tgm4883superm1, It doesn't, it's a specific situation16:13
tgm4883just got to figure out what that is ;)16:13
superm1haha16:13
tgm4883superm1, I wonder if the DB backup scripts backup/restore config.xml?16:13
tgm4883but only do it in the current user home16:13
tgm4883or if the users possibly do that?16:14
tgm4883-bare backs up /etc/mythtv/config.xml, but not the ones in the home directories16:14
superm1dmfrey: so was there ever any mucking you did with a backup/restore or modifying ~/.mythtv/config.xml or /etc/mythtv/config.xml or ~mythtv/.mythtv/config.xml manually before the upgrade to 0.26?16:21
rhpot1991dmfrey: any config.xml in your home dir should have been created and modified by the frontend executable itselsf16:22
rhpot1991its a copy not a symlink too16:22
rhpot1991dmfrey: can you compare the values in /etc/mythtv/mysql.txt and /etc/mythtv/config.xml16:25
dmfreysuperm1, no16:26
superm1dmfrey: hmm.  that's peculiar because I followed pretty much the same scenario yesterday and didn't hit this16:26
tgm4883dmfrey, so you didn't restore a database backup?16:27
dmfreythe values in config.xml and mysql.txt in ~/.mythtv are the same16:27
dmfreytgm4883, no16:27
dmfreyno need to16:28
dmfreyit was still a new install16:28
tgm4883dmfrey, ok, so here is the issue then. We're completely unable to reproduce the issue in either a VM, or on our production machines when we did the upgrade. And it doesn't make any sense why a generated password would be different in /etc/mythtv/config.xml than ~/.mythtv/config.xml16:29
tgm4883and that last part is the crucial part causing the issue16:29
tgm4883the WHY was that different16:29
tgm4883dmfrey, so if you are telling us that you basically did a fresh 0.25 install, no restore, then upgraded to 0.26 and it broke, then IDK why that would happen as it should happen EVERY time16:30
rhpot1991dmfrey: you have more than one backend?16:30
dmfreyrhpot1991, no16:30
dmfreysame issue happened to both Pat and I16:31
dmfreyand tgm4883 you said it was not the same issue as on the mythtv-users mailing list?16:31
dmfreybut I fixed it in the same manner16:31
tgm4883dmfrey, correct.16:32
tgm4883dmfrey, not exactly, you edited the values to be correct. The mailing list thread edited the fields to be the correct name16:32
dmfreyah, right16:32
tgm4883dmfrey, so you edited the generated DB password to be the right one, they edited <DBPassword> to <Password>16:33
tgm4883or whatever the field is called now16:33
dmfreygotcha16:33
tgm4883dmfrey, I had another question, but I can't remember it right now :/16:36
dmfreylet me know when you do :)16:37
tgm4883dmfrey, basically we have to figure out why that was different, so we're running though different scenarios that would make that happen16:38
tgm4883dmfrey, I remember now. When you did the upgrade to 0.26, did you use update-manager or apt-get or aptitude, or something else?16:39
superm1should that matter?16:39
tgm4883superm1, no it shouldn't. But since we can't reproduce it I'd like to get as much info as possible16:40
dmfreyupdated the repositories in mythbuntu-control-centre, the apt-get update16:40
tgm4883if we can get exact steps to reproduce, and then we can reproduce, then we can figure it out16:41
tgm4883dmfrey, same as me and most others :/16:41
tgm4883superm1, but right now, we've got some weird issues that a handful of people have. And I'm not even sure there are any other people having the same issue as dmfrey16:42
tgm4883so IDK16:42
dmfreyin the latest spin, is .26 set to default?16:42
dmfreyif so, then i don't think you need to worry about it16:43
tgm4883dmfrey, 0.26 will be in raring16:43
tgm4883but if this is an issue, we'll still have to worry about upgrades from 0.2516:43
tgm4883(although I'm beginning to think this is a one-off)16:44
gracentHi guys, has anyone else experienced a black screen 'hang' when changing channels (0.26, fully updated) ?16:48
tgm4883gracent, probably need to look at your /var/log/mythtv/mythbackend.log file when you try to change channels16:52
gracenttgm4883: thanks, I did last time and there was a mention of 'lock failed'. Have just put yesterdays fixes on so I'll see if it still occurs!16:58
tgm4883gracent, ok, I've not had that issue with 0.26 and my hdhomerun prime16:58
tgm4883although I don't use livetv very often, only when testing stuff16:59
gracenttgm4883: yeah, it's kinda breaking the PAF here :D17:01
gracenttbs tuners17:01
gracentrecorded is perfect17:02
tgm4883gracent, so it sounds like it might be taking a long time to lock to the channel17:02
tgm4883gracent, you might try upping the timeout in mythtv-setup17:02
gracenthmm that's an idea!17:03
gracentwhen it happens it's 'unrecoverable' in that I have to ssh in to kill the frontend17:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!