[mythtvnz] New install setup - recording problem
Paulgir
paulgir at gmail.com
Tue Aug 16 22:40:37 BST 2016
On Tue, 16 Aug 2016 20:23:03 +1200, Stephen Worthington
<stephen_agent at jsw.gen.nz> wrote:
> On Sun, 14 Aug 2016 10:32:48 +1200, you wrote:
>
>> Here's a link to a text file with the log snippets you requested:
>> https://drive.google.com/open?id=0B5RRWPLTmilhLUFhLTFkN3dEeUU
>
> I have finally had a free moment to start looking at the log files,
> starting with the syslogs, and the thing that right away I can see as
> a problem is that the hostname of the PC has changed from 12.04 (myth)
> to 16.04 (mythpc). That screws up the MythTV database quite badly, as
> lots of settings are per hostname and many other tables have a
> hostname field. When changing the hostname of a PC, you have to
> follow this procedure:
My original install of 16.04 had the same hostname as the 12.04
install.This was the one where I restored a DB backup from 12.04 onto
16.04.When I discovered that this led to a typo error in the command I
used to change the permissions on the storage drive,I did a reinstall of
16.04 with a new hostname to avoid that mistake.
On the new install I did not restore a 12.04 DB backup onto it.So the logs
you have seen are from a system with a pristine DB.
>
> https://www.mythtv.org/wiki/Hostname_change#Change_the_hostname_of_a_MythTV_frontend_or_backend
>
> and also see this:
>
> https://www.mythtv.org/wiki/Backend_migration
>
> I am not sure how well the hostname change options on
> mythconverg_restore.pl work - I have never used them. If they change
> all the hostnames in all the tables, everything should work a lot
> better than before. I believe the right sequence would be to do a new
> restore of the 12.04 database to the 16.04 setup, then run the
> hostname change command, then run mythtv-setup to upgrade the database
> schema, then start mythbackend and run mythfrontend to upgrade any
> other plugin database that needed it.
>
> I think you said you are just installing 16.04 on a new SSD in the
> same PC.
That is correct.
If so, then it might be easier to just do a reinstall of
> 16.04 keeping the old hostname, and then do an ordinary restore of the
> database. Once things are all working again, you could then look at
> changing the hostname.
As of yesterday ,I somehow killed the 16.04 system's ability to
boot,setting up Myth Welcome.I ran boot repair but it did not correct the
problem.
I could probably find the problem and fix it but I have decided to
reinstall as that will be much quicker.
I will use the same hostname as 12.04 ,in case I decide to do a DB restore
from 12.04.
I will probably not do a restore,though as I don't have a huge number of
recordings on 12.04 and may just move them to /Videos.
I want to,initially, only install the HDHR tuners to see if I have the
same start delay.
>
> However, that problem would not affect you if you were just running a
> new database on 16.04, and I have not checked all the emails to see if
> the latest tests (for the log files) were done with a clean database,
Yes it was clean.
> or using a restored one. I may be able to work it out from the logs,
> but please let me know if you can remember. If the tests were done
> with a database with wrong hostnames, there is not much point in
> looking at the mythbackend logs until that problem is fixed.
>
> One other minor thing I can see is that the language locale seems to
> be en_gb on the 12.04 setup, but en_us on the 16.04 one. Since en_NZ
> is a variant of en_gb, lots of things show en_gb when the locale is
> set to en_NZ, so check the output of the "locale" command on 12.04 to
> see if it is really set to en_NZ. If so, 16.04 should be set up the
> same way. There can be problems with MythTV themes and other subtle
> things if the locales do not match between the operating system and
> the MythTV database.
12.04:
~$ locale
LANG=en_NZ.UTF-8
LANGUAGE=en_NZ:en
LC_CTYPE="en_NZ.UTF-8"
LC_NUMERIC="en_NZ.UTF-8"
LC_TIME="en_NZ.UTF-8"
LC_COLLATE="en_NZ.UTF-8"
LC_MONETARY="en_NZ.UTF-8"
LC_MESSAGES="en_NZ.UTF-8"
LC_PAPER="en_NZ.UTF-8"
LC_NAME="en_NZ.UTF-8"
LC_ADDRESS="en_NZ.UTF-8"
LC_TELEPHONE="en_NZ.UTF-8"
LC_MEASUREMENT="en_NZ.UTF-8"
LC_IDENTIFICATION="en_NZ.UTF-8"
LC_ALL=
>
> When I have some more time I will look further at the logs.
>
> BTW My test PC is down for a few days - my mother's MythTV box power
> supply fan suddenly became very noisy, so I had to use my spare power
> supply from the test PC to keep her MythTV going until we can get a
> new power supply for it. So I am unable to do any testing with 16.04
> at the moment.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
More information about the mythtvnz
mailing list