FS#74956 - [mediawiki] Error in maintenance/update.php: justinrainbow/json-schema: not installed

Attached to Project: Community Packages
Opened by Luca Weiss (z3ntu) - Saturday, 04 June 2022, 07:04 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 04 June 2022, 16:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After updating my mediawiki package to 1.38.0-1 I get the following error when running /usr/share/webapps/mediawiki/maintenance/update.php:

MediaWiki 1.38.0 Updater

justinrainbow/json-schema: not installed, 5.2.11 required.
Error: your composer.lock file is not up to date. Run "composer update --no-dev" to install newer dependencies

This has worked well in the past, like with 1.37.2-1

Steps to reproduce:
Upgrade mediawiki package from 1.37.2-1 to 1.38.0-1 and run the update.php script.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 04 June 2022, 16:36 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Saturday, 04 June 2022, 11:55 GMT
should be fixed in mediawiki-1.38.0-2
Comment by Luca Weiss (z3ntu) - Saturday, 04 June 2022, 16:07 GMT
Can confirm, works with -2. Thanks!

Also just a random data point regarding php version, I've been running my (quite small) wiki with php 8 since more than a year and it works fine (but I haven't checked why exactly it's still pinned to php7 in Arch).

Loading...