Roundcube didnt update on HestiaCP 1.9.7

Roundcube still appears to be stuck at 1.6.16 and did not update to 1.6.17

Running ubuntu 24.04

My debian 12 box updated no problem

Show the output of these commands:

grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
grep rc_v /usr/local/hestia/install/upgrade/upgrade.conf
grep -Po 'disable_functions.*\K(proc_open|system)' "/etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini"

root@web01:~# grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
1.6.16
root@web01:~# grep rc_v /usr/local/hestia/install/upgrade/upgrade.conf
rc_v='1.6.17'
root@web01:~# grep -Po 'disable_functions.*\K(proc_open|system)' "/etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini"
proc_open
root@web01:~#

You must remove proc_open function from disable_functions:

sed -i -E 's/(^disable_functions.*),proc_open(.*$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini

Once done, v-add-sys-roundcube again.

Hi Thanks, not sure why it would been enabled

root@web01:~# sed -i -E 's/(^disable_functions.),proc_open(.$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini
root@web01:~# v-add-sys-roundcube
root@web01:~#

sed -i -E 's/(^disable_functions.*),system(.*$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini

Had to disable system used you one command and just added system

the upgrade then worked flawlessly thanks for your input @sahsanu

Hey i just run this command

grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4

and got

1.6.13 but I’ve updated to 1.9.7 panel how can i update the Roundcube ? and what commands needs to run if i want to update ?

Update:

grep -Po 'disable_functions.*\K(proc_open|system)' "/etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini"
system

the output is system

You must enable system function:

sed -i -E 's/(^disable_functions.*),system(.*$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini

And try again:

v-add-sys-roundcube

If rouncube doesn’t update after that, let me know.

root@wed487:~# sed -i -E 's/(^disable_functions.),system(.$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini
root@wed487:~# v-add-sys-roundcube
root@wed487:~# grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
1.6.13
root@wed487:~#

Execute this (replace admin with your administrator user):

v-add-user-composer admin
cd /var/lib/roundcube/
COMPOSER_ALLOW_SUPERUSER=1 /home/admin/.composer/composer -n update

And try to install again:

v-add-sys-roundcube
grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
root@wed487:~# v-add-user-composer amaster47
Composer already available
root@wed487:~# cd /var/lib/roundcube/
root@wed487:/var/lib/roundcube# COMPOSER_ALLOW_SUPERUSER=1 /home/amaster47/.composer/composer -n update
Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to '1.0.0'. See 

Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 4 updates, 0 removals

Upgrading guzzlehttp/guzzle (7.10.0 => 7.15.1)

Upgrading guzzlehttp/promises (2.3.0 => 2.5.1)

Upgrading guzzlehttp/psr7 (2.8.0 => 2.13.0)

Upgrading symfony/deprecation-contracts (v3.6.0 => v3.7.1)

Locking symfony/polyfill-php80 (v1.37.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 4 updates, 0 removals
proc_open is disabled so 'unzip' and '7z' commands cannot be used, zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Enabling proc_open and installing 'unzip' or '7z' (21.01+) may remediate them.

Downloading symfony/polyfill-php80 (v1.37.0)

Downloading symfony/deprecation-contracts (v3.7.1)

Downloading guzzlehttp/psr7 (2.13.0)

Downloading guzzlehttp/promises (2.5.1)

Downloading guzzlehttp/guzzle (7.15.1)

Installing symfony/polyfill-php80 (v1.37.0): Extracting archive

Upgrading symfony/deprecation-contracts (v3.6.0 => v3.7.1): Extracting archive

Upgrading guzzlehttp/psr7 (2.8.0 => 2.13.0): Extracting archive

Upgrading guzzlehttp/promises (2.3.0 => 2.5.1): Extracting archive

Upgrading guzzlehttp/guzzle (7.10.0 => 7.15.1): Extracting archive
Package pear/console_commandline is abandoned, you should avoid using it. No replacement was suggested.
Package pear/net_socket is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
5 packages you are using are looking for funding.
Use the composer fund command to find out more!
No security vulnerability advisories found.
root@wed487:/var/lib/roundcube# v-add-sys-roundcube
root@wed487:/var/lib/roundcube# grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
1.6.13
root@wed487:/var/lib/roundcube#


You must enable proc_open too, I don’t know why this command didn’t show it:

grep -Po 'disable_functions.*\K(proc_open|system)' "/etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini"

Anyway:

sed -i -E 's/(^disable_functions.*),proc_open(.*$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini
cd /var/lib/roundcube/
COMPOSER_ALLOW_SUPERUSER=1 /home/admin/.composer/composer -n update
v-add-sys-roundcube
grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut

i get this output

grep -Po 'disable_functions.*\K(proc_open|system)' "/etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini"
grep: /etc/php/8.3
8 2
026
9:1
3:0/cli/php.ini: No such file or directory

It’s because the forum modified it:

grep -Po '^disable_functions.*\K(proc_open|system)' "/etc/php/$(php -v | head -n1 | grep -o '[0-9]\.[0-9]')/cli/php.ini"

Still getting the same version

root@wed487:/var/lib/roundcube# grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
1.6.13
root@wed487:/var/lib/roundcube# sed -i -E 's/(^disable_functions.),proc_open(.$)/\1\2/' /etc/php/$(php -v | head -n1 | grep -o '[0-9].[0-9]')/cli/php.ini
cd /var/lib/roundcube/
COMPOSER_ALLOW_SUPERUSER=1 /home/amaster47/.composer/composer -n update
v-add-sys-roundcube
grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut
Composer could not detect the root package (roundcube/roundcubemail) version, defaulting to '1.0.0'. See 

Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Writing lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package pear/console_commandline is abandoned, you should avoid using it. No replacement was suggested.
Package pear/net_socket is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
5 packages you are using are looking for funding.
Use the composer fund command to find out more!
No security vulnerability advisories found.
cut: you must specify a list of bytes, characters, or fields
Try 'cut --help' for more information.
root@wed487:/var/lib/roundcube# grep RCMAIL_VERSION /var/lib/roundcube/program/include/iniset.php | cut -d "'" -f 4
1.6.13
root@wed487:/var/lib/roundcube#


oh it worked thanks