Happy new year everyone! Still struggling with this problem and it’s become a blocker for me to use Trellis unfortunately. Any advice super appreciated. Thanks.
EDIT: I managed to get one step further by manually logging into the remote server and running sudo wp cli update
which fixed the WP CLI errors. I’m now able to deploy even though the deploy fails with the following errors (but new code is running on the server).
non-zero return code php7.3-fpm.service is not active, cannot reload. fatal: [www.website.com]: FAILED! => {"changed": true, "cmd": "sudo service php7.3-fpm reload", "delta": "0:00:00.041936", "end": "2020-01-14 12:34:18.339396", "rc": 1, "start": "2020-01-14 12:34:18.297460", "stderr_lines": ["php7.3-fpm.service is not active, cannot reload."], "stdout": "", "stdout_lines": []}
Reprovison fails with a similar error, which makes me slightly hopeful:
> TASK [php : Start php7.3-fpm service] *****************************************************************************************************************************************************************************
>
> System info:
>
> Ansible 2.8.4; Darwin
>
> Trellis 1.3.0: December 7th, 2019
>
> ---------------------------------------------------
>
> Unable to start service php7.3-fpm: Job for php7.3-fpm.service failed because
>
> the control process exited with error code. See "systemctl status
>
> php7.3-fpm.service" and "journalctl -xe" for details.
>
> fatal: [www.website.com]: FAILED! => {"changed": false}
I scoured the forum and came up with this post however I’m hesitant running these commands on a live server Change PHP version
Kris