[mythtv-users] Upgrade to Mint 21 broke mythweb

glen glenb at glenb.net
Tue Apr 11 03:40:05 UTC 2023


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/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 at 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 at 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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230410/8e9fe7b2/attachment-0001.htm>


More information about the mythtv-users mailing list