update
canasta maintenance update¶
Run maintenance update jobs
Synopsis¶
Run the standard MediaWiki maintenance update sequence: update.php, runJobs.php, and Semantic MediaWiki's rebuildData.php. This is typically needed after upgrading MediaWiki or enabling new extensions.
By default, all three scripts are run. Use --skip-jobs to skip runJobs.php and --skip-smw to skip rebuildData.php.
In a wiki farm, use --wiki to target a specific wiki, or --all to run maintenance on every wiki. If there is only one wiki, it is selected automatically.
Examples¶
canasta maintenance update -i myinstance
canasta maintenance update -i myinstance --wiki=docs
canasta maintenance update -i myinstance --all
canasta maintenance update -i myinstance --skip-jobs --skip-smw
Options¶
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--help |
-h |
help for update | |
--skip-jobs |
`` | Skip running runJobs.php | |
--skip-smw |
`` | Skip running Semantic MediaWiki rebuildData.php |
Options inherited from parent commands¶
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--all |
`` | Run for all wikis in the farm | |
--id |
-i |
Canasta instance ID | |
--verbose |
-v |
Verbose output | |
--wiki |
-w |
Wiki ID to run maintenance on |
SEE ALSO¶
- canasta maintenance - Use to run update and other maintenance scripts