LinHES Forums http://forum.linhes.org/ |
|
upgrade 6.03 to 6.04 prior to 7.x upgrade problems http://forum.linhes.org/viewtopic.php?f=22&t=22430 |
Page 1 of 2 |
Author: | bearwood [ Mon Feb 06, 2012 10:56 pm ] |
Post subject: | upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
I had hoped to ignore the 6.04 upgrade but see that it is a prerequisite for the upgrade to 7.1. I read Cecils notes and changed the pacman.conf to knoppmyth.net/repo/i686/R6/core and extras. Tried the Code: sudo pacman -Sy linhes-scripts and this failed as it wanted mencoder-33805-4 and linhes-scripts-7-25 which are both in the R7 repo. Changed the repo in pacman.conf to linhes.org instead of knoppmyth.net…. came up with same error. Tried the upgrade through the services menu, it recognised that there where updates and can list them if I view the files via the menu but if I select Perform updates it comes up updates cancelled in yellow! This happens for both linhes.org repo or knoppmyth.net repo which as far as I can see are the same for R6 If I Code: sudo upgrade_linhes.sh
it jumps start to the yellow splash screen, F2 shows the process stuck at Parent daemon running……… Any ideas? Can I just use the upgrade option from the 7.02 disk install? |
Author: | RacerX [ Wed Feb 08, 2012 8:52 am ] |
Post subject: | |
I had problems with the 6.04 to 7.1 online upgrade also. It ran for 3 days until I finally killed it. 6.04 worked fine for me but the backup was kinda of busted. So I ran the backup many many times and finally it worked. Then I downloaded the 7.2 iso. I ran the upgrade from there and it formatted sda1 and installed properly. So backup your stuff, download the 7.2 iso, and then do the upgrade from the cd.. |
Author: | bearwood [ Sat Feb 11, 2012 8:05 pm ] |
Post subject: | |
Hey thanks for that. I was just in the process of burning the 7.2 iso. Backups arn't working for me either but I'll try a few times, otherwise no big deal, it's just a few shows and movies. |
Author: | christ [ Tue Feb 14, 2012 12:07 am ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
bearwood wrote: I had hoped to ignore the 6.04 upgrade but see that it is a prerequisite for the upgrade to 7.1. The repos haven't been stable since the server crash. The mencoder issue was usually resolved by removing the one that was already installed. However, it will likely then fail on an incorrect udev dependency. There shouldn't be a strict dependency on 6.04. Cecil told me he was really just encouraging people to take a step by step approach as 6.04 introduced myth 0.24. In theory to isolate issues that might arise. bearwood wrote: Can I just use the upgrade option from the 7.02 disk install?
yes. this should work. I believe the 7.2 disk will prompt you to upgrade. However given your current state, I'm not sure how successful it will be. Be sure to backup your database first. I will be doing a straight upgrade from 6.03 to 7.2 this weekend as well. |
Author: | bearwood [ Thu Feb 16, 2012 9:44 pm ] |
Post subject: | |
Thanks, Backing up is proving problematic in that I can not back manually or by using the on screen backup selection….#$%^ Installed 7.2 to a spare disk and installed fine but at the mo can not display any of the channels. It pickes them up fine but goes back to main menu when watch tv is selected. No time to play around at the moment so still on 6.03 |
Author: | tjc [ Sat Feb 18, 2012 10:39 am ] |
Post subject: | |
What kind of problems are you having with backup? |
Author: | jmhunt [ Sat Mar 03, 2012 11:50 am ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
I'm experiencing a similar problem. After the upgrade to 7.2 from 6.03 it says the the schema needs to be upgraded, but that isn't working. From the command line: $ sudo mythtv-setup gives me the option to upgrade I currently have Warning: MythTV wants to upgrade your database for the TV schema, from 1257 to 1264 Database Host: localhost Database Name: mythconverg Select Upgrade If your system becomes unstable, a database backup file called mythconverg-1257-20120303124207.sql.gz is located in /myth/tv Database error was: Table 'internetcontent' already exists new version: 1258 2012-03-30 12:48:18.237 Database Schema upgade FAILED, unlocking |
Author: | jmhunt [ Sat Mar 03, 2012 4:10 pm ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
Still not working. I tried redoing the Upgrade using the 7.02 iso. Myth installs fine, but when it launches I get the instruction that I need to run mythtv-setup or mythbackend to upgrade the scheme. My schema is currently at 1257. When launched from an xterm, the schema update from mythtv-setup still gives me the following error: Quote: Database error was: Table 'internetcontent' already exists I think it may be a permissions problem in mysql when I tried to DROP the table in mysql. What account should I use and how should I launch mysql to remove this table to try again? Also, is mythconverg_restore.pl included in LinHES R7.02? Thanks! |
Author: | christ [ Sat Mar 03, 2012 7:51 pm ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
jmhunt wrote: Database error was: Table 'internetcontent' already exists Ah yes. I saw this one too. I think there is something funky with the schema upgrade at change set 1257. There are actually two tables (internetcontent and internetcontentarticles) that will seem to exist and you need to delete them both and then continue with the database upgrade. Don't worry once deleted the schema upgrade will recreate them both but if you only delete one then it will fail again. Did your mythtvbackend.log show something like: Code: 2010-12-30 21:55:07.603 Connected to database 'mythconverg' at host: localhost Current MythTV Schema Version (DBSchemaVer): 1257 Current MythTV Schema Version (DBSchemaVer): 1257 Current MythTV Schema Version (DBSchemaVer): 1257 Current MythTV Schema Version (DBSchemaVer): 1257 Current MythTV Schema Version (DBSchemaVer): 1257 Timed out waiting. If so then try the following as root (and don't forget to have a backup just in case): Code: $ sv stop mythbackend $ mysql mythconverg mysql> DROP TABLE IF EXISTS internetcontent; mysql> DROP TABLE IF EXISTS internetcontentarticles; mysql> exit; after that you should be able to continue the upgrade by starting mythbackend again with Code: sv start mythbackend and monitor mythtvbackend.log to ensure it completes. |
Author: | mattbatt [ Mon Mar 05, 2012 7:32 am ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
Thank you I was having the same problem! I am going to bookmark this and come back to it when work isn't sooo busy. |
Author: | jmhunt [ Sat Mar 10, 2012 12:53 pm ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
I got it working, once I figured out how to log into the mysql correctly with the right username and password that could actually drop the tables. Happily running at 7.2 now...just dealing with change from Comcast to Verizon FiOS which isn't straight forward. |
Author: | mattbatt [ Wed Mar 14, 2012 10:11 pm ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
well that didn't work I guess it's time for me to try a re-install. |
Author: | goofee [ Thu Mar 15, 2012 12:33 pm ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
mattbatt wrote: well that didn't work I guess it's time for me to try a re-install. Before you reinstall, what is your exact error? I see you looked at http://forums.linhes.org/viewtopic.php?f=22&t=22195 that is for mythvideo schema version. Try https://github.com/MythTV/mythtv/blob/fixes/0.24/mythtv/libs/libmythtv/dbcheck.cpp around line 5194 for mythtv schema version 1257. |
Author: | mattbatt [ Fri Mar 23, 2012 9:58 pm ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
I am no longer getting the schema mismatch error. I'm getting the old nasty default brown sidescroling theme on the front end and I cant change out of it. Before I tried to update the database I had the tuner working and now it is not. I'm swamped at work until Easter week I'm going to dive in then... hopefully. On a completely side note has anyone else noticed that the most work gets done on MythTV when all the shows are on hiatus (Christmas and Summer) then it seems the newest build hits right when all the shows start back up and you can't afford to be down. It makes sense but it's kind of ironic. I'm not complaining really I appreciate all the work that the developers do. |
Author: | tjc [ Sat Mar 24, 2012 8:42 am ] |
Post subject: | Re: upgrade 6.03 to 6.04 prior to 7.x upgrade problems |
mattbatt wrote: I'm getting the old nasty default brown sidescroling theme on the front end and I cant change out of it. Once upon a time, a long long time ago, I wrote script called "pickATheme.sh" for setting the UI theme from the command line. Because once you select a bad theme, it can be impossible to fix using the UI. It still seems to work: Code: #!/bin/bash
if [ $(id -u) -ne 0 ] ; then echo "You must run this script as root!" exit 1 fi echo "Current GUI theme is:" mysql mythconverg -e "select * from settings where value = 'Theme'" echo echo "Current OSD theme is:" mysql mythconverg -e "select * from settings where value = 'OSDTheme'" echo THEMEDIR=/usr/share/mythtv/themes THEMES=$(for i in $(ls $THEMEDIR) ; do [ -f $THEMEDIR/$i/theme.xml ] && echo "$i" done) echo "Select the number of the GUI theme you would like to use:" select THEME in $THEMES ; do echo ; break ; done OSDTHEMES=$(for i in $(ls $THEMEDIR) ; do [ -f $THEMEDIR/$i/osd.xml ] && echo "$i" done) echo "Select the number of the OSD theme you would like to use:" select OSDTHEME in $OSDTHEMES ; do echo ; break ; done echo echo "Setting Theme = '$THEME', OSDTheme = '$OSDTHEME'." echo mysql mythconverg <<EOF update settings set data = '$THEME' where value = 'Theme'; update settings set data = '$OSDTHEME' where value = 'OSDTheme'; EOF pkill xinit |
Page 1 of 2 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |