Skip to main content

Problem searching emails via Roundcude after transfering account

Comments

7 comments

  • Rogerio
    Hello @cPanelLauren or @cPanelMichael any ideas how to reset the search index? I don't know if it's on RoundCube or related to Solr.
    0
  • cPanelMichael
    Hello @Rogerio, Here's a quote from one of our Technical Analysts in response to a similar question in a support ticket: [QUOTE]I've spent some time attempting to replicate the problem you've experienced in a testing environment, and I find that when restoring an account the inboxes for all email accounts under it do get properly re-scanned: ==================== [ 2339][RESTORE:1 ][A:hb1 ]: Progress: 52% (2019-01-29 17:47:42 -0600) [ 2339][RESTORE:1 ][A:hb1 ]: MailFix [ 2339][RESTORE:1 ][A:hb1 ]: Fixing mail permissions [ 2339][RESTORE:1 ][A:hb1 ]: [ 2339][RESTORE:1 ][A:hb1 ]: Converting to maildir if needed [ 2339][RESTORE:1 ][A:hb1 ]: [ 2339][RESTORE:1 ][A:hb1 ]: Rescanning mailboxes for full text search (FTS) if needed [ 2339][RESTORE:1 ][A:hb1 ]: ...3 rescanned... Done [ 2339][RESTORE:1 ][A:hb1 ]: MailFix ==================== And, they do end up being searchable. However, if you transfer the accounts without the home directories, then it only scans the empty maildir for the cPanel user during the restore process, because only that will exist initially. In such cases, you will see "1 rescanned" in the transfer log.
    You can rescan the mailbox index using the
    0
  • Rogerio
    Hello @cPanelMichael. I ran the command, now I'll request the client to test if the problem is solved. Thank you! apiversion: 3 func: fts_rescan_mailbox module: Email result: data: 1 errors: ~ messages: ~ metadata: {} status: 1 warnings: ~
    0
  • Rogerio
    Hi @cPanelMichael, the client tested and everything is ok now! Thank you for that UAPI command. Rogerio
    0
  • cPanelMichael
    Hello @Rogerio, I'm glad to see that helped. Thanks for sharing the outcome!
    0
  • sergiobrusisi
    i try the command but error "The request failed. (Error ID: u596xj)"
    0
  • cPRex Jurassic Moderator
    @sergiobrusisi - you would need to update the command to use the specific email address you're working with. Did you make sure to do that?
    0

Please sign in to leave a comment.