kolab 3.0 install on Centos 6.4

I have allready writen a post how to install kolab on centos 6.3. Today I decided to install kolab 3.0 for testing purposes on a CentOS vm. It was a Centos 6.3 clean installation, I decided to updated to Centos 6.4, and then try to install kolab 3.0.

This time things worked out of the box! No conflict, no error, excellent installation process!!!

Let’s see the steps needed to install kolab 3.0 on centos 6.4:

  • Install the epel-release package linked to from this page. At the time of this writing, this means executing:
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
  • Install the kolab-3.0-community release package linked to from this page. At the time of this writing, this means executing:
# rpm -Uvh http://mirror.kolabsys.com/pub/redhat/kolab-3.0/el6/release/i386/kolab-3.0-community-release-6-2.el6.kolab_3.0.noarch.rpm

I followed the last step installing the Kolab Groupware:

# yum install kolab

The installation completed, now it’s time to try setup and configure it!

Good luck to everyone trying to install and deploy kolab!

Kolab install on Centos 6.3

I tried to install kolab on Centos 6.3 following this quick how to , that I found on kolab groupware community: http://www.kolab.org/howto/quick-howto-kolab-24-centos-62

I tried to follow these steps on Centos 6.3 and I found some problems during installation.  I googled a lot and I found some useful things:

The first two steps on the quick how to guide on Kolab.org are correct:

  • Install the epel-release package linked to from this page. At the time of this writing, this means executing:
# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
  • Install the kolab-2.4-community release package linked to from this page. At the time of this writing, this means executing:
# rpm -Uvh http://mirror.kolabsys.com/pub/redhat/kolab-2.4/el6/release/i386/kolab-2.4-community-release-6-1.el6.kolab_2.4.noarch.rpm

From now on there are some problems and up to here the quide was perfect, and I think that it was very useful.

When I followed the next step installing the Kolab Groupware:

# yum install kolab

I got some problems like:

Error: Package:  1:qt-mysql-4.6.2-24.3l6.i686 (@base/$releasever)
Requires: libmysqlclient_r.so.16(libmysqlclient_16)
Removing: mysql-libs-5.1.61-4.el6.i686
(@base/$releasever)
libmysqlclient_r.so.16(libmysqlclient_16)
Updated By : mysql-libs-5.5.24-1el6.kolab_2.4.i686
(kolab-2.4-development) Not found
Error: Package:  1:qt-mysql-4.6.2-24.3l6.i686 (@base/$releasever)
Requires: libmysqlclient_r.so.16
Removing: mysql-libs-5.1.61-4.el6.i686
(@base/$releasever)
libmysqlclient_r.so.16(libmysqlclient_16)
Updated By : mysql-libs-5.5.24-1el6.kolab_2.4.i686
(kolab-2.4-development) Not found

as one guy reffered to the mailing list of kolab.

the problem is that there is the package qt-mysql-4.6.2-20.el6.x86_64 that is must be removed. If you try to execute:

#rpm -e qt-mysql-4.6.2-20.el6.x86_64

you will got an error that akonadi depends on this package and cannot be removed. In my system I do not need this package, so I removed it by executing:

#yum remove akonadi.x86_64

Then I was able to remove the package qt-mysql-4.6.2-20.el6.x86_64.

#rpm -e qt-mysql-4.6.2-20.el6.x86_64

Now that this package was removed, there is no problem to install kolab with the command:

#yum install kolab

All the things were done more easily when I followed the advice of  Jeroen van Meeuwen here

The installation completed, now it’s time to try setup and configure it!

Good luck to everyone trying to install and deploy kolab!

Drag and Drop files to upload attachments

Before a few days, I wrote a plugin for the opensource webmail, roundcube. I consider roundcube api very well documented and it gives you the opportunity to extend its features. I wanted to upgrade roundcube webmail from version 0.4.2 to 0.8.0 and after this process I wonder what kind of plugins I could add to this fantastic webmail? I went to the repository of the roundcube plugins and I saw with surprise a plugin Drag Upload. I consider this feature very useful. I tried to install this plugin but it was not compatible with roundcubemail 0.8.0.

I thought that I have the source code from this plugin and the documentation of the roundcubemail, why not to try to create a plugin with this feature for the new api of the roundcubemail. I gave it a try and I created the dragndrop_attachments plugin that you can find at github: https://github.com/strimpak/dragndrop_attachments

or at the roundcube plugin repository: http://trac.roundcube.net/wiki/Plugin_Repository

 

This plugin uses the file api of the html 5 that gives you a lot of space to create beautiful things!

You can send me bugs or advices using the contact form or comments to this post.

Horde Pear Horde_Memcache

I wanted to add the Memcache feature that horde offers, but at the apache logs appeared that Horde_Memcache class not found. This is already a known situation. The onlything you have to do is to install with pear the class of horde project needed.

In order to do this, just type at command promt:

pear install horde/Horde_Memcache

 

Horde Pear Horde_Datatree class

If you have enabled the datatree backend at horde main settings then you have to install the Horde_Datatree package from pear.

pear install horde/Horde_Datatree

After this procedure I was able to configure the backend of the datatree.

PEAR Net_SMTP class

If you have enabled the smtp server at horde mailer settings then you have to install the Net_SMTP package from pear.

You can check your conf.php file under config folder

One way to do this is to cat this file and grep mailer

cat conf.php | grep mailer
$conf['mailer']['params']['host'] = 'mail.example.com';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['type'] = 'smtp';

I was not able to send mail from the webmail, and I check the logs from apache. I saw these logs:

tail -f apache_error.log
[error]  PHP Fatal error: Class 'Net_SMTP' not found in .../php5/lib/php/Horde/Mail/Transport/Smtp.php on line 271, referer: http://webmail.example.com/imp/compose-dimp.php?type=new&ajaxui=1&uniq=13123591417264

So I checked the Smtp.php file and I saw that the Net_SMTP class is required

/**
 * SMTP implementation.
 * Requires the Net_SMTP class.
 **/

To install the Net_SMTP with PEAR you have to

pear install Net_SMTP

After this procedure I was able to send mail through my smtp server.