Skip to main content

CWP: How to upgrade from RoundCube Mail Version 1.2.3 to RoundCube Mail Version 1.3.8

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.

PHP Configuration
As any other PHP application some of its aspects depend on PHP settings. You should use php.ini or .htaccess (Apache module) or .user.ini (CGI/FastCGI SAPI) depending on your server setup. Roundcube when running will check most critical settings, try to set them and let you know if something's wrong. Here's a minimal list of settings that you might need to use (with suggested value):
# vi /usr/local/php/php.ini
# vi /usr/local/cwp/php71/php.ini 
  • Memory limit: memory_limit=64M,
  • Options that control logging: display_errors=Off, log_errors=On, error_log=logs/errors.log,
  • Options that control file uploads (e.g. max attachment size): upload_max_filesize=5M, post_max_size=6M,
  • Options that are not compatible with Roundcube: zlib.output_compression=Off, suhosin.session.encrypt=Off, session.auto_start=Off,
  • Options that control session behaviour: session.gc_maxlifetime=21600, session.gc_divisor=500, session.gc_probability=1.
1.Login to SSH (Using putty)
2.Backup old roundcube configuration.
# cd /usr/local/cwpsrv/var/services
# cp -rvf roundcube roundcube.bak 
Download latest version of roundcube.
# cd /usr/local/src/
# rm -rf roundcube*
# wget

# wget
# wget
# gpg --verify roundcubemail-1.3.8-complete.tar.gz{.asc,}  OR
# gpg --verify roundcubemail-1.3.8-complete.tar.gz.asc

# tar zxvf roundcubemail-1.3.8-complete.tar.gz 
# cd roundcubemail-1.3.8/ 
Proceed with the installation
# bin/ /usr/local/cwpsrv/var/services/roundcube 

Copy composer.json from roundcube.bak into roundcube
# chown -R cwpsvc:cwpsvc /usr/local/cwpsrv/var/services/roundcube/
# cd /usr/local/cwpsrv/var/services/roundcube/
# php composer.phar update --no-dev   or 
# php composer.phar update  ; if you get any error then try
# php composer.phar install ; again error then try
# php composer.phar install --no-dev
Now enable the roundcube installer  by follow the Link and check the configuration file.

Helpful Link:
Link 1


Most Popular

CWP DNS Part 1 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

After hosting my parent domain on CWP7.admin, I am getting dns error and i'm not able access my server using my server FQDN but i can access using my server IP.
So what can i do for that problem ?

Yes, you have to fix the error .

Environment Details:
Distro Name: CentOS Linux release 7.6.1810 (Core)
CentOS-Web Panel version: CWP7.admin
CWP version:
WebServer: Apache Only

1.Change Hostname Permanently:
# hostnamectl set-hostname hostnamectl Static hostname: Icon name: computer-vm Chassis: vm Machine ID: 7400071490ea4f7d931374824ad4b52c Boot ID: 6e1f2d76495d4b318c25c4a1195aa130 Virtualization: vmware Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-862.14.4.el7.x86_64 Architecture: x86-64 It also writes this information to the /etc/hostname file as well.
# cat /etc/hostname host.d…

CWP DNS Part 2 : How to Configure DNS properly for CentOS WebPanel on CentOS 7.6

7.Open Main Configuration file
# vi /etc/named.conf 12 options { 13 listen-on port 53 { any; }; 14 listen-on-v6 port 53 { ::1; }; 15 directory "/var/named"; 16 dump-file "/var/named/data/cache_dump.db"; 17 statistics-file "/var/named/data/named_stats.txt"; 18 memstatistics-file "/var/named/data/named_mem_stats.txt"; 19 recursing-file "/var/named/data/named.recursing"; 20 secroots-file "/var/named/data/named.secroots"; 21 allow-query { any; }; 33 recursion no; 34 35 dnssec-enable yes; 36 dnssec-validation yes; 54 zone "." IN { 55 type hint; 56 file ""; 57 }; 58 59 include "/etc/named.rfc1912.zones"; 60 include "/etc/named.root.key"; 61 …