Upgrade to RoundCube Mail Version 1.5.0 on CWP – Centos Web Panel

by Sandeep B.

Update Roundcube on CWP – we’ll update the roundcube mail to latest version, The new Version of Roundcube 1.4 have clear Interface with modern look also in this version some major security holes were fixed. It is recommended to update the roundcube to latest version. Under latest version you can also configure calendar plugin faultlessly which are available on roundcube plugins site.

You can also update roundcube via this command in cwp server upti version 1.4.xx only for now:

sh /scripts/mail_roundcube_update

For manual update to latest version follow this steps :

Lets get started with the tutorial, difficulty level is easy.


Install Required php extension INTL in CWP :-

Centos 7 :
To install INTL :

curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix.sh | bash

To remove INTL :

curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix_remove.sh | bash

Centos 8 :
To install INTL :

curl -s -L https://www.mysterydata.com/upload/tmp/el8/cwp_rc_fix_el8.sh | bash

To remove INTL :

curl -s -L https://www.mysterydata.com/upload/tmp/cwp_rc_fix_remove.sh | bash

Step 2

Download roundcube script from official source :

cd /usr/local/src
rm -rf roundcube*
wget https://github.com/roundcube/roundcubemail/releases/download/1.5.0/roundcubemail-1.5.0-complete.tar.gz

Now extract the archive file :

tar xf roundcubemail-1.5.0-complete.tar.gz

Step 3

Update the Roundcube installation :

cd  roundcubemail-1.5.0
bin/installto.sh /usr/local/cwpsrv/var/services/roundcube

Installation Instructions :

Upgrading from 1.2.3. Do you want to continue? (y/N)
type : y and hit enter 

At last you’ll see this message upon installation complete :

Running update script at target...
Executing database schema update.
Updating database schema (2016081200)... [OK]
Updating database schema (2016100900)... [OK]
Updating database schema (2016112200)... [OK]
Updating database schema (2018021600)... [OK]
This instance of Roundcube is up-to-date.
Have fun!
All done.

All done check by login into roundcube

If this post helps you in any way please consider a donation

Donate with PayPal :


You may also like


Jack October 19, 2018 - 1:07 pm

Just update in 1 minute.

Jassmin October 27, 2018 - 12:42 pm

its not working after the installation = connection to server storage faild !!!

Sandy October 28, 2018 - 8:18 pm

ensure dovecot service is running

Sherwali Mayar January 27, 2019 - 7:31 am

Thank you, worked for me

George February 9, 2020 - 1:19 pm

Does this work for vestacp as well? On centos 7.7.
I see that vestacp installed for me v1.1.12 and it doesn’t work

Sandeep B. February 10, 2020 - 8:59 am

hi this tutorial is for CWP for Vesta I’ll look into it and create a new post

George February 10, 2020 - 9:25 am

In my case I did:
wget -c https://github.com/roundcube/roundcubemail/releases/download/1.4.2/roundcubemail-1.4.2-complete.tar.gz
tar xzf roundcubemail-1.4.2-complete.tar.gz
cd roundcubemail-1.4.2-complete/bin
chmod +x installto.sh
./installto.sh /usr/share/roundcubemail
chown -R nginx:nginx /usr/share/roundcubemail

But it failed because the /config folder didn’t exist there it was in

So I had to copy the /etc/roundcubemail to /usr/share/roundcubemail/config
and now it works with vestacp in centos 7.7!
Is there any more optimal way so it will detect the config in its original location?

Sandeep B. February 10, 2020 - 11:28 am

basically remi repo is providing the latest roundcube you need to just run
yum update
yum install roundcubemail --enablerepo=remi
yum update roundcubemail --enablerepo=remi

George February 11, 2020 - 7:55 am

Yeap this worked!
Dunno why the repo wasn’t installed by default though. I couldn’t work with RC 1.1.12 and it was a recent install of both vps and vesta.

George March 26, 2020 - 12:14 pm

The yum update -y doesn’t update the remi repo? Cause today i’ve noticed that there is v 1.4.3 for a few days now and even though I check for updates daily, it never pop up! Also in my case roundcube didn’t work correctly so I had to remove it (kept back up of the config) with yum remove roundcubemail and then used your command yum install roundcubemail –enablerepo=remi because the yum install roundcubemail command was still giving the 1.1.12!

Holbi June 17, 2020 - 1:31 pm


Thanks for the great tutorial.
I am running 7 different VPS with CWP Pro, and I did not find the way to put force SSL for the webmail like webmail.yourdomain.com
The new version of CWP Pro give us possibility to create SSL certificate for the webmail.yourdomain.com type webmail alias, but the force HTTPS for this alias I did not found.
Modifying .htaccess file for the webmail service did not redirect the http to the https.
What you suggest?

Sandeep B. June 18, 2020 - 7:11 pm

enable nginx force https template from webserver main config.


Leave a Comment