Sonntag, 7. Februar 2016

Plan for a clean and fresh install on Debian Jessie

I'm currently planning to migrate (again) to a +Raspberry Pi 2 because my +Cubietruck Cubieboard3 is a bit nasty concerning port forwarding. It doesn't show up in my Fritz!Box so I cannot redirect the ports in a convenient way.

Again I updated my script for getting +Kolab and it should handle all the dependencies in the right way so that you will be able to install it via "apt-get" or "aptitude".

So feel free to get it from my site and test it.

And I will switch from Apache to NginX as a Webserver and IMAP-Proxy as well.

So come back again for updates

Greetz

Dienstag, 2. Februar 2016

Update to Kolab 16

After a long time using +Kolab.org Community and some amazing news around this groupware I decided to go on with Kolab 16.

Currently there are not so many packages for my Debian Jessie release available.
So I decided to compile them again out of the development directory from http://obs.kolabsys.com:82/Kolab:/Development/Debian_7.0/

A few days ago I thought it went well but my Active-Sync was some sort of working. Contacts and Calendar is syncing quite well but no mails. 

I digged into the logfiles in the directory /usr/share/kolab-syncroton/logs and found two errors:
Call to protected method rcube_imap_generic::strToTime() from context 'kolab_sync_data_email' in /usr/share/kolab-syncroton/lib/kolab_sync_data_email.php on line 140
and
 Maximum execution time of 30 seconds exceeded in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap_generic.php on line 3481

The first one is a known bug and I found it belongs to the new version of +Roundcube 1.2. Following https://git.kolab.org/rSe4d229229fa3de87f0d9c98156632adf8a87fb2d I also changed the line 140 and after that it was working like a charme again.

 The second one can be avoided in modifying the entry max_execution_time in /etc/php5/apache2/php.ini.

So up to now I have the following packages running concerning Kolab:

root@cubietruck:~# dpkg -l | grep -E "(kolab|roundcube|imap)"
ii  chwala                              0.4~dev20160122-0~kolab1    
ii  cyrus-imapd                         2.4.16-4+deb7u2            
ii  cyrus-imapd-2.4                     2.4.16-4+deb7u2            
ii  imapcopy                            1.04-1                      
ii  imapfilter                          1:2.5.2-2                  
ii  irony                               0.4.0-0~kolab1              
ii  kolab                               16.0.0-3                    
ii  kolab-cli                           0.7.14-0~kolab1            
ii  kolab-conf                          0.7.14-0~kolab1            
ii  kolab-freebusy                      1.1.0-0~kolab1              
ii  kolab-imap                          16.0.0-3                    
ii  kolab-ldap                          16.0.0-3                    
ii  kolab-mta                           16.0.0-3                    
ii  kolab-saslauthd                     0.7.14-0~kolab1            
ii  kolab-schema                        3.3-0~kolab1                
ii  kolab-server                        0.7.14-0~kolab1            
ii  kolab-syncroton                     2.3.2-0~kolab1              
ii  kolab-telemetry                     0.7.14-0~kolab1            
ii  kolab-ucs                           16.0.0-3                    
ii  kolab-utils                         3.1~dev20140624-0~kolab1    
ii  kolab-webadmin                      3.2.11~dev20151020-0~kolab1
ii  kolab-webclient                     16.0.0-3                    
ii  kolab-xml                           0.7.14-0~kolab1            
ii  kolabadmin                          0.0.20080222-4              
ii  libcyrus-imap-perl24                2.4.16-4+deb7u2            
ii  libjs-less                          1.7.5-0~kolab2              
ii  libkolab-dev                        2.0~dev20151230-0~kolab1    
ii  libkolab0                           2.0~dev20151230-0~kolab1    
ii  libkolabxml-dev                     1.1.git.1422810799          
ii  libkolabxml1                        1.1.git.1422810799          
ii  libxapian22                         1.2.16-0~kolab1            
ii  node-less                           1.7.5-0~kolab2              
ii  nodejs                              0.12.8-0~kolab1            
ii  php-kolab                           2.0~dev20151230-0~kolab1    
ii  php-kolabformat                     1.1.git.1422810799          
ii  php-net-ldap3                       1.0.4-0~kolab1              
ii  pykolab                             0.7.14-0~kolab1            
ii  python-kolab                        2.0~dev20151230-0~kolab1    
ii  python-kolabformat                  1.1.git.1422810799          
ii  roundcubemail                       1:1.2~dev20160119-0~kolab1  
ii  roundcubemail-plugin-contextmenu    2.1.1-0~kolab1              
ii  roundcubemail-plugin-converse       0.1~dev20140214-0~kolab1    
ii  roundcubemail-plugin-dblog          2.0                        
ii  roundcubemail-plugins-kolab         1:3.2.8-0~kolab1            
ii  roundcubemail-skin-chameleon        0.3.7-0~kolab1              
ii  swig                                2.0.11-0~kolab1            
ii  swig2.0                             2.0.11-0~kolab1            
ii  wallace                             0.7.14-0~kolab1               
To compile all the packages I created a little script in the past. It is working if you have a running kolab installation with all dependencies.

  1. Create a working directory and change into it:
    mkdir /mnt/kolab
    cd /mnt/kolab
  2. Put the script get_kolab.sh in this directory and make it executable.
  3. Create some directories
    mkdir kolab_Development_src
    mkdir kolab_Development_deb
    mkdir compile_log
  4. Change into the src directory and start the script get_kolab.sh with a parameter because it is the first time you start it
    cd kolab_Development_src
    ../get_kolab.sh first
  5. It is necessary to run the script three times because it stops after some packages and I didn't solve this up to now because the workaround (restart) is so easy :-)
    It will continue after the last package
  6. To install all the packages please add the following line top you /etc/apt/sources.list
  7. deb file:/mnt/kolab/kolab_Development_deb ./
So enjoy the update like I do.

Greetz