After recent Roundcube Update from 1.5.2 to 1.6.15 i see the following errors in When accessing Roundcube via https://mydomain.com/webmail/ shows error message when trying to load some email messages: Oops... something went wrong! An internal error has occurred. Your request cannot be processed at this time. For administrators: Please check the application and/or server error logs for more information. MAIL ERROR LOG dovecot: auth-worker(25324): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (111) - waiting for 25 seconds before retry ls -la /opt/roundcube total 13472 drwxr-xr-x 13 www-data www-data 4096 Apr 29 14:04 . drwxr-xr-x 4 root root 4096 Sep 3 2025 .. -rw-r--r-- 1 www-data www-data 2552 Dec 29 2021 .htaccess -rw-r--r-- 1 root root 2357 Apr 29 14:04 .htaccess.new -rw-r--r-- 1 1000 1000 219316 Mar 29 04:48 CHANGELOG.md -rw-r--r-- 1 1000 1000 12714 Mar 29 04:48 INSTALL -rw-r--r-- 1 1000 1000 35147 Mar 29 04:48 LICENSE -rw-r--r-- 1 1000 1000 3853 Mar 29 04:48 README.md -rw-r--r-- 1 www-data www-data 967 Dec 29 2021 SECURITY.md drwxr-xr-x 7 1000 1000 4096 Mar 29 04:48 SQL -rw-r--r-- 1 1000 1000 4657 Mar 29 04:48 UPGRADING drwxr-xr-x 2 1000 1000 4096 Mar 29 04:48 bin -rw-r--r-- 1 www-data www-data 1118 May 8 11:48 composer.json -rw-r--r-- 1 1000 1000 1123 Mar 29 04:48 composer.json-dist -rw-r--r-- 1 www-data www-data 105539 Dec 29 2021 composer.lock -rwxr-xr-x 1 root root 2810737 Nov 22 2022 composer.phar drwxr-xr-x 2 www-data www-data 4096 May 8 14:49 config -rw-r--r-- 1 1000 1000 11209 Mar 29 04:48 index.php drwxr-xr-x 3 1000 1000 4096 Mar 29 04:48 installer drwxr-xr-x 2 www-data www-data 4096 May 8 14:35 logs drwxr-xr-x 46 1000 1000 4096 Mar 29 04:48 plugins drwxr-xr-x 8 1000 1000 4096 Mar 29 04:48 program drwxr-xr-x 3 www-data www-data 4096 Nov 21 2022 public_html -rw-r--r-- 1 root root 10493674 Oct 28 2023 roundcube152.tar.gz drwxr-xr-x 5 1000 1000 4096 Mar 29 04:48 skins drwxr-xr-x 2 www-data www-data 12288 May 4 07:41 temp drwxr-xr-x 14 www-data www-data 4096 Nov 21 2022 vendor Looking for advice from community to fix the error from mail error log?
After installing php7.4-ldap: apt-get install php7.4-ldap and running composer update: composer update --no-dev issue is now resolved.