I have a sqlite mediawiki database, which I think is version 1.36, with around 10K articles.
I tried installing 1.44 mediawiki and in startup declaring the sqlite file, and it offers to update, but when I click continue it returns 504 after awhile and htop shows php with 100% CPU that never ends (at least after 12 hours) The datetime of the sqlite file does increment for about 10 - 15 minutes and stop. If I kill it and reboot, there is still no LocalSettings.php, so it wants to start over.
Is there a way to confirm from the database that it is version 1.36?
Is there a manual upgrade that only does the database and with this relatively large number of articles? php maintenance/run.php update wants a LocalSettings.php file which is a result of the upgrade process.
Thanks,
Tim
For the most part, run.php update just needs the database related config. If you do a new fresh installation of mediawiki, take the newly generated LocalSettings.php file and adjust the db config to point to your sqlite db, that should be enough to get through the command line update script.
On Thursday, 14 August 2025, Tim Moody tim@timmoody.com wrote:
I have a sqlite mediawiki database, which I think is version 1.36, with around 10K articles.
I tried installing 1.44 mediawiki and in startup declaring the sqlite file, and it offers to update, but when I click continue it returns 504 after awhile and htop shows php with 100% CPU that never ends (at least after 12 hours) The datetime of the sqlite file does increment for about 10
- 15 minutes and stop. If I kill it and reboot, there is still no
LocalSettings.php, so it wants to start over.
Is there a way to confirm from the database that it is version 1.36?
Is there a manual upgrade that only does the database and with this relatively large number of articles? php maintenance/run.php update wants a LocalSettings.php file which is a result of the upgrade process.
Thanks,
Tim
On 15/8/25 00:54, Tim Moody wrote:
I have a sqlite mediawiki database, which I think is version 1.36, with around 10K articles.
I tried installing 1.44 mediawiki and in startup declaring the sqlite file, and it offers to update, but when I click continue it returns 504 after awhile and htop shows php with 100% CPU that never ends (at least after 12 hours) The datetime of the sqlite file does increment for about 10 - 15 minutes and stop. If I kill it and reboot, there is still no LocalSettings.php, so it wants to start over.
Is there a way to confirm from the database that it is version 1.36?
Is there a manual upgrade that only does the database and with this relatively large number of articles? php maintenance/run.php update wants a LocalSettings.php file which is a result of the upgrade process.
Per T387428 https://phabricator.wikimedia.org/T387428 I am planning to remove generation of LocalSettings.php from the web updater because I think anyone who is using it is suffering from a misconception. You should run the CLI updater using your old LocalSettings.php. You should not ever need to regenerate your LocalSettings.php, just keep it forever. The updater will tell you if there are deprecated configuration variables in it that you need to fix.
Also, I consider MediaWiki's SQLite support to be experimental and not suitable for wikis with more than one user. If you have a problem specifically with SQLite, you can always fix it by not using SQLite.
-- Tim Starling
wikitech-l@lists.wikimedia.org