• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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