[mythtv-users] upgrade

Mark Perkins perkins1724 at hotmail.com
Sun Aug 17 05:06:23 UTC 2014



> On 17 Aug 2014, at 2:12 pm, "Mark Perkins" <perkins1724 at hotmail.com> wrote:
> 
> 
> 
>> On 17 Aug 2014, at 1:14 pm, "Daryl McDonald" <darylangela at gmail.com> wrote:
>> 
>> 
>> 
>> 
>>> On Sat, Aug 16, 2014 at 6:53 PM, Mark Perkins <perkins1724 at hotmail.com> wrote:
>>> 
>>> 
>>> > On 17 Aug 2014, at 8:07 am, "Mark Perkins" <perkins1724 at hotmail.com> wrote:
>>> >
>>> >
>>> >
>>> >> On 17 Aug 2014, at 8:01 am, "Mark Perkins" <perkins1724 at hotmail.com> wrote:
>>> >>
>>> >>
>>> >>
>>> >>> On 17 Aug 2014, at 6:12 am, "Daryl McDonald" <darylangela at gmail.com> wrote:
>>> >>>
>>> >>> Greetings mythizens, The last few attempts at upgrading went badly. I'm a watch and delete kinda guy with a few movies kept for the grandkids. I have a working 12.04 ubuntu /27.3 myth system on a 1TB drive and a second 1TB drive with mythbuntu 14.04 installed and updated. What is the easiest way to get all the settings and configurations including channel lineups onto the new system? How much comes with a database restore?    Daryl
>>> >>> _______________________________________________
>>> >>
>>> >> Essentially all the direct MythTV settings and configuration come with the database (provided host name of new system matches the old system or database host name is updated as appropriate). This includes channel lineups and storage groups and the like. Also includes recording history and EPG as at the time the backup was taken.
>>> >>
>>> >> However user scripts and files that might be referenced and the actual recordings themselves (the MPEG files for example) are not in the database.
>>> >>
>>> >> Also if your folder structures change you may need to update manually, for example if your storage group folders change name / location. Or if you change to a different distribution for example I think some distributions use /usr/bin and some use /usr/local/bin or something similar.
>>> >> _______________________________________________
>>> >
>>> > Or to perhaps answer this a different way: if you have a working system and you just want a new system that is faster / bigger storage / extra tuners / new operating system - but otherwise want to keep MythTV exactly the same then you definitely want to be restoring the database to the new system.
>>> > _______________________________________________
>>> 
>>> Last one for now! Theme files are not in the database and IIRC you can have a minor hiccup if the theme your old system was using is not present on the new system when you start up after first restore. It's not a big issue (I think) but best to probably make sure your theme is present and working on the new system (with clean empty default database) before restoring the old database.
>>> 
>>> Also remembering some of your old posts - all your UDEV rules will need to be redone I assume, others may be able to confirm.
>>> 
>>> Actually - how are you managing the upgrade again? Is this a clean built Mythbuntu 14.04 install from scratch or are you cloning the old system to a brand new disk and then running upgrade?
>>> 
>>> If the only thing you were trying to do is keep the old hardware but new operating system disk and upgrade to 14.04 you could clone the old disk to the new one (adjusting partitions as needed) then run the Ubuntu upgrader. While YMMV I have used the Ubuntu upgrader on a BE and a FE to get from 13.xx to 14.04 with no notable issues. One had to go through a couple of steps I think (13.04 to 13.10 then 14.04 IIRC) but still worked.
>>> 
>>> I think you have been battling this upgrade for a little while now, should we go back to step 1 and work out what the best approach is for your goals and then work out a plan to get there?
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>> 
>> I've tried the upgrade with update manager three times now, there is a warning, displayed in the terminal, something like, "font config error "/etc/fonts/config.d/10-scale bitmap-font.config non double matrix element" this may not work well. Each time the upgrade completes the ensuing reboot fails.  So I'm trying a clean install of mythbuntu, hostname is the same and the theme is the same and that is all I've done so far. So the next step should be to move my /usr/local/bin directory over and recreate my udev rules then restore the database?   Daryl
>> 
>> _______________________________________________
> 
> No, definitely don't move /usr/local/bin across. About the only thing I can think of that might be a problem would be whether mythcommflag is entered as "/usr/local/bin/mythcommflag" or "mythcommflag" and either way we can just tweak it up later if it doesn't work. Both old and new install are variants of Mythbuntu anyway (IIRC) so it's pretty much a given it will work fine without any intervention anyway. It would be more a (minor?) consideration if you were moving from say Mythbuntu to Gentoo or something else - I probably shouldn't have mentioned it in the first place it is so unlikely.
> 
> Yes the udev rules will need to be recreated - the database will be looking for those (ie the custom naming) - but I'm hopeful you can just reuse the previous rules unmodified if the hardware is identical (although I know nothing about udev but that is where I would start).
> 
> But before doing udev rules I would make sure MythTV is working first with a basic setup on a clean install and clean empty database. Ie add a single tuner in mythtv-setup, add a video source etc and check that you can get some live TV, program guide etc. That might shake out a few issues first (MySQL setup / MythTV user setup / various permissions - which should all be fine out-of-the-box with clean Mythbuntu install) with a known clean database so that future troubleshooting is kept as simple as possible. Make sure this step includes the config.xml file from the old setup (ie hostname identifier, username and password in particular).
> 
> Once clean install MythTV is working next thing after would be to do udev rules and verify they are working, then restore database (following host name change protocols for the database where applicable). I think storage group folders can be corrected after that if necessary if folder naming or mount points have changed.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Check mythweb at the clean install stage as well, that can be a common source of hiccups. Best that it is working before database restore.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140817/ff3a4c89/attachment-0001.html>
-------------- next part --------------
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
-------------- next part --------------
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://www.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list