From 0ffc52e0d5d0992b25090ab8b8af54f50eafe169 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Thu, 8 Sep 2022 20:49:35 +0200 Subject: [PATCH] Update to MariaDB 10.6 --- CHANGELOG.md | 13 ++++++++++++- README.md | 4 ++-- install | 2 +- setup.py | 2 +- wo/cli/plugins/stack_pref.py | 3 ++- wo/core/variables.py | 2 +- 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f915e39..8a6a78e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## Releases -### v3.15.0 - [Unreleased] +### v3.15.1 - [Unreleased] + +### v3.15.0 - 2022-05-26 + +#### Changed + +- New Nginx package based on latest Nginx stable release 1.20.2 +- Better Referrer-Policy ([PR #434](https://github.com/WordOps/WordOps/pull/434)) + +#### Fixed + +- `wo log reset --all` ([PR #438](https://github.com/WordOps/WordOps/pull/438)) ### v3.14.2 - 2022-04-29 diff --git a/README.md b/README.md index 418220c..1645fc1 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ - **Easy to install** : One step automated installer with migration from EasyEngine v3 support - **Fast deployment** : Fast and automated WordPress, Nginx, PHP, MySQL & Redis installation -- **Custom Nginx build** : Nginx 1.18.0 - TLS v1.3 Cloudflare HTTP/2 HPACK & Brotli support -- **Up-to-date** : PHP 7.2, 7.3, 7.4, 8.0 & 8.1 - MariaDB 10.5 & Redis 6.0 +- **Custom Nginx build** : Nginx 1.22.0 - TLS v1.3 Cloudflare HTTP/2 HPACK & Brotli support +- **Up-to-date** : PHP 7.2, 7.3, 7.4, 8.0 & 8.1 - MariaDB 10.6 & Redis 6.0 - **Secured** : Hardened WordPress security with strict Nginx location directives - **Powerful** : Optimized Nginx configurations with multiple cache backends support - **SSL** : Domain, Subdomain & Wildcard Let's Encrypt SSL certificates with DNS API support diff --git a/install b/install index 8d0f98a..dbdeef2 100755 --- a/install +++ b/install @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo -E bash wo # ------------------------------------------------------------------------- -# Version 3.15.0 - 2022-05-23 +# Version 3.15.0 - 2022-05-26 # ------------------------------------------------------------------------- # CONTENTS diff --git a/setup.py b/setup.py index 5b8c0ad..ad2e311 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ if os.geteuid() == 0: os.makedirs('/var/lib/wo/tmp/') setup(name='wordops', - version='3.14.2', + version='3.15.0', description='An essential toolset that eases server administration', long_description=LONG, long_description_content_type='text/markdown', diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 3d13abb..597c0d7 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -1279,7 +1279,8 @@ def post_pref(self, apt_packages, packages, upgrade=False): msg="Adding MySQL into Git") elif os.path.exists('/etc/mysql/conf.d/my.cnf'): if ((WOAptGet.is_installed( - self, 'mariadb-server-10.5')) and + self, + 'mariadb-server-{0}').format(WOVar.mariadb_ver)) and not (WOFileUtils.grepcheck( self, '/etc/mysql/conf.d/my.cnf', 'socket'))): try: diff --git a/wo/core/variables.py b/wo/core/variables.py index 39bba81..08d5c40 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -187,7 +187,7 @@ class WOVar(): # APT repositories wo_mysql_repo = ("deb [arch=amd64,arm64,ppc64el] " "http://mariadb.mirrors.ovh.net/MariaDB/repo/" - "10.5/{distro} {codename} main" + "10.6/{distro} {codename} main" .format(distro=wo_distro, codename=wo_platform_codename)) if wo_distro == 'ubuntu':