Kolab migration on debian

Johannes Ranke johannes.ranke at jrwb.de
Sun Nov 7 08:10:21 CET 2021


Hi all,

I upgraded my kolab 16 on Debian system from Debian 9 to Debian 10 yesterday, 
in the way sketched out by Christoph in the mail below. It went fine, but I had 
the following unexpected problems:

- In Kmail, my IMAP folder for that server disappeared. It reappeared after 
disabling server-side subscriptions
- I could not connect to contacts, calendar and tasks via DAV at first, and had 
the following errors in my iRony errors.log:
[0x-Nov-2021 xx:xx:xx Europe/Berlin] PHP Fatal error:  Uncaught Error: 
Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /usr/share/roundcubemail/
program/lib/Roundcube/db/mysql.php:149

It turned out that the upgrade did not remove php7.0 from stretch, it was kept 
alongside php7.3 from buster. After removing php7.0 and enabling the php7.3 
apache module, the error went away.

Cheers,

Johannes



Am Dienstag, 21. September 2021, 07:25:30 CET schrieb Christoph Erhardt:
> Hi Andrea,
> 
> while that upgrade path isn't officially documented anywhere, I've practised
> it successfully several times (Debian 7 -> 8 -> 9 -> 10). Essentially, you
> need to perform the following steps:
> 
> 1. Plan for downtime and have an exit strategy at hand in case things should
> go awry (unlikely, but you never know).
> 2. Back up everything of importance, *including config files*.
> 3. Change the URL in `/etc/apt/sources.list.d/kolab.list` from `Debian_8.0`
> to `Debian_9.0`.
> 4. Follow the official Debian upgrade guide:
> https://www.debian.org/releases/
> stretch/amd64/release-notes/ch-upgrading.en.html
> 
> Some post-treatment (such as manual merging of config files) may be
> necessary in the aftermath, but it's nothing a seasoned sysadmin would be
> overwhelmed by.
> 
> Best,
> Christoph
> 
> On Monday, 20 September 2021 16:58:31 CEST Gelpi Andrea wrote:
> > Hi all,
> > 
> > 	I have and old Kolab 16 installed on Debian 8.x
> > 
> > I'd like to move to debian 9.x, possibly on site.
> > 
> > Is there any documentation path anywhere?
> > 
> > Thanks in advance


-- 
Johannes Ranke
Wissenschaftlicher Berater
07624 8099027
https://jrwb.de


More information about the users mailing list