All, maybe that's a similar issue like the one mentioned in [1], nevertheless I started a new thread. Using public folders: location maildir:/var/vmail/public/:LAYOUT=fs:INDEXPVT=%h/.public-indexes When deleting a public maildir in filesystem (rm -rf ...) and copying back from backup, it's older than the users' dovecot.index.pvt files. (%h is in another directory). Then the following error appears: Sep 19 07:27:00 mail1 dovecot: imap(dr): Error: /var/vmail/users/dr/.public-indexes/folder1/folder2/dovecot.index.pvt reset, view is now inconsistent Sometimes even a panic: Sep 19 07:27:00 mail1 dovecot: imap(dr): Panic: file mail-index-map.c: line 548 (mail_index_map_lookup _seq_range): assertion failed: (first_uid <= last_uid) When deleting such a maildir via IMAP or doveadm, the error isn't appearing. Is there anything else, one has to consider, when restoring public maildirs from rsync backup? TIA! Chris [1] 5e26fce3-5f9f-219e-55fb-48981027dca5 at shift.agency
> On 20 September 2018 at 19:00 Chris <chris2014 at postbox.xyz> wrote: > > > All, > > maybe that's a similar issue like the one mentioned in [1], > nevertheless I started a new thread. > > Using public folders: > > location > maildir:/var/vmail/public/:LAYOUT=fs:INDEXPVT=%h/.public-indexes > > When deleting a public maildir in filesystem (rm -rf ...) and copying > back from backup, it's older than the users' dovecot.index.pvt files. > (%h is in another directory). Then the following error appears: > > Sep 19 07:27:00 mail1 dovecot: imap(dr): > Error: /var/vmail/users/dr/.public-indexes/folder1/folder2/dovecot.index.pvt > reset, view is now inconsistent >This happens because the index.pvt is no longer valid, because you rm -rf'ed things.> Sometimes even a panic: > > Sep 19 07:27:00 mail1 dovecot: imap(dr): Panic: file mail-index-map.c: > line 548 (mail_index_map_lookup > _seq_range): assertion failed: (first_uid <= last_uid) > > When deleting such a maildir via IMAP or doveadm, the error isn't > appearing. > > Is there anything else, one has to consider, when restoring public > maildirs from rsync backup?rm all the dovecot.index.pvt files. The assert-crash should probably not happen at all. Aki> > TIA! > > Chris > > > > > > [1] 5e26fce3-5f9f-219e-55fb-48981027dca5 at shift.agency
Possibly Parallel Threads
- 2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
- 2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
- Wrong UIDs returned from mailbox_transaction_commit_get_uids()
- what does it mean first_uid
- SIGBART/SIGSEGV while SELECTing virtual folder