I've tried both running reconstruct as Cyrus and root, makes no change
to the outcome.
I managed to get a mailbox to sync using replication, looks like that
may be more successful... But my questions remain on reconstruct.
Simon
PS sorry about the top post, phone email client limitation.
________________________________
From: Simon Matter <simon.matter@xxxxxxxxx>
Sent: Monday, 15 March 2021 3:58 am
To: info@xxxxxxxxxxxxxxxxxx
Subject: Re: Moving from 2.4.17 (CentOS 7) to 3.0.7 (RHEL 8)
Third query, on 'reconstruct'.
I scp'ed test data from a dummy user to the new server, then tried to
reconstruct it, but reconstruct is not behaving as I'd expect. To get
reconstruct to work it appears I have to do two steps:
First (as per the upgrade page):
reconstruct -V max
Do you run reconstruct as root? I thought it should be called as user
cyrus, something like
runuser --user cyrus -- reconstruct -V max
But that doesn't add all of the emails... then running:
reconstruct -f
...does, like this:
[root@emp87 server]# reconstruct -V max
user/server
Repacked user/server to version 13
user.server.Deleted Items updating quota_mailbox_used: 77944 => 0
user.server.Deleted Items: updating exists 14 => 0
user.server.Deleted Items: updating sync_crc 1694230313 => 0
user/server/Deleted Items
Repacked user/server/Deleted Items to version 13
user/server/Drafts
Repacked user/server/Drafts to version 13
user.server.Sent updating quota_mailbox_used: 6274857 => 0
user.server.Sent: updating exists 3 => 0
user.server.Sent: updating sync_crc 3564848791 => 0
user/server/Sent
Repacked user/server/Sent to version 13
user.server.Spam updating quota_mailbox_used: 299039 => 0
user.server.Spam: updating exists 1 => 0
user.server.Spam: updating sync_crc 4077200434 => 0
user/server/Spam
Repacked user/server/Spam to version 13
user.server.Trash updating quota_mailbox_used: 5214 => 0
user.server.Trash: updating exists 2 => 0
user.server.Trash: updating sync_crc 1430816766 => 0
user/server/Trash
Repacked user/server/Trash to version 13
[root@emp87 server]# reconstruct -f
user/server
user.server.Deleted Items uid 1 rediscovered - appending
user.server.Deleted Items uid 2 rediscovered - appending
user.server.Deleted Items uid 3 rediscovered - appending
user.server.Deleted Items uid 4 rediscovered - appending
user.server.Deleted Items uid 5 rediscovered - appending
user.server.Deleted Items uid 6 rediscovered - appending
user.server.Deleted Items uid 7 rediscovered - appending
user.server.Deleted Items uid 8 rediscovered - appending
user.server.Deleted Items uid 9 rediscovered - appending
user.server.Deleted Items uid 10 rediscovered - appending
user.server.Deleted Items uid 11 rediscovered - appending
user.server.Deleted Items uid 12 rediscovered - appending
user.server.Deleted Items uid 13 rediscovered - appending
user.server.Deleted Items uid 14 rediscovered - appending
user/server/Deleted Items
user/server/Drafts
user.server.Sent uid 1 rediscovered - appending
user.server.Sent uid 2 rediscovered - appending
user.server.Sent uid 3 rediscovered - appending
user/server/Sent
user.server.Spam uid 1 rediscovered - appending
user/server/Spam
user.server.Trash uid 7 rediscovered - appending
user.server.Trash uid 8 rediscovered - appending
user/server/Trash
Otherwise the emails in subfolders are not visible over IMAP.
What is the correct process for running reconstruct from 2.4 to 3.0?
Also, once visible it appears messages are all "Unread" flagged - can the
seen flags not be brought through? These are emails from an existing 2.4
server.
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tdfddf2111d3ff3ae-M4e2e2bf01656f8bc5975e85b
Delivery options: https://cyrus.topicbox.com/groups/info/subscription