Re: Moving from 2.4.17 (CentOS 7) to 3.0.7 (RHEL 8)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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/T843907ad61cf4402-M413577ce0be4b0598479e5c4
Delivery options: https://cyrus.topicbox.com/groups/info/subscription




[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux