DirectAdmin 1.699

fln

Administrator
Staff member
Joined
Aug 30, 2021
Messages
1,330
We are happy to announce the release of DirectAdmin 1.699.

A full release change log is here:

DirectAdmin 1.699


The update should be automatically available for all installations subscribed to the current release channel.

We appreciate all the feedback on forums and issues reported in the ticketing system.

Thanks!
 
After updating I've got 1 server where /webmail isn't working anymore and results in a 403 error. I'll investigate this, but I'd like to know if something changed with this update.
Also phpMyAdmin gives the same 403 when using it with SSO.

My server is running AlmaLinux 10
Another server with Almalinux 8 doesn't have this issue (yet?)
 
Last edited:
There were no changes directly related to the webmail or other webapps.
 
I've got PHP 8.4 as default on this server. On my other server 8.3 is default (and still working). PHP 8.4 got an update, so could that be related?
 
After updating I've got 1 server where /webmail isn't working anymore and results in a 403 error. I'll investigate this, but I'd like to know if something changed with this update.
Also phpMyAdmin gives the same 403 when using it with SSO.

My server is running AlmaLinux 10
Another server with Almalinux 8 doesn't have this issue (yet?)

Investigating the same issue on two servers running OpenLiteSpeed. There is an issue with PHP for webapps. HTML pages under /roundcube/ and /webmail/, /phpmyadmin/ open fine. PHP scripts report 403 error.
 
There are actually changes:

- NEW:

Bash:
[root@server openlitespeed]# grep phpwebapps *.conf
httpd-extprocessors.conf:extProcessor phpwebapps {
httpd-extprocessors.conf:    address                         uds://tmp/lshttpd/lsphpwebapps.sock
httpd-scripthandler.conf:  add lsapi:lsphpwebapps phpwebapps
httpd-webapps-php.conf:  addMIMEType             application/x-httpd-phpwebapps php

- OLD:

Bash:
[root@server openlitespeed]# grep phpwebapps *.conf
httpd-extprocessors.conf:extProcessor lsphpwebapps {
httpd-extprocessors.conf:    address                         uds://tmp/lshttpd/lsphpwebapps.sock
httpd-scripthandler.conf:add lsapi:lsphpwebapps lsphpwebapps
httpd-webapps-php.conf:  addMIMEType             application/x-httpd-lsphpwebapps php

There is something wrong with the setup I believe.

UPDATE: When overwriting /etc/openlitespeed/ to the state before the DA upgrade the web applications start to work again.
 
I also noticed the difference between lsphpwebapps and phpwebapps
I've just tested a rollback to DA stable (1.698), but that doesn't change anything. So it's probably related to the PHP update that was installed as well?

I'll do a rollback for PHP as well now...
 
Thank you for the hints @zEitEr, @JosKlever. The OLS configuration was slightly changed - the PHP handler was renamed from lsphpwebapps to phpwebapp. We will double check and release a fix for it.
 
After doing a rollback to DA stable (1.698) and both PHP 8.4 and 8.5 it still didn't work. I also synced back the changes in openlitespeed_vhost.conf to my customized version and did a rewrite_confs and now webmail is working again.

I still don't understand where the (ls)phpapps change was handled and why it differs between both my servers (or AL8 <-> AL10), but I hope all this information will help you fix this in an update.

I need a break now 😉
 
Related files:

Bash:
httpd-extprocessors.conf
httpd-scripthandler.conf
httpd-webapps-php.conf

when rewriting to old state, PHP applications work fine.

Changes (in my example for PHP 8.5):

- httpd-extprocessors.conf

Bash:
--- old/httpd-extprocessors.conf 2026-04-14 12:54:09.456480044 +0200
+++ new/httpd-extprocessors.conf    2026-04-14 12:58:15.411396760 +0200
@@ -1,8 +1,8 @@
-extProcessor lsphpwebapps {
-    type                            lsapi
-    address                         uds://tmp/lshttpd/lsphpwebapps.sock
+extProcessor phpwebapps {
+    type                            lsapi
+    address                         uds://tmp/lshttpd/lsphpwebapps.sock
     autoStart                       2
-    path                            /usr/local/bin/lsphp
+    path                            /usr/local/php85/bin/lsphp
     runOnStartUp                    3
     extUser                         webapps
     extGroup                        webapps
@@ -21,7 +21,7 @@
     type                            lsapi
     address                         uds://tmp/lshttpd/lsphp85.sock
     autoStart                       1
-    path                            /usr/local/bin/lsphp
+    path                            /usr/local/php85/bin/lsphp
     include                         /etc/openlitespeed/httpd-phplimits.conf
 }

- httpd-scripthandler.conf

Bash:
--- old/httpd-scripthandler.conf 2026-04-14 12:54:09.457480258 +0200
+++ new/httpd-scripthandler.conf    2026-04-14 12:58:15.412396196 +0200
@@ -1,4 +1,4 @@
-scriptHandler{
-add lsapi:lsphp85 php
-add lsapi:lsphpwebapps lsphpwebapps
+scriptHandler {
+  add lsapi:lsphp85 php
+  add lsapi:lsphpwebapps phpwebapps
 }

- httpd-webapps-php.conf

Bash:
--- old/httpd-webapps-php.conf   2026-04-14 12:54:09.457480258 +0200
+++ new/httpd-webapps-php.conf      2026-04-14 12:58:15.412396196 +0200
@@ -1,5 +1,5 @@
   allowBrowse 1
-  addMIMEType             application/x-httpd-lsphpwebapps php
+  addMIMEType             application/x-httpd-phpwebapps php
   addDefaultCharset       off
   phpIniOverride  {
     php_admin_value open_basedir ""
 
Last edited:
Thanks. A new build is pushed out. It fixes the OLS configuration problem for the webapps.
 
The following changes in the fix "DirectAdmin 1.699 d649c07258371f41070706fd8eeeceb5d5c5544c":

Bash:
--- old/httpd-scripthandler.conf 2026-04-14 13:54:39.277495451 +0200
+++ new/httpd-scripthandler.conf    2026-04-14 12:22:54.084538953 +0200
@@ -1,4 +1,4 @@
-scriptHandler {
-  add lsapi:lsphp85 php
-  add lsapi:phpwebapps phpwebapps
+scriptHandler{
+add lsapi:lsphp85 php
+add lsapi:lsphpwebapps lsphpwebapps
 }

confirmed as working on my side now.
 
@zEitEr the actual fix is (custombuild script):
Code:
                        echo 'scriptHandler {'
                        echo "  add lsapi:lsphp${default_php_release//.} php"
-                       echo '  add lsapi:lsphpwebapps phpwebapps'
+                       echo '  add lsapi:phpwebapps phpwebapps'
                        echo '}'

Your post shows the diff between DA 1.699 and DA 1.698. It is visible because in DA 1.698 there were no indentation spaces before add keyword
:).
 
It's working on my server as well, so thanks for that!

Can you explain why my AL10 server was affected and not my AL8 server? Both are running OLS and should have a similar setup.
 
Hi,

After the update, the setting for “Email a copy of all messages” appears empty.

However, email notifications are still being sent correctly whenever a message is created or posted.


IMG_0309.jpeg
 
The users per domain - Usage Log and Error Log viewer div is way to small, the element hight is --> height: 40vh;, should be 70 or atleast 74vh.
 
Back
Top