I have been struggling to restore functionality of webmail, I already have tried to change ownership and permissions of roundcube and no luck, I reinstalled roundcube and snappymail through the v-add-sys-* CLI commands and still no luck, I believe the issue started after upgrade from php8.1 to 8.2 but downgrade has also not worked… not sure I followed the right steps at the right order…
This is the output after running the following command:
/var/lib/roundcube/bin/update.sh
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/program/include/clisetup.php(25): require_once('...')
#2 /var/lib/roundcube/bin/update.sh(23): require_once('...')
#3 {main}
thrown in /var/lib/roundcube/program/lib/Roundcube/bootstrap.php on line 86
Fatal error: Please check the Roundcube error log and/or server error logs for more information.
Yes please that would be helpful, I tried to delete roundcube and snappymail dbs and db users through phpmyadmin and then run v-add-sys-roundcube/v-add-sys-snappymail but maybe I missed something.
btw, here is a screenshot of the webmail error screen just for reference:
tar pzcf /root/backup_rouncube/backup_roundcube_2023-12-29.tar.gz /etc/roundcube /var/lib/roundcube /var/log/roundcube
and got this output:
tar: Removing leading `/' from member names
tar (child): /root/backup_rouncube/backup_roundcube_2023-12-29.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Removing leading `/' from hard link targets
tar: /root/backup_rouncube/backup_roundcube_2023-12-29.tar.gz: Cannot write: Broken pipe
tar: Child returned status 2
tar: Error is not recoverable: exiting now