Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-12-2010, 03:18 AM
Junior Member
 
Posts: 7
Default [SOLVED] Searching not working after upgrade from 5 to 6

Hello,

recently we successfully finished upgrade of our Zimbra Network edition from 5 to 6 (with Zimbra forum help, Phoenix - thanks for that!)

Now we have problem - one account (which have 2.5 GB of e-mails) can`t search through subject of e-mails using Zimbra webmail.

For example, we have e-mails which subject is "reopened", "outbound", etc, but searching for those is not working after upgrade.

The search for other accounts is working fine.

Please, can you provide us with some help e.g. where to look for problem, what tools to use, etc?

Thank you in advance!
Reply With Quote
  #2 (permalink)  
Old 11-12-2010, 03:36 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Now you've done the update please update your forum profile with the output of the following command:

Code:
zmcontrol -v
Have you tried a re-index of this account? You should give details of the exact search term you entered in the search bar (just for confirmation), is this a wildcard, a single word search or what?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-12-2010, 03:54 AM
Junior Member
 
Posts: 7
Default

Quote:
Originally Posted by phoenix View Post
Now you've done the update please update your forum profile with the output of the following command:

Code:
zmcontrol -v
Hello,

I`ve updated now my signature with zmcontrol -v (if I should put output somewhere else, please tell me where).


Quote:
Have you tried a re-index of this account? You should give details of the exact search term you entered in the search bar (just for confirmation), is this a wildcard, a single word search or what?
I haven`t tried re-indexing, please can you tell what is syntax for that ?

Search terms were single words. For example, in subject is "PLM Trends in Innovation and Sustainability" we have searched for word "Sustainability". Same thing happening when trying "Sustainability*"

For example, there are lot of e-mails with subject "[JIRA] Commented: ...". Same thing - when we search for word "Commented" we receive only e-mails which was before upgrade of Zimbra.

Thanks.
__________________
Something beautiful :-)
Reply With Quote
  #4 (permalink)  
Old 11-14-2010, 07:27 AM
fyd fyd is offline
Elite Member
 
Posts: 373
Wink hi

Buddy you need to update your profile with zmcontrol -v. That's at the top in the right, look for 'User CP' after signing in. Check out Edit profle there. And then you can rewrite your signature with something beautiful ..

And you can re-index the account from you zimbra admin console. Search the account, edit it and look for re-index mailbox. But before you do that I would suggest taking a full backup of the account, just to be on the safer side (zmbackup -f -a account@domain.com -s server). I hope that helps .. tc.

In between you can search for warn messages in mailbox.log. If index file is corrupted, there should be entries as corrupted index.

Last edited by fyd; 11-14-2010 at 07:39 AM..
Reply With Quote
  #5 (permalink)  
Old 11-15-2010, 08:57 AM
Junior Member
 
Posts: 7
Default

Hello,

thanks for directions and useful tips :-)

I`ve done backup and started re-indexing but it did nothing (there was red bar showing 0 messages processed).

I have attached output of mailbox.log into attachment, there were errors, please can you take a look?

Thank you.
Attached Files
File Type: log mailbox.log (18.6 KB, 8 views)
__________________
Something beautiful :-)
Reply With Quote
  #6 (permalink)  
Old 11-15-2010, 03:43 PM
fyd fyd is offline
Elite Member
 
Posts: 373
Smile

Hey igord,

I love that signature .. hehe. Just looked into your mailbox.log and there are errors at the time of re-indexing. I did a search and found this. A similar issue .. convertd wasn't working for that guy and his logs had similar errors. I really think you should check out this thread. Since u've a backup of the account, just hit it.
Reply With Quote
  #7 (permalink)  
Old 11-16-2010, 09:21 AM
Junior Member
 
Posts: 7
Smile solved!

Quote:
Originally Posted by fyd View Post
Hey igord,

I love that signature .. hehe. Just looked into your mailbox.log and there are errors at the time of re-indexing. I did a search and found this. A similar issue .. convertd wasn't working for that guy and his logs had similar errors. I really think you should check out this thread. Since u've a backup of the account, just hit it.
Hello,

thank you very much for tips - it worked!
(and signature is inspired by your thoughts )


I followed instructions at link you provided me with, I will repeat the steps if somebody else have the same problem:

1) Check if convertd is enabled after upgrade (apparently it was installed but was not enabled):

$ zmprov gs 'mail-server-hostname' | grep zimbraServiceInstalled

zimbraServiceInstalled: antivirus
zimbraServiceInstalled: antispam
zimbraServiceInstalled: logger
zimbraServiceInstalled: mailbox
zimbraServiceInstalled: mta
zimbraServiceInstalled: convertd
zimbraServiceInstalled: stats
zimbraServiceInstalled: archiving
zimbraServiceInstalled: snmp
zimbraServiceInstalled: ldap
zimbraServiceInstalled: spell

$ zmprov gs 'mail-server-hostname' | grep zimbraServiceEnabled

zimbraServiceEnabled: antivirus
zimbraServiceEnabled: antispam
zimbraServiceEnabled: logger
zimbraServiceEnabled: mailbox
zimbraServiceEnabled: mta
zimbraServiceEnabled: stats
zimbraServiceEnabled: archiving
zimbraServiceEnabled: snmp
zimbraServiceEnabled: ldap
zimbraServiceEnabled: spell

2) Enable convertd service:

$zmprov ms 'mail-server-hostname' -- +zimbraServiceEnabled convertd

$zmconvertctl start

3) Run full backup of account (just for any case!):

$ zmbackup -f -a account@domain-name -s mail-server-hostname

4) Re-index account through Admin panel.

I was following /opt/zimbra/log/mailbox.log and saw that there is still this bug Bug 41613 – ReIndexRequest returns all 0's, Progress bar doesn't update

because I was not able to see from Admin panel that re-indexing is working!

I want to thank again everyone involved in helping out, specially Phoenix & Fyd
__________________
Something beautiful :-)
Reply With Quote
  #8 (permalink)  
Old 11-16-2010, 08:58 PM
fyd fyd is offline
Elite Member
 
Posts: 373
Talking Brilliant!

Classic ... very happy for you igord. I appreciate you writing it here and posting details. Thanks. And maybe I should also think about a good signature, there's some charm there hehe.

You are welcome buddy and it feels good to see my name next to some one I admire a lot here. Good luck to you and hope you get the best!

So I guess you can happily mark this thread as solved, right there at the top i guess tc and i'll see you around.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.