• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Resolved Git Deployment Action Error: /opt/plesk/php/8.0/bin/php: No such file or directory

alexschomb

New Pleskian
Server operating system version
CentOS
Plesk version and microupdate number
18.0
Hi!

We're having issues with the following Additional Git Deployment Action on an uptodate Plesk Obsidian server based on CentOS:
Code:
/opt/plesk/php/8.0/bin/php /usr/lib64/plesk-9.0/composer.phar install

While the paths are correct and confirmed via SSH (as root) running the Git deployment action via the button in the backend gives the following error message:
Code:
-: /opt/plesk/php/8.0/bin/php: No such file or directory

We checked every option available, but couldn't find the root of the problem. Is it possible that this is caused by SElinux policies? How can we make the PHP and Composer binaries available for a specific vhost in Plesk?

Thanks for your help!
 
Total guess but do you use a chrooted shell for this account ? Maybe try setting in to "/bin/bash" without "(chroot)" in your hosting settings.
 
Back
Top