Erro no such messag...
 
Notifications
Clear all

Erro no such message :XXX

7 Posts
2 Users
0 Reactions
99 Views
(@carloscunha)
New Member
Joined: 2 months ago
Posts: 12
Topic starter  

Hello everyone!

After migrating from a Zimbra (8.8.XX on CentOS 6) to Carbonio (latest version on Ubuntu 22.04), with relatively good success — just a few adjustments here and there — everything is working very well. However, I noticed that in the mailbox.log there are several errors for different accounts reporting that message ID XXX was not found. I believe this might be related to some issue during the migration process, where mailboxes were exported and imported using zmmailbox and ImapSync. However, I am not sure why "things were lost in this way." Thinking about that, I started reindexing the accounts via CLI, and there were no errors during the process, but the logs are still showing several similar errors.

Any suggestions?

================================
2025-04-28 14:38:34,127 WARN [qtp138733165-371347] [name=teste@teste,com;mid=640;ip=192.168.255.20;oip=192.168.103.1;oproto=https;port=48536;ua=CarbonioWebClient - Chrome 135.0.0.0 (Linux)/25.3.1_ZEXTRAS_202502 carbonio 20250217-1207 FOSS;soapId=1291b4ea;] SoapEngine - handler exception
com.zimbra.cs.mailbox.MailServiceException$NoSuchItemException: no such message: 2297
at com.zimbra.cs.mailbox.MailServiceException.NO_SUCH_MSG(MailServiceException.java:253) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.MailItem.noSuchItem(MailItem.java:1852) ~[mailbox.jar:?]
at com.zimbra.cs.db.DbMailItem.getBy(DbMailItem.java:3050) ~[mailbox.jar:?]
at com.zimbra.cs.db.DbMailItem.getById(DbMailItem.java:3005) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.MailItem.getById(MailItem.java:1760) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.MailItem.getById(MailItem.java:1755) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.Mailbox.getItemById(Mailbox.java:3189) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.Mailbox.getItemById(Mailbox.java:3092) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.Mailbox.getItemById(Mailbox.java:3082) ~[mailbox.jar:?]
at com.zimbra.cs.mailbox.Mailbox.getMessageById(Mailbox.java:4924) ~[mailbox.jar:?]
at com.zimbra.cs.service.mail.GetMsg.getMsg(GetMsg.java:139) ~[mailbox.jar:?]
at com.zimbra.cs.service.mail.GetMsg.handle(GetMsg.java:106) ~[mailbox.jar:?]
at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:684) ~[mailbox.jar:?]
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:508) ~[mailbox.jar:?]
at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:278) ~[mailbox.jar:?]
at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:336) ~[mailbox.jar:?]
at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:237) ~[mailbox.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[javax.servlet-api-3.1.0.jar:3.1.0]
at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:212) ~[mailbox.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ~[javax.servlet-api-3.1.0.jar:3.1.0]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[jetty-servlet-9.4.56.v20240826.jar:9.4.56.v20240826]
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656) ~[jetty-servlet-9.4.56.v20240826.jar:9.4.56.v20240826]
at com.zimbra.cs.servlet.CsrfFilter.doFilter(CsrfFilter.java:152) ~[mailbox.jar:?]

================================

 

Regards;


   
Quote
(@carloscunha)
New Member
Joined: 2 months ago
Posts: 12
Topic starter  

Hi!

 

Anyone to help with this problem?

😐

Regards;

This post was modified 4 weeks ago by CarlosCunha

   
ReplyQuote
(@sigtrap)
Eminent Member
Joined: 2 years ago
Posts: 54
 

Is this correct?
teste@teste,com
Can't check my own logs right now but can you show the command you used for migration?

//Sigtrap


   
ReplyQuote
(@carloscunha)
New Member
Joined: 2 months ago
Posts: 12
Topic starter  

@sigtrap 

Hello!

No, I just used this as an example, I changed my email@real-domain so as not to export my real email.... 😀

In the migration I first used a backup generated via zmmailbox and then imapsync.

Regards;


   
ReplyQuote
(@sigtrap)
Eminent Member
Joined: 2 years ago
Posts: 54
 

Ok, can't help you.

So you post edited logs with email with comma "," in it and you don't show commands used for migration.

You understand I put some time to try to understand your problem?

Sorry, but someone else maybe can guess what your logs look like and the commands you used, I can't.

//Sigtrap


   
ReplyQuote
(@carloscunha)
New Member
Joined: 2 months ago
Posts: 12
Topic starter  

@sigtrap
Sorry for the typo in the "," but it's just a mistake. I don't think it's that hard to understand, especially after I explained what I changed and why, and it was only in a part (very small part of the log provided).

The commands used are the same as in several posts (including here on the forum/etc.), nothing "mysterious", so I thought I didn't need to include them, but I would if you asked...

You don't need to waste your time with me. Given your completely "aggressive" and unnecessary response.

Regards;

This post was modified 3 weeks ago by CarlosCunha

   
ReplyQuote
(@carloscunha)
New Member
Joined: 2 months ago
Posts: 12
Topic starter  

@sigtrap 

But I'll leave the commands here for others who can help me, if they find it necessary it will already be here:

# Import:
/opt/zextras/bin/zmmailbox -z -m teste@teste.com -t 0 postRestURL "/?fmt=tgz&resolve=skip" /mnt/backup_zimbra/zimbra-backup-full-teste@teste.com.tgz

# Export:
curl -s -k -u "ADMIN_ACCOUNT:PASS" "https://192.168.255.21:7071/home/teste@teste.com/fmt=tgz" -1 -1 > /home/export/teste@teste.com.tgz

After i using ImapSync:

/opt/imapsync/imapsync --tls1 --host1 192.168.255.21 --port1 143 --authuser1 zimbra-local --password1 XXXXXXXXXXXX --user1 teste@teste.com --host2 192.168.255.20 --port2 143 --authuser2  zimbra-local --password2 XXXXXXX --user2 teste@teste.com --nofoldersizes --nofoldersizesatend --tmpdir /opt/imapsync-cache/ --pidfile /opt/imapsync-cache/pid-11122 --errorsmax 10000 --useheader Date --useheader Subject --delete2duplicates

Regards;

 


   
ReplyQuote