LinHES Forums http://forums.linhes.org/ |
|
R5F27 to 0.21 upgrade http://forums.linhes.org/viewtopic.php?f=6&t=18081 |
Page 1 of 1 |
Author: | Warped [ Sun Mar 23, 2008 5:33 am ] |
Post subject: | R5F27 to 0.21 upgrade |
Hi * Forgive me if this topic was discussed already, but wasn't able to find reasonable answer to this topic... In my house I have R5F27 server+BE and 3 FE running my own distro based on minimyth. My currently R5F27 server is providing -BE -internet gateway (NAT/fw), p2p host -VoIP SIP proxy integrated with Myth (CID, autopause on calls) -home server (samba, DNS, FTP, etc) Currently I achieved state where I haven't any issues and sys uptime is limited only by maint interventions. I want to keep this stability and to upgrade to 0.21. Having a lot of customizations already done in my r5f27 - ideally route will be upgrade only myth part of server. So I'm looking for advice: -is such route reasonable at all (I mean will it be less pain than upgrade to next rel. of KM and manually apply all my customizations) -if so can You ppl share Yours experience with such approach and give me possible hints for doing this with minimal issues ? thx in advance ! |
Author: | cliffsjunk [ Sun Mar 23, 2008 9:25 am ] |
Post subject: | |
(libata cautions deleted per Cecil's comment) I have read posts of users breaking their systems by getting 0.21 and building it on top of a working KM, but I am not an expert in this area, so I offer only general advice. Cecil posts that he will be releasing a new R5 version (R5G??) soon, perhaps this weekend or next would be my guess. (If your system is working as it is, then do you really need to upgrade to 0.21? If you are like me, you want to upgrade more than you need to upgrade ![]() ------------- I have explained a bit more than needed for someone who is building their own distros for their FE's, but others may find this helpful. I find that backing up the whole boot partition (usually /dev/hda1 or /dev/sda1) onto a DVD or spare hard drive gives you a lot, all the files that you have modified that you forgot about till after you formatted over them, and a complete backup of the software, but not the recordings. If you back up onto an ext2 or ext3 file system you can even do a restore to get back to a working system. If you use something like "dd bs=1M if=/dev/hda1 of=/dev/XXX" (assuming /dev/hda1 is your boot partition and where XXX is a partition on the spare hard drive that is the same size as the boot partition) to back up to a spare hard drive then you can restore it just as easilly (boot on a Knoppix CD and use dd in the reverse direction; beware that later versions of Knoppix may use libata too and that your /dev/hda may become /dev/sda). My first best advice would be to spend your time making an exact list of what you have done to get where you are on your current system. You have succeeded when you can build an R5F27 on a spare hard drive that works as well as your current system. This list will be very helpful in the future, like when R6 comes out. Other than that, first of all copy your KM hard drive onto a spare, take all the KM hard drives out and put the spare where the main hard drive was. Experiment with the spare. Check the knoppmyth wiki at http://www.knoppmythwiki.org or just go straight to the article http://www.knoppmythwiki.org/index.php?page=CompileMythTVFromSVN Good luck! Cliff |
Author: | cecil [ Mon Mar 24, 2008 12:30 am ] |
Post subject: | |
cliffsjunk wrote: If I am not mistaken, I heard that MythTV 0.21 uses libata, MythTV doesn't use libata. The next release of KnoppMyth uses libata.
|
Author: | Warped [ Mon Mar 24, 2008 1:42 pm ] |
Post subject: | |
Cliff, Big thanx for Your help. I decide to simulate whole process by using virtual environment as BE simulation & my custom build 0.21 diskless FE as FE. How to upgrade ? I tested 2 approaches: a. via debs from debian stable http://debian-multimedia.org/dists/stable/main/binary-i386/ Well, by using debs in following order: Code: libmyth libmythtv-perl mythtv (ignore errors) mythtv-perl mythtv-common with option --force-overwrite mythtv-database mythtv-backend N for changing mythtv-backend script mythtv-frontend mythtv mythtv-doc mythtv-themes kdelibs-data kdelibs4c2a mythplugins mythbrowser mythcontrols mytharchive-data mytharchive libclass-factory-util-perl libclass-singletom-perl libparams-validate-perl libdatetime-timezone-perl libdatetime-locale-perl libdatetime-perl libdatetime-format-strptime mythvideo mythdvd mythflix mythgallery mythgame libvisual mythmusic mythnews mythphone libimage-size-perl mythweather move temporailry /etc/apache2/sites-avaliable/mythwebdir to root mythweb with --force-overwrite option mythplugins copy mythwebdir back to /etc/apache2/sites-avaliable ren /etc/mythtv/mythweb.conf.dpk* to mythweb.conf I was able to get running 0.21 with following issues -no mythstream -mythweb has 2 graph issues bur working OK Maybe order of issuing installs might be better - but I experience some recurrences (that's why some entries are repeated) and above gives me lower count of issues ;-p b. via compile 0.21-fixes. Compiling src gives me running: -FE+BE -all plugins except mythstream & mythweb. For mythstream I used mythbuntu deb from https://launchpad.net/~mythbuntu-trunk/+archive and in botch approaches installed it via Code: dpkg -i --force-all mythstream_0.18.1-0.21.0+trunk16733-0ubuntu0~mythbuntu1_i386.deb
assuming that even it is compiled against newer sys libs - it is not using functions not present in r5f27. Indeed - mythstream works OK. For mythweb in both cases I used debian pkg but some hacking is needed: 1. before install I have to move temporality /etc/apache2/sites-avaliable/mythwebdir out of its location 2. after install I have to rename /etc/mythtv/mythweb.conf.dpk* to mythweb.conf Yes - it is dirty method - but I'm doing this just for seeing how far I can go.. So summarizing: -I can consider upgrade my r5f27 via second method and it will be _probably_ less time consuming approach than clean install of upcomming R5Gxx + rolling all my customizations -mythweb upgrade might be addressed better and if somebody can hint me - I will be grateful |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |