The title says it all. I installed the CP on a new server but got shocked when webmail isn’t working on any OS …! Debians 10 and 11 nor ubuntu versions 20 and 22
page isnt opening != not working. Page doesnt open due to what? Timeout? Gateway Error? DNS Issue? Blank page only? Error message? Its impossible to help you if you dont provide more informations.
This is what I want to know and tried everything possible. Then, decided to share it here hoping someone might have an idea to overcome this problem as shown in the still image below:
2022/10/11 16:01:53 [error] 160290#160290: *104982 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /var/lib/roundcube/program/lib/Roundcube/bootstrap.php:86
Stack trace:
#0 /var/lib/roundcube/program/include/iniset.php(78): require_once()
#1 /var/lib/roundcube/index.php(40): require_once('...')
#2 {main}
thrown in /var/lib/roundcube/program/lib/Roundcube/bootstrap.php on line 86" while reading response header from upstream, client: 78.23.1.117, server: webmail.domain.com, request: "GET /?_task=mail&_mbox=INBOX HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "webmail.domain.com"
/var/log/roundcube/errors.log file
[10-Oct-2022 12:07:46 +0300]: <gsmgr6lc> PHP Error: Invalid response code received from server (POST /?_task=mail&_unlock=loading1665392866227&_framed=1&_action=send)
[10-Oct-2022 12:07:46 +0300]: <gsmgr6lc> SMTP Error: Failed to add recipient '[email protected]': Temporary local problem - please try later (Code: 451) in /var/lib/roundcube/program/lib/Roundcube/rcube.php on line 1795 (POST /?_task=mail&_unlock=loading1665392866227&_framed=1&_action=send)
[10-Oct-2022 12:14:07 Europe/Moscow] PHP Warning: Undefined array key "ssl_mode" in /var/lib/roundcube/program/lib/Roundcube/rcube_imap_generic.php on line 1053
Looks like mbstring module is missing, also reinstall hestia isnt a great idea - you can try to install it, but it depends on the php version used for www.conf. You can find it when you search the file in /etc/php/x.x/fpm/pool.d/ (or similar, on mobile right now). Maybe, as you’ve reinstalled hestia over it, it would be faster to take backups, format the server, install hestia and restore the backups.