-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inbox and other folder do not show with NC 13 & PHP 7.1 #765
Comments
Hi! Thank you for your report. It looks like your report is missing some important sections of your issue template. Please complete it so that we get a better understanding of your setup and the problem to be able to fix the issue. Thank you. |
Hello Christoph, the rest of the report contained private or empty data. So I removed it. What section do you need? The only section with reasonable Content was the app list. Is this relevant? Best regards, |
Error logs, mostly. |
The nextcloud.log is 172MB. |
In #562 I found a hint and disabled the opcache, too. Then mail is working. My opcach settings are those recommended by nextcloud. |
We just need the those entries that are logged when the error occurs. So run And please also enable debug log and post your data/horde_imap.log. This shows us the IMAP communication and whether an IMAP error occurred. |
In set the debug level to 0 but no horde_imap.log appears. I guess this goes beyond my linux/server abilities. I didn't find any info on a "horde_imap.log" on the help pages. The "tail" command gives a mess on the terminal I can't handle. Sorry, I'm not a linux pro. I tried to select some part which might help: |
You have enable debug mode. |
Looks good. No errors seemed to have occurred. |
here is the horde_log stripped from private data |
IMAP log looks good to. Could you please be more precise on what's happening when you load the app? Does it show any error message? Is there any error in the browser's js console? Does any of the requests not return with status 200 (see network tab)? |
I have a similar problem. I can't view Mails in Inbox but in subfolder of Inbox the problem aren't present. Call to a member function getEmail() on null in /var/www/https/cloud/apps/mail/lib/Model/IMAPMessage.php on line 433 |
Here the entry in nextcloud.log: {"reqId":"4IlTLwqGsEYFTDN3nuVv","level":3,"time":"2018-02-20T19:05:12+00:00","remoteAddr":"10.3.1.2","user":"lepool","app":"PHP","method":"GET","url":"/cloud/index.php/apps/mail/api/accounts/12/folders/SU5CT1g%3D/messages?filter=","message":"Call to a member function getEmail() on null at /var/www/https/cloud/apps/mail/lib/Model/IMAPMessage.php#433","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0","version":"13.0.0.14"} |
So for some reason one of the messages has no sender set, hence it fails to load the sender email address: mail/lib/Model/IMAPMessage.php Line 433 in b0569a3
|
I checked if one mail in inbox doesn't have sender , but with thunderbird all mails have a sender |
The strange thing is, that in 2 accounts only the inbox folder can't be view. Subfolders views correct. |
I just checked the web responses. syncToken returns with error 502. |
...and messages?filter returns |
Fixes #765 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and questions. |
Steps to reproduce
Patch
switch back to PHP 7.0
mail app works as expected
Expected behaviour
mail in inbox show up
Actual behaviour
mail in inbox do not show up
Server configuration detail
Operating system: Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.73-2+deb7u1 x86_64
Webserver: Apache (apache2handler)
Database: mysql 5.5.57
PHP version: 7.1.2
Modules loaded: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, bz2, calendar, ctype, curl, dom, hash, fileinfo, filter, ftp, gd, gettext, gmp, SPL, iconv, session, intl, json, ldap, mbstring, mcrypt, standard, PDO, mysqlnd, pdo_sqlite, pgsql, Phar, posix, pspell, Reflection, imap, shmop, SimpleXML, snmp, soap, sockets, pdo_mysql, exif, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, mysqli, apache2handler, imagick, ionCube Loader, Zend OPcache
Nextcloud version: 13.0.0 - 13.0.0.14
Updated from an older Nextcloud/ownCloud or fresh install:
Client configuration
Browser: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3315.3 Safari/537.36 OPR/52.0.2857.0 (Edition developer)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: