<div dir="ltr"><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><font color="#660066">>Hi, all - <br>>Long-time Myth user here - >15 years.   Things have worked pretty well thus <br>>far, so haven't needed to post much. <br>>I'm running 32-fixes, and just upgraded the OS from Ubuntu 20.04 to 22.04. <br>>It went quite painlessly compared to the jump from 18.04 to 20.04. <br>> <br>>However, the only app not working is Mythweb.  I also have noticed that <br>>every time I fire up the frontend it asks me to upgrade my music database <br>>schema.  I never use <b style="color:black;background-color:rgb(255,255,128)">Mythmusic</b>, as I have other utilities for playing my <br>>music collection.  But I see through some posts back in January that I have <br>>to fix <b style="color:black;background-color:rgb(255,255,128)">Mythmusic</b> to get Mythweb to work on 22.04. <br>> <br>>There is nothing in the frontend about the music library or <b style="color:black;background-color:rgb(255,255,128)">Mythmusic</b>. <br>>Mythtv-setup lists the correct directory for my music files, but there is <br>>no reference to <b style="color:black;background-color:rgb(255,255,128)">Mythmusic</b>, or configuring it, at all. <br>> <br>>It is installed but apparently not able to be used. <br>> <br>>Reading package lists... Done <br>>Building dependency tree... Done <br>>Reading state information... Done <br>><b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> is already the newest version <br>>(2:32.0+fixes.202210281018.ba52c13223~ubuntu22.04.1). <br>>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. <br>> <br>>Please advise as to how I can get this running...thanks in advance! <br>> <br>>*__________________________________* <br>> <br>>*Bob* <br></font> <br>>The menu for accessing <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> is: <br> <br>>mthfrontend > Media Library > Listen to Music <br> </div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">** Not there! **  <br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,sans-serif;font-size:small">>If you do not have that menu item when the <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> package is <br>>installed, there is something seriously wrong. <br> <br>>I am not sure that removing the <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> package would fix your <br>>problem, as the database tables would likely still remain.  Maybe <br>>purging <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> would work.  However, it would be better to get the <br>>music database tables upgraded. <br> <br>>The upgrade of database tables for frontend-only modules like <br><b style="color:black;background-color:rgb(255,255,128)">>mythmusic</b> happens when mythfrontend is next run after the module has <br>>been upgraded and requires a database upgrade.  Database upgrades for <br>>most tables normally happen when mythtv-setup or mythbackend gets run <br>>for the first time after the packages have been updated, but <br>>frontend-only modules are different.  So, when mythfrontend asks about <br>>upgrading the <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> tables, did you say yes?  If not, do that now. <br> <br>>A last resort would be to purge the <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> package and then <br>>manually remove all the <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> tables from the database.  Then you <br>>would probably also need to remove all the music rows from the <br>>settings table, especially the MusicDBSchemaVer one.  But there is no <br>>guarantee that would work properly, as it would be bypassing all the <br>>usual protections that keep the database sane. <br> <br>>What is your current MusicDBSchemaVer value?  Use these commands to <br>>see it: <br> <br>>sudo mysql <br>>use mythconverg <br>>select * from settings where value='MusicDBSchemaVer'; <br>>quit <br> <br>>This is what I get on MythTV v32-fixes: <br> <br>>MariaDB [mythconverg]> select * from settings where <br>>value='MusicDBSchemaVer'; <br>>+------------------+------+----------+ <br><font color="#660066">>| value            | data | hostname | <br></font>>+------------------+------+----------+ <br><font color="#660066">>| MusicDBSchemaVer | 1025 | NULL     | <br></font>>+------------------+------+----------+ <br>>1 row in set (0.001 sec) <br> <br>>If you are getting a smaller number than 1025, the <b style="color:black;background-color:rgb(255,255,128)">mythmusic</b> tables <br>>still need upgrading. </div><div><br></div><div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">For the past seven or eight times I have opened mythfrontend, it has asked me to upgrade the music database schema.  Each time I have allowed it to upgrade, but it apparently doesn't "take".</div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">[rcs@vader: ~]$ sudo mysql -p<br>Enter password: <br>Welcome to the MySQL monitor.  Commands end with ; or \g.<br>Your MySQL connection id is 649<br>Server version: 8.0.31-0ubuntu0.22.04.1 (Ubuntu)<br>mysql> use mythconverg<br>Reading table information for completion of table and column names<br>You can turn off this feature to get a quicker startup with -A<br><br>Database changed<br>mysql> select * from settings where value='MusicDBSchemaVer';<br>+------------------+------+----------+<br>| value            | data | hostname |<br>+------------------+------+----------+<br>| MusicDBSchemaVer | 1024 | NULL     |<br>+------------------+------+----------+<br>1 row in set (0.00 sec)<br></div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default"><br></div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">I will try removing/purging mythmusic as a first step.</div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">Why would this make MythWeb non-functional?  Just curious.</div><div style="font-family:arial,sans-serif;font-size:small" class="gmail_default">Thanks!<br></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><b>__________________________________</b></div><div><font face="garamond, times new roman, serif"><b>Bob<br></b></font></div></div></div></div>