From bfb12445ba0545455830d1de4405d86fd6b079b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Grimelid?= Date: Wed, 4 Mar 2020 12:29:22 +0100 Subject: [PATCH] Add --allow-root to search-replace. --- wo/core/sslutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wo/core/sslutils.py b/wo/core/sslutils.py index 2da6999..c4c4488 100644 --- a/wo/core/sslutils.py +++ b/wo/core/sslutils.py @@ -101,7 +101,7 @@ class SSL: WOShellExec.cmd_exec( self, "{0} search-replace \'http://{1}\'" "\'https://{1}\' --skip-columns=guid " - "--skip-tables=wp_users" + "--skip-tables=wp_users --allow-root" .format(WOVar.wo_wpcli_path, domain)) except Exception as e: Log.debug(self, str(e))