[mythtv-users] Ubuntu 18.04.1 LTS do-release-upgrade with Mythtv

Stephen Worthington stephen_agent at jsw.gen.nz
Thu Oct 11 01:54:46 UTC 2018


On Wed, 10 Oct 2018 10:12:59 -0700, you wrote:

>>> On 07/10/18 13:02, Jim Abernathy wrote:
>>> Has anybody who has a working Ubuntu 16.04.5 system with mythtv
>>> backend V29 been brave enough to run do-release-upgrade and see what
>>> happens?
>>> 
>>> And No I'm not that brave.
>>> 
>>> Jim A
>
>> Done it a few times, it works ok, remember to re-enable mythtv ppa.
>> 
>> Also mythweb will likely fail due to php7.2 being installed in 18.04
>> upgrade.
>> 
>> This is fixed as follows:
>> 
>> sudo mv /etc/php/7.0/apache2/conf.d/20-mythweb.ini
>> /etc/php/7.2/apache2/conf.d/20-mythweb.ini
>> sudo a2enmod php7.2 #to sort out apache2
>> sudo systemctl restart apache2
>> 
>> Mike
>
>Agree with Mike that it's *mostly* painless.  However, have been 
>fighting with this Mythweb issue since doing the upgrade.  It continues 
>to fail, thinking that the mysqli extension is missing, but php says 
>that it's loaded.
>
>Tried using your fix above, got this:
>
>[rcs at vader ~]$ sudo /etc/php/7.2/cli# mv 
>/etc/php/7.0/apache2/conf.d/20-mythweb.ini /etc/php/7.2/apache2/conf.d/
>[rcs at vader ~]$ sudo a2enmod php7.2
>Considering dependency mpm_prefork for php7.2:
>Considering conflict mpm_event for mpm_prefork:
>Considering conflict mpm_worker for mpm_prefork:
>Module mpm_prefork already enabled
>Considering conflict php5 for php7.2:
>Module php7.2 already enabled
>[rcs at vader ~]$ systemctl restart apache2
>
>Still fails, tells me mysqli isn't loaded.
>
>PHP 5 is no longer installed.
>
>Aaargh...!
>
>Thanks - Bob

Make sure the old PHP 7.0 is disabled - it was not for me on one of my
upgrades:

sudo a2dismod php7.0

and check that the package "php7.2-mysql" is installed.


More information about the mythtv-users mailing list