Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: gueland on November 12, 2012, 04:07:18 PM

Title: New mail not showing in Inbox
Post by: gueland on November 12, 2012, 04:07:18 PM
 :DI am using Roundcube Webmail 0.8.3 on a qmail server.  I have new mail in my new folder on qmail but no new mail messages are showing in Roundcube.

Can you help?  I am using Qmailtoaster on CentOS 5.8 with PHP 5.3.18.
Title: Re: New mail not showing in Inbox
Post by: SKaero on November 12, 2012, 07:11:40 PM
Enable imap_debug and post the log.
Title: Re: New mail not showing in Inbox
Post by: gueland on November 12, 2012, 09:57:58 PM
This is the entire imap log in /var/www/roundcube/logs after I enabled it.

[12-Nov-2012 20:56:38 -0600]: [65F1] S: A0006 OK STATUS Completed.
[12-Nov-2012 20:56:38 -0600]: [65F1] C: A0007 STATUS INBOX.Trash (MESSAGES UNSEEN)
[12-Nov-2012 20:56:38 -0600]: [65F1] S: * STATUS "INBOX.Trash" (MESSAGES 0 UNSEEN 0)
[12-Nov-2012 20:56:38 -0600]: [65F1] S: A0007 OK STATUS Completed.
[12-Nov-2012 20:56:38 -0600]: [65F1] C: A0008 STATUS INBOX.Archive (MESSAGES UNSEEN)
[12-Nov-2012 20:56:38 -0600]: [65F1] S: * STATUS "INBOX.Archive" (MESSAGES 0 UNSEEN 0)
[12-Nov-2012 20:56:38 -0600]: [65F1] S: A0008 OK STATUS Completed.
[12-Nov-2012 20:56:38 -0600]: [65F1] C: A0009 LOGOUT
[12-Nov-2012 20:56:38 -0600]: [65F1] S: * BYE Courier-IMAP server shutting down
[12-Nov-2012 20:56:38 -0600]: [65F1] S: A0009 OK LOGOUT completed
Title: Re: New mail not showing in Inbox
Post by: gueland on November 12, 2012, 10:00:25 PM
Here is what "tail errors" gives me:

[12-Nov-2012 20:56:35 America/Winnipeg] MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_3e8118ab96692537f4a186e98b6724d0a5efa0d4c FROM 'SELECT * FROM accounts WHERE user_id=?']
[Native code: 1146]
[Native message: Table 'roundcubemail.accounts' doesn't exist]

[12-Nov-2012 20:56:35 -0600]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_3e8118ab96692537f4a186e98b6724d0a5efa0d4c FROM 'SELECT * FROM accounts WHERE user_id=?']
[Native code: 1146]
[Native message: Table 'roundcubemail.accounts' doesn't exist]
in /var/www/roundcube/program/include/rcube_mdb2.php on line 296 (GET /?_task=mail)
Title: Re: New mail not showing in Inbox
Post by: gueland on November 12, 2012, 10:07:57 PM
here are the tables in roundcubemail database:

+-------------------------+
| Tables_in_roundcubemail |
+-------------------------+
| cache                   |
| cache_index             |
| cache_messages          |
| cache_thread            |
| contactgroupmembers     |
| contactgroups           |
| contacts                |
| dictionary              |
| events                  |
| events_cache            |
| events_caldav           |
| forgot_password         |
| identities              |
| reminders               |
| searches                |
| session                 |
| users                   |
+-------------------------+
Title: Re: New mail not showing in Inbox
Post by: SKaero on November 12, 2012, 10:09:35 PM
The imap log shows that the server isn't finding any messages, the error log seems to show that the accounts plugin isn't setup correctly.
Title: Re: New mail not showing in Inbox
Post by: gueland on November 12, 2012, 10:31:10 PM
My fault for not setting up the sql script from the accounts plugin.  But now, after setting it up, I can see my new messages, but my old ones have disappeared!
Title: Re: New mail not showing in Inbox
Post by: gueland on November 14, 2012, 09:47:08 PM
Also, my fault.  My script to sync the mail in the old server to the new one had an error.  I forgot to add the "/" after everything (a problem when cutting and pasting between text files, excel and back)  The server seems to be running fine now.