[mythtv-users] Mythtv-setup cant change Master Backend Name

John jksjdevelop at gmail.com
Tue Aug 4 16:19:58 UTC 2020


On 04/08/2020 16:03, Peter Bennett wrote:
>
>
> On 8/4/20 10:11 AM, John wrote:
>>
>> Setting up a raspberry pi backend and I want to move all existing 
>> recordings from an old machine.
>>
>> The channels and sources are showing in setup but no storage groups
>>
>> The new machines host name is pitv the old machine was tv.
>>
>> I have imported a backup of the old database to the new machine.
>>
>> Used this to convert the hostname in the database
>>
>> mythconverg_restore.pl --change_hostname --old_hostname="XXXX" 
>> --new_hostname="YYYY"
>>
>> The conversion has worked looking in the settings table.
>>
>> When I run mythtv-setup>general>Host Address Backend Setup
>>
>> I can set the Primary IP Address
>>
>> But as soon as I tick "This Server is the Master Backend"
>>
>> It fills in the Master Backend Name and wont let me edit it.
>>
>> The name picked was a previous name of this card, I have checked
>>
>> |/etc/hosts,|
>> ||/etc/hostname and Raspberry Pi Configuration Its getting the old 
>> name from somewhere though Do I have to use a previously unused IP 
>> address for the card ||
>>
>>
>>
> When you click "This server is the master backend", it copies your 
> machine name to the master server name. It gets that machine name from 
> $HOME/.mythtv/config.xml, or if that says 
> "my-unique-identifier-goes-here" it gets it from /etc/hostname. So if 
> you need a different master server name, change it in one of those 
> places, then select "This server is the master backend" again.
>
> Peter
>
> _______________________________________________
> 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

Thanks that worked, presumably a frontend had written to 
$HOME/.mythtv/config.xml,


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


More information about the mythtv-users mailing list