Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] data/gentoo-news:master commit in: 2018-04-08-radicale-2-requires-pre-install-migration/
Date: Sun, 08 Apr 2018 09:15:37
Message-Id: 1523178926.7ecf72b7445ad7cd0c9a875b4607f282b140fccd.mgorny@gentoo
1 commit: 7ecf72b7445ad7cd0c9a875b4607f282b140fccd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 8 09:15:16 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 8 09:15:26 2018 +0000
6 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=7ecf72b7
7
8 2018-04-08-radicale-2-requires-pre-install-migration: New item
9
10 ...adicale-2-requires-pre-install-migration.en.txt | 26 ++++++++++++++++++++++
11 1 file changed, 26 insertions(+)
12
13 diff --git a/2018-04-08-radicale-2-requires-pre-install-migration/2018-04-08-radicale-2-requires-pre-install-migration.en.txt b/2018-04-08-radicale-2-requires-pre-install-migration/2018-04-08-radicale-2-requires-pre-install-migration.en.txt
14 new file mode 100644
15 index 0000000..8783ee8
16 --- /dev/null
17 +++ b/2018-04-08-radicale-2-requires-pre-install-migration/2018-04-08-radicale-2-requires-pre-install-migration.en.txt
18 @@ -0,0 +1,26 @@
19 +Title: Radicale 2 requires pre-install migration
20 +Author: Christopher Head <chead@×××××.ca>
21 +Posted: 2018-04-02
22 +Revision: 1
23 +News-Item-Format: 2.0
24 +Display-If-Installed: <www-apps/radicale-2
25 +
26 +Radicale version 2 uses a new storage format and is not able to read
27 +databases created by version 1. Version 1 releases starting from 1.1.3
28 +include a --export-storage option which can be used to export their
29 +databases in a format that Radicale 2 can use; you must do this before
30 +upgrading to version 2.
31 +
32 +If you have kept the Gentoo-default database configuration, this will
33 +work:
34 +1. Stop any running instance of Radicale.
35 +2. Run `radicale --export-storage ~/radicale-exported`.
36 +3. Run `chown -R radicale: ~/radicale-exported`
37 +4. Run `mv /var/lib/radicale /var/lib/radicale.old`.
38 +5. Install Radicale version 2.
39 +6. Run `mv ~/radicale-exported /var/lib/radicale/collections`.
40 +
41 +For more details, or if you are have a more complex configuration,
42 +please see the migration guide: http://radicale.org/1to2/
43 +If you do a custom migration, please ensure the database is cleaned out
44 +of /var/lib/radicale, including the hidden .props file.