Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: pr@g.o
Subject: Re: [gentoo-dev] News item for Radicale upgrade
Date: Sun, 08 Apr 2018 09:17:51
Message-Id: 1523179059.1345.1.camel@gentoo.org
In Reply to: Re: [gentoo-dev] News item for Radicale upgrade by Christopher Head
1 W dniu pon, 02.04.2018 o godzinie 23∶09 -0700, użytkownik Christopher
2 Head napisał:
3 > One more try, this time with the proper revision number.
4 >
5 > Title: Radicale 2 requires pre-install migration
6 > Author: Christopher Head <chead@×××××.ca>
7 > Posted: 2018-04-02
8 > Revision: 1
9 > News-Item-Format: 2.0
10 > Display-If-Installed: <www-apps/radicale-2
11 >
12 > Radicale version 2 uses a new storage format and is not able to read
13 > databases created by version 1. Version 1 releases starting from 1.1.3
14 > include a --export-storage option which can be used to export their
15 > databases in a format that Radicale 2 can use; you must do this before
16 > upgrading to version 2.
17 >
18 > If you have kept the Gentoo-default database configuration, this will
19 > work:
20 > 1. Stop any running instance of Radicale.
21 > 2. Run `radicale --export-storage ~/radicale-exported`.
22 > 3. Run `chown -R radicale: ~/radicale-exported`
23 > 4. Run `mv /var/lib/radicale /var/lib/radicale.old`.
24 > 5. Install Radicale version 2.
25 > 6. Run `mv ~/radicale-exported /var/lib/radicale/collections`.
26 >
27 > For more details, or if you are have a more complex configuration,
28 > please see the migration guide: http://radicale.org/1to2/
29 > If you do a custom migration, please ensure the database is cleaned out
30 > of /var/lib/radicale, including the hidden .props file.
31
32 Merged.
33
34 --
35 Best regards,
36 Michał Górny