Upgrade to RoundCube Mail Version 1.4.2 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.3 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 :

sh /scripts/mail_roundcube_update

For manual update follow this steps :

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

Step 1

Download roundcube script from official source :

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

Now extract the archive file :

tar xf roundcubemail-1.4.2-complete.tar.gz

Step 2

Update the Roundcube installation :

cd  roundcubemail-1.4.2
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 :

md-donate

Donate with Paytm :

md-donate

You may also like

10 comments

Jack October 19, 2018 - 1:07 pm

Nice!!!
Just update in 1 minute.

Reply
Jassmin October 27, 2018 - 12:42 pm

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

Reply
Sandy October 28, 2018 - 8:18 pm

ensure dovecot service is running

Reply
Sherwali Mayar January 27, 2019 - 7:31 am

Thank you, worked for me

Reply
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

Reply
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

Reply
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
/etc/roundcubemail

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?

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

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

Reply
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.
Thanks!

Reply
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!

Reply

Leave a Comment