Upgrade Roundcube on Debian Squeeze

The Roundcube version (0.3.1) in Debian Squeeze is just too outdated. To create a new Debian package, using the latest version of Roundcube, is fairly easy.

Download the latest source (currently 0.8.1) from http://www.roundcube.net/download, and put the TAR image (roundcubemail-0.8.1.tar.gz) in /usr/src.
Now execute at the command line

The newly created packages are now in /usr/src.

You will have to upgrade the MySQL schema, if you use MySQL to save Roundcube data.
The upgrade SQL statements are located in /usr/src/roundcube-0.8.1/SQL.

Depending on how old your previous Roundcube installation was, you will have to disable a few SQL in the mysql.upgrade.sql file


Comments

Upgrade Roundcube on Debian Squeeze — 5 Comments

  1. Hi.
    Great tutorial. I just follow your instruction and it works, but when i try to go to the roundcube web page like http://xxx.xxx.xxx.xxx/roundcube
    I get this error: SERVICE CURRENTLY NOT AVAILABLE!
    Error No. [520]

    This is mi error log:
    [24-Oct-2012 11:04:51 -0500]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/plugin_manager/plugin_manager.php in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 202 (GET /roundcube/)
    [24-Oct-2012 11:04:51 -0500]: PHP Error: Failed to load plugin file /var/lib/roundcube/plugins/jqueryui/jqueryui.php in /usr/share/roundcube/program/include/rcube_plugin_api.php on line 202 (GET /roundcube/)

    Do you have any idea what am doing wrong ?
    Thanks

  2. when i am doing dpkg-buildpackage -b -us -uc -nc
    i get the following …. can u hel me please

    cd . && QUILT_PATCHES=/usr/src/roundcube-0.8.1/debian/patches quilt –quiltrc /dev/null push -a || test $? = 2
    Applying patch dbconfig-common_support.patch
    patching file config/db.inc.php.dist
    Hunk #1 FAILED at 14.
    1 out of 1 hunk FAILED — rejects in file config/db.inc.php.dist
    Patch dbconfig-common_support.patch does not apply (enforce with -f)
    make: *** [debian/stamp-patched] Error 1
    dpkg-buildpackage: error: debian/rules build gave error exit status 2

    • Hi Seppl,

      Just leave out that dbconfig-common_support.patch file 😉 Or have a look in the .rej why the patch fails.

      Johnny

Leave a Reply

Your email address will not be published. Required fields are marked *