I have created a repo in cpanel and cloned it in my local machine. When I tried to git push after making the changes then the below error comes. But the changes are taking effect in the server.
The user is in cagefs and it work if I disable the cagefs.
I have also tried to allow this by using /etc/cagefs/custom.proxy.commands but it is also not working.
The user is in cagefs and it work if I disable the cagefs.
Code:
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 285 bytes | 285.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Recieved update on checked-out branch, queueing deployment.
remote: [2018-09-09 12:24:12 +0200] warn [uapi] Failed to execute /usr/local/cpanel/cpanel: [I]No such file or directory at /usr/local/cpanel/Cpanel/XML.pm line 114.[/I]
remote: Cpanel::XML::cpanel_exec_fast(HASH(0x8975b0), HASH(0x157a5b8)) called at bin/apitool.pl line 206
remote: bin::apitool::_run_cpanel_function("yaml", HASH(0x8975b0), HASH(0x1579ef8)) called at bin/apitool.pl line 146
remote: bin::apitool::_cpanel_api_handler(__CPANEL_HIDDEN__, HASH(0x1579ef8), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, ARRAY(0x897b20)) called at bin/apitool.pl line 108
remote: bin::apitool::run("VersionControlDeployment", "create", "repository_root=/home2/user/public_html") called at bin/apitool.pl line 37
remote: Failed to execute /usr/local/cpanel/cpanel: No such file or directory at bin/apitool.pl line 209.
To ssh://user.com/home2/user/public_html
d5647f9..2ab73d3 master -> master