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;
Hi!
Anyone to help with this problem?
😐
Regards;
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
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;
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
@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;
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;
Hi!
Anyone to help with this problem?
😐
Regards;
You don't get any timeouts or errors when importing?
If you do try change the socket timeout:
zmlocalconfig -e socket_so_timeout=99999999
zmlocalconfig --reload
Then import it.
To restore default values do:
zmlocalconfig -e socket_so_timeout=30000
zmlocalconfig --reload
(The information comes from another site. Can't link it.)
I had problems when migrating shared calendars and other non email and non calendar items. But this is probably some other issue.
//Sigtrap
@sigtrap
Hello! Thanks for the reply and sorry for the delay.
When I imported emails via tgz, I did get those timeout errors mentioned, and I found this solution too, and then I used imapsync as well.
However, I don't understand why this message is showing as if emails are missing, when it was either an import error or an imapsync error. The database wasn't imported, and I didn't have any problems with it.
This message occurs in several accounts. I've tried renidexing the accounts, which doesn't generate an error, but it doesn't resolve the issue either.
I updated to the latest version, 25.6.1, and it didn't resolve the issue (not that I thought it would, lol).
Regards;
Hello!
I did a clean install of Carboniom 25.6.1 on Ubuntu 24.04m and used only Impasync for email this time (without importing the backup tgz file), to see if that would fix the problem (this time in a different location, not the same one, i.e., a different email address/etc.).
And again, I see the same errors in the logs, now fewer, much fewer, but they still occur... 😐
regards;
