Roundcube 1.60 update

mimic

Verified User
Joined
Oct 5, 2007
Messages
50
Location
Utrecht, The Netherlands

This is the stable release of the next major version 1.6 of Roundcube webmail.


With this milestone we cleaned up the codebase and bring full support for PHP 8.1.
The most noteworthy changes, as already announced with the beta release, are:


  • PHP 8.1 support
  • Dropped support for PHP < 7.3
  • Support responses (snippets) in HTML format
  • Option to purge deleted mails older than 30, 60 or 90 days
  • Unified and simplified services connection config options
  • Removed the Classic and Larry skins from the release packages
  • SQLite: Use foreign keys, require SQLite >= 3.6.19

See the full changelog below.


Breaking Changes to 1.5 and prior versions​


The following config options have either been removed or renamed:


  1. IMAP:
    • renamed default_host to imap_host
    • removed default_port option (non-standard port can be set via imap_host)
    • set "localhost:143" as a default for imap_host
  2. SMTP:
    • renamed smtp_server to smtp_host
    • removed smtp_port option (non-standard port can be set via smtp_host)
    • set "localhost:587" as a default for smtp_host
  3. LDAP:
    • removed port option from ldap_public array (non-standard port can be set via host)
    • removed use_tls option from ldap_public array (use tls:// prefix in host)
  4. Managesieve:
    • removed managesieve_port option (non-standard port can be set via managesieve_host)
    • removed managesieve_usetls option (set tls:// prefix to managesieve_host)

The skins Larry and Classic are no longer part of the release packages.
If you used them in your deployment, you need to install them manually. That can easily be done via Composer:


$ composer require roundcube/larry


This release is considered stable and we encourage you to update your productive installations after carefully testing the upgrade scenario. Download it from roundcube.net.


With the release of Roundcube 1.6.0, the previous stable release branches 1.5.x and 1.5.x will change into LTS low maintenance mode which means they will only receive important security updates. The 1.3.x series is no longer supported and maintained.
 
This is really nice!

Option to purge deleted mails older than 30, 60 or 90 days

Disk Space is of course one of the most finite resources when it comes to servers, and having seen some very large inboxes during my time, I'm sure this will be a welcome addition to many webmasters - could certainly help to save some money :)
 
  • PHP 8.1 support
  • Dropped support for PHP < 7.3

PHP 8.1 support <--- Very nice!

Dropped support for PHP < 7.3 <---- Good news, but people with older PHP versions should watch it and not upgrade if they don't have minimal PHP 7.3 as default PHP! Like some running ancient 5.x and 6.x Centos with old php.
 
Custombuild build checks if the PHP1_RELEASE_OPT release is 7.3 or lower but, according the Roundcube release notes it is < 7.3. So 7.3 and greater should be supported?
Code:
    if [ "`version_cmp ${ROUNDCUBE_VER} 1.6.0 'RC 1.6.0 php 7.3 check'`" -ge 0 ]; then
        #RC 1.6.0+ will not run on php 7.3 or older.
        if [ "${PHP1_RELEASE_OPT}" = "5.6" ] || [ "${PHP1_RELEASE_OPT}" = "7.0" ] || [ "${PHP1_RELEASE_OPT}" = "7.1" ] || [ "${PHP1_RELEASE_OPT}" = "7.2" ] || [ "${PHP1_RELEASE_OPT}" = "7.3" ]; then
            echo "${boldon}RoundCube ${ROUNDCUBE_VER} cannot run on php 7.3 or older. Downgrading RC to 1.5.3${boldoff}";
            ROUNDCUBE_VER=1.5.3
        fi

Edit: I guess it's done like this because PHP 7.3 is already EOL.
 
Last edited:
From version 1.6 the Classic and Larry themes are now no longer part of the release packages.
To include these themes with custombuild:

Code:
mkdir -p /usr/local/directadmin/custombuild/custom/roundcube/skins/
cd /usr/local/directadmin/custombuild/custom/roundcube/skins/
git clone https://github.com/roundcube/classic.git
git clone https://github.com/roundcube/larry.git

cd /usr/local/directadmin/custombuild/
./build roundcube
 
I'm getting a 404 when trying to update to roundcubemail-1.6.0, anyone else having the same issue?

Code:
Downloaded file /usr/local/directadmin/custombuild/roundcubemail-1.6.0.tar.gz does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
curl: (22) The requested URL returned error: 404

Download has failed, redownloading...
curl: (22) The requested URL returned error: 404

Redownload has failed as well, exiting...
 
I'm getting a 404 when trying to update to roundcubemail-1.6.0, anyone else having the same issue?

Code:
Downloaded file /usr/local/directadmin/custombuild/roundcubemail-1.6.0.tar.gz does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
curl: (22) The requested URL returned error: 404

Download has failed, redownloading...
curl: (22) The requested URL returned error: 404

Redownload has failed as well, exiting...
Which download mirror is it?
 
After the update, my customers can not longer select "Larry" as the Roundcube theme/skin. Elastic looks like the only way to go. Does someone know if Larry is stil possible to activate/install?
 
@NessNaj a few posts above you

 
@NessNaj a few posts above you


Lol, thanks Erulezz. Really need a vacation! Thank you!
 
I noticed my daily update script was stuck in a loop, trying to apply roundcube 1.6.0 every day, but it 'downgrades' and rebuilds to 1.5.3 every day.
RoundCube 1.6.0 cannot run on php 7.3 or older. Downgrading RC to 1.5.3

Had to set php1_release to 7.4 (or higher) in options.conf (or ./build set php1_release 7.4).
 
From version 1.6 the Classic and Larry themes are now no longer part of the release packages.
To include these themes with custombuild:

Code:
mkdir -p /usr/local/directadmin/custombuild/custom/roundcube/skins/
cd /usr/local/directadmin/custombuild/custom/roundcube/skins/
git clone https://github.com/roundcube/classic.git
git clone https://github.com/roundcube/larry.git

cd /usr/local/directadmin/custombuild/
./build roundcube
Thank you for posting how to get the classic themes back in roundcube. I was going nuts with the new theme and this worked perfectly.
 
Back
Top