diff --git a/.travis.yml b/.travis.yml index 2ee76d3..28ce07f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,4 +54,4 @@ script: - sudo wp --allow-root --info - sudo wo info || sudo tail -n50 /var/log/wo/wordops.log - sudo tree -L 2 /etc/nginx - - sudo tree -L 3 /var/www/22222/htdocs/ + - sudo cat /var/www/wpredis.net/wp-config.php diff --git a/CHANGELOG.md b/CHANGELOG.md index fbc0762..e6d7734 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### v3.9.6 - [Unreleased] +#### Fixed + +- WP_CACHE_KEY_SALT set twice + ### v3.9.5.1 - 2019-05-10 #### Fixed diff --git a/wo/cli/plugins/debug.py b/wo/cli/plugins/debug.py index 51178ae..1c29c68 100644 --- a/wo/cli/plugins/debug.py +++ b/wo/cli/plugins/debug.py @@ -100,7 +100,8 @@ class WODebugController(CementBaseController): for ip_addr in debug_address: if not ("debug_connection "+ip_addr in open('/etc/nginx/' - 'nginx.conf', encoding='utf-8').read()): + 'nginx.conf', + encoding='utf-8').read()): Log.info(self, "Setting up Nginx debug connection" " for "+ip_addr) WOShellExec.cmd_exec(self, "sed -i \"/events {{/a\\ \\ \\ " diff --git a/wo/cli/plugins/site_functions.py b/wo/cli/plugins/site_functions.py index 39cb072..9d35048 100644 --- a/wo/cli/plugins/site_functions.py +++ b/wo/cli/plugins/site_functions.py @@ -296,7 +296,7 @@ def setupwordpress(self, data): Log.debug(self, "Generating wp-config for WordPress Single site") Log.debug(self, "bash -c \"php {0} --allow-root " .format(WOVariables.wo_wpcli_path) + - "core config " + + "config create " + "--dbname=\'{0}\' --dbprefix=\'{1}\' --dbuser=\'{2}\' " "--dbhost=\'{3}\' " .format(data['wo_db_name'], wo_wp_prefix, @@ -308,7 +308,7 @@ def setupwordpress(self, data): try: if WOShellExec.cmd_exec(self, "bash -c \"php {0} --allow-root" .format(WOVariables.wo_wpcli_path) + - " core config " + + " config create " + "--dbname=\'{0}\' --dbprefix=\'{1}\' " "--dbuser=\'{2}\' --dbhost=\'{3}\' " .format(data['wo_db_name'], wo_wp_prefix, @@ -317,12 +317,9 @@ def setupwordpress(self, data): ) + "--dbpass=\'{0}\' " "--extra-php<