Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Best update path from Fedora 6

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


ndylist at gmail

Mar 28, 2009, 4:31 AM

Post #1 of 9 (1288 views)
Permalink
Best update path from Fedora 6

I have not touched my MythTV installation for a long time (it worked
well...).
Now Google Calendar will no longer support Firefox 1.5, so I guess I have to
upgrade.

I am running Fedora 6 and MythTV 0.20 backend/frontend from atrpms. The PC
is also running two mediawikis.
I am considering one of the following:

1. Try to do a yum-update from Fedora 6 to Fedora 10
2. Install the Fedora 10 DVD on top of my existing installation.
3. Install MythDora
4. Switch to MythBuntu

But I am nervous about one issue: What happens with my mysql databases
(MythTV and MediaWiki)? I have backups, but will the new versions of MythTV
and MySQL automatically update them properly?

As far as I have read an installation of the Fedora 10 DVD will almost wipe
out my currently installed programs, so I guess I will have to install
MythTV from scratch afterwards. But can MythTV handle an old database when
it is not installed as an update but from scratch? Would I have to do
something special to handle this case?

Using yum all the way through would probably solve the update problem of the
databases, but I guess there will be a lot of version conflicts that have to
be resolved, if possible at all.

MythDora might be a solution as I guess it is written to update existing
installations. However I do not have much experience with MythDora. Would it
be best to older versions of MythDora, so that I would not update directly
from Fedora 6 to newest MythDora? I guess MythDora would then work on
completely different repositories than I had before. I would like to install
a subversion server, would that be available from the MythDora repositories?

I have read that Ubuntu should be much easier to upgrade (no DVDs needed),
so it might be an option to start from scratch with MythBuntu instead. But I
guess I would have to adjust a lot of my different scripts (backup and
others...). Also would subversion be available from the MythBuntu
repositories?

A lot of questions..., any feedback will be appreciated.

Niels Dybdahl


aab at cichlid

Mar 28, 2009, 6:38 AM

Post #2 of 9 (1203 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

On Sat, 2009-03-28 at 12:31 +0100, Niels Dybdahl wrote:

> I have not touched my MythTV installation for a long time (it worked
> well...).
> Now Google Calendar will no longer support Firefox 1.5, so I guess I
> have to upgrade.

If that's your only motivation have you considered compiling firefox
from source? It might involve installing alot of the dependencies from
source too since I would imagine current fc6 rpms are scarce.

> I am running Fedora 6 and MythTV 0.20 backend/frontend from atrpms.
> The PC is also running two mediawikis.
> I am considering one of the following:
>
> 1. Try to do a yum-update from Fedora 6 to Fedora 10
> 2. Install the Fedora 10 DVD on top of my existing installation.

Two choices for #2 - upgrade or new install, though I'll bet no one
tested upgrading from fc6 to fc10. Might be safer (and more tedious) to
do the upgrade sequentially (7,8,9,10). Once doing a fedora upgrade it
didn't work for me and I had to do a fresh install - I don't recall the
version numbers.

Save the whole existing root partition or (better) do the fresh install
on a spare disk or partition, then you can always examine the old setup
or even boot it. I would advise this for all the other options too. Then
when you get tired of messing with it you can always switch back to what
worked and try again tomorrow ;-)

Sometimes fedora will mash your other boot configurations so save them
somewhere. Have another computer handy with internet access so you can
learn about boot managers when it refuses to boot.

> 3. Install MythDora
> 4. Switch to MythBuntu

No experience

> But I am nervous about one issue: What happens with my mysql databases
> (MythTV and MediaWiki)? I have backups, but will the new versions of
> MythTV and MySQL automatically update them properly?

Smaller version jumps have always worked fine for me. A db backup makes
it a safe experiment for you. Worst case you'd have to install
intermediate versions but I'd bet it works in one jump. Just my guess,
others will know for sure.

> As far as I have read an installation of the Fedora 10 DVD will almost
> wipe out my currently installed programs, so I guess I will have to
> install MythTV from scratch afterwards. But can MythTV handle an old
> database when it is not installed as an update but from scratch? Would
> I have to do something special to handle this case?

You'd have to copy the old db from /var/lib{myth*,mysql} onto the new
filesystem. Another argument to keep the old setup pristene while you
experiment

> Using yum all the way through would probably solve the update problem
> of the databases, but I guess there will be a lot of version conflicts
> that have to be resolved, if possible at all.

Yeah, it would be really impressive if yum could do it.

HTH



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


caldodge at gmail

Mar 28, 2009, 8:02 AM

Post #3 of 9 (1224 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

I've successfully updated a system from Fedora Core 5 to Fedora 9.

I just upgraded one version at a time (using "yum upgrade" after
installing the appropriate fedora-release RPM), skipping 8 (so it went
6, 7, 9).

IIRC, mythtv-setup updates the database with new fields. I think
you'll want to run mysql_upgrade, too.

Calvin
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


udovdh at xs4all

Mar 28, 2009, 10:26 AM

Post #4 of 9 (1203 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

Calvin Dodge wrote:
> I've successfully updated a system from Fedora Core 5 to Fedora 9.
>
> I just upgraded one version at a time (using "yum upgrade" after
> installing the appropriate fedora-release RPM), skipping 8 (so it went
> 6, 7, 9).
>
> IIRC, mythtv-setup updates the database with new fields. I think
> you'll want to run mysql_upgrade, too.

And backup beforehand...
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jmastron at gmail

Mar 28, 2009, 1:11 PM

Post #5 of 9 (1196 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

On Sat, Mar 28, 2009 at 10:26 AM, Udo van den Heuvel <udovdh [at] xs4all> wrote:
> Calvin Dodge wrote:
>>
>> I've successfully updated a system from Fedora Core 5 to Fedora 9.
>>
>> I just upgraded one version at a time (using "yum upgrade" after
>> installing the appropriate fedora-release RPM), skipping 8 (so it went
>> 6, 7, 9).
>>
>> IIRC, mythtv-setup updates the database with new fields. I think
>> you'll want to run mysql_upgrade, too.
>
> And backup beforehand...
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I'm a big fan myself of allocating space for 2 "root" partitions, and
ping-ponging which one has the "active" installation. You can use "cp
-a" to copy one to the other, manually edit grub.conf and make sure
both boot properly, then upgrade one while retaining the option to
fall back to a known good installation. Personally, however, I prefer
to install fresh from scratch each time (keeping notes on steps,
packages to install, copying specific /etc files from the old setup,
etc). It may be a bit more work up front, but I find it eliminates a
lot of weird legacy stuff that's hard to debug.

Josh
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ndylist at gmail

Mar 29, 2009, 4:15 AM

Post #6 of 9 (1160 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

On Sat, Mar 28, 2009 at 3:38 PM, Andrew Burgess <aab [at] cichlid> wrote:

> On Sat, 2009-03-28 at 12:31 +0100, Niels Dybdahl wrote:
>
> > I have not touched my MythTV installation for a long time (it worked
> > well...).
> > Now Google Calendar will no longer support Firefox 1.5, so I guess I
> > have to upgrade.
>
> If that's your only motivation have you considered compiling firefox
> from source? It might involve installing alot of the dependencies from
> source too since I would imagine current fc6 rpms are scarce.


No that is not my only motivation. There are more: I would like to make DVDs
from DVB recordings with subtitles, I like the fullscreen mode of Firefox 3,
I would like to get in sync with the repositories again in order to install
a SVN server... So it is not just a matter of Firefox.


> > 2. Install the Fedora 10 DVD on top of my existing installation.
>
> Two choices for #2 - upgrade or new install, though I'll bet no one
> tested upgrading from fc6 to fc10. Might be safer (and more tedious) to
> do the upgrade sequentially (7,8,9,10). Once doing a fedora upgrade it
> didn't work for me and I had to do a fresh install - I don't recall the
> version numbers.


Yes I have in the past upgraded from FC1->FC3->FC4->F6 and when upgrading to
FC4 it all got messed up, so that I had to reinstall. That experience is
probably the main cause why I have not upgraded since F6.


> > But I am nervous about one issue: What happens with my mysql databases
> > (MythTV and MediaWiki)? I have backups, but will the new versions of
> > MythTV and MySQL automatically update them properly?
>
> Smaller version jumps have always worked fine for me. A db backup makes
> it a safe experiment for you. Worst case you'd have to install
> intermediate versions but I'd bet it works in one jump. Just my guess,
> others will know for sure.


Installing intermediate versions would be quite a problem for me as atrpms
for F7 and F8 do no longer exist.

I guess I will give the F10 DVD a try. If it can not upgrade my
installation, I will do a clean install of F10, copy my mythconverg database
into the system and install MythTV and see if it can upgrade my database.

Thanks for the tips
Niels


ndylist at gmail

Mar 29, 2009, 10:37 AM

Post #7 of 9 (1148 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

>
> > 2. Install the Fedora 10 DVD on top of my existing installation.
>>
>> Two choices for #2 - upgrade or new install, though I'll bet no one
>> tested upgrading from fc6 to fc10. Might be safer (and more tedious) to
>> do the upgrade sequentially (7,8,9,10). Once doing a fedora upgrade it
>> didn't work for me and I had to do a fresh install - I don't recall the
>> version numbers.
>
>
I have now tried to put a new harddisk into the server and installing Fedora
10 on it. I have run into a couple of problems:

- The server is also webserver, so I need a fixed IP-address. Even though I
specified during installation that it was going to be a webserver, it was
initially installed with DHCP. I then switched to fixed address, but it does
not save the DNS-addresses that I enter, so when I run it with fixed
IP-address, it can not resolve any host names. I have tried to use DHCP and
let the DHCP-server in my router give it a fixed address together with the
DNS-addresses but for some unknown reason, it still gets an ordinary
DHCP-address and not the fixed one. Maybe I just have to wait a couple of
days until the old lease runs out... But still: Is it really impossible to
set up both an IP-address and DNS-addresses on Fedora 10 without using DHCP?

- I had only one harddisk in the server when I installed Fedora 10. Then I
added my two other harddisks and added the usual entries to /dev/fstab:
/dev/hdb1 /home2 ext3 defaults 1
2
/dev/hdc1 /home3 ext3 defaults 1
2
Then I rebooted and the system complained about the superblocks on these two
harddisks. I think it stated that they were not ext2 even though I have
specified the systems to be ext3. In top of that it would not allow me to
boot properly on the newly installed harddisk. I could only get some prompt
where the primary harddisk was in read-only mode. So I can not revert my
changes to the fstab.

So I have now put my old Fedora 6 system disk back and it does not complain
about the two other disks. Has something significant changed in the ext3
format between Fedora 6 and Fedora 10?

Best regards
Niels Dybdahl


david at thegeorges

Mar 29, 2009, 10:52 AM

Post #8 of 9 (1153 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

On 03/29/2009 01:37 PM, Niels Dybdahl wrote:
>
> - The server is also webserver, so I need a fixed IP-address. Even
> though I specified during installation that it was going to be a
> webserver, it was initially installed with DHCP. I then switched to
> fixed address, but it does not save the DNS-addresses that I enter, so
> when I run it with fixed IP-address, it can not resolve any host
> names. I have tried to use DHCP and let the DHCP-server in my router
> give it a fixed address together with the DNS-addresses but for some
> unknown reason, it still gets an ordinary DHCP-address and not the
> fixed one. Maybe I just have to wait a couple of days until the old
> lease runs out... But still: Is it really impossible to set up both an
> IP-address and DNS-addresses on Fedora 10 without using DHCP?
>

You are probably running into an issue with NetworkManager. Static IP
addresses weren't supported in NetworkManager until (supposedly) 0.7. I
say supposedly, because last time I tried it it still didn't work. If
you need static IP addresses and are using a wired network (as opposed
to wireless) I recommend disabling NetworkManager and using the regular
(oldstyle) network configuration. To do this use the following steps:

edit the /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure you
static ip settings are set in there. Also add a line NM_CONTROLLED=no.

next edit /etc/sysconfig/network and make sure your GATEWAY= is set to
your default gateway.

Make sure you are logged into the console before doing the following
because if you are in using ssh you may not be able to do anything after
stopping NetworkManager.

chkconfig NetworkManager off
chkconfig network on
service NetworkManager stop
service network start

I have heard of similiar issues using static IPs with NetworkManager on
Ubuntu 8.10 so it doesn't appear to be a Fedora specific problem.

--
David George
http://pvrcompanion.com

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


aab at cichlid

Mar 29, 2009, 10:58 AM

Post #9 of 9 (1141 views)
Permalink
Re: Best update path from Fedora 6 [In reply to]

On Sun, 2009-03-29 at 19:37 +0200, Niels Dybdahl wrote:

> I could only get some prompt where the primary harddisk was in
> read-only mode. So I can not revert my changes to the fstab.

mount -o remount,rw /



_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.