• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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