Upgrade our internally maintained php7.2 packages to 7.2.22.
I'm running into a build failure, which I initially assumed was caused by DNS resolution in pbuilder/boron, but it's ultimately caused by MariaDB; the build calls mysql_install_db from the MariaDB package, which is broken by https://jira.mariadb.org/browse/MDEV-18526
I'm trying a few workarounds
The only thing scap does on the deployment servers via php is mwscript rebuildLocalisationCache.php. The php changelog seems like there are a lot of bugfixes between 7.2.8 (current version) and 7.2.22 without much else, so it doesn't seem worrisome to me; however, I haven't been following php7 development very closely.
One easiest way to test would be to run something like: mwscript rebuildLocalisationCache.php --wiki=enwiki --outdir=/tmp/php7.2.22-l10nupdate and ensure it runs without error and generates cdb files.
@jijiki Any examples how it was done on the other servers? Did you keep the locally modified php.ini and fpm/php.ini files? I let the package overwrite but then let puppet revert that.
I installed php7.2-common and let that pull the dependencies.
php-apcu is still there in a version 5.x . Other packages not 7.2.22 are php-common, php-mailparse, php-mbstring
@Dzahn: The current update for PHP 7.2.22 is a little special as there was an upstream change in the shipped default conffile (a new option for sqlite was added). You can use the following via Cumin:
sudo cumin $SERVER 'export DEBIAN_FRONTEND=noninteractive; apt-get install php7.2-a pgp7.2-b php7.2-c (..) -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"'
sudo cumin phab1003.eqiad.wmnet 'export DEBIAN_FRONTEND=noninteractive; apt-get install libapache2-mod-php7.2 php7.2-cli php7.2-common php7.2-curl php7.2-dev php7.2-fpm php7.2-gd php7.2-gmp php7.2-intl php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-phpdbg php7.2-readline php7.2-xml -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"'
all the php7.2-* packages are now on `7.2.22-1+0~20190902.26+debian9~1.gbpd64eb7+wmf1
`test command used on 2001:
curl -L --header "Host: phabricator.wikimedia.org" --url https://phabricator.wikimedia.org/ http://phab2001.codfw.wmnet > phab2001.html
@20after4 is also testing some things after upgrade.