Re: Can't delete folders after migration to a new server
Nic Bernstein <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
My apologies, you clearly gave us the permissions, I just missed it. -nic On 12/19/22 08:09, Nic Bernstein wrote: > Lukas, > You haven't given us many details. When you say you "moved" the > server, is the new the same version as the old? What version (old & > new) is it? How did you "move" it? Did you rsync, or imapsync, or > simply copy? What are the ownership & permissions on the Cyrus files, > both the state directories/files and the mail spool (i.e. /var/cyrus & > /var/spool/cyrus)? > > Cheers, > -nic > > On 12/18/22 22:59, [email protected] wrote: >> Hi, >> I've moved my cyrus server to new VM. Almost everything works good. >> >> I can't delete folders moved from old installation. If I create a new >> one I can delete it without any issues. >> Any ideas why? >> >> Error: DELETE: Fatal error: Internal error: assertion failed: >> imap/conversations.c: 2205: !status.exists >> >> Two folders: 1243 moved from old one that I can't delete from IMAP >> client and 2346 created on new server. >> >> What I've checked: >> reconstruct -fGR -u lukaszolesiejuk >> (after deleting cyrus.* files recursevely) >> >> Permissions looks good: >> [root@l000r90mxl002 lukaszolesiejuk]# stat 1243 >> File: 1243 >> Size: 109 Blocks: 0 IO Block: 4096 directory >> Device: fc02h/64514d Inode: 12073228 Links: 2 >> Access: (0700/drwx------) Uid: ( 76/ cyrus) Gid: ( 12/ mail) >> Context: unconfined_u:object_r:mail_spool_t:s0 >> Access: 2022-12-18 23:20:23.916749745 +0100 >> Modify: 2022-12-18 23:20:23.907749655 +0100 >> Change: 2022-12-18 23:20:23.907749655 +0100 >> Birth: 2022-11-14 22:53:52.277313689 +0100 >> [root@l000r90mxl002 lukaszolesiejuk]# stat 2346 >> File: 2346 >> Size: 45 Blocks: 0 IO Block: 4096 directory >> Device: fc02h/64514d Inode: 164131 Links: 2 >> Access: (0700/drwx------) Uid: ( 76/ cyrus) Gid: ( 12/ mail) >> Context: system_u:object_r:mail_spool_t:s0 >> Access: 2022-12-18 23:34:13.921562682 +0100 >> Modify: 2022-12-18 23:34:13.933562808 +0100 >> Change: 2022-12-18 23:34:13.933562808 +0100 >> Birth: 2022-12-18 23:34:13.921562682 +0100 >> >> chcon to system_u didn't helped >> >> cat /var/lib/imap/user/l/lukaszolesiejuk.sub >> user.lukaszolesiejuk >> user.lukaszolesiejuk.1243 >> user.lukaszolesiejuk.2346 >> user.lukaszolesiejuk.Drafts >> user.lukaszolesiejuk.Junk >> user.lukaszolesiejuk.Sent >> user.lukaszolesiejuk.Trash >> >> What else can I check? > > -- > Nic [email protected] > https://www.nicbernstein.com > *Cyrus <https://cyrus.topicbox.com/latest>* / Info / see discussions > <https://cyrus.topicbox.com/groups/info> + participants > <https://cyrus.topicbox.com/groups/info/members> + delivery options > <https://cyrus.topicbox.com/groups/info/subscription> Permalink > <https://cyrus.topicbox.com/groups/info/T3f69d5538f21bf56-M49af28cd8053ed80c14bfb64> > -- Nic [email protected] https://www.nicbernstein.com ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/T3f69d5538f21bf56-Mf164347c0e340b2d3e1a4226 Delivery options: https://cyrus.topicbox.com/groups/info/subscription