From 0e7a8dd952af33972b1e80d4549c53da60a2e6a1 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Sun, 25 Sep 2022 13:29:40 +0200 Subject: [PATCH] Fix mariadb service not enabled after upgrade --- README.md | 2 +- wo/cli/plugins/stack_migrate.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1ab274f..b73b436 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ MIT Commits GitHub release -
PyPI - Downloads +
PyPI - Downloads Badge Twitter Badge Rocket.chat

diff --git a/wo/cli/plugins/stack_migrate.py b/wo/cli/plugins/stack_migrate.py index 7fd8b6b..0c0faa6 100644 --- a/wo/cli/plugins/stack_migrate.py +++ b/wo/cli/plugins/stack_migrate.py @@ -60,6 +60,7 @@ class WOStackMigrateController(CementBaseController): if not ci: WOAptGet.dist_upgrade(self) WOAptGet.auto_remove(self) + WOAptGet.auto_clean(self) Log.valide(self, "Upgrading MariaDB ") WOFileUtils.mvfile( self, '/etc/mysql/my.cnf', '/etc/mysql/my.cnf.old')