[mythtv-users] Problems on an upgraded computer.

Douglas Peale Douglas_Peale at Comcast.net
Thu Nov 21 05:02:20 UTC 2019


(Sorry, it seems I'm having trouble doing e-mail today and replied just to Mark Perkins, resending to the list)

I wiped out the old database and created a new clean one
    cd /usr/share/mythtv/sql
    sudo mysql -uroot -p < mc.sql

I set the password back to the old password
    sudo mysql -u root -pSE
    mysql> SET PASSWORD FOR 'mythtv'@'localhost' = "Old Password";

I restored the last working database from my old machine
    /usr/share/mythtv/mythconverg_restore.pl --verbose --drop_database --create_database --filename
mythconverg-1344-20180802130001.sql.gz

I changed the host name (Note that the command from the first link you sent did not work)
    /usr/share/mythtv/mythconverg_restore.pl --change_hostname --old_hostname="XXXX" --new_hostname="YYYY"

Everything looks the way it did on my old machine, but live TV still does not work. The following is an extract from the
mythbackend.log

Nov 20 20:47:31 BlackBox mythbackend: mythbackend[1486]: I TVRecEvent tv_rec.cpp:1088 (HandleStateChange) TVRec[1]: Changing
from None to WatchingLiveTV
Nov 20 20:47:31 BlackBox mythbackend: mythbackend[1486]: I TVRecEvent tv_rec.cpp:3649 (TuningFrequency) TVRec[1]: TuningFrequency
Nov 20 20:47:31 BlackBox mythbackend: mythbackend[1486]: E TVRecEvent dtvmultiplex.cpp:379 (ParseTuningParams) DTVMux:
ParseTuningParams -- Unknown tuner type = 0xffffffff80000000
Nov 20 20:47:31 BlackBox mythbackend: mythbackend[1486]: E TVRecEvent recorders/dtvchannel.cpp:300 (SetChannelByString)
DTVChan[1](1040253E-0): SetChannelByString(7.1): Failed to initialize multiplex options
Nov 20 20:47:31 BlackBox mythbackend: mythbackend[1486]: E TVRecEvent tv_rec.cpp:3727 (TuningFrequency) TVRec[1]: Failed to set
channel to 7.1. Reverting to kState_None
Nov 20 20:47:31 BlackBox mythbackend: mythbackend[1486]: I TVRecEvent tv_rec.cpp:1088 (HandleStateChange) TVRec[1]: Changing
from WatchingLiveTV to None



On 11/18/19 9:59 PM, Mark Perkins wrote:
> Need to update hostname before starting backend.
>
> https://www.mythtv.org/wiki/Backend_migration
>
> https://www.mythtv.org/wiki/Database_Backup_and_Restore#Change_the_hostname_of_a_MythTV_frontend_or_backend
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20191120/0d54e302/attachment.htm>


More information about the mythtv-users mailing list