'mythconverg failed' message at end of 'install mythtv' command

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
culbin
Newcomer
Posts: 9
Joined: Sat Nov 25, 2023 8:59 pm
Great Britain

'mythconverg failed' message at end of 'install mythtv' command

Post by culbin »

Hello all you wonderful troubleshooters! Please can someone advise on my issue? I have not seen this addressed in other forum entries.

I have a machine which was previously running an older version of Ubuntu and MythTV no problem. For various reasons I decided to wipe the machine and install the latest version of Ubuntu 25.04 and MythTV v35.

I've been having huge problems getting MythTV to work, reading endless possible solutions, installing the machine from scratch multiple times in an attempt to solve it.

Now I think the problem starts with the initial install of MythTV.
  • I performed a brand new install of Ubuntu 25.04
Immediately after booting up, with the default account which has admin privileges, I run:
  • sudo apt update (no updates found)
  • sudo apt install mythtv (it defaults to installing v35)
At the end of the install, before I have done anything at all, while the terminal is still open, the terminal shows the following:
mysql 'hidden SECURITY_INFO' --execute=CREATE USER IF NOT EXISTS 'mythtv'@'%' IDENTIFIED WITH mysql_native_password; ALTER USER 'mythtv'@'%' IDENTIFIED BY 'XXQT1mve'; GRANT ALL ON mythconverg.* TO 'mythtv'@'%'; mythconverg failed, (incorrect admin username/password or syntax?)
But there's only one default account on the machine? Should I be doing something else before running the 'install mythtv' command?

I just want it to work 'out of the box' without fixing config.xml, group membership, MySQL, etc., etc.

Any advice appreciated. Thanks so much!
User avatar
pgbennett
Developer
Posts: 565
Joined: Mon Apr 27, 2015 5:41 pm
United States of America

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by pgbennett »

The creation of the mysql user and database needs to be run as root. I don't know why you get that message. With mysql when running from root you do not need an admin password. Are you using mysql or mariadb. I don't know if mariadb is different, but I doubt it.

You can fix this by running

Code: Select all

sudo mysql
then paste the commands which failed:

Code: Select all

CREATE USER IF NOT EXISTS 'mythtv'@'%' IDENTIFIED WITH mysql_native_password; 
ALTER USER 'mythtv'@'%' IDENTIFIED BY 'XXQT1mve'; 
GRANT ALL ON mythconverg.* TO 'mythtv'@'%'; 
culbin
Newcomer
Posts: 9
Joined: Sat Nov 25, 2023 8:59 pm
Great Britain

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by culbin »

Thanks for the quick reply.

Hmm, strange. All I see is people advising staying away from logging in as root and use sudo instead. I've never logged in as root, and will have to research how - which is kind of ironic.

"Are you using mysql or mariadb"
No idea. This is a brand new install of Ubuntu 25.04 so I'd need to research what 25.04 provides as default. I've not installed anything other than MythTV.

Makes me wonder, if I'm performing a standard install wouldn't everyone be getting this problem?
Acer Aspire Z3-710
  • NVIDIA GeForce 840M
  • Intel® Core™ i7-4785T × 8
  • 12 Gb RAM
User avatar
pgbennett
Developer
Posts: 565
Joined: Mon Apr 27, 2015 5:41 pm
United States of America

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by pgbennett »

You still use sudo, which allows you to run commands as root. Do not try to login as root. That is not recommended.

I don't know why the install is failing to set up the database, but I suggest you try the commands mentioned above and see if it solves your problem. You log on as your normal user and run "sudo mysql" as listed above (which runs mysql as root), and paste in the commands.
white_haired_uncle
Senior
Posts: 494
Joined: Thu Feb 23, 2023 8:55 pm
Location: Safe outside my gilded cage
United States of America

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by white_haired_uncle »

culbin wrote:
Tue Apr 22, 2025 11:25 pm

But there's only one default account on the machine? Should I be doing something else before running the 'install mythtv' command?
There is one default account on the machine, and a mythtv account should be added as part of the install of mythtv. Neither of which have anything to do with the "users" used by mysql, such as 'mythtv'@'%', which are totally contained within mysql.
culbin wrote:
Tue Apr 22, 2025 11:25 pm
Makes me wonder, if I'm performing a standard install wouldn't everyone be getting this problem?
Not likely. You're using Ubuntu 25.04 which just came out, and is only going to be supported for like 9 months. Most people will choose the LTS (Long Term Support) releases, of which 24.04LTS is the most recent (about a year old) and which many are just starting to use.

If you are new to Linux, and don't mind going back and starting over, I would recommend you really consider using an LTS release. It's not a big deal, but it's the difference between running what "everybody else" is running and what "nobody else" is running.

It's possible you've run into a problem with the packaging process (not a mythtv thing, but whatever) for 25.04. If you could describe exactly which version you installed (desktop vs server for example, I assume the AMD/Intel, etc - a link is good) I can spin up a VM and test it here.
culbin
Newcomer
Posts: 9
Joined: Sat Nov 25, 2023 8:59 pm
Great Britain

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by culbin »

Thanks so much for your help!
pgbennett wrote:
Wed Apr 23, 2025 12:47 pm
Do not try to login as root. That is not recommended.
Great, I didn't want to go there :)
pgbennett wrote:
Wed Apr 23, 2025 12:47 pm
I suggest you try the commands mentioned above and see if it solves your problem. You log on as your normal user and run "sudo mysql" as listed above (which runs mysql as root), and paste in the commands.
Although it didn't display any errors when doing this, unfortunately same result.
white_haired_uncle wrote:
Wed Apr 23, 2025 6:58 pm
I would recommend you really consider using an LTS release.
Ah yes, that makes sense. I was thinking everyone must be having my issue, but I'm jumping ahead.
I was previously running 24.04LTS but I use kdenlive a lot and it was too unstable. Very stable in 25.04.
On balance I need kdenlive more than MythTV so I think I'll stick with 25.04.
white_haired_uncle wrote:
Wed Apr 23, 2025 6:58 pm
If you could describe exactly which version you installed (desktop vs server for example, I assume the AMD/Intel, etc - a link is good) I can spin up a VM and test it here.
Yes it was desktop, Intel or AMD 64-bit architecture. https://ubuntu.com/download/desktop/tha ... ture=amd64
But honestly don't put yourself out. I've learned at lot and can live without MythTV until the next LTS.
Acer Aspire Z3-710
  • NVIDIA GeForce 840M
  • Intel® Core™ i7-4785T × 8
  • 12 Gb RAM
white_haired_uncle
Senior
Posts: 494
Joined: Thu Feb 23, 2023 8:55 pm
Location: Safe outside my gilded cage
United States of America

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by white_haired_uncle »

I was able to replicate this issue on u25.04. Actually, it looks like there's two issues. Unfortunately, I forgot to take a snapshot of the freshly installed system, so now I need to start all over.

I doubt this is a mythtv bug, but... https://github.com/MythTV/mythtv/issues/1076
culbin
Newcomer
Posts: 9
Joined: Sat Nov 25, 2023 8:59 pm
Great Britain

Re: 'mythconverg failed' message at end of 'install mythtv' command

Post by culbin »

Great work. Thank you :D
Acer Aspire Z3-710
  • NVIDIA GeForce 840M
  • Intel® Core™ i7-4785T × 8
  • 12 Gb RAM
Post Reply