[mythtv-users] reconfigure to single FE/BE with Json

Hika van den Hoven hikavdh at gmail.com
Sat Sep 23 15:36:18 UTC 2023


Hoi Daryl,

Saturday, September 23, 2023, 5:17:45 PM, you wrote:


> On Sat, Sep 23, 2023 at 11:04 AM Hika van den Hoven <hikavdh at gmail.com> wrote:

> Hoi Daryl,
>  
>  Saturday, September 23, 2023, 3:22:59 PM, you wrote:
>  
 >> Experimentally, I tried using a RPi4 as a master BE with EIT
 >> program data, on 24/7 to get the best data possible. That didn't
 >> work so well so, as the subject indicates, I want my previous setup
 >> back. I renewed my SD subscription and started with the "XMLTV -
 >> MythTV Official" wiki. I did the xmltv install, but get nothing when
 >> I run "mythtv-setup" as mythtv. If I turn the RPi off I can't
 >> connect to the database. Do I need to restore a database to the
 >> Lenovo in order to proceed with the wiki?
 >> TIA  Daryl
>  
>  Am I right to assume your database is on the rpi?


> Yes, it is currently the Master BE 
>  The database does not have to be on the machine running the
>  master backend, but it MUST be up and running to use mythtv.
>  So, if the db is on the rpi and you want to take the rpi out of
>  commission, you will have to move the database and change the settings
>  on all back and frontends accordingly.


>  
> The RPi is called "trieli" and the Lenovo is called "daryl".
> I've created a new database backup from the RPi (host name trieli)
> so I'll need to change Lenove's hostname from daryl to trieli to be
> able to: drop, create, and restore this new db?


> Or can I move the database from the master (RPi) to the slave
> (Lenovo) and then configure the Lenovo to be  the master?


> TIA  Daryl 
>  
Do not change hostnames. Change ~/.mythtv/config.xml on all machines
running a back or frontend for all users to point to the new location
ip address for the database.
Then restore your backup from the rpi on the lenovo.
After this it should work as before with the rpi still as the master
and the lenovo as the slave.
Next I think, but I have never tried it, you change the lenovo through
mythtv-setup to master. I think then the rpi will automatically
degrade to slave. But if you want to keep using it as slave you best
check.



Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list