diff --git a/CHANGELOG.md b/CHANGELOG.md index 2380a7f..4a47a97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - fail2ban install without Nginx - Grant MySQL permissions on all MySQL/MariaDB variant ([PR #285](https://github.com/WordOps/WordOps/pull/285)) +- PHP PECL extensions and PHP 8.0 issues ### v3.12.2 - 2020-05-15 diff --git a/README.md b/README.md index bba5518..235e0eb 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,6 @@ #### Also compatible -- Ubuntu 20.04 LTS (Focal) - Ubuntu 16.04 LTS (Xenial) - Debian 9 (Stretch) - Debian 10 (Buster) diff --git a/install b/install index 5f84a7a..4944fd3 100755 --- a/install +++ b/install @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo -E bash wo # ------------------------------------------------------------------------- -# Version 3.12.3 - 2020-10-12 +# Version 3.12.3 - 2020-10-13 # ------------------------------------------------------------------------- # CONTENTS @@ -208,13 +208,13 @@ wo_install_dep() { if [ "$wo_linux_distro" == "Ubuntu" ]; then # install dependencies apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install \ - build-essential curl gzip python3-pip python3-apt python3-dev sqlite3 git tar software-properties-common pigz \ + build-essential curl gzip python3-pip python3-apt gcc python3-dev sqlite3 git tar software-properties-common pigz \ gnupg2 cron ccze rsync apt-transport-https tree haveged ufw unattended-upgrades tzdata ntp zstd >/dev/null 2>&1 curl -sL https://download.opensuse.org/repositories/home:/virtubox:/WordOps/xUbuntu_18.04/Release.key | apt-key add - else # install dependencies apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install \ - build-essential curl gzip dirmngr sudo python3-pip python3-apt python3-dev ca-certificates sqlite3 git tar \ + build-essential curl gzip dirmngr sudo python3-pip python3-apt gcc python3-dev ca-certificates sqlite3 git tar \ software-properties-common pigz apt-transport-https gnupg2 cron ccze rsync tree haveged ufw unattended-upgrades tzdata ntp zstd >/dev/null 2>&1 # add php repository gpg key [ -d /etc/apt/trusted.gpg.d ] && { wget -qO /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg; } diff --git a/wo/core/mysql.py b/wo/core/mysql.py index ed3e49c..d9af2ff 100644 --- a/wo/core/mysql.py +++ b/wo/core/mysql.py @@ -112,7 +112,8 @@ class WOMysql(): "--single-transaction ".format(dbs), stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True) p2 = subprocess.Popen( - "/usr/bin/pigz -c > /var/lib/wo-backup/mysql/{0}{1}.sql.gz" + "/usr/bin/zstd -T0 -c > " + "/var/lib/wo-backup/mysql/{0}{1}.sql.zst" .format(dbs, WOVar.wo_date), stdin=p1.stdout, shell=True) # Allow p1 to receive a SIGPIPE if p2 exits p1.stdout.close()