[mythtv-users] About updating from Ubuntu 24.04 to 26.04
Will Dormann
wdormann at gmail.com
Tue May 5 00:58:09 UTC 2026
I recently updated from my MythTV Ubuntu 24.04 system to 26.04, and here
are my notes, in case it's of any use to people:
1. If you attempt to run "sudo dist-upgrade", you may note that there is
no new version of Ubuntu available. This is because they wait until the
.1 version (August) to release the upgrade option to the masses. To
actually upgrade to 26.04, you can run "sudo dist-upgrade -d" to include
development versions. As apparently 26.04 is a development version of
Ubuntu. I didn't fear this too much as I'm quite confident with my
bare-metal backup/restore routine, as should all of you.
2. Ubuntu is currently under a DDoS, so you may have to attempt to run
1. multiple times. Since the packages themselves are in mirrors, it's
only this first step that may be affected.
3. During the upgrade process, several config files (in my case
mysqld.cnf, smb.cnf, postfix files, grub, etc.) will say that there are
updated configs available. Just accept the default values to keep your
existing files.
4. I noticed that postfix failed to start after upgrade, as it seems to
attempt to start before the network is up. To fix:
sudo systemctl edit postfix.service
Add:
[Unit]
After=network-online.target
Wants=network-online.target
5. After upgrade, mysql doesn't support native password-based auth
anymore. It also seemed to have a problem with what it binds to. To fix:
Add the following lines to the file:
[mysqld]
mysql_native_password=ON
uncomment:
bind-address=0.0.0.0
6. Mysql fails to start due to a legacy config option (at least on my
system). To fix:
sudo nano /etc/mysql/my.cnf
remove:
expire_logs_days
add:
binlog_expire_logs_seconds = 864000
7. The system-side config.xml file has a different password than what's
in my home directory. To fix:
copy ~/.mythtv/config.xml to /etc/mythtv
8. mythweb is deprecated, and actually removed in the version that comes
with Ubuntu 26.04. It has been replaced with http://<host>:6544
I still like mythweb, as it gives me more info like movie ratings that
the :6544 web UI does not, for reasons I cannot fathom. To fix:
git clone https://github.com/MythTV/mythweb.git
sudo cp -a mythweb to /var/www/html
sudo ln -s /var/www/html/mythweb/mythweb.conf.apache
/etc/apache2/conf-available/mythweb.conf
sudo a2enconf mythweb
sudo systemctl reload apache2
sudo chown -R www-data:www-data /var/www/html/mythweb
sudo nano /etc/apache2/conf-available/mythweb.conf
edit <directory> entries to be within /var/www/html/mythweb
change php_value memory_limit to 2048M
Uncomment block:
setenv db_server "localhost"
setenv db_name "mythconverg"
setenv db_login "mythtv"
setenv db_password "mythtv"
change db_password to what's in ~/.mythtv/config.xml
I've only done some surface-level testing of my (backend-only these
days... Leanfront is awesome!) MythTV system. But at a glance, the
upgrade seems to be working, with the above mods.
-WD
More information about the mythtv-users
mailing list