From 4bca86580e80e5d716c2c0b26c9d43c33c39085c Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 28 Oct 2020 11:11:01 +0100 Subject: [PATCH] Run dist-upgrade after MariaDB upgrade --- README.md | 3 ++- wo/cli/plugins/stack_migrate.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ff41c8..77d3d5e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@

build +CI MIT Commits GitHub release @@ -158,7 +159,7 @@ For any other questions about WordOps or if you need support, please use the [Co # Contributing -If you'd like to contribute, please fork the reposi7tory and make changes as you'd like. Pull requests are warmly welcome. +If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome. There is no need to be a developer or a system administrator to contribute to WordOps project. You can still contribute by helping us to improve [WordOps documentation](https://github.com/WordOps/docs.wordops.net). ## Credits diff --git a/wo/cli/plugins/stack_migrate.py b/wo/cli/plugins/stack_migrate.py index bcfcb8c..35e1f52 100644 --- a/wo/cli/plugins/stack_migrate.py +++ b/wo/cli/plugins/stack_migrate.py @@ -53,6 +53,8 @@ class WOStackMigrateController(CementBaseController): WOAptGet.remove(self, ["mariadb-server"]) WOAptGet.auto_remove(self) WOAptGet.install(self, WOVar.wo_mysql) + WOAptGet.dist_upgrade(self) + WOAptGet.auto_remove(self) Log.valide(self, "Upgrading MariaDB ") WOFileUtils.mvfile( self, '/etc/mysql/my.cnf', '/etc/mysql/my.cnf.old')