How to remove background task for installing new php version from isp manager panel using shell / ssh (error 503 periodically)?
If you want to stop the installation process (background panel task) of an additional php version, initiated through the ISP MANAGER panel (lite, host, business versions). For example, if the server does not have access to the update servers and the server is constantly trying to install an additional version of php through the panel, but cannot do so. Because of this, 503 errors start appearing periodically because the server is trying to install, and at the moment when it attempts, error 503 informs visitors that the server is being updated. To fix this, we forcibly delete the panel task from the database via SSH.
BE VERY CAREFUL - you need to know what are you doing -- if not - it will be your own risk!
CREATE DB backup of panel
mysqldump ispmgr > /root/ispmgr_backup.sql
Removing / delete task from database:
1) mysql ispmgr
2) delete from php_install_actions;
3) delete from node2sync;
Exit from mysql
4) Open section "Install PHP" press Delete on required php version.
5) mysql ispmgr
6) delete from php_install_actions;
7) delete from node2sync;
BE VERY CAREFUL - you need to know what are you doing -- if not - it will be your own risk!
You need to do all steps using ssh console / terminal if course under root access level.