# WordPress 6.0 update deploy failed

**URL:** https://discourse.roots.io/t/wordpress-6-0-update-deploy-failed/23225
**Category:** trellis
**Tags:** trellis, bedrock
**Created:** 2022-05-25T09:57:25Z
**Posts:** 43
**Showing post:** 36 of 43

## Post 36 by @mZoo — 2022-08-05T03:57:48Z

Man this just keeps on going. Provisioned a new droplet and after three or four deploys of wpackagist plugin composer failures, back to the original problem from a few days ago:

```
non-zero return code
sudo: a terminal is required to read the password; either use the -S option
to read from standard input or configure an askpass helper
fatal: [67.205.178.xxx]: FAILED! => {
    "changed": true,
    "cmd": "sudo service php8.0-fpm reload",
    "delta": "0:00:00.013650",
    "end": "2022-08-05 03:40:43.968472",
    "invocation": {
        "module_args": {
            "_raw_params": "sudo service php8.0-fpm reload",
            "_uses_shell": true,
            "argv": null,
            "chdir": null,
            "creates": null,
            "executable": null,
            "removes": null,
            "stdin": null,
            "stdin_add_newline": true,
            "strip_empty_ends": true,
            "warn": false
        }
    },
    "rc": 1,
    "start": "2022-08-05 03:40:43.954822",
    "stderr_lines": [
        "sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper"
    ],
    "stdout": "",
    "stdout_lines": []
}
```

And on the server:

```
root@...:/home/admin# cat /etc/sudoers.d/web-services
# Ansible managed

web ALL=(root) NOPASSWD: /usr/sbin/service.php8.0-fmp.*
```

And

```
root@/home/admin# php --version
PHP 8.0.21 (cli) (built: Aug 1 2022 07:40:52) ( NTS )
```

and

```
web@...:/home/admin$ sudo service php8.0-fpm reload
[sudo] password for web:
```

Additionally

```
root@:/home/admin# ls -l $(which php)
lrwxrwxrwx 1 root root 21 Aug 5 01:15 /usr/bin/php -> /etc/alternatives/php
root@:/home/admin# ls -l /etc/alternatives/ | grep php
lrwxrwxrwx 1 root root 15 Aug 5 01:15 php -> /usr/bin/php8.0
lrwxrwxrwx 1 root root 22 Aug 5 01:16 php-config -> /usr/bin/php-config8.0
lrwxrwxrwx 1 root root 38 Aug 5 01:16 php-config.1.gz -> /usr/share/man/man1/php-config8.0.1.gz
lrwxrwxrwx 1 root root 24 Aug 5 01:16 php-fpm.sock -> /run/php/php8.0-fpm.sock
lrwxrwxrwx 1 root root 31 Aug 5 01:15 php.1.gz -> /usr/share/man/man1/php8.0.1.gz
lrwxrwxrwx 1 root root 18 Aug 5 01:16 phpize -> /usr/bin/phpize8.0
lrwxrwxrwx 1 root root 34 Aug 5 01:16 phpize.1.gz -> /usr/share/man/man1/phpize8.0.1.gz
```

Migrating this back to my [original post](https://discourse.roots.io/t/sudo-reload-php8-1-fmp-reload-fails-requiring-password/23664/4) about reload of php-fmp.

---

_[View the full topic](https://discourse.roots.io/t/wordpress-6-0-update-deploy-failed/23225)._
