Mailing List Archive

Upgrade to Mint 21 broke mythweb
I have upgraded my computer to Mint 21

MythTV front end and back end are working

Browser says "Unable to connect" when trying to access https://localhost/mythweb/

"MythTV WebFrontend" is found at localhost:6544 This appears to be working, but all options under the "Utilities" menu lead to a
blank page. I believe this is because MythTV WebFrontend is incomplete, so MythWeb is still necessary.

I have uninstalled MythWeb, and re-installed it with no change in behavior.

I see nothing of use in the Apache2 logs

I looked in /etc/apache2/sites-enabled/mythweb.conf, and the directories seem to be correct. (though my idea of correct is
probably sketchy)

According to the software manager, the version of mythTV installed is 2:32.0+fixes.20220325.f69ce764b7-0ubuntu1

The version of MythWeb is 2:32.0+fixes.20220325.f69ce764b70ubuntu1

Suggestions on what to try next would be appreciated.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>
> I have upgraded my computer to Mint 21
>
> MythTV front end and back end are working
>
> Browser says "Unable to connect" when trying to access https://localhost/mythweb/

Sounds like apache service is not running. That would be the first step.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/10/23 13:42, Jay Harbeston wrote:
>
>> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>>
>> I have upgraded my computer to Mint 21
>>
>> MythTV front end and back end are working
>>
>> Browser says "Unable to connect" when trying to access https://localhost/mythweb/
> Sounds like apache service is not running. That would be the first step.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

You appear to be correct.

systemctl status apache2.service

× apache2.service - The Apache HTTP Server
     Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Mon 2023-04-10 14:01:41 PDT; 22s ago
       Docs: https://httpd.apache.org/docs/2.4/
    Process: 29420 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
        CPU: 11ms

Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP Server...
Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line
3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/libphp7.4.so into server:
/usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file: No such file or directory
Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log may have more information.
Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with result 'exit-code'.
Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache HTTP Server.


Seems I am missing a file. What would be the best approach to fixing this? Should I try uninstalling, then re-installing
Apache2? or would that make my problems worse.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale <Douglas_Peale@comcast.net>
wrote:

> On 4/10/23 13:42, Jay Harbeston wrote:
> >
> >> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net>
> wrote:
> >>
> >> I have upgraded my computer to Mint 21
> >>
> >> MythTV front end and back end are working
> >>
> >> Browser says "Unable to connect" when trying to access
> https://localhost/mythweb/
> > Sounds like apache service is not running. That would be the first step.
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org
>
> You appear to be correct.
>
> systemctl status apache2.service
>
> × apache2.service - The Apache HTTP Server
> Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor
> preset: enabled)
> Active: failed (Result: exit-code) since Mon 2023-04-10 14:01:41
> PDT; 22s ago
> Docs: https://httpd.apache.org/docs/2.4/
> Process: 29420 ExecStart=/usr/sbin/apachectl start (code=exited,
> status=1/FAILURE)
> CPU: 11ms
>
> Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP Server...
> Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error on line
> 146 of /etc/apache2/apache2.conf: Syntax error on line
> 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load
> /usr/lib/apache2/modules/libphp7.4.so into server:
> /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file: No
> such file or directory
> Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
> Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log may have
> more information.
> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control process
> exited, code=exited, status=1/FAILURE
> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with result
> 'exit-code'.
> Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache HTTP
> Server.
>
>
> Seems I am missing a file. What would be the best approach to fixing this?
> Should I try uninstalling, then re-installing
> Apache2? or would that make my problems worse.
>
> I think LM21 is up to php8.1?

Jim A
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/10/23 14:16, James Abernathy wrote:
>
>
> On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale <Douglas_Peale@comcast.net> wrote:
>
> On 4/10/23 13:42, Jay Harbeston wrote:
> >
> >> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
> >>
> >> I have upgraded my computer to Mint 21
> >>
> >> MythTV front end and back end are working
> >>
> >> Browser says "Unable to connect" when trying to access https://localhost/mythweb/
> > Sounds like apache service is not running. That would be the first step.
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org
>
> You appear to be correct.
>
> systemctl status apache2.service
>
> × apache2.service - The Apache HTTP Server
>       Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
>       Active: failed (Result: exit-code) since Mon 2023-04-10 14:01:41 PDT; 22s ago
>         Docs: https://httpd.apache.org/docs/2.4/
>      Process: 29420 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
>          CPU: 11ms
>
> Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP Server...
> Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on
> line
> 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/libphp7.4.so <http://libphp7.4.so> into
> server:
> /usr/lib/apache2/modules/libphp7.4.so <http://libphp7.4.so>: cannot open shared object file: No such file or directory
> Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
> Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log may have more information.
> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with result 'exit-code'.
> Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache HTTP Server.
>
>
> Seems I am missing a file. What would be the best approach to fixing this? Should I try uninstalling, then re-installing
> Apache2? or would that make my problems worse.
>
> I think LM21 is up to php8.1?
>
> Jim A
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums:https://forum.mythtv.org

I attempted to uninstall Apache2 and re-install which also forced an uninstall of MythWeb. This did not change anything.

Is this a case of Mythweb requiring an older version of PHP that is not supported by Apache2?

Is there no way forward here?
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
You should just need to change the config to actually match the version of
PHP installed which is no longer the old one your old config had in it.

Go looking through /use/lib/apache2/modules/ directory on your system, look
and see if there's a PHP library in there. There should be, and likely be a
newer version than 7.4.

You just need to edit the config to match what exists now and every time
you upgrade.

Mike




On Mon, Apr 10, 2023, 15:29 Douglas Peale <Douglas_Peale@comcast.net> wrote:

> On 4/10/23 14:16, James Abernathy wrote:
>
>
>
> On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale <Douglas_Peale@comcast.net>
> wrote:
>
>> On 4/10/23 13:42, Jay Harbeston wrote:
>> >
>> >> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net>
>> <Douglas_Peale@Comcast.net> wrote:
>> >>
>> >> I have upgraded my computer to Mint 21
>> >>
>> >> MythTV front end and back end are working
>> >>
>> >> Browser says "Unable to connect" when trying to access
>> https://localhost/mythweb/
>> > Sounds like apache service is not running. That would be the first step.
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users@mythtv.org
>> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> > http://wiki.mythtv.org/Mailing_List_etiquette
>> > MythTV Forums: https://forum.mythtv.org
>>
>> You appear to be correct.
>>
>> systemctl status apache2.service
>>
>> × apache2.service - The Apache HTTP Server
>> Loaded: loaded (/lib/systemd/system/apache2.service; enabled;
>> vendor preset: enabled)
>> Active: failed (Result: exit-code) since Mon 2023-04-10 14:01:41
>> PDT; 22s ago
>> Docs: https://httpd.apache.org/docs/2.4/
>> Process: 29420 ExecStart=/usr/sbin/apachectl start (code=exited,
>> status=1/FAILURE)
>> CPU: 11ms
>>
>> Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP Server...
>> Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error on line
>> 146 of /etc/apache2/apache2.conf: Syntax error on line
>> 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load
>> /usr/lib/apache2/modules/libphp7.4.so into server:
>> /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file:
>> No such file or directory
>> Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
>> Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log may have
>> more information.
>> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control process
>> exited, code=exited, status=1/FAILURE
>> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with result
>> 'exit-code'.
>> Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache HTTP
>> Server.
>>
>>
>> Seems I am missing a file. What would be the best approach to fixing
>> this? Should I try uninstalling, then re-installing
>> Apache2? or would that make my problems worse.
>>
>> I think LM21 is up to php8.1?
>
> Jim A
>
>
> _______________________________________________
> mythtv-users mailing listmythtv-users@mythtv.orghttp://lists.mythtv.org/mailman/listinfo/mythtv-usershttp://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
> I attempted to uninstall Apache2 and re-install which also forced an
> uninstall of MythWeb. This did not change anything.
>
> Is this a case of Mythweb requiring an older version of PHP that is not
> supported by Apache2?
>
> Is there no way forward here?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On Mon, Apr 10, 2023 at 5:28?PM Douglas Peale <Douglas_Peale@comcast.net>
wrote:

> On 4/10/23 14:16, James Abernathy wrote:
>
>
>
> On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale <Douglas_Peale@comcast.net>
> wrote:
>
>> On 4/10/23 13:42, Jay Harbeston wrote:
>> >
>> >> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net>
>> <Douglas_Peale@Comcast.net> wrote:
>> >>
>> >> I have upgraded my computer to Mint 21
>> >>
>> >> MythTV front end and back end are working
>> >>
>> >> Browser says "Unable to connect" when trying to access
>> https://localhost/mythweb/
>> > Sounds like apache service is not running. That would be the first step.
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users@mythtv.org
>> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> > http://wiki.mythtv.org/Mailing_List_etiquette
>> > MythTV Forums: https://forum.mythtv.org
>>
>> You appear to be correct.
>>
>> systemctl status apache2.service
>>
>> × apache2.service - The Apache HTTP Server
>> Loaded: loaded (/lib/systemd/system/apache2.service; enabled;
>> vendor preset: enabled)
>> Active: failed (Result: exit-code) since Mon 2023-04-10 14:01:41
>> PDT; 22s ago
>> Docs: https://httpd.apache.org/docs/2.4/
>> Process: 29420 ExecStart=/usr/sbin/apachectl start (code=exited,
>> status=1/FAILURE)
>> CPU: 11ms
>>
>> Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP Server...
>> Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error on line
>> 146 of /etc/apache2/apache2.conf: Syntax error on line
>> 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load
>> /usr/lib/apache2/modules/libphp7.4.so into server:
>> /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file:
>> No such file or directory
>> Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
>> Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log may have
>> more information.
>> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control process
>> exited, code=exited, status=1/FAILURE
>> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with result
>> 'exit-code'.
>> Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache HTTP
>> Server.
>>
>>
>> Seems I am missing a file. What would be the best approach to fixing
>> this? Should I try uninstalling, then re-installing
>> Apache2? or would that make my problems worse.
>>
>> I think LM21 is up to php8.1?
>
> Jim A
>
>
> _______________________________________________
> mythtv-users mailing listmythtv-users@mythtv.orghttp://lists.mythtv.org/mailman/listinfo/mythtv-usershttp://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
> I attempted to uninstall Apache2 and re-install which also forced an
> uninstall of MythWeb. This did not change anything.
>
> Is this a case of Mythweb requiring an older version of PHP that is not
> supported by Apache2?
>
> Is there no way forward here?
>

You can find this some problem with solutions by search for mythweb at the
mailing-list archive at:
https://lists.archive.carbon60.com/mythtv/users/

Stephen Worthington has posted fixes to similar problems in some of the
posts in December of last year. I can't say I understand them but they
seemed to have fixed the problems, even on LM21.

Jim A
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/10/23 14:35, Mike Hodson wrote:
> You should just need to change the config to actually match the version of PHP installed which is no longer the old one your
> old config had in it.
>
> Go looking through /use/lib/apache2/modules/ directory on your system, look and see if there's a PHP library in there. There
> should be, and likely be a newer version than 7.4.
>
> You just need to edit the config to match what exists now and every time you upgrade.
>
> Mike
>
>
>
>
I looked in the apache2.conf file, and found that it was attempting to load everything in the /etc/apache2/mods-enabled directory.

Looking in that directory, I found both php7.4 and php8.1 . Since files in this directory are just soft links to files in
mods-enabled with the same names, I deleted the php7.4 files, and restarted apache2

It now runs without errors.

localhost/mythweb now reports an error:

*Fatal error*: Uncaught mysqli_sql_exception: Table 'mythconverg.music_songs' doesn't exist in
/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68 Stack trace: #0
/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68): mysqli_query() #1
/usr/share/mythtv/mythweb/classes/Database.php(263): Database_Query_mysqlicompat->execute() #2
/usr/share/mythtv/mythweb/classes/Database.php(326): Database->query() #3 /usr/share/mythtv/mythweb/modules/music/init.php(15):
Database->query_col() #4 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...') #5
/usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #6 /usr/share/mythtv/mythweb/mythweb.php(30):
Modules::getModule() #7 {main} thrown in */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on line *68*

*I'm afraid I don't understand the error message.
*
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
This has come up before. See:
https://lists.archive.carbon60.com/mythtv/users/640572

A solution seems to be to install the MythMusic plugin - temporarily at
least if you have no use for it - on a front end and run it up so that it
generates the table(s) required. See:
https://lists.archive.carbon60.com/mythtv/users/640577#640577

According to https://lists.archive.carbon60.com/mythtv/users/640596#640596
this is related to PHP 8.1 and later, specifically raising of exceptions on
error: https://php.watch/versions/8.1/mysqli-error-mode

A fix has been applied for this via:
https://github.com/MythTV/mythweb/pull/84 on July 20th, 2022, but I guess
it's not in the packaged version you're currently using.

Cheers, Ian


On Mon, 10 Apr 2023 at 23:13, Douglas Peale <Douglas_Peale@comcast.net>
wrote:

> On 4/10/23 14:35, Mike Hodson wrote:
>
> You should just need to change the config to actually match the version of
> PHP installed which is no longer the old one your old config had in it.
>
> Go looking through /use/lib/apache2/modules/ directory on your system,
> look and see if there's a PHP library in there. There should be, and likely
> be a newer version than 7.4.
>
> You just need to edit the config to match what exists now and every time
> you upgrade.
>
> Mike
>
>
>
>
> I looked in the apache2.conf file, and found that it was attempting to
> load everything in the /etc/apache2/mods-enabled directory.
>
> Looking in that directory, I found both php7.4 and php8.1 . Since files in
> this directory are just soft links to files in mods-enabled with the same
> names, I deleted the php7.4 files, and restarted apache2
>
> It now runs without errors.
>
> localhost/mythweb now reports an error:
>
> *Fatal error*: Uncaught mysqli_sql_exception: Table
> 'mythconverg.music_songs' doesn't exist in
> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68 Stack
> trace: #0
> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68):
> mysqli_query() #1 /usr/share/mythtv/mythweb/classes/Database.php(263):
> Database_Query_mysqlicompat->execute() #2
> /usr/share/mythtv/mythweb/classes/Database.php(326): Database->query() #3
> /usr/share/mythtv/mythweb/modules/music/init.php(15): Database->query_col()
> #4 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...')
> #5 /usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #6
> /usr/share/mythtv/mythweb/mythweb.php(30): Modules::getModule() #7 {main}
> thrown in
> */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on
> line *68*
>
>
> *I'm afraid I don't understand the error message. *
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
>> The version of MythWeb is 2:32.0+fixes.20220325.f69ce764b70ubuntu1
> A fix has been applied for this via:
https://github.com/MythTV/mythweb/pull/84 on July 20th, 2022, but I guess
it's not in the packaged version you're currently using.

So yeah, your package predates the fix.

Another option could be to use a PPA (see
https://www.mythtv.org/wiki/Installing_MythTV_on_Ubuntu and
https://launchpad.net/~mythbuntu) which would enable installing 33 if you
wanted or just the most recently created 32 packages from 2023-03-02.

Apologies for the top-posting in my last message.

Cheers, Ian
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On Mon, 10 Apr 2023 15:12:06 -0700, you wrote:

>On 4/10/23 14:35, Mike Hodson wrote:
>> You should just need to change the config to actually match the version of PHP installed which is no longer the old one your
>> old config had in it.
>>
>> Go looking through /use/lib/apache2/modules/ directory on your system, look and see if there's a PHP library in there. There
>> should be, and likely be a newer version than 7.4.
>>
>> You just need to edit the config to match what exists now and every time you upgrade.
>>
>> Mike
>>
>>
>>
>>
>I looked in the apache2.conf file, and found that it was attempting to load everything in the /etc/apache2/mods-enabled directory.
>
>Looking in that directory, I found both php7.4 and php8.1 . Since files in this directory are just soft links to files in
>mods-enabled with the same names, I deleted the php7.4 files, and restarted apache2

The correct way to do this is to use the a2dismod command (with sudo)
to disable the old php module, and use a2enmod to enable the new
version. Then restart apache2. So:

sudo a2dismod php7.4
sudo a2enmod php8.1
sudo systemctl restart apache2

But that basically does exactly what you have done by changing the
links.

Updates to the php packages do not automatically do this, for some
strange reason, so you always need to do it manually every time the
php version changes.

You can use the "a2query -m" command to list the currently enabled
modules.

>It now runs without errors.
>
>localhost/mythweb now reports an error:
>
>*Fatal error*: Uncaught mysqli_sql_exception: Table 'mythconverg.music_songs' doesn't exist in
>/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68 Stack trace: #0
>/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68): mysqli_query() #1
>/usr/share/mythtv/mythweb/classes/Database.php(263): Database_Query_mysqlicompat->execute() #2
>/usr/share/mythtv/mythweb/classes/Database.php(326): Database->query() #3 /usr/share/mythtv/mythweb/modules/music/init.php(15):
>Database->query_col() #4 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...') #5
>/usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #6 /usr/share/mythtv/mythweb/mythweb.php(30):
>Modules::getModule() #7 {main} thrown in */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on line *68*
>
>*I'm afraid I don't understand the error message.
>*

That error says that mythweb thinks you have the frontend-only
mythmusic package installed (from whatever clue it uses to decide
that), so it has gone looking for the mythmusic database tables, and
has not found one of them (music_songs). You could try uninstalling
the mythmusic package and reinstalling it, then running mythfrontend
to allow it to re-create the mythmusic tables.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/10/23 18:38, Stephen Worthington wrote:
> On Mon, 10 Apr 2023 15:12:06 -0700, you wrote:
>
>> On 4/10/23 14:35, Mike Hodson wrote:
>>> You should just need to change the config to actually match the version of PHP installed which is no longer the old one your
>>> old config had in it.
>>>
>>> Go looking through /use/lib/apache2/modules/ directory on your system, look and see if there's a PHP library in there. There
>>> should be, and likely be a newer version than 7.4.
>>>
>>> You just need to edit the config to match what exists now and every time you upgrade.
>>>
>>> Mike
>>>
>>>
>>>
>>>
>> I looked in the apache2.conf file, and found that it was attempting to load everything in the /etc/apache2/mods-enabled directory.
>>
>> Looking in that directory, I found both php7.4 and php8.1 . Since files in this directory are just soft links to files in
>> mods-enabled with the same names, I deleted the php7.4 files, and restarted apache2
> The correct way to do this is to use the a2dismod command (with sudo)
> to disable the old php module, and use a2enmod to enable the new
> version. Then restart apache2. So:
>
> sudo a2dismod php7.4
> sudo a2enmod php8.1
> sudo systemctl restart apache2
>
> But that basically does exactly what you have done by changing the
> links.
>
> Updates to the php packages do not automatically do this, for some
> strange reason, so you always need to do it manually every time the
> php version changes.
>
> You can use the "a2query -m" command to list the currently enabled
> modules.
>
>> It now runs without errors.
>>
>> localhost/mythweb now reports an error:
>>
>> *Fatal error*: Uncaught mysqli_sql_exception: Table 'mythconverg.music_songs' doesn't exist in
>> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68 Stack trace: #0
>> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68): mysqli_query() #1
>> /usr/share/mythtv/mythweb/classes/Database.php(263): Database_Query_mysqlicompat->execute() #2
>> /usr/share/mythtv/mythweb/classes/Database.php(326): Database->query() #3 /usr/share/mythtv/mythweb/modules/music/init.php(15):
>> Database->query_col() #4 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...') #5
>> /usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #6 /usr/share/mythtv/mythweb/mythweb.php(30):
>> Modules::getModule() #7 {main} thrown in */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on line *68*
>>
>> *I'm afraid I don't understand the error message.
>> *
> That error says that mythweb thinks you have the frontend-only
> mythmusic package installed (from whatever clue it uses to decide
> that), so it has gone looking for the mythmusic database tables, and
> has not found one of them (music_songs). You could try uninstalling
> the mythmusic package and reinstalling it, then running mythfrontend
> to allow it to re-create the mythmusic tables.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums:https://forum.mythtv.org

running

sudo a2dismod php7.4

it tells me it is already disabled.

running

sudo a2enmod php8.1

 it tells me it is already enabled.

Given those results, it is pointless to restart apache2.

mythmusic was not already installed. I installed it, and attempting to access mythweb gets me this:


*Fatal error*: Uncaught mysqli_sql_exception: Table 'mythconverg.music_songs' doesn't exist in
/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68 Stack trace: #0
/usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68): mysqli_query() #1
/usr/share/mythtv/mythweb/classes/Database.php(263): Database_Query_mysqlicompat->execute() #2
/usr/share/mythtv/mythweb/classes/Database.php(326): Database->query() #3 /usr/share/mythtv/mythweb/modules/music/init.php(15):
Database->query_col() #4 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...') #5
/usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #6 /usr/share/mythtv/mythweb/mythweb.php(30):
Modules::getModule() #7 {main} thrown in */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on line *68*

which appears to be the same error as before.

I was once running on the ppa, but at some point, mint switch back to its own repositories and removed the ppa.

I may switch back to the ppa in the near future to use 33, but that I will do on a day when I have nothing else to do. In past
experience it is always a fight to get mythtv working again after re-installing it (usually due to file permissions and database
passwords since I will try to keep my old database.)

Part of the reason for requiring mythweb is to use the channel editor I have three antennas, and probably 200 subchannels. I
noticed some new ATSC3.0 channels showed up, and I wanted to see if mythTV can handle them. It has been more than a year since I
last scanned channels (an ordeal since mythTV like 45_3 format instead of the 45.3 format that everyone else uses and I prefer,
so I have to rename all my channels, and then disable the channels that are picked up by the back of antennas aimed elsewhere.

Since it has been pointed out that Mint is distributing a version that does not have a fix needed to make this work, I will
pause my attempts to get this working until I can switch to the ppa and version 33. That has a better chance of working with
ATSC3.0 channels anyway.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
> On 11 Apr 2023, at 5:27 am, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>
> On 4/10/23 14:16, James Abernathy wrote:
>>
>>
>> On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale <Douglas_Peale@comcast.net> wrote:
>> On 4/10/23 13:42, Jay Harbeston wrote:
>> >
>> >> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>> >>
>> >> I have upgraded my computer to Mint 21
>> >>
>> >> MythTV front end and back end are working
>> >>
>> >> Browser says "Unable to connect" when trying to access https://localhost/mythweb/
>> > Sounds like apache service is not running. That would be the first step.
>> > _______________________________________________
>> > mythtv-users mailing list
>> > mythtv-users@mythtv.org
>> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> > http://wiki.mythtv.org/Mailing_List_etiquette
>> > MythTV Forums: https://forum.mythtv.org
>>
>> You appear to be correct.
>>
>> systemctl status apache2.service
>>
>> × apache2.service - The Apache HTTP Server
>> Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
>> Active: failed (Result: exit-code) since Mon 2023-04-10 14:01:41 PDT; 22s ago
>> Docs: https://httpd.apache.org/docs/2.4/
>> Process: 29420 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
>> CPU: 11ms
>>
>> Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP Server...
>> Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line
>> 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load /usr/lib/apache2/modules/libphp7.4.so into server:
>> /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object file: No such file or directory
>> Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
>> Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log may have more information.
>> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
>> Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with result 'exit-code'.
>> Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache HTTP Server.
>>
>>
>> Seems I am missing a file. What would be the best approach to fixing this? Should I try uninstalling, then re-installing
>> Apache2? or would that make my problems worse.
>>
>> I think LM21 is up to php8.1?
>>
>> Jim A
>>
>>
>>
>> _______________________________________________
>> mythtv-users mailing list
>>
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>>
>> MythTV Forums:
>> https://forum.mythtv.org
> I attempted to uninstall Apache2 and re-install which also forced an uninstall of MythWeb. This did not change anything.
>
> Is this a case of Mythweb requiring an older version of PHP that is not supported by Apache2?
>
> Is there no way forward here?
> <OpenPGP_0x7B9B5178E6AE112A.asc>_______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Jim dull memory

I needed to create music table before mythweb would work, It is empty and looks like this

MariaDB [mythconverg]> describe music_playlists;
+----------------+----------------------+------+-----+---------------------+-------------------------------+
| Field | Type | Null | Key | Default | Extra |
+----------------+----------------------+------+-----+---------------------+-------------------------------+
| playlist_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
| playlist_name | varchar(255) | NO | | | |
| playlist_songs | text | NO | | NULL | |
| last_accessed | timestamp | NO | | current_timestamp() | on update current_timestamp() |
| length | int(10) unsigned | NO | | 0 | |
| songcount | smallint(5) unsigned | NO | | 0 | |
| hostname | varchar(64) | NO | | | |
+----------------+----------------------+------+-----+---------------------+———————————————+

Cant recall if I needed to make only this or all music tables
If you dont have

| music_albumart |
| music_albums |
| music_artists |
| music_directories |
| music_genres |
| music_playlists |
| music_radios |
| music_smartplaylist_categories |
| music_smartplaylist_items |
| music_smartplaylists |
| music_songs |
| music_stats |

mail me for a description.

Ding .. Ding I may have just added myth-music plugin. In any event without it mythweb would not work

James

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On Tue, 2023-04-11 at 11:33 +0800, James Linder wrote:
>
>
> > On 11 Apr 2023, at 5:27 am, Douglas Peale
> > <Douglas_Peale@Comcast.net> wrote:
> >
> > On 4/10/23 14:16, James Abernathy wrote:
> > >
> > >
> > > On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale
> > > <Douglas_Peale@comcast.net> wrote:
> > > On 4/10/23 13:42, Jay Harbeston wrote:
> > > >
> > > > > On Apr 10, 2023, at 3:28 PM, Douglas Peale
> > > > > <Douglas_Peale@Comcast.net> wrote:
> > > > >
> > > > > I have upgraded my computer to Mint 21
> > > > >
> > > > > MythTV front end and back end are working
> > > > >
> > > > > Browser says "Unable to connect" when trying to access
> > > > > http://email.mg.glenb.net/c/eJwkx0FOxSAQANDTwM4GpgMdFizccI-BgY8JvzUFNd7emL98EktjcahrtJ6sJUTjdY8hWKnOHbl59liORkW4ZJMxczAi-iPuvDcRZ1pwQAgExvlw4AGeLBCTQ2roGbbCzzoUmseoZ97OuvSIfa3PqfZ3BUlBGlfh0a-5FKTn7-o_NStI-o7_WN9vX7PeU6F5cbvux18AAAD__-eEOAM
> > > > Sounds like apache service is not running. That would be the
> > > > first step.
> > > > _______________________________________________
> > > > mythtv-users mailing list
> > > > mythtv-users@mythtv.org
> > > > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjbDdJgOCxZu-h_TFl6bAM8UNPHvjcZEl_eec464Zz082RQdi3NCBGzP6JAFmAMGSLg53hzumNUD-hyWebFXnHXOx-EhB49CKAiew0ILsjgUFU-SiRWnXWsqhuBRUtumloYt8RzjzcyvBleDa7n66FP9HOf4mJ73w-Ba9SpV2y-8Wn5-nz_Gy3tPd7d3_D8NwV__FQAA__-k3kFO
> > > > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGcGloVsCgqbVHqGP5uwJIz8qMl-HW9vYWH_Xslr5RLRSvaJvCdEl-yeCyPXcVmJJlcSjkFCFPHr4n1ZqDrbcuBQS4muThEIgcDFNI04QiIPxBSRKiaGYeW7dINu63IswyFqe95VP0x4NjAbmL_bWxvuP7rr1_B-bgbmV269HdvtpV16E22fD1EVe-Y_9fS45LwMuv_0GwAA__-4yz6-
> > > > MythTV Forums: http://email.mg.glenb.net/c/eJxEyT1uxSAMAODTwFYEjg3OwNAl93AxJJXyUxFSqbfv8IY3fvo0lyZKaGsOkUNgRB_tltWTJqKYBJiUoFEpBKBSVcockv3Ok0xNlXybCRiBwVOcEyaIHICFCblhFHBFjrob9Otezy931mH3vI3xc5vp08BiYGlXfw53_I1t_Lqrr7bnFz6eu_bboH_ffwAAAP__SaQ1tw
> > >
> > > You appear to be correct.
> > >
> > > systemctl status apache2.service
> > >
> > > × apache2.service - The Apache HTTP Server
> > >       Loaded: loaded (/lib/systemd/system/apache2.service;
> > > enabled; vendor preset: enabled)
> > >       Active: failed (Result: exit-code) since Mon 2023-04-10
> > > 14:01:41 PDT; 22s ago
> > >         Docs: http://email.mg.glenb.net/c/eJwkyjtuBCEMANDTQBcEtmE8BUUa7mHA7ESa_WggkXL7aJXySa_nNqRHsppD4hCYyCd75IrNM1X0XVQi7xLTNgArYg1e92a_MgqO3qMfewQmYPAx7RttkDgAC0fiQUnANbnracjfTn1U99Blz3ys9ZoGPw0UA-Wt7uQl7VD3vG4GSn-2aaCAIwPFXvn-u4718_E99ZqG_D_f9y8AAP__gPQ5bQ
> > >      Process: 29420 ExecStart=/usr/sbin/apachectl start
> > > (code=exited, status=1/FAILURE)
> > >          CPU: 11ms
> > >
> > > Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP
> > > Server...
> > > Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax error
> > > on line 146 of /etc/apache2/apache2.conf: Syntax error on line
> > > 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load
> > > /usr/lib/apache2/modules/libphp7.4.so into server:
> > > /usr/lib/apache2/modules/libphp7.4.so: cannot open shared object
> > > file: No such file or directory
> > > Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start' failed.
> > > Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log
> > > may have more information.
> > > Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control
> > > process exited, code=exited, status=1/FAILURE
> > > Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed with
> > > result 'exit-code'.
> > > Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache
> > > HTTP Server.
> > >
> > >
> > > Seems I am missing a file. What would be the best approach to
> > > fixing this? Should I try uninstalling, then re-installing
> > > Apache2? or would that make my problems worse.
> > >
> > > I think LM21 is up to php8.1?
> > >
> > > Jim A
> > >  
> > >
> > >
> > > _______________________________________________
> > > mythtv-users mailing list
> > >
> > > mythtv-users@mythtv.org
> > > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjbDdJgOCxZu-h_TFl6bAM8UNPHvjcZEl_eec464Zz082RQdi3NCBGzP6JAFmAMGSLg53hzumNUD-hyWebFXnHXOx-EhB49CKAiew0ILsjgUFU-SiRWnXWsqhuBRUtumloYt8RzjzcyvBleDa7n66FP9HOf4mJ73w-Ba9SpV2y-8Wn5-nz_Gy3tPd7d3_D8NwV__FQAA__-k3kFO
> > > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGcGloVsCgqbVHqGP5uwJIz8qMl-HW9vYWH_Xslr5RLRSvaJvCdEl-yeCyPXcVmJJlcSjkFCFPHr4n1ZqDrbcuBQS4muThEIgcDFNI04QiIPxBSRKiaGYeW7dINu63IswyFqe95VP0x4NjAbmL_bWxvuP7rr1_B-bgbmV269HdvtpV16E22fD1EVe-Y_9fS45LwMuv_0GwAA__-4yz6-
> > >
> > > MythTV Forums:
> > > http://email.mg.glenb.net/c/eJxEyT1uxSAMAODTwFYEjg3OwNAl93AxJJXyUxFSqbfv8IY3fvo0lyZKaGsOkUNgRB_tltWTJqKYBJiUoFEpBKBSVcockv3Ok0xNlXybCRiBwVOcEyaIHICFCblhFHBFjrob9Otezy931mH3vI3xc5vp08BiYGlXfw53_I1t_Lqrr7bnFz6eu_bboH_ffwAAAP__SaQ1tw
> > I attempted to uninstall Apache2 and re-install which also forced
> > an uninstall of MythWeb. This did not change anything.
> >
> > Is this a case of Mythweb requiring an older version of PHP that is
> > not supported by Apache2?
> >
> > Is there no way forward here?
> > <OpenPGP_0x7B9B5178E6AE112A.asc>___________________________________
> > ____________
> > mythtv-users mailing list
> > mythtv-users@mythtv.org
> > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjbDdJgOCxZu-h_TFl6bAM8UNPHvjcZEl_eec464Zz082RQdi3NCBGzP6JAFmAMGSLg53hzumNUD-hyWebFXnHXOx-EhB49CKAiew0ILsjgUFU-SiRWnXWsqhuBRUtumloYt8RzjzcyvBleDa7n66FP9HOf4mJ73w-Ba9SpV2y-8Wn5-nz_Gy3tPd7d3_D8NwV__FQAA__-k3kFO
> > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGcGloVsCgqbVHqGP5uwJIz8qMl-HW9vYWH_Xslr5RLRSvaJvCdEl-yeCyPXcVmJJlcSjkFCFPHr4n1ZqDrbcuBQS4muThEIgcDFNI04QiIPxBSRKiaGYeW7dINu63IswyFqe95VP0x4NjAbmL_bWxvuP7rr1_B-bgbmV269HdvtpV16E22fD1EVe-Y_9fS45LwMuv_0GwAA__-4yz6-
> > MythTV Forums: http://email.mg.glenb.net/c/eJxEyT1uxSAMAODTwFYEjg3OwNAl93AxJJXyUxFSqbfv8IY3fvo0lyZKaGsOkUNgRB_tltWTJqKYBJiUoFEpBKBSVcockv3Ok0xNlXybCRiBwVOcEyaIHICFCblhFHBFjrob9Otezy931mH3vI3xc5vp08BiYGlXfw53_I1t_Lqrr7bnFz6eu_bboH_ffwAAAP__SaQ1tw
>
> Jim dull memory
>
> I needed to create music table before mythweb would work, It is empty
> and looks like this
>
> MariaDB [mythconverg]> describe music_playlists;
> +----------------+----------------------+------+-----+---------------
> ------+-------------------------------+
> > Field          | Type                 | Null | Key |
> > Default             | Extra                         |
> +----------------+----------------------+------+-----+---------------
> ------+-------------------------------+
> > playlist_id    | int(10) unsigned     | NO   | PRI |
> > NULL                | auto_increment                |
> > playlist_name  | varchar(255)         | NO   |    
> > |                     |                               |
> > playlist_songs | text                 | NO   |     |
> > NULL                |                               |
> > last_accessed  | timestamp            | NO   |     |
> > current_timestamp() | on update current_timestamp() |
> > length         | int(10) unsigned     | NO   |     |
> > 0                   |                               |
> > songcount      | smallint(5) unsigned | NO   |     |
> > 0                   |                               |
> > hostname       | varchar(64)          | NO   |    
> > |                     |                               |
> +----------------+----------------------+------+-----+---------------
> ------+———————————————+
>
> Cant recall if I needed to make only this or all music tables
> If you dont have
>
> > music_albumart                 |
> > music_albums                   |
> > music_artists                  |
> > music_directories              |
> > music_genres                   |
> > music_playlists                |
> > music_radios                   |
> > music_smartplaylist_categories |
> > music_smartplaylist_items      |
> > music_smartplaylists           |
> > music_songs                    |
> > music_stats                    |
>
> mail me for a description.
>
> Ding .. Ding I may have just added myth-music plugin. In any event
> without it mythweb would not work
>
> James 
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjbDdJgOCxZu-h_TFl6bAM8UNPHvjcZEl_eec464Zz082RQdi3NCBGzP6JAFmAMGSLg53hzumNUD-hyWebFXnHXOx-EhB49CKAiew0ILsjgUFU-SiRWnXWsqhuBRUtumloYt8RzjzcyvBleDa7n66FP9HOf4mJ73w-Ba9SpV2y-8Wn5-nz_Gy3tPd7d3_D8NwV__FQAA__-k3kFO
> http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGcGloVsCgqbVHqGP5uwJIz8qMl-HW9vYWH_Xslr5RLRSvaJvCdEl-yeCyPXcVmJJlcSjkFCFPHr4n1ZqDrbcuBQS4muThEIgcDFNI04QiIPxBSRKiaGYeW7dINu63IswyFqe95VP0x4NjAbmL_bWxvuP7rr1_B-bgbmV269HdvtpV16E22fD1EVe-Y_9fS45LwMuv_0GwAA__-4yz6-
> MythTV Forums: http://email.mg.glenb.net/c/eJxEyT1uxSAMAODTwFYEjg3OwNAl93AxJJXyUxFSqbfv8IY3fvo0lyZKaGsOkUNgRB_tltWTJqKYBJiUoFEpBKBSVcockv3Ok0xNlXybCRiBwVOcEyaIHICFCblhFHBFjrob9Otezy931mH3vI3xc5vp08BiYGlXfw53_I1t_Lqrr7bnFz6eu_bboH_ffwAAAP__SaQ1tw
that would be a very old php. check what version of php is on your
computer. and start by removing the line where it says the error is and
see if apache starts. beyond that you'll have to get someone to help
you with apache and php in ubuntu. i use arch linux. and ubuntu differs
a lot on how they implement apache but usually some package like php-
apache and that should take care of things. then it is just a question
of your php.ini that mythweb needs. but mythweb should run. i am on
version 33-fixes, latest stuff from arch with php 8.2 and it all runs
fine
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
The easy solution is to use the built in MythTV WebFrontend in the later
MythTV releases.
It doesn't have the exact same capabilities at mythweb, but it's pretty
good.
https://www.mythtv.org/wiki/WebFrontend
It works well for me.

Bob
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On Mon, 2023-04-10 at 20:40 -0700, glen wrote:
> On Tue, 2023-04-11 at 11:33 +0800, James Linder wrote:
> >
> >
> > > On 11 Apr 2023, at 5:27 am, Douglas Peale
> > > <Douglas_Peale@Comcast.net> wrote:
> > >
> > > On 4/10/23 14:16, James Abernathy wrote:
> > > >
> > > >
> > > > On Mon, Apr 10, 2023 at 5:08?PM Douglas Peale
> > > > <Douglas_Peale@comcast.net> wrote:
> > > > On 4/10/23 13:42, Jay Harbeston wrote:
> > > > >
> > > > > > On Apr 10, 2023, at 3:28 PM, Douglas Peale
> > > > > > <Douglas_Peale@Comcast.net> wrote:
> > > > > >
> > > > > > I have upgraded my computer to Mint 21
> > > > > >
> > > > > > MythTV front end and back end are working
> > > > > >
> > > > > > Browser says "Unable to connect" when trying to access
> > > > > > http://email.mg.glenb.net/c/eJwkxzFuxSAMANDTwNbIgB1gYOiSe2Dj_FTiJ1WgrXr7qvrja0X22gitFrcm513OgPYo1FAlYpS9Rm7kQkqrZgGIBJxY7UdxroZEkUSEcIfcmFJYAzK5DAjMlSA4HxapT-0G4dH15OXUaXs55vwcJrwbvxm_9UtqP64xjd-ev_P4UTZ-s3f5x_x--xp6D4Pw4nLdj78AAAD__7EPN7A
> > > > > Sounds like apache service is not running. That would be the
> > > > > first step.
> > > > > _______________________________________________
> > > > > mythtv-users mailing list
> > > > > mythtv-users@mythtv.org
> > > > > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjYwzPTBgoWb_gczHV6b0NYUNPHvjcZEl_eec9YstayEVrOfowefkkO75RQjsAfA8GBiYZE5VQdVlYvOEuyevS8h0oNEhLC6tDLFMAdk8smhYy7kgocwSTm0GXTPpidPpw7b8jbGmwmvBhYDS9v76NPxObbxMV3308BylL0d5fyF-1mv7_PHeHnvend75__ToPvrvwIAAP__2KJDNg
> > > > > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGdmF3YTKChsUukZ_gDZnzDyoyYbHW9vYWH_3pLqPS9MVhKOAR3GCGS3RHUCRIYJliJhhByw1uB5jOwI2dmWELMPPHGtlekOcSkc_OipMEYgKCUzeHR-qPkh3RCsXfYy7KK2p031w_hn42bj5u_21obHj276Nbwfq3Hza2697evtpZ16E22fl6iKPdKferpOOU5D8J9-AwAA___ymj2c
> > > > > MythTV Forums: http://email.mg.glenb.net/c/eJxEyTtuxCAQANDTQBc0AzM2FBRpfA9-Y0fyJ8I4Um6_xRZbPr0ai6TKpFvEyaPFEID0Ft1sLUuAlKpvjbEUmb1QlWyZCFD_RMTkPM9cSmESCDWzd5OjzBiAIOfE4NA6U9LRdkWw7u3M5mxD73Eb4_dW7lvZRdlFrv4c5vgf2_gzV191j298PXfrtyL43CsAAP__ddg2HA
> > > >
> > > > You appear to be correct.
> > > >
> > > > systemctl status apache2.service
> > > >
> > > > × apache2.service - The Apache HTTP Server
> > > >       Loaded: loaded (/lib/systemd/system/apache2.service;
> > > > enabled; vendor preset: enabled)
> > > >       Active: failed (Result: exit-code) since Mon 2023-04-10
> > > > 14:01:41 PDT; 22s ago
> > > >         Docs: http://email.mg.glenb.net/c/eJwkyjtuxCAQANDTQBcEw4wNBUUa7sF8vI7k_cgmkXL7aJXySU-bbEMJvbW0lASp1oh-bzUaDl0Llm0h5bISSSUVXthgHeK_WkojF1pJRAi3WJWp5CUjU6oRI_OgmBPkIONuh8N4O-zB4WHTH22f83W5_OmgO-hvaRivIbuF53lz0PUpl4MOAR10f7b779znz8f3ZeflMP7zff8CAAD__9neOiY
> > > >      Process: 29420 ExecStart=/usr/sbin/apachectl start
> > > > (code=exited, status=1/FAILURE)
> > > >          CPU: 11ms
> > > >
> > > > Apr 10 14:01:41 BlackBox systemd[1]: Starting The Apache HTTP
> > > > Server...
> > > > Apr 10 14:01:41 BlackBox apachectl[29424]: apache2: Syntax
> > > > error on line 146 of /etc/apache2/apache2.conf: Syntax error on
> > > > line
> > > > 3 of /etc/apache2/mods-enabled/php7.4.load: Cannot load
> > > > /usr/lib/apache2/modules/libphp7.4.so into server:
> > > > /usr/lib/apache2/modules/libphp7.4.so: cannot open shared
> > > > object file: No such file or directory
> > > > Apr 10 14:01:41 BlackBox apachectl[29420]: Action 'start'
> > > > failed.
> > > > Apr 10 14:01:41 BlackBox apachectl[29420]: The Apache error log
> > > > may have more information.
> > > > Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Control
> > > > process exited, code=exited, status=1/FAILURE
> > > > Apr 10 14:01:41 BlackBox systemd[1]: apache2.service: Failed
> > > > with result 'exit-code'.
> > > > Apr 10 14:01:41 BlackBox systemd[1]: Failed to start The Apache
> > > > HTTP Server.
> > > >
> > > >
> > > > Seems I am missing a file. What would be the best approach to
> > > > fixing this? Should I try uninstalling, then re-installing
> > > > Apache2? or would that make my problems worse.
> > > >
> > > > I think LM21 is up to php8.1?
> > > >
> > > > Jim A
> > > >  
> > > >
> > > >
> > > > _______________________________________________
> > > > mythtv-users mailing list
> > > >
> > > > mythtv-users@mythtv.org
> > > > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjYwzPTBgoWb_gczHV6b0NYUNPHvjcZEl_eec9YstayEVrOfowefkkO75RQjsAfA8GBiYZE5VQdVlYvOEuyevS8h0oNEhLC6tDLFMAdk8smhYy7kgocwSTm0GXTPpidPpw7b8jbGmwmvBhYDS9v76NPxObbxMV3308BylL0d5fyF-1mv7_PHeHnvend75__ToPvrvwIAAP__2KJDNg
> > > > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGdmF3YTKChsUukZ_gDZnzDyoyYbHW9vYWH_3pLqPS9MVhKOAR3GCGS3RHUCRIYJliJhhByw1uB5jOwI2dmWELMPPHGtlekOcSkc_OipMEYgKCUzeHR-qPkh3RCsXfYy7KK2p031w_hn42bj5u_21obHj276Nbwfq3Hza2697evtpZ16E22fl6iKPdKferpOOU5D8J9-AwAA___ymj2c
> > > >
> > > > MythTV Forums:
> > > > http://email.mg.glenb.net/c/eJxEyTtuxCAQANDTQBc0AzM2FBRpfA9-Y0fyJ8I4Um6_xRZbPr0ai6TKpFvEyaPFEID0Ft1sLUuAlKpvjbEUmb1QlWyZCFD_RMTkPM9cSmESCDWzd5OjzBiAIOfE4NA6U9LRdkWw7u3M5mxD73Eb4_dW7lvZRdlFrv4c5vgf2_gzV191j298PXfrtyL43CsAAP__ddg2HA
> > > I attempted to uninstall Apache2 and re-install which also forced
> > > an uninstall of MythWeb. This did not change anything.
> > >
> > > Is this a case of Mythweb requiring an older version of PHP that
> > > is not supported by Apache2?
> > >
> > > Is there no way forward here?
> > > <OpenPGP_0x7B9B5178E6AE112A.asc>_________________________________
> > > ______________
> > > mythtv-users mailing list
> > > mythtv-users@mythtv.org
> > > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjYwzPTBgoWb_gczHV6b0NYUNPHvjcZEl_eec9YstayEVrOfowefkkO75RQjsAfA8GBiYZE5VQdVlYvOEuyevS8h0oNEhLC6tDLFMAdk8smhYy7kgocwSTm0GXTPpidPpw7b8jbGmwmvBhYDS9v76NPxObbxMV3308BylL0d5fyF-1mv7_PHeHnvend75__ToPvrvwIAAP__2KJDNg
> > > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGdmF3YTKChsUukZ_gDZnzDyoyYbHW9vYWH_3pLqPS9MVhKOAR3GCGS3RHUCRIYJliJhhByw1uB5jOwI2dmWELMPPHGtlekOcSkc_OipMEYgKCUzeHR-qPkh3RCsXfYy7KK2p031w_hn42bj5u_21obHj276Nbwfq3Hza2697evtpZ16E22fl6iKPdKferpOOU5D8J9-AwAA___ymj2c
> > > MythTV Forums: http://email.mg.glenb.net/c/eJxEyTtuxCAQANDTQBc0AzM2FBRpfA9-Y0fyJ8I4Um6_xRZbPr0ai6TKpFvEyaPFEID0Ft1sLUuAlKpvjbEUmb1QlWyZCFD_RMTkPM9cSmESCDWzd5OjzBiAIOfE4NA6U9LRdkWw7u3M5mxD73Eb4_dW7lvZRdlFrv4c5vgf2_gzV191j298PXfrtyL43CsAAP__ddg2HA
> >
> > Jim dull memory
> >
> > I needed to create music table before mythweb would work, It is
> > empty and looks like this
> >
> > MariaDB [mythconverg]> describe music_playlists;
> > +----------------+----------------------+------+-----+-------------
> > --------+-------------------------------+
> > > Field          | Type                 | Null | Key |
> > > Default             | Extra                         |
> > +----------------+----------------------+------+-----+-------------
> > --------+-------------------------------+
> > > playlist_id    | int(10) unsigned     | NO   | PRI |
> > > NULL                | auto_increment                |
> > > playlist_name  | varchar(255)         | NO   |    
> > > |                     |                               |
> > > playlist_songs | text                 | NO   |     |
> > > NULL                |                               |
> > > last_accessed  | timestamp            | NO   |     |
> > > current_timestamp() | on update current_timestamp() |
> > > length         | int(10) unsigned     | NO   |     |
> > > 0                   |                               |
> > > songcount      | smallint(5) unsigned | NO   |     |
> > > 0                   |                               |
> > > hostname       | varchar(64)          | NO   |    
> > > |                     |                               |
> > +----------------+----------------------+------+-----+-------------
> > --------+———————————————+
> >
> > Cant recall if I needed to make only this or all music tables
> > If you dont have
> >
> > > music_albumart                 |
> > > music_albums                   |
> > > music_artists                  |
> > > music_directories              |
> > > music_genres                   |
> > > music_playlists                |
> > > music_radios                   |
> > > music_smartplaylist_categories |
> > > music_smartplaylist_items      |
> > > music_smartplaylists           |
> > > music_songs                    |
> > > music_stats                    |
> >
> > mail me for a description.
> >
> > Ding .. Ding I may have just added myth-music plugin. In any event
> > without it mythweb would not work
> >
> > James 
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@mythtv.org
> > http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjYwzPTBgoWb_gczHV6b0NYUNPHvjcZEl_eec9YstayEVrOfowefkkO75RQjsAfA8GBiYZE5VQdVlYvOEuyevS8h0oNEhLC6tDLFMAdk8smhYy7kgocwSTm0GXTPpidPpw7b8jbGmwmvBhYDS9v76NPxObbxMV3308BylL0d5fyF-1mv7_PHeHnvend75__ToPvrvwIAAP__2KJDNg
> > http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGdmF3YTKChsUukZ_gDZnzDyoyYbHW9vYWH_3pLqPS9MVhKOAR3GCGS3RHUCRIYJliJhhByw1uB5jOwI2dmWELMPPHGtlekOcSkc_OipMEYgKCUzeHR-qPkh3RCsXfYy7KK2p031w_hn42bj5u_21obHj276Nbwfq3Hza2697evtpZ16E22fl6iKPdKferpOOU5D8J9-AwAA___ymj2c
> > MythTV Forums: http://email.mg.glenb.net/c/eJxEyTtuxCAQANDTQBc0AzM2FBRpfA9-Y0fyJ8I4Um6_xRZbPr0ai6TKpFvEyaPFEID0Ft1sLUuAlKpvjbEUmb1QlWyZCFD_RMTkPM9cSmESCDWzd5OjzBiAIOfE4NA6U9LRdkWw7u3M5mxD73Eb4_dW7lvZRdlFrv4c5vgf2_gzV191j298PXfrtyL43CsAAP__ddg2HA
> that would be a very old php. check what version of php is on your
> computer. and start by removing the line where it says the error is
> and see if apache starts. beyond that you'll have to get someone to
> help you with apache and php in ubuntu. i use arch linux. and ubuntu
> differs a lot on how they implement apache but usually some package
> like php-apache and that should take care of things. then it is just
> a question of your php.ini that mythweb needs. but mythweb should
> run. i am on version 33-fixes, latest stuff from arch with php 8.2
> and it all runs fine
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjYwzPTBgoWb_gczHV6b0NYUNPHvjcZEl_eec9YstayEVrOfowefkkO75RQjsAfA8GBiYZE5VQdVlYvOEuyevS8h0oNEhLC6tDLFMAdk8smhYy7kgocwSTm0GXTPpidPpw7b8jbGmwmvBhYDS9v76NPxObbxMV3308BylL0d5fyF-1mv7_PHeHnvend75__ToPvrvwIAAP__2KJDNg
> http://email.mg.glenb.net/c/eJxEyzFSxSAQANDTQGdmF3YTKChsUukZ_gDZnzDyoyYbHW9vYWH_3pLqPS9MVhKOAR3GCGS3RHUCRIYJliJhhByw1uB5jOwI2dmWELMPPHGtlekOcSkc_OipMEYgKCUzeHR-qPkh3RCsXfYy7KK2p031w_hn42bj5u_21obHj276Nbwfq3Hza2697evtpZ16E22fl6iKPdKferpOOU5D8J9-AwAA___ymj2c
> MythTV Forums: http://email.mg.glenb.net/c/eJxEyTtuxCAQANDTQBc0AzM2FBRpfA9-Y0fyJ8I4Um6_xRZbPr0ai6TKpFvEyaPFEID0Ft1sLUuAlKpvjbEUmb1QlWyZCFD_RMTkPM9cSmESCDWzd5OjzBiAIOfE4NA6U9LRdkWw7u3M5mxD73Eb4_dW7lvZRdlFrv4c5vgf2_gzV191j298PXfrtyL43CsAAP__ddg2HA
sorry i may not have been clear enough for you here. from your post
apache is not running. it cannot find the old version module for php.
so in the directory /etc/apache2/mods-enabled look and see what is
there. remove the line about  php 7.4. and hopefully a later php is
there. but that should be enough to get apache to start. then check if
apache starts. don't try mythweb yet. then get your proper php module
into that conf file if there is not another php in there.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/10/2023 10:34 PM, Douglas Peale wrote:
> Subject:
> Re: [mythtv-users] Upgrade to Mint 21 broke mythweb
> From:
> Douglas Peale <Douglas_Peale@Comcast.net>
> Date:
> 4/10/2023, 10:34 PM
>
> To:
> mythtv-users@mythtv.org
>
>
> On 4/10/23 18:38, Stephen Worthington wrote:
>> On Mon, 10 Apr 2023 15:12:06 -0700, you wrote:
>>
>>> On 4/10/23 14:35, Mike Hodson wrote:
>>>> You should just need to change the config to actually match the version of PHP installed which is no longer the old one your
>>>> old config had in it.
>>>>
>>>> Go looking through /use/lib/apache2/modules/ directory on your system, look and see if there's a PHP library in there. There
>>>> should be, and likely be a newer version than 7.4.
>>>>
>>>> You just need to edit the config to match what exists now and every time you upgrade.
>>>>
>>>> Mike
>>>>
>>>>
>>>>
>>>>
>>> I looked in the apache2.conf file, and found that it was attempting to load everything in the /etc/apache2/mods-enabled directory.
>>>
>>> Looking in that directory, I found both php7.4 and php8.1 . Since files in this directory are just soft links to files in
>>> mods-enabled with the same names, I deleted the php7.4 files, and restarted apache2
>> The correct way to do this is to use the a2dismod command (with sudo)
>> to disable the old php module, and use a2enmod to enable the new
>> version. Then restart apache2. So:
>>
>> sudo a2dismod php7.4
>> sudo a2enmod php8.1
>> sudo systemctl restart apache2
>>
>> But that basically does exactly what you have done by changing the
>> links.
>>
>> Updates to the php packages do not automatically do this, for some
>> strange reason, so you always need to do it manually every time the
>> php version changes.
>>
>> You can use the "a2query -m" command to list the currently enabled
>> modules.
>>
>>> It now runs without errors.
>>>
>>> localhost/mythweb now reports an error:
>>>
>>> *Fatal error*: Uncaught mysqli_sql_exception: Table 'mythconverg.music_songs' doesn't exist in
>>> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68 Stack trace: #0
>>> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68): mysqli_query() #1
>>> /usr/share/mythtv/mythweb/classes/Database.php(263): Database_Query_mysqlicompat->execute() #2
>>> /usr/share/mythtv/mythweb/classes/Database.php(326): Database->query() #3 /usr/share/mythtv/mythweb/modules/music/init.php(15):
>>> Database->query_col() #4 /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...') #5
>>> /usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load() #6 /usr/share/mythtv/mythweb/mythweb.php(30):
>>> Modules::getModule() #7 {main} thrown in */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on line *68*
>>>
>>> *I'm afraid I don't understand the error message.
>>> *
>> That error says that mythweb thinks you have the frontend-only
>> mythmusic package installed (from whatever clue it uses to decide
>> that), so it has gone looking for the mythmusic database tables, and
>> has not found one of them (music_songs). You could try uninstalling
>> the mythmusic package and reinstalling it, then running mythfrontend
>> to allow it to re-create the mythmusic tables.
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums:https://forum.mythtv.org
>
> running
>
> sudo a2dismod php7.4
>
> it tells me it is already disabled.
>
> running
>
> sudo a2enmod php8.1
>
>  it tells me it is already enabled.
>
> Given those results, it is pointless to restart apache2.
>
> mythmusic was not already installed. I installed it, and attempting to
> access mythweb gets me this:
>
>
> *Fatal error*: Uncaught mysqli_sql_exception: Table
> 'mythconverg.music_songs' doesn't exist in
> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php:68
> Stack trace: #0
> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php(68):
> mysqli_query() #1 /usr/share/mythtv/mythweb/classes/Database.php(263):
> Database_Query_mysqlicompat->execute() #2
> /usr/share/mythtv/mythweb/classes/Database.php(326): Database->query()
> #3 /usr/share/mythtv/mythweb/modules/music/init.php(15):
> Database->query_col() #4
> /usr/share/mythtv/mythweb/classes/Modules.php(30): require_once('...')
> #5 /usr/share/mythtv/mythweb/classes/Modules.php(50): Modules::load()
> #6 /usr/share/mythtv/mythweb/mythweb.php(30): Modules::getModule() #7
> {main} thrown in
> */usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php* on
> line *68*
>
> which appears to be the same error as before.
>
> I was once running on the ppa, but at some point, mint switch back to
> its own repositories and removed the ppa.
>
> I may switch back to the ppa in the near future to use 33, but that I
> will do on a day when I have nothing else to do. In past experience it
> is always a fight to get mythtv working again after re-installing it
> (usually due to file permissions and database passwords since I will
> try to keep my old database.)
>
> Part of the reason for requiring mythweb is to use the channel editor
> I have three antennas, and probably 200 subchannels. I noticed some
> new ATSC3.0 channels showed up, and I wanted to see if mythTV can
> handle them. It has been more than a year since I last scanned
> channels (an ordeal since mythTV like 45_3 format instead of the 45.3
> format that everyone else uses and I prefer, so I have to rename all
> my channels, and then disable the channels that are picked up by the
> back of antennas aimed elsewhere.
>
> Since it has been pointed out that Mint is distributing a version that
> does not have a fix needed to make this work, I will pause my attempts
> to get this working until I can switch to the ppa and version 33. That
> has a better chance of working with ATSC3.0 channels anyway.
>
> Attachments:
>
> OpenPGP_0x7B9B5178E6AE112A.asc 2.4 KB
>

You missed a step after installing the mythmusic plugin. You need to
restart mythfrontend, then the plugin will create its database tables,
and then mythweb will be happy.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/11/23 08:53, faginbagin wrote:
> You missed a step after installing the mythmusic plugin. You need to restart mythfrontend, then the plugin will create its
> database tables, and then mythweb will be happy.

I have rebooted the computer since then, Mythweb still reports the same problem.


I have been seeing other issues with this computer since the upgrade to mint 21. I suspect the upgrade went badly. I plan to do
a clean install Mint 21, probably Thursday.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/11/23 06:24, Bob Wiegand wrote:
> The easy solution is to use the built in MythTV WebFrontend in the later MythTV releases.
> It doesn't have the exact same capabilities at mythweb, but it's pretty good.
> https://www.mythtv.org/wiki/WebFrontend
> It works well for me.
>
> Bob
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

With the version I have, WebFrontEnd has no database editing capability. This is necessary to clean up the channel lists after a
channel scan, so it is a necessary feature.

I have decided I need to do a clean install of mint 21 for other reasons. as part of that, I will switch to the ppa and version
33 of MythTV. That will probably happen on Thursday.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/11/23 14:05, Douglas Peale wrote:
> On 4/11/23 06:24, Bob Wiegand wrote:
>> The easy solution is to use the built in MythTV WebFrontend in the
>> later MythTV releases.
>> It doesn't have the exact same capabilities at mythweb, but it's
>> pretty good.
>> https://www.mythtv.org/wiki/WebFrontend
>> It works well for me.
>>
>> Bob
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users@mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>
> With the version I have, WebFrontEnd has no database editing
> capability. This is necessary to clean up the channel lists after a
> channel scan, so it is a necessary feature.
>
> I have decided I need to do a clean install of mint 21 for other
> reasons. as part of that, I will switch to the ppa and version 33 of
> MythTV. That will probably happen on Thursday.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


This may not be helpful here, and I use OpenSuse not Mint, but I have to
turn "re-write" on in apache2 everytime I install a new a backend with
Mythweb or I used get similar errors.  It's been a while though.

Just throwing that out there, on the off chance it helps.


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
> On 11 Apr 2023, at 9:24 pm, Bob Wiegand <wiegandbob@gmail.com> wrote:
>
> The easy solution is to use the built in MythTV WebFrontend in the later MythTV releases.
> It doesn't have the exact same capabilities at mythweb, but it's pretty good.
> https://www.mythtv.org/wiki/WebFrontend
> It works well for me.

I do not agree!!
I know it is WIP and how the eco system works (FOSS) so sotte voce he says "it’s terrible”
eg
schedule “Fairy Story” to record
Change your mind with “Never Record”
Change your mind again to say schedule “Fairy Story”

Restore the database …

There is lots to mythweb, and appeals here to help with WebFrontEnd. What we need is a webfrontend guru to be interested in WebFrontEnd ...
James

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/11/2023 3:01 PM, Douglas Peale wrote:
> Subject:
> Re: [mythtv-users] Upgrade to Mint 21 broke mythweb
> From:
> Douglas Peale <Douglas_Peale@Comcast.net>
> Date:
> 4/11/2023, 3:01 PM
>
> To:
> mythtv-users@mythtv.org
>
>
> On 4/11/23 08:53, faginbagin wrote:
>> You missed a step after installing the mythmusic plugin. You need to
>> restart mythfrontend, then the plugin will create its database
>> tables, and then mythweb will be happy.
>
> I have rebooted the computer since then, Mythweb still reports the
> same problem.
>
>
> I have been seeing other issues with this computer since the upgrade
> to mint 21. I suspect the upgrade went badly. I plan to do a clean
> install Mint 21, probably Thursday.
>
> Attachments:
>
> OpenPGP_0x7B9B5178E6AE112A.asc 2.4 KB
>

Okay, then I must have missed a step, assuming mythfrontend was started
after the reboot. You may need to navigate to Media Library -> Listen to
Music to get mythmusic to create its tables. But, if you're upgrading to
v33 and the ppa, you won't need the mythmusic tables for mythweb to behave.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/10/23 13:42, Jay Harbeston wrote:
>
>> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>>
>> I have upgraded my computer to Mint 21
>>
>> MythTV front end and back end are working
>>
>> Browser says "Unable to connect" when trying to access https://localhost/mythweb/
> Sounds like apache service is not running. That would be the first step.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Update to this issue:

I have done a clean install of mint 21, and restored my home directory (that was a nightmare caused by odd behavior of "BackInTime")

I have installed the ppa for MythTV 33, and installed mythTV

I have restored the database to MythTV and adjusted the passwords as required.

Everything appears to be working, including mythweb.

I did have a bit of trouble with the network tuners not being found, fixed after re-scanning for channels.

has the race between MythBackEnd starting and the network starting been fixed in 33? or do I need to look through my notes on
how to fix that?


Thanks.
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On Thu, 13 Apr 2023 19:32:58 -0700, you wrote:

>On 4/10/23 13:42, Jay Harbeston wrote:
>>
>>> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>>>
>>> I have upgraded my computer to Mint 21
>>>
>>> MythTV front end and back end are working
>>>
>>> Browser says "Unable to connect" when trying to access https://localhost/mythweb/
>> Sounds like apache service is not running. That would be the first step.

>Update to this issue:
>
>I have done a clean install of mint 21, and restored my home directory (that was a nightmare caused by odd behavior of "BackInTime")
>
>I have installed the ppa for MythTV 33, and installed mythTV
>
>I have restored the database to MythTV and adjusted the passwords as required.
>
>Everything appears to be working, including mythweb.
>
>I did have a bit of trouble with the network tuners not being found, fixed after re-scanning for channels.
>
>has the race between MythBackEnd starting and the network starting been fixed in 33? or do I need to look through my notes on
>how to fix that?
>
>
>Thanks.

No, the network race condition has not been fixed. The systemd unit
mythtv-backend.service as installed by the packages is designed to
work with the majority of systems where they do not use network tuners
or have external frontends. So if you do need mythbackend to wait for
the network to be fully up, you still need to do a fix for that.

However, mythbackend now does signal to systemd that it has fully
started up, so things that need to wait for mythbackend can now rely
on waiting for systemd to tell them that the mythtv-backend unit has
started. To make it do this, you need to change the Type= line in the
[service] section to "Type=notify" (do this in an override file).
After that change, you will notice that when you manually run
"systemctl start mythtv-backend", the command will not return until
mythbackend has fully started up, so it will take much longer to get a
command prompt back again.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upgrade to Mint 21 broke mythweb [ In reply to ]
On 4/13/23 20:52, Stephen Worthington wrote:
> On Thu, 13 Apr 2023 19:32:58 -0700, you wrote:
>
>> On 4/10/23 13:42, Jay Harbeston wrote:
>>>> On Apr 10, 2023, at 3:28 PM, Douglas Peale <Douglas_Peale@Comcast.net> wrote:
>>>>
>>>> I have upgraded my computer to Mint 21
>>>>
>>>> MythTV front end and back end are working
>>>>
>>>> Browser says "Unable to connect" when trying to access https://localhost/mythweb/
>>> Sounds like apache service is not running. That would be the first step.
>> Update to this issue:
>>
>> I have done a clean install of mint 21, and restored my home directory (that was a nightmare caused by odd behavior of "BackInTime")
>>
>> I have installed the ppa for MythTV 33, and installed mythTV
>>
>> I have restored the database to MythTV and adjusted the passwords as required.
>>
>> Everything appears to be working, including mythweb.
>>
>> I did have a bit of trouble with the network tuners not being found, fixed after re-scanning for channels.
>>
>> has the race between MythBackEnd starting and the network starting been fixed in 33? or do I need to look through my notes on
>> how to fix that?
>>
>>
>> Thanks.
> No, the network race condition has not been fixed. The systemd unit
> mythtv-backend.service as installed by the packages is designed to
> work with the majority of systems where they do not use network tuners
> or have external frontends. So if you do need mythbackend to wait for
> the network to be fully up, you still need to do a fix for that.
>
> However, mythbackend now does signal to systemd that it has fully
> started up, so things that need to wait for mythbackend can now rely
> on waiting for systemd to tell them that the mythtv-backend unit has
> started. To make it do this, you need to change the Type= line in the
> [service] section to "Type=notify" (do this in an override file).
> After that change, you will notice that when you manually run
> "systemctl start mythtv-backend", the command will not return until
> mythbackend has fully started up, so it will take much longer to get a
> command prompt back again.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Is there a document that shows the best way to fix the race condition?

Last time I did this there was a bit of an argument going on about how to do it the correct way.

I think I solved it last time with a simple delay which annoyed some people.

1 2  View All