[mythtv-users] Mythweb error after upgrading to Ubuntu 21.10

Jim Abernathy jfabernathy at gmail.com
Wed Nov 10 11:38:55 UTC 2021


On 11/10/21 2:13 AM, Stephen Hocking wrote:
> Hi all,
>
> As part of my commitment to living dangerously, I upgraded my mythtv 
> combo backend/frontend to 20.10. Since then, attempting to use 
> mythtweb gives me the following error:
>
> Fatal error: Uncaught Error: Undefined constant "ASSERT_QUIET_EVAL" in 
> /usr/share/mythtv/mythweb/includes/errors.php:50 Stack trace: #0 
> /usr/share/mythtv/mythweb/includes/init.php(21): require_once() #1 
> /usr/share/mythtv/mythweb/mythweb.php(20): require_once('...') #2 
> {main} thrown in /usr/share/mythtv/mythweb/includes/errors.php on line 50
>
> Versions of mythtv software installed on the box are as follows:
>
>  $ dpkg -l | grep myth
> ii  libmyth  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64  Common 
> library code for MythTV and add-on modules (runtime)
> ii  libmyth-dev  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 
>  Common library code for MythTV and add-on modules (development)
> ii  libmyth-python 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all 
>  Python library to access some MythTV features
> ii  libmythes-1.2-0:amd64                    2:1.2.4-3build2           
>                 amd64        simple thesaurus library
> ii  libmythtv-perl 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all       
>    Perl library to access some MythTV features
> ii  mytharchive  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 
>  create and burn DVD's from MythTV - binary file
> ii  mythbrowser  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64       
>  Web browser plugin for MythTV
> ii  mythes-en-au                             2.1-5.5                   
>         all          Australian English Thesaurus for OpenOffice.org
> ii  mythes-en-us                             1:7.1.0~rc3-3             
>               all          English (USA) Thesaurus for LibreOffice
> ii  mythexport                               2.2.4-0ubuntu6           
>                  amd64        Export MythTV recording to portable 
> media players
> ii  mythnews 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64       
>  RSS feed news reader module for MythTV
> ii  mythtv 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all  Personal 
> video recorder application (client and server)
> ii  mythtv-backend 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 
>  Personal video recorder application (server)
> ii  mythtv-common  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 
>  Personal video recorder application (common data)
> ii  mythtv-database  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all 
>  Personal video recorder application (database)
> ii  mythtv-dbg 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64       
>  Debug symbols for mythtv packages
> ii  mythtv-frontend  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 
>  Personal video recorder application (client)
> ii  mythtv-theme-mythbuntu 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 
> all  MythTV Theme used in the Mythbuntu distribution
> ii  mythtv-transcode-utils 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 
> amd64  Utilities used for transcoding MythTV tasks
> ii  mythweather  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 amd64 
>  Weather add-on module for MythTV
> ii  mythweb  2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all         
>  Web interface add-on module for MythTV
> ii  php-mythtv 2:31.0+fixes.20200323.9579662cdc-0ubuntu9 all         
>  PHP Bindings for MythTV
>  $
>
> Any ideas?
> -- 
>    "I and the public know
>    what all schoolchildren learn
>    Those to whom evil is done
>    Do evil in return"		W.H. Auden, "September 1, 1939"


As you found out from Paul, it's a PHP8 upgrade in 21.10 that caught 
you.  As far as staying current. I've found that Ubuntu 20.04.3 
installed with the newest .iso media will install with the HWE kernel 
and give you support for all the latest hardware. It works great with 
Mythtv v31 as well as Master.

I has a 11th gen Core i7 NUC that would not run Ubuntu 20.04 until you 
get the latest kernel.  The newest dot level of the install media keeps 
the LTS of the release without sacrificing the new kernels. Support is 
until 2025 for 20.04 LTS.

Jim A


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20211110/b538bc7a/attachment.htm>


More information about the mythtv-users mailing list