Upgrade round cube 1.16.11

i have this error on php the server is on OCI when i try to upgrade Roundcube

thanks

The error is clear, the default PHP version in your system is 8.0 but Roundcube 1.7.x requires PHP 8.1 or superior. You could change the default PHP version in Hestia but I don’t know how many domains you have using the default PHP version that could be affected if you change the default version.

i have try to change php but don’t work i have only one domain with mail configurated

php ver

i have change also in web interface php

Show the output of these commands:

v-list-sys-php plain
v-list-default-php plain

command not found

Use the full path:

/usr/local/hestia/bin/v-list-sys-php plain
/usr/local/hestia/bin/v-list-default-php plain

root@hcp:/home/ubuntu# /usr/local/hestia/bin/v-list-sys-php plain
8.0
8.1
root@hcp:/home/ubuntu# /usr/local/hestia/bin/v-list-default-php plain
8.0

Change the default PHP with this command:

/usr/local/hestia/bin/v-change-sys-php 8.1

And after that, try to update Roundcube.

work

but for the next versions of hestiacp this upgrade will not give any problems

thank you very much

It shouldn’t, PR to add support to Roundcube 1.7.x was merged two weeks ago so it shouldn be a problem even if Hestia uses by default 1.6.x in upgrade.conf file instead of 1.7.x.