Hi roots community,
I’m having trouble deploying with ansible. When I run the script, this is the error message:
Error: This does not seem to be a WordPress install.
Pass --path=`path/to/wordpress` or run `wp core download`.
fatal: [104.131.189.139]: FAILED! => {"changed": false, "cmd": ["wp", "core", "is-installed", "--skip-plugins", "--skip-themes", "--require=/srv/www/academyaidev.com/shared/tmp_multisite_constants.php"], "delta": "0:00:00.122341", "end": "2018-01-08 19:22:02.371554", "failed": true, "failed_when_result": true, "rc": 1, "start": "2018-01-08 19:22:02.249213", "stderr": "Error: This does not seem to be a WordPress install.\nPass --path=`path/to/wordpress` or run `wp core download`.", "stderr_lines": ["Error: This does not seem to be a WordPress install.", "Pass --path=`path/to/wordpress` or run `wp core download`."], "stdout": "", "stdout_lines": []}
The error started after a applied a patch to a core file (here’s the patch - it allows you to create menu items without a label, which would normally be removed upon saving).
I tried reverting the commit where I applied the patch, and removed the patch file, but still receiving the above error. Would anyone know what to do in this situation?
Thanks!