I've recently upgraded OpenLitespeed to Litespeed on one of our Hosting servers.
The upgrade process initially failed due to some licensing key issues and Custom build would revert back to Apache & Php-Frm. I resolved this issue with Litespeed.
I installed Litespeed several times, and got errors from Custombuild about Litespeed not being selected, then when I select it it would revert back to Php-Frm and complain about that. I also set the options.conf file manually. But this also did not work out.
Custombuild keeps showing this on the Remove Software tab:
In the end I used the Litespeed script to install it on DirectAdmin.
At first Litespeed's service would not start. Litespeed Support assisted with this and the service now runs as expected.
However Custombuild has not changed it's behaviour. So I can't set PHP versions or update Litespeed using custom build.
Directadmin also reports:
@smtalk Have you seen such behaviour before?
Logfiles:
/usr/local/directadmin/custombuild/custombuild.log
The upgrade process initially failed due to some licensing key issues and Custom build would revert back to Apache & Php-Frm. I resolved this issue with Litespeed.
I installed Litespeed several times, and got errors from Custombuild about Litespeed not being selected, then when I select it it would revert back to Php-Frm and complain about that. I also set the options.conf file manually. But this also did not work out.
Bash:
cd /usr/local/directadmin/custombuild
./build update
./build set webserver litespeed
./build set php1_mode lsphp
./build set php2_mode no
./build set php3_mode no
./build set php4_mode no
./build litespeed
./build php n
Custombuild keeps showing this on the Remove Software tab:
LiteSpeed | LiteSpeed is installed, but not enabled |
PHP 7.3 | PHP 7.3 is installed, but not enabled |
In the end I used the Litespeed script to install it on DirectAdmin.
Bash:
bash <( curl https://get.litespeed.sh ) my-license-key-went-here
However Custombuild has not changed it's behaviour. So I can't set PHP versions or update Litespeed using custom build.
Directadmin also reports:
The service 'php-fpm72' on server 21.atservice.co.za is currently down
What I've done to try and resolve this:- If I select php mode lsphp it complains that litespeed is not enabled.
- If I select litespeed it complains that php-frm is not compatible.
- If I change options.conf by hand it is changed in the background while I edit it and after I save it.
@smtalk Have you seen such behaviour before?
Logfiles:
/usr/local/directadmin/custombuild/custombuild.log
Code:
2020-10-15 17:45:13 : Apache 2.4.46 installed
2020-10-15 17:45:44 : LiteSpeed 5.4.10 installed
2020-10-15 17:45:47 : called: litespeed
2020-10-15 19:20:11 : LiteSpeed removed
2020-10-15 19:20:12 : LiteSpeed removed
2020-10-15 19:20:12 : LiteSpeed removed
2020-10-15 19:20:13 : PHP 5.6 removed
2020-10-15 19:20:13 : LiteSpeed removed
2020-10-15 19:20:13 : LiteSpeed removed
2020-10-15 19:20:14 : PHP 7.2 removed
2020-10-15 19:20:14 : PHP 7.2 removed
2020-10-15 19:20:14 : PHP 7.2 removed
2020-10-15 19:20:15 : PHP 7.4 removed
2020-10-15 19:20:15 : PHP 7.4 removed
2020-10-15 19:20:15 : PHP 7.4 removed
2020-10-15 19:20:15 : PHP 7.4 removed
2020-10-15 19:23:38 : Apache 2.4.46 installed
2020-10-15 19:23:39 : called: apache
2020-10-15 19:28:21 105.244.33.249: Apache 2.4.46 installed
2020-10-15 19:28:50 105.244.33.249: LiteSpeed 5.4.10 installed
2020-10-15 19:28:53 105.244.33.249: called: litespeed
2020-10-15 19:38:57 : Apache 2.4.46 installed
2020-10-15 19:38:59 : called: apache
2020-10-15 19:39:05 105.244.33.249: Apache 2.4.46 installed
2020-10-15 19:39:38 105.244.33.249: LiteSpeed 5.4.10 installed
2020-10-15 19:39:42 105.244.33.249: called: litespeed
2020-10-15 19:57:19 : Apache 2.4.46 installed
2020-10-15 19:57:21 : called: apache
2020-10-15 20:02:42 : Apache 2.4.46 installed
2020-10-15 20:02:43 : called: apache
2020-10-15 20:05:42 : Apache 2.4.46 installed
2020-10-15 20:05:43 : called: apache
2020-10-15 20:06:09 105.244.33.249: Apache 2.4.46 installed
2020-10-15 20:06:21 105.244.33.249: LiteSpeed 5.4.10 installed
2020-10-15 20:06:22 105.244.33.249: called: litespeed
2020-10-15 19:38:57 : Apache 2.4.46 installed
2020-10-15 19:38:59 : called: apache
2020-10-15 19:39:05 105.244.33.249: Apache 2.4.46 installed
2020-10-15 19:39:38 105.244.33.249: LiteSpeed 5.4.10 installed
2020-10-15 19:39:42 105.244.33.249: called: litespeed
2020-10-15 19:57:19 : Apache 2.4.46 installed
2020-10-15 19:57:21 : called: apache
2020-10-15 20:02:42 : Apache 2.4.46 installed
2020-10-15 20:02:43 : called: apache
2020-10-15 20:05:42 : Apache 2.4.46 installed
2020-10-15 20:05:43 : called: apache
2020-10-15 20:06:09 105.244.33.249: Apache 2.4.46 installed
2020-10-15 20:06:21 105.244.33.249: LiteSpeed 5.4.10 installed
2020-10-15 20:06:22 105.244.33.249: called: litespeed
2020-10-15 21:24:15 105.244.33.248: secure_phpini: /usr/local/php73/lib/php.ini secured
2020-10-15 21:24:17 105.244.33.248: called: rewrite_confs
Last edited: