<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Egoitz,<br>
Some important notes on this upgrade. Firstly, I have followed this
path for a client, and it does work. Secondly, you should read not
just the Upgrade document to which Nicola has linked (below) but
also read the release notes for all intermediary versions.<br>
<br>
You can find those here:<br>
<a class="moz-txt-link-freetext" href="https://www.cyrusimap.org/imap/download/release-notes/index.html">https://www.cyrusimap.org/imap/download/release-notes/index.html</a><br>
<br>
It's always best practice to read intermediary release notes, as
changes made in one version (i.e. 2.4.0) may not be mentioned in a
later version's release notes.<br>
<br>
For example, the release notes for 2.4.0 contain this note:<br>
<ul>
<li>All databases are now default skiplist, and ctl_cyrusdb will
automatically convert database type on startup.</li>
</ul>
That's a really good thing, but if you previously set your database
types to something other than the default, then they will not be
converted (maybe you didn't do so, but your packages may have). As
the Upgrade document notes, in that case you should convert your DB
formats to a default <i>before</i> you copy them to the new server,
using cvt_cyrusdb (for example):<br>
<blockquote>
<pre><span></span>cvt_cyrusdb /<confdir>/mailboxes.db berkeley /tmp/new-mailboxes.db skiplist</pre>
</blockquote>
Another big note is that with 3.0.X, the Squat full-text indexing
engine may be replaced with Xapian. Check your packaging or build
for that. If it is, you'll need to rebuild your indexes before
people can use them.<br>
<br>
Similarly, the main Cyrus index scheme has changed between 2.3 and
2.4, and then again with 2.5 and 3.0. You can upgrade from 2.3 to
3.0, and it does so very nicely, but while a 3.0 server can read the
older index formats, you won't get the best behavior or
performance. Run the command 'reconstruct -V max' either just like
that (upgrade all mailbox's indices) or within a script which walks
through your user list.<br>
<br>
Lastly, please get yourself logged in to #cyrus on IRC so you can
get support while you're working. Try a dry run with just a couple
of users or mailboxes, to see what you might face, and don't be
afraid to ask for help. I've been working with Cyrus for twenty
years, and I still ask for help all the time (just ask the folks on
this list!). :-)<br>
<br>
Cheers,<br>
-nic<br>
<br>
<div class="moz-cite-prefix">On 06/27/2017 06:36 PM, Nicola Nye
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1498606609.2245511.1023446416.0CBB4A25@webmail.messagingengine.com">
<title></title>
<div><br>
</div>
<blockquote type="cite">
<div><br>
</div>
<blockquote type="cite">
<div>By the way, when upgrading from a 2.3.1X server... can
you directly install a 3.0 in the server and should it
work?. Is it recommended to perhaps go thought the 2.5
version, reconvert <br>
</div>
<p>databases to suit it's needs (the 2.5 needs) and later pass
to 3.0?. <br>
</p>
</blockquote>
<div><br>
</div>
<div>I have no experience with upgrading from 2.3 to 3.0, so
can't help you with that.<br>
</div>
</blockquote>
<div><br>
</div>
<div>When writing the Upgrade documentation (<a
href="https://www.cyrusimap.org/imap/download/upgrade.html"
moz-do-not-send="true">https://www.cyrusimap.org/imap/download/upgrade.html</a>)
we did discuss whether you had to go through intermediate
versions on the way to 3.0, and the answer is a 'no'! You should
be able to go from 2.3 to 3.0 in one hit.<br>
</div>
<div><br>
</div>
<div>As always, make sure you have backups of your data before you
begin the upgrade.<br>
</div>
<div><br>
</div>
<div>Let us know how it goes!<br>
</div>
<div><br>
</div>
<div> Nicola<br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight Inc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
6525 W Bluemound Rd., Ste 24 v. 414.272.4477
Milwaukee, Wisconsin 53213-4073 f. 414.290.0335
</pre>
</body>
</html>