List of steps to reproduce (step by step, including full links if applicable):
- upgrading a plain and simple MW from 1.29 (or 1.30 or 1.31.1 or else) to 1.36.1
- try run update.php
- after a while fail with: MediaWiki\Storage\NameTableAccessException from line 43 of /var/www/mediawiki-1.36.1/includes/Storage/NameTableAccessException.php: Failed to access name from slot_roles using name = main
Why happens?:
update.php have neglected to insert into slot_roles(role_name) values ("main");
What should have happened instead?:
Well it should have populated that table.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Upgrade MediaWiki from 1.29 (or later, up to probably the last LTS) to 1.36.1