I have a multisite (subdomain) development environment working fine but, when I attempted to deploy, it fails at Wordpress Installed?
TASK [deploy : WordPress Installed?] ********************************************************************************************************************
task path: /home/sergio/sites/multisite.com/trellis/roles/deploy/hooks/finalize-after.yml:2
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff 162.243.130.31 â/bin/sh -c â"â"âecho ~ && sleep 0â"â"ââ
<162.243.130.31> (0, â/home/web\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff 162.243.130.31 â/bin/sh -c â"â"â( umask 77 && mkdir -p âecho /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571
â && echo ansible-tmp-1492645362.48-248327338837571="echo /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571
" ) && sleep 0â"â"ââ
<162.243.130.31> (0, âansible-tmp-1492645362.48-248327338837571=/home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> PUT /tmp/tmpTwFqrH TO /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set sftp_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC sftp -b - -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff â[162.243.130.31]â
<162.243.130.31> (0, âsftp> put /tmp/tmpTwFqrH /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "posix-rename@openssh.com" revision 1\r\ndebug2: Server supports extension "statvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "fstatvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "hardlink@openssh.com" revision 1\r\ndebug2: Server supports extension "fsync@openssh.com" revision 1\r\ndebug3: Sent message fd 5 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/web size 0\r\ndebug3: Looking up /tmp/tmpTwFqrH\r\ndebug3: Sent message fd 5 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldnât stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:25590\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 25590 bytes at 32768\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff 162.243.130.31 â/bin/sh -c â"â"âchmod u+x /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/ /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py && sleep 0â"â"ââ
<162.243.130.31> (0, ââ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff -tt 162.243.130.31 â/bin/sh -c â"â"â/usr/bin/python /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py; rm -rf â/home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/â > /dev/null 2>&1 && sleep 0â"â"ââ
<162.243.130.31> (0, â\r\n{âchangedâ: true, âendâ: â2017-04-19 23:42:43.239314â, âstdoutâ: ââ, âcmdâ: [âwpâ, âcoreâ, âis-installedâ, âânetworkâ], ârcâ: 1, âstartâ: â2017-04-19 23:42:43.134075â, âstderrâ: âError: This does not seem to be a WordPress install.\nPass --path=path/to/wordpress
or run wp core download
.â, âdeltaâ: â0:00:00.105239â, âinvocationâ: {âmodule_argsâ: {âwarnâ: true, âexecutableâ: null, âchdirâ: â/srv/www/multisite.com/releases/20170419234211â, â_raw_paramsâ: âwp core is-installed --networkâ, âremovesâ: null, âcreatesâ: null, â_uses_shellâ: false}}, âwarningsâ: []}\r\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 162.243.130.31 closed.\r\nâ)
System info:
Ansible 2.3.0.0; Linux
Trellis at âAdd bin/xdebug-tunnel.sh
to manage Xdebug and SSH tunnels on remote hostsâ
task path: /home/sergio/sites/multisite.com/trellis/roles/deploy/hooks/finalize-after.yml:2
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff 162.243.130.31 â/bin/sh -c â"â"âecho ~ && sleep 0â"â"ââ
<162.243.130.31> (0, â/home/web\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff 162.243.130.31 â/bin/sh -c â"â"â( umask 77 && mkdir -p â
echo /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571
â && echo ansible-tmp-1492645362.48-248327338837571="echo /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571
" ) && sleep 0â"â"ââ<162.243.130.31> (0, âansible-tmp-1492645362.48-248327338837571=/home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> PUT /tmp/tmpTwFqrH TO /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set sftp_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC sftp -b - -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff â[162.243.130.31]â
<162.243.130.31> (0, âsftp> put /tmp/tmpTwFqrH /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug2: Remote version: 3\r\ndebug2: Server supports extension "posix-rename@openssh.com" revision 1\r\ndebug2: Server supports extension "statvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "fstatvfs@openssh.com" revision 2\r\ndebug2: Server supports extension "hardlink@openssh.com" revision 1\r\ndebug2: Server supports extension "fsync@openssh.com" revision 1\r\ndebug3: Sent message fd 5 T:16 I:1\r\ndebug3: SSH_FXP_REALPATH . -> /home/web size 0\r\ndebug3: Looking up /tmp/tmpTwFqrH\r\ndebug3: Sent message fd 5 T:17 I:2\r\ndebug3: Received stat reply T:101 I:2\r\ndebug1: Couldnât stat remote file: No such file or directory\r\ndebug3: Sent message SSH2_FXP_OPEN I:3 P:/home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py\r\ndebug3: Sent message SSH2_FXP_WRITE I:4 O:0 S:32768\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 4 32768 bytes at 0\r\ndebug3: Sent message SSH2_FXP_WRITE I:5 O:32768 S:25590\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: In write loop, ack for 5 25590 bytes at 32768\r\ndebug3: Sent message SSH2_FXP_CLOSE I:4\r\ndebug3: SSH2_FXP_STATUS 0\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff 162.243.130.31 â/bin/sh -c â"â"âchmod u+x /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/ /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py && sleep 0â"â"ââ
<162.243.130.31> (0, ââ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nâ)
<162.243.130.31> ESTABLISH SSH CONNECTION FOR USER: web
<162.243.130.31> SSH: ansible.cfg set ssh_args: (-o)(ForwardAgent=yes)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
<162.243.130.31> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
<162.243.130.31> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=web)
<162.243.130.31> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=10)
<162.243.130.31> SSH: PlayContext set ssh_common_args: ()
<162.243.130.31> SSH: PlayContext set ssh_extra_args: ()
<162.243.130.31> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/home/sergio/.ansible/cp/20aa9590ff)
<162.243.130.31> SSH: EXEC ssh -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=web -o ConnectTimeout=10 -o ControlPath=/home/sergio/.ansible/cp/20aa9590ff -tt 162.243.130.31 â/bin/sh -c â"â"â/usr/bin/python /home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/command.py; rm -rf â/home/web/.ansible/tmp/ansible-tmp-1492645362.48-248327338837571/â > /dev/null 2>&1 && sleep 0â"â"ââ
<162.243.130.31> (0, â\r\n{âchangedâ: true, âendâ: â2017-04-19 23:42:43.239314â, âstdoutâ: ââ, âcmdâ: [âwpâ, âcoreâ, âis-installedâ, âânetworkâ], ârcâ: 1, âstartâ: â2017-04-19 23:42:43.134075â, âstderrâ: âError: This does not seem to be a WordPress install.\nPass --path=
path/to/wordpress
or run wp core download
.â, âdeltaâ: â0:00:00.105239â, âinvocationâ: {âmodule_argsâ: {âwarnâ: true, âexecutableâ: null, âchdirâ: â/srv/www/multisite.com/releases/20170419234211â, â_raw_paramsâ: âwp core is-installed --networkâ, âremovesâ: null, âcreatesâ: null, â_uses_shellâ: false}}, âwarningsâ: []}\r\nâ, âOpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /home/sergio/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 8350\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 162.243.130.31 closed.\r\nâ)System info:
Ansible 2.3.0.0; Linux
Trellis at âAdd
bin/xdebug-tunnel.sh
to manage Xdebug and SSH tunnels on remote hostsâError: This does not seem to be a WordPress install.
Pass --path=path/to/wordpress
or run wp core download
.
fatal: [162.243.130.31]: FAILED! => {
âchangedâ: false,
âcmdâ: [
âwpâ,
âcoreâ,
âis-installedâ,
"ânetwork"
],
âdeltaâ: â0:00:00.105239â,
âendâ: â2017-04-19 23:42:43.239314â,
âfailedâ: true,
âfailed_when_resultâ: true,
âinvocationâ: {
âmodule_argsâ: {
"_raw_params": âwp core is-installed --networkâ,
"_uses_shell": false,
âchdirâ: â/srv/www/multisite.com/releases/20170419234211â,
âcreatesâ: null,
âexecutableâ: null,
âremovesâ: null,
âwarnâ: true
}
},
ârcâ: 1,
âstartâ: â2017-04-19 23:42:43.134075â,
â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â: []
}
to retry, use: --limit @/home/sergio/sites/multisite.com/trellis/deploy.retry
PLAY RECAP **********************************************************************************************************************************************
162.243.130.31 : ok=18 changed=11 unreachable=0 failed=1
localhost : ok=0 changed=0 unreachable=0 failed=0
error.log:
2017/04/20 00:24:23 [error] 28733#28733: *18 FastCGI sent in stderr: âPHP message: PHP Warning: require(/srv/www/multisite.com/releases/20170419234211/web/wp/wp-blog-header.php): failed to open stream: No such file or directory in /srv/www/multisite.com/releases/20170419234211/web/index.php on line 5
PHP message: PHP Fatal error: require(): Failed opening required â/srv/www/multisite.com/releases/20170419234211/web/wp/wp-blog-header.phpâ (include_path=â.:/usr/share/phpâ) in /srv/www/multisite.com/releases/20170419234211/web/index.php on line 5â while reading response header from upstream, client: 172.222.145.195, server: multisite.com, request: âGET / HTTP/2.0â, upstream: âfastcgi://unix:/var/run/php-fpm-wordpress.sock:â, host: âmultisite.comâ
Not sure this is related, but I checked on the DO droplet and it seems that the /srv/www/multisite.com/releases/20170419234211/web/wp folder only contains a composer.json and README.md file
Thinking of backing up the themes and database and starting from scratch, though Iâd like to avoid it if possible.