<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[This might or might not be related to &quot;update failed now fe crashes&quot;.]<br>
<br>
I updated a mythbuntu system from MythTV 0.25 to 0.26.  The Ubuntu is<br>
12.04 LTS.<br>
<br>
I&#39;ve never done a MythTV update before, only a very few reinstalls.<br>
<br>
Procedure:<br>
<br>
0) backup the myth database<br>
</blockquote>
<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
7) the backend seemed to hang.  After a few minutes I rebooted.<br>
    Now I know that the backend wasn&#39;t hung, it was just changing the<br>
    databse to the new schema.  After the reboot, it seemed to<br>
    continue from where it left off.<br>
</blockquote>
<br></div>
If you ever have a &quot;failure&quot; (or stop/kill mythbackend) during a database schema upgrade, you should always restore the backup you made in step 0 (one at the old schema version that has never had an upgrade attempted), then start over and let the upgrade occur without interruption.  If you don&#39;t, you may have corruption in either the data or the schema.  So, I would recommend restoring the backup and re-doing the database upgrade.<br>


<br>
Also, it&#39;s always recommended to run mythtv-setup first (with no other MythTV applications running) after doing an upgrade.  It will perform a database upgrade for you (and actually tells you its doing so--though it doesn&#39;t tell you anything more after it starts and just shows a blank screen while it&#39;s upgrading) and when the UI appears, you can then check to see if you need to change any of the new settings.<div class="im">

<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
8) I started the frontend (normally I don&#39;t run it on this machine).<br>
    It seemed to hang.  The display was completely blank.<br>
<br>
    The backend was actually doing a database backup (why is<br>
    that the frontend&#39;s job?).<br>
</blockquote>
<br></div>
Frontend plugins do database updates for themselves--the backend has no idea what plugins you have, let alone how their database schemas work.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
    After finishing the backup, the frontend hung, with no display,<br>
    using 100% of one CPU core.<br>
</blockquote></div>
...<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
9) I repeated (8) a couple more times.  Results were the same, including<br>
    doing yet another database backup each time (wasn&#39;t the previous<br>
    one good enough?).<br>
</blockquote>
<br></div>
That means that something still hasn&#39;t finished doing a database update (the logs will tell you what).<br>
<br>
I&#39;m guessing you&#39;re cutting off some major database update for some plugin.  So, you need to go back to the step 0 pre-upgrade database and start the upgrade process over.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Note: MythWeb seems to work from another machine.  New recordings are<br>
happening.  So lots of this system is working.<br>
</blockquote>
<br></div>
Which means that the backend database upgrade completed successfully.  I&#39;d still recommend that you go back to the pre-upgrade database and  start the DB upgrade process over.  Unfortunately, you&#39;d need to take the new recordings (which you can find with <a href="http://www.mythtv.org/wiki/Find_orphans.py" target="_blank">http://www.mythtv.org/wiki/<u></u>Find_orphans.py</a> ) and put them in Video Library to make them available to watch with the properly-upgraded-from-an-<u></u>older-backup database.<br>


<br></blockquote><div><br></div><div style>I noticed when I upgraded my machine that there was an unresolved conflict between mythtv-common 0.25 and 0.26.  I had to fire up aptitude and manually remove 0.25 to get 0.26 to install;  The update utility wanted to do a &quot;partial upgrade&quot;, as you seem to describe in step 4?  I&#39;m not sure that&#39;s your problem as I would suspect larger issues if you were using an older version of mythtv-common... but I would double check that you have 0.26 versions of all the packages all the same.  I upgraded another frontend a day later, and this conflict seemed to have been resolved in the repo&#39;s.</div>

</div></div></div>