Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] News item for Radicale upgrade "Michał Górny" <mgorny@g.o>