[mythtv-users] New IP address not used by Database

Stephen Worthington stephen_agent at jsw.gen.nz
Sun Jun 21 03:04:36 UTC 2020

On Sat, 20 Jun 2020 15:50:22 -0500, you wrote:

>Hi Folks!
>Got a new router and so all of my LAN addresses had to be changed from 
>192.168.0.x to 192.168.4.x. Was able to change the static address of my 
>Backend (Ubuntu 18.04, MythTV v. 30, MariaDB. Changed the config.xml to 
>the new address without problem, and can access the machine via the 
>webpage ( The problem is the database won’t stay 
>updated. Takes at least five minutes to get to the GUI (even using 
>mythtv-setup.real), I can change the database address to the desired 
>, save and close. Run mythfilldatabase and it gives errors 
>and as it’s already looking at the old address.
>(Stephen Worthington: I did update your routine to look to ascertain the 
>network was up.)
>Subquestion: A while back there was a thread to post to the website and 
>not this e-mailed forum. What’s the site?? I found the Gossamer Threads 
>repost but not the original. Thanks!

Check all the settings in your database for the old IP address:

sudo su
use mythconverg;
select * from settings where data like '%192.168.%';

That should tell you if there is one you missed.  I get this on my
MythTV box:

MariaDB [mythconverg]> select * from settings where data like '%10.%';
| value             | data     | hostname |
| MasterServerIP    | | NULL     |
| BackendServerIP   | | mypvr    |
| BackendServerAddr | | mypvr    |
3 rows in set (0.00 sec)

Then check all the different config.xml files:

/home/<mythfrontend user>/.mythtv/config.xml

It can also be a good idea to check all settings in /etc for the old
IP address, such as /etc/hosts:

sudo su
cd /etc
grep -r "192.168." *

The MythTV forums are here:


More information about the mythtv-users mailing list