DirectAdmin 1.702

fln

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

A full release change log is here:

DirectAdmin 1.702


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!
 
The new Exim configuration has direct integration with spam-checking services. Using Easy Spam Fighter is no longer mandatory. Key benefits of the new configuration structure..

Is it not better to remove (automaticly) the ESF with this version then ?
 
Last edited:
Is it not better to remove the ESF with this version then ?

The ESF provides not only the spam filtering integration (rspamd or spamassassin). It has it's own checks and scoring system and whitelisting system. Some servers might rely on them and complete ESF removal would be a breaking change.

The long term goal is to gradually eliminate the parts of ESF that are covered by the spam filtering services (rpsamd or spamassassin) and merge the remaining ESF into configurable Exim features.
 
1. PHP 8.1 and PHP 7.4 do not compile on servers with LiteSpeed and OpenLiteSpeed:

PHP 7.4:

Bash:
patching file sapi/litespeed/lsapi_main.c
Hunk #1 FAILED at 1738.
1 out of 1 hunk FAILED -- saving rejects to file sapi/litespeed/lsapi_main.c.rej
patching file sapi/litespeed/lsapilib.c
Hunk #1 succeeded at 2196 (offset -3 lines).
Hunk #2 succeeded at 2380 (offset -3 lines).
Hunk #3 succeeded at 2625 (offset -3 lines).
patching file sapi/phpdbg/phpdbg_cmd.c
patching file sapi/phpdbg/phpdbg_prompt.c
patching file sapi/phpdbg/phpdbg_utils.c
patching file win32/sendmail.c
patching file NEWS
patch_dir_apply: failed to apply '/usr/local/directadmin/custombuild/patches/php-7.4/136-php-cve-2026-7258.patch' patch

There is no custom configure.php74 on the servers.

PHP 8.4:

Bash:
patching file sapi/fpm/fpm/fpm_conf.c
patching file sapi/litespeed/lsapi_main.c
Hunk #1 FAILED at 1707.
1 out of 1 hunk FAILED -- saving rejects to file sapi/litespeed/lsapi_main.c.rej
patching file sapi/litespeed/lsapilib.c
Hunk #1 succeeded at 2196 (offset -46 lines).
Hunk #2 succeeded at 2380 (offset -46 lines).
Hunk #3 succeeded at 2625 (offset -46 lines).
patching file sapi/phpdbg/phpdbg_cmd.c
patching file sapi/phpdbg/phpdbg_prompt.c
patching file sapi/phpdbg/phpdbg_utils.c
patching file win32/sendmail.c
patching file NEWS
patch_dir_apply: failed to apply '/usr/local/directadmin/custombuild/patches/php-8.1/107-php-cve-2026-7258.patch' patch

2. RoundCube installation issue:

Bash:
sh: line 1: /var/www/webapps/roundcubemail-1.7.0-mR5z/bin/initdb.sh: Permission denied

There aren't restrictions on executing *.sh under /var/www/, as it is a part of the root "/" partition.

Bash:
Filesystem     Type      Size  Used Avail Use% Mounted on
devtmpfs       devtmpfs  4.0M     0  4.0M   0% /dev
tmpfs          tmpfs     1.8G  260K  1.8G   1% /dev/shm
tmpfs          tmpfs     732M  2.1M  730M   1% /run
/dev/sda1      ext4       30G   25G  4.0G  87% /
tmpfs          tmpfs     366M     0  366M   0% /run/user/1002

3. MariaDB 10.6.26 is missing on DirectAdmin servers:

Bash:
download_cached: using cached '/usr/local/directadmin/custombuild/cache/MariaDB-client-10.6.26-1.el8.x86_64.rpm' file
download_cached: downloading 'https://mirror.mariadb.org/yum/10.6/centos/8/x86_64/rpms/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/cache/MariaDB-devel-10.6.26-1.el8.x86_64.rpm'
#=#=-#  #
curl: (7) Failed to connect to distrohub.kyiv.ua port 443: Connection timed out
safe_download: downloading 'https://mirror.mariadb.org/yum/10.6/centos/8/x86_64/rpms/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.gJZ4flVLaZ.safe_download' failed (0/3)
#=#=#
curl: (22) The requested URL returned error: 404
safe_download: downloading 'https://files.directadmin.com/cache/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.gJZ4flVLaZ.safe_download' failed (0/3)
#=#=-#  #
curl: (7) Failed to connect to distrohub.kyiv.ua port 443: Connection timed out
safe_download: downloading 'https://mirror.mariadb.org/yum/10.6/centos/8/x86_64/rpms/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.gJZ4flVLaZ.safe_download' failed (1/3)
#=#=#
curl: (22) The requested URL returned error: 404
safe_download: downloading 'https://files.directadmin.com/cache/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.gJZ4flVLaZ.safe_download' failed (1/3)
#=#=-#  #
curl: (7) Failed to connect to distrohub.kyiv.ua port 443: Connection timed out
safe_download: downloading 'https://mirror.mariadb.org/yum/10.6/centos/8/x86_64/rpms/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.gJZ4flVLaZ.safe_download' failed (2/3)
#=#=#
curl: (22) The requested URL returned error: 404
safe_download: downloading 'https://files.directadmin.com/cache/MariaDB-devel-10.6.26-1.el8.x86_64.rpm' to '/usr/local/directadmin/custombuild/tmp/tmp.gJZ4flVLaZ.safe_download' failed (2/3)
 
Last edited:
  • Like
Reactions: fln
sh: line 1: /var/www/webapps/roundcubemail-1.7.0-mR5z/bin/initdb.sh: Permission denied

Fixed by:

Code:
chmod 755 /var/www/webapps/

The permissions used to be 750:

Bash:
# ls -lda /var/www/webapps/
drwxr-x--- 2 root root 4096 May 19 16:14 /var/www/webapps/
 
Thanks @zEitEr. A new build is released with the following changes:

1. RoundCube installer will make sure /var/html/webapps directory have fixed permissions, it used to depend on user umask.
2. Fixed PHP patches order to resolve the conflict with lsapi for PHP 7.4, PHP 8.0 and PHP 8.1

The files.directadmin.com mirror automatically gets new files only a couple of days after release and MariaDB pushed out new versions only yesterday. Anyway we manually uploaded the RPMs for now.
 
Is it not better to remove (automaticly) the ESF with this version then ?
No thank you. We got custom strings.conf.custom and variables.conf.custom in place from which we would like the values to keep working. As I guess do a lot more people.
As soon as they can be customized in future exim implementations of ESF, it won't be a problem anymore to remove ESF.
 
When you want to save /usr/local/directadmin/conf/directadmin.conf via the editor and need the root password, nothing happens when you enter it and save. You then have to save again.
 
  • Like
Reactions: fln
I get an error message briefly popping up in the bottom right corner when, as an admin, I go to "Modify User" for a user account:
Cannot Execute Your Request
Unable to read package newpackage
It has happened between these two versions:
1.701 a0abdae71aef6e273591b4b62af5fb50d144fab1
1.702 051043a8ebc1db65f466dff095793648cc7afb5b

Edit: I also get the same error message when I click on "Save" next to "Set package to".
 
  • Like
Reactions: fln
Back
Top