Package: radicale Version: 2.1.11-2 Severity: important On Debian unstable, Radicale was just upgraded from 1.x to 2.x. Only after upgrading did I realize that my calendars were not available any more.
As stated on https://radicale.org/1to2/, upgrade to 2.x forces you to use Python 3, and thus to upgrade mod_wsgi as well. I was using Python 2 version of mod_wsgi only because it was the default version and it wasn't causing any problem (Radicale was my only WSGI application). Moreover, Radicale 2.x can't even use 1.x data files. You must export your files *before* upgrading. The Debian package silently ignores all these issues. I think there should be warning messages and a ad hoc prerm kind of script. By the way, installing Radicale 1.x and using --export-storage didn't even work for me. It probably had something to do with my using single iCalendar file calendars and my /etc/radicale/config was not configured to support this anymore. Just in case someone with the same problem as me read this message, here is how I fixed all this mess. For each calendar, I unsubscribed in Lightning, created a new calendar through the web interface, renamed the created directory in /var/lib/radicale/collections/collection-root/<username>/ (for some reason, Radicale uses random hexadecimal strings instead of calendar title, whereas it is the actual string you have to type in your CalDAV client), subscribed the newly created calendar in Lightning, and imported the old iCalendar file from /var/lib/radicale/collections/<username>/ using the "Events and Tasks->Import" Lightning menu. It actually was more straightforward than using the whole export storage thing. After doing that my other CalDAV clients worked without needing to be reconfigured. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: armel Kernel: Linux 4.18.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages radicale depends on: ii adduser 3.118 ii init-system-helpers 1.56+nmu1 ii lsb-base 10.2018112800 ii python3 3.7.1-3 ii python3-radicale 2.1.11-2 Versions of packages radicale recommends: ii ssl-cert 1.0.39 Versions of packages radicale suggests: ii apache2 2.4.37-1 ii apache2-utils 2.4.37-1 pn libapache2-mod-proxy-uwsgi <none> pn python3-bcrypt <none> pn python3-passlib <none> pn uwsgi <none> -- Configuration Files: /etc/radicale/config changed [not included] -- debconf-show failed