I have a server managed by cleavr with two sites. Both use PHP 8.0.
One of these sites should use PHP 8.1, so I installed PHP 8.1 as service and set it as the required PHP version for this site. When I deploy my code, the deployment fails at step “Activate New Deployment”.
The details show:
Activate New Deployment 20220603055255526
Activated /home/example-staging/staging.example.org/releases/20220603055255526
Reloading PHP-FPM
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Did you change anything? I had another deployment running and it is working now. The last deployment showed me the error from the first post:
Activate New Deployment 20220709114157614
Activated /home/example/example.org/releases/20220709114157614
Reloading PHP-FPM
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper