Mailing List Archive

mythweb quit working this morning??
During my everyday routine of checking my email while drinking my first cup
of coffee, I also checked mythweb for the status of all things MythTV. It
will not connect. I also checked the webapp <ip address>:6544 and it did
work.

I'm not sure how to check a log for what it's doing wrong, but it worked
yesterday. The backend is V32 on a Kubuntu 22.04 system that was recently
upgraded from 21.10.

Jim A
Re: mythweb quit working this morning?? [ In reply to ]
On Tue, May 3, 2022 at 6:45 AM James Abernathy <jfabernathy@gmail.com>
wrote:

> During my everyday routine of checking my email while drinking my first
> cup of coffee, I also checked mythweb for the status of all things MythTV.
> It will not connect. I also checked the webapp <ip address>:6544 and it
> did work.
>
> I'm not sure how to check a log for what it's doing wrong, but it worked
> yesterday. The backend is V32 on a Kubuntu 22.04 system that was recently
> upgraded from 21.10.
>
> Jim A
>

I did find this in journalctl -b

May 03 06:40:35 kubuntu-closet apachectl[950]: apache2: Syntax error on
line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of
/etc/apache2/mods-enabled/php8.0.load: Cannot load /usr/lib/apache2/modules/
libphp8.0.so into serv>
May 03 06:40:35 kubuntu-closet apachectl[919]: Action 'start' failed.
May 03 06:40:35 kubuntu-closet apachectl[919]: The Apache error log may
have more information.
May 03 06:40:35 kubuntu-closet systemd[1]: apache2.service: Control process
exited, code=exited, status=1/FAILURE
May 03 06:40:35 kubuntu-closet systemd[1]: apache2.service: Failed with
result 'exit-code'.
May 03 06:40:35 kubuntu-closet systemd[1]: Failed to start The Apache HTTP
Server.
Re: mythweb quit working this morning?? [ In reply to ]
On Tue, May 3, 2022 at 6:50 AM James Abernathy <jfabernathy@gmail.com>
wrote:

>
>
> On Tue, May 3, 2022 at 6:45 AM James Abernathy <jfabernathy@gmail.com>
> wrote:
>
>> During my everyday routine of checking my email while drinking my first
>> cup of coffee, I also checked mythweb for the status of all things MythTV.
>> It will not connect. I also checked the webapp <ip address>:6544 and it
>> did work.
>>
>> I'm not sure how to check a log for what it's doing wrong, but it worked
>> yesterday. The backend is V32 on a Kubuntu 22.04 system that was recently
>> upgraded from 21.10.
>>
>> Jim A
>>
>
> I did find this in journalctl -b
>
> May 03 06:40:35 kubuntu-closet apachectl[950]: apache2: Syntax error on
> line 146 of /etc/apache2/apache2.conf: Syntax error on line 3 of
> /etc/apache2/mods-enabled/php8.0.load: Cannot load /usr/lib/apache2/modules/
> libphp8.0.so into serv>
> May 03 06:40:35 kubuntu-closet apachectl[919]: Action 'start' failed.
> May 03 06:40:35 kubuntu-closet apachectl[919]: The Apache error log may
> have more information.
> May 03 06:40:35 kubuntu-closet systemd[1]: apache2.service: Control
> process exited, code=exited, status=1/FAILURE
> May 03 06:40:35 kubuntu-closet systemd[1]: apache2.service: Failed with
> result 'exit-code'.
> May 03 06:40:35 kubuntu-closet systemd[1]: Failed to start The Apache
> HTTP Server.
>

I'm guessing it because something is specifying php 8.0 and Ubuntu 22.04
uses 8.1?

Jim A
Re: mythweb quit working this morning?? [ In reply to ]
On 5/3/22 7:05 AM, James Abernathy wrote:
>
>
> I'm guessing it because something is specifying php 8.0 and Ubuntu 22.04
> uses 8.1?



Ubuntu 22.04 should have a php8.1.{conf,load} file within /etc/apache2/,
not php8.0.{conf,load}, so I'll count this as evidence that the upgrade
to 22.04 did not function as it should.

As for how to fix it, that may depend on your experience level. It may
be as simple as:
sudo a2dismod php8.0
sudo apt install php8.1 libapache2-mod-php8.1
sudo a2enmod php8.1

Or it could be trickier like making symlinks to trick your system into
thinking that php 8.0 is still there.

I'd start simple (apt land) and work from there.



-WD
_______________________________________________
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: mythweb quit working this morning?? [ In reply to ]
Basically working, but the streaming functionality hasn't worked in a long
time.

Steve Greene
(301) 842-8923
historicity.co
An independent archival professional specializing in still photography,
moving images and recorded sound.


On Wed, May 4, 2022 at 10:10 AM Will Dormann <wdormann@gmail.com> wrote:

> On 5/3/22 7:05 AM, James Abernathy wrote:
> >
> >
> > I'm guessing it because something is specifying php 8.0 and Ubuntu 22.04
> > uses 8.1?
>
>
>
> Ubuntu 22.04 should have a php8.1.{conf,load} file within /etc/apache2/,
> not php8.0.{conf,load}, so I'll count this as evidence that the upgrade
> to 22.04 did not function as it should.
>
> As for how to fix it, that may depend on your experience level. It may
> be as simple as:
> sudo a2dismod php8.0
> sudo apt install php8.1 libapache2-mod-php8.1
> sudo a2enmod php8.1
>
> Or it could be trickier like making symlinks to trick your system into
> thinking that php 8.0 is still there.
>
> I'd start simple (apt land) and work from there.
>
>
>
> -WD
> _______________________________________________
> 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: mythweb quit working this morning?? [ In reply to ]
On Wed, May 4, 2022 at 10:07 AM Will Dormann <wdormann@gmail.com> wrote:

> On 5/3/22 7:05 AM, James Abernathy wrote:
> >
> >
> > I'm guessing it because something is specifying php 8.0 and Ubuntu 22.04
> > uses 8.1?
>
>
>
> Ubuntu 22.04 should have a php8.1.{conf,load} file within /etc/apache2/,
> not php8.0.{conf,load}, so I'll count this as evidence that the upgrade
> to 22.04 did not function as it should.
>
> As for how to fix it, that may depend on your experience level. It may
> be as simple as:
> sudo a2dismod php8.0
> sudo apt install php8.1 libapache2-mod-php8.1
> sudo a2enmod php8.1
>
> Or it could be trickier like making symlinks to trick your system into
> thinking that php 8.0 is still there.
>
> I'd start simple (apt land) and work from there.
>
>
>
> -WD
>

Thanks, those commands fixed it. After restarting apache2, I'm back to
normal.

Jim A
Re: mythweb quit working this morning?? [ In reply to ]
On 04/05/2022 15:07, Will Dormann wrote:

> On 5/3/22 7:05 AM, James Abernathy wrote:
>>
>>
>> I'm guessing it because something is specifying php 8.0 and Ubuntu
>> 22.04 uses 8.1?
>
>
>
> Ubuntu 22.04 should have a php8.1.{conf,load} file within
> /etc/apache2/, not php8.0.{conf,load}, so I'll count this as evidence
> that the upgrade to 22.04 did not function as it should.
>
> As for how to fix it, that may depend on your experience level. It may
> be as simple as:
> sudo a2dismod php8.0
> sudo apt install php8.1 libapache2-mod-php8.1
> sudo a2enmod php8.1
>
> Or it could be trickier like making symlinks to trick your system into
> thinking that php 8.0 is still there.
>
> I'd start simple (apt land) and work from there.
>
>
>
> -WD
>

Just a heads up if you are using PHP8.1 there have been problems
reported with changes to DB access causing unhandled exceptions in MythWeb

The cause appears to be changes to the default behavior in PHP8.1 but it
looks like it should be a trivial fix for anyone who cares to look at it.

https://php.watch/versions/8.1/mysqli-error-mode


Paul H.

_______________________________________________
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