/scripts/upcp) runs, it executes the webmail script found at /usr/local/cpanel/install/webmail. This, in turn, executes /usr/local/cpanel/bin/update-roundcube.
The update-roundcube script then does the following: rm -rf /usr/local/cpanel/base/3rdparty/roundcube).
/usr/local/cpanel/base/3rdparty using the version specified in update-roundcube.
/var/cpanel/roundcube/roundcube.backup.sql.«current timestamp». /var/cpanel/roundcube.
update-roundcube script checks for custom Roundcube tarballs in the following locations: /var/cpanel/roundcube/roundcube-local.tar — Use this location for an uncompressed tarball you want to apply to Roundcube regardless of version.
/var/cpanel/roundcube/roundcube-local.tar.gz — Use this location for a compressed tarball you want to apply to Roundcube regardless of version.
/var/cpanel/roundcube/roundcube-$RCUBE_VERSION-local.tar — Use this location for an uncompressed tarball you want to apply to a specific Roundcube version.
/var/cpanel/roundcube/roundcube-$RCUBE_VERSION-local.tar.gz — Use this location for a compressed tarball you want to apply to a specific Roundcube version.
/var/cpanel/roundcube/roundcube-local.tar and /var/cpanel/roundcube/roundcube-0.4-local.tar.gz exist, the latter will be used, assuming its version number is specified in the update-roundcube script.
$RCUBE_VERSION must match the $RCUBE_VERSION variable defined in update-roundcube. Thus, in update-roundcube, if $RCUBE_VERSION='0.4', the custom tarball should be named roundcube-0.4-local.tar.gz.
roundcube, all lowercase and without a version number. /usr/local/cpanel/base/3rdparty/roundcube
/usr/local/cpanel/base/3rdparty/roundcube — but starts in the roundcube directory.
After determining which tarball to use for the source install, and extracting it, the update-roundcube script checks for the following: /var/cpanel/roundcube/overlay.tar — Use this location for an uncompressed overlay you want to apply to Roundcube regardless of version.
/var/cpanel/roundcube/overlay.tar.gz — Use this location for a compressed overlay you want to apply to Roundcube regardless of version.
/var/cpanel/roundcube/overlay.$RCUBE_VERSION.tar — Use this location for an uncompressed overlay you want to apply to a specific Roundcube version.
/var/cpanel/roundcube/overlay.$RCUBE_VERSION.tar.gz — Use this location for a compressed overlay you want to apply to a specific Roundcube version.
/var/cpanel/roundcube/overlay.tar and /var/cpanel/roundcube/overlay.0.4.tar.gz exist, the latter will be used, assuming its version number is specified in the update-roundcube script.
$RCUBE_VERSION must match the $RCUBE_VERSION variable defined in update-roundcube. Thus, in update-roundcube, if $RCUBE_VERSION='0.4', the custom tarball should be named overlay.0.4.tar.gz.
roundcube, all lowercase and without a version number. /usr/local/cpanel/base/3rdparty/roundcube
update-roundcube checks for the existence of /var/cpanel/roundcube/install. update-roundcube script will execute it and terminate, thus bypassing cPanel's manipulation of the Roundcube configuration files. /var/cpanel/roundcube/install exists but is not executable, the file contents will be printed to STDOUT and the normal cPanel configuration of Roundcube will continue with the remaining steps detailed in the General Installation Procedure.
update-roundcube only retains the last 4 backups, continuous execution of update-roundcube may cause you to lose your data. We strongly recommend that you maintain external backups and avoid continuous backups of non-operational Roundcube installation.
Copyright © cPanel 2000–2011.