How to upgradeΒΆ
To upgrade the MediaWiki charm to a new revision, use juju refresh:
juju refresh mediawiki-k8s
If you are upgrading to a new major release, you will need to update the database schema by running the update-database action on the leader unit.
Warning
Updating the database schema is a potentially destructive operation. It is highly recommended to back up the database before performing a schema upgrade. Additional information can be found in the MySQL documentation.
Ensure that all units have settled before running the action. You can check the status of the units with juju status.
juju run mediawiki-k8s/leader update-database