CLI:Canasta maintenance update
From canasta
canasta > maintenance > 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, runs on all wikis by default. Use --wiki to target a specific wiki.
canasta maintenance update [flags]
Examples
canasta maintenance update -i myinstance canasta maintenance update -i myinstance --wiki=docs canasta maintenance update -i myinstance --skip-jobs --skip-smw
Flags
| Flag | Shorthand | Description | Default | Required |
|---|---|---|---|---|
--help |
-h |
help for update | ||
--skip-jobs |
Skip running runJobs.php | |||
--skip-smw |
Skip running Semantic MediaWiki rebuildData.php | |||
--wiki |
-w |
Wiki ID to run maintenance on | all wikis | |
--id |
-i |
Canasta instance ID | instance associated with current directory | |
--verbose |
-v |
Verbose output |