After Upgrading from EA3 to EA4, My LiteSpeed Web Server is Randomly Switching To Apache

After migrating from EA3 to EA4, my LiteSpeed Web Server is randomly switching to Apache on its own.

This is caused by running the EA3 to EA4 upgrade while running LiteSpeed Web Server. To avoid this, you must switch to Apache before doing so. After the migration completes, you can switch back to LiteSpeed. Missing this step may cause the above issue due to the script being overwritten during the migration. We are working with cPanel to improve this process at the moment.

To fix this issue, please run the following from command line:

/usr/local/lsws/admin/misc/cp_switch_ws.sh apache
/usr/local/lsws/admin/misc/cp_switch_ws.sh lsws