Mixed PHP Versions - Deployment Fails

Hi there,

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

(I replaced the site name by example).

Any idea how to fix that?

Thanks and best regards

Hello @sewid,

We’ll look into the issue and get back to you.

Hello @sewid,

We’ve identified the bug with server user and fixed the issue for you.

We’ll be releasing a fix shortly for everyone.

Please try re-deploying and let us know whether that works for you or not.

1 Like

Hi @anish, it is working, thanks a lot!

1 Like