Fatal error with Roundcube update and lost websites access

Hello,

I need some help, I found a fatal error with Roundcube’s update (and lost access to my websites).

# cat /root/hst_backups/121220220413/hst-upgrade-121220220413.log
=============================================================================
Hestia Control Panel Software Update Log
=============================================================================

OPERATING SYSTEM:      Ubuntu (20.04)
CURRENT VERSION:       1.6.13
NEW VERSION:           1.6.14
RELEASE BRANCH:        release
BUILD TYPE:            Production release

[ ! ] Roundcube: Updates are currently managed using the apt package manager
      To upgrade to the latest version of Roundcube directly from upstream, from please run the command migrate_roundcube.sh located in: /usr/local/hestia/install/upgrade/manual/
[…]

[email protected]:~# cd /usr/local/hestia/install/upgrade/manual/
[email protected]:/usr/local/hestia/install/upgrade/manual# ll
total 68
drwxrwxr-x 2 root root 4096 Dec 12 04:13 ./
drwxrwxr-x 4 root root 4096 Dec 12 04:13 ../
-rwxr-xr-x 1 root root 2278 Dec 11 12:19 migrate_roundcube.sh*
[…]
[email protected]:/usr/local/hestia/install/upgrade/manual# ./migrate_roundcube.sh
To remove Roundcube you will need use the root password. Password can be found in /usr/local/hestia/conf/mysql.conf
Would you like to continue? [y/n]y
[ * ] Remove Roundcube via ATP
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  fonts-glyphicons-halflings libapache2-mod-php libc-ares2 libjs-bootstrap libjs-bootstrap4 libjs-codemirror libjs-jquery-minicolors libjs-jquery-ui libjs-jstimezonedetect
  libjs-popper.js libnode64 node-jquery nodejs nodejs-doc php-auth-sasl php-mail-mime php-masterminds-html5 php-net-sieve php-net-smtp php-net-socket php8.0-mysql roundcube-core
  roundcube-mysql roundcube-plugins
0 upgraded, 0 newly installed, 24 to remove and 0 not upgraded.
After this operation, 65.5 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 135705 files and directories currently installed.)
Removing libjs-bootstrap (3.4.1+dfsg-1) ...
Removing fonts-glyphicons-halflings (1.009~3.4.1+dfsg-1) ...
dpkg: warning: while removing fonts-glyphicons-halflings, directory '/usr/share/fonts/truetype/glyphicons' not empty so not removed
Removing roundcube-plugins (1.4.3+dfsg.1-1) ...
Removing roundcube-core (1.4.3+dfsg.1-1) ...
Determining localhost credentials from /etc/mysql/debian.cnf: failed (no client section).
Conf roundcube disabled.
apache2_invoke postrm: Disable configuration roundcube.conf
Removing libapache2-mod-php (2:8.2+93+ubuntu20.04.1+deb.sury.org+2) ...
Removing node-jquery (3.4.0+dfsg-1) ...
Removing nodejs (10.19.0~dfsg-3ubuntu1) ...
Removing libnode64:amd64 (10.19.0~dfsg-3ubuntu1) ...
Removing libc-ares2:amd64 (1.15.0-1ubuntu0.1) ...
Removing libjs-bootstrap4 (4.4.1+dfsg1-2) ...
Removing libjs-codemirror (5.51.0-1) ...
Removing libjs-jquery-minicolors (2.2.6+dfsg-3) ...
Removing libjs-jquery-ui (1.12.1+dfsg-5) ...
Removing libjs-jstimezonedetect (1.0.6-4) ...
Removing libjs-popper.js (1.16.0+ds2-1) ...
Removing nodejs-doc (10.19.0~dfsg-3ubuntu1) ...
Removing php-auth-sasl (1.0.6-3) ...
Removing php-mail-mime (1.10.6-1) ...
Removing php-masterminds-html5 (2.7.0+dfsg-3) ...
Removing php-net-sieve (1.4.1-1) ...
Removing php-net-smtp (1.9.0-1) ...
Removing php-net-socket (1.0.14-2) ...
Removing roundcube-mysql (1.4.3+dfsg.1-1) ...
Removing php8.0-mysql (1:8.0.26-1+ubuntu20.04.1+deb.sury.org+1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for php8.0-fpm (1:8.0.26-1+ubuntu20.04.1+deb.sury.org+1) ...
NOTICE: Not enabling PHP 8.0 FPM by default.
NOTICE: To enable PHP 8.0 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.0-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...
[ * ] Delete possible trail
Executing database schema update.
Fatal error: Please check the Roundcube error log and/or server error logs for more information.

I have lost too access to the website that are installed to this server.

What can I do to retrieve Roundcube and my websites?

Thanks.

apt install php8.0-mysql

Should restore all websites again

v-add-sys-roundcube

Should reinstall roundcube

Thank you eris. I try for Roundcube tomorrow. The websites are back because I have switch to fpm 8.1 until your solution.

Thanks again et merry christmass to you and all the team. Big up to HestiaCP. The best CP in the world…

# v-add-sys-roundcube
Error: Installed version (1.6.0) is equal to the available version (1.6.0)

Finally I test the webmail, and all seem to work. Very nice new!

HestiaCP <3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.