Re: Can't delete folders after migration to a new server

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

 



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, lukasz@xxxxxxxxxxxxxx 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 Bernstein                               nic@xxxxxxxxxxxxxxxx
https://www.nicbernstein.com

[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