Hi there, at the moment we have to update roundcube manually. This guide has been tested on 3 February 2018 using

  • Live VPS Server
    • 4 Core
    • 4 GB RAM
    • Ubuntu 14.04
    • VestaCP 0.9.8

*We didn’t test with other Linux OS yet. The steps are;

1. Save Original Files

Kindly save the original files through SSH command line

mv /usr/share/roundcube/ /usr/share/roundcube_bk/
cp -R /var/lib/roundcube/ /var/lib/roundcube_bk/

2. Copy Database Details

Copy database details form file: /etc/roundcube/db.inc.php and save in a text file. We will use it later in last step.

3. Download New Version Of Roudcube

Download Roundcube and prepare the folder (you can find new version at: https://roundcube.net/download/). 1.2.3 is the latest version for now but you can replace it with other latest version available on roundcube site.

wget https://github.com/roundcube/roundcubemail/releases/download/1.2.3/roundcubemail-1.2.3.tar.gz
tar xvf roundcubemail-1.2.3.tar.gz
cp -R roundcubemail-1.2.3/ /usr/share/roundcube/

4. Rename config.inc.php.sample

Go to location: /usr/share/roundcube/config/ and rename config.inc.php.sample to config.inc.php

cd /usr/share/roundcube/config/
mv config.inc.php.sample config.inc.php

5. Create config files (and symlinks)

mkdir /etc/roundcube/config
cp /usr/share/roundcube/config/defaults.inc.php /etc/roundcube/config/defaults.inc.php
ln -s /etc/roundcube/config/defaults.inc.php /var/lib/roundcube/config/defaults.inc.php
cp /usr/share/roundcube/config/config.inc.php /etc/roundcube/config/config.inc.php
ln -s /etc/roundcube/config/config.inc.php /var/lib/roundcube/config/config.inc.php

6. Copy plugins and skins

rm -R /var/lib/roundcube/plugins/
rm -R /var/lib/roundcube/skins/
cp -R /usr/share/roundcube/plugins/ /var/lib/roundcube/plugins/
cp -R /usr/share/roundcube/skins/ /var/lib/roundcube/skins/

7. Set up password and database name (copy, past form your copied text file)

Modify this line in defaults.inc.php & config.inc.php:

$config[‘db_dsnw’] = ‘mysql://name of sql user:password of user@localhost/database name’;

nano /etc/roundcube/config/defaults.inc.php
nano /etc/roundcube/config/config.inc.php

8. Congratulation.

You have completed the upgrade process. Congratulation. If this guide is obsolete, feel free to comment on the comment section. I will try my best to update the guide.


Leave a Reply