Search our documentation...

Simply enter what you are looking for!

Update error : /usr/local/cpanel/3rdparty/php/54/bin/php-cgi No such file or directory

cPanel removed PHP 5.4 for their internal PHP.
JetBackup core files updated accordingly to use the new PHP.

If for some reason the update process returns the following error –

[19/Sep/2016 12:03:24 +0300] JBM Version 3.0.94
[19/Sep/2016 12:03:24 +0300] Force flag is on
[19/Sep/2016 12:03:24 +0300] Starting system update...
[19/Sep/2016 12:03:24 +0300] Current system version is 3.0.94
[19/Sep/2016 12:03:24 +0300] Retrieving remote version...DONE - 3.0.95
[19/Sep/2016 12:03:25 +0300] Checking versions...DONE
[19/Sep/2016 12:03:25 +0300] Retrieving update from remote server...DONE
[19/Sep/2016 12:03:27 +0300] Unpack update file...DONE
[19/Sep/2016 12:03:28 +0300] Upgrading plugin...sh: /usr/local/cpanel/3rdparty/php/54/bin/php-cgi: No such file or directory
FAILED
[19/Sep/2016 12:03:28 +0300] Removing update temporary files...DONE
[19/Sep/2016 12:03:28 +0300] Notifing the Administrator...

Use the following workaround –

ln -s /usr/local/cpanel/3rdparty/php/56/bin/php-cgi /usr/local/cpanel/3rdparty/php/54/bin/php-cgi
jbmcli -vR update
rm -f /usr/local/cpanel/3rdparty/php/54/bin/php-cgi

Output from a live server server –

root@server [~]# ln -s /usr/local/cpanel/3rdparty/php/56/bin/php-cgi /usr/local/cpanel/3rdparty/php/54/bin/php-cgi
root@server [~]# jbmcli -vR update

[19/Sep/2016 12:09:15 +0300] JBM Version 3.0.94
[19/Sep/2016 12:09:15 +0300] Starting system update...
[19/Sep/2016 12:09:15 +0300] Current system version is 3.0.94
[19/Sep/2016 12:09:15 +0300] Retrieving remote version...DONE - 3.0.95
[19/Sep/2016 12:09:15 +0300] Checking versions...DONE
[19/Sep/2016 12:09:15 +0300] Retrieving update from remote server...DONE
[19/Sep/2016 12:09:17 +0300] Unpack update file...DONE
[19/Sep/2016 12:09:18 +0300] Upgrading plugin...DONE

[ ... ]

[19/Sep/2016 12:09:54 +0300] Upgraded Successfully
[19/Sep/2016 12:09:54 +0300] Removing update temporary files...DONE
[19/Sep/2016 12:09:54 +0300] Automatic Update Completed Successfully
[19/Sep/2016 12:09:54 +0300] Notifing the Administrator...
root@server [~]# rm -f /usr/local/cpanel/3rdparty/php/54/bin/php-cgi