[mythtv-users] Upgrade to Mint 21 broke mythweb

glen glenb at glenb.net
Tue Apr 11 13:31:43 UTC 2023


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 at 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 at comcast.net> wrote:
> > > > On 4/10/23 13:42, Jay Harbeston wrote:
> > > > > 
> > > > > > On Apr 10, 2023, at 3:28 PM, Douglas Peale
> > > > > > <Douglas_Peale at 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 at 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 at 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 at 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 at 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 at 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.

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


More information about the mythtv-users mailing list