Upgrade to RoundCube Mail Version 1.5.0 on CWP – Centos Web Panel
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 up-to 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.
Step1
Install Required php extension INTL in CWP :-
Centos 7 :
To install INTL :
yum update ca-certificates -y curl -s -L https://www.uxlinux.com/upload/tmp/cwp_rc_fix.sh | bash
To remove INTL :
curl -s -L https://www.uxlinux.com/upload/tmp/cwp_rc_fix_remove.sh | bash
Centos 8 :
To install INTL :
dnf update ca-certificates -y curl -s -L https://www.uxlinux.com/upload/tmp/el8/cwp_rc_fix_el8.sh | bash
To remove INTL :
curl -s -L https://www.uxlinux.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
Hello SANDEEP B.
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?
enable nginx force https template from webserver main config.
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
hi this tutorial is for CWP for Vesta I’ll look into it and create a new post
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?
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
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!
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!
Thank you, worked for me
its not working after the installation = connection to server storage faild !!!
ensure dovecot service is running
Nice!!!
Just update in 1 minute.