I recently updated from version 1.7-beta2 to 1.7-rc4. The problem below has now appeared:
When I first load ANY new unread message, all images in the message are blocked, as expected. However all email headers (From, To, ReplyTo, Date) are also missing (see screenshot). If I click off of the message then return to the new message, now all headers are correctly displayed. If I have previoulsy "allowed all from <email address>" then I see all message images (as expected) or I have the additional button of "Always allow from <email address>" (also as expected).
So, it's just the initial load of any new unread message. I'm not sure which version this problem appeared between beta2 and rc4.
is there anything in the roundcube error log? also do you have any of the imap or message caching options enabled? if so does resetting the cache make any difference?
Thanks for the reply.
No error messages in the roundcube errors.log file, and I am not using any imap or message caching:
// config/default.inc.php
$config['imap_cache'] = null;
$config['messages_cache'] = false;
Just in case, I rebooted the entire server and the issue persists.
I still don't have an answer, but it must be some odd caching issue as you suggested @JohnDoe. When I revert back to version 1.7-beta2 and even version 1.6.10 I now get the same behavior. I'll keep investigating and report back here if I find a solution. If anyone has ideas to try, I'm all ears. fwiw, I'm running a fedora 43 server with caddy v. 2.10.2.
This issue is now fixed.
For anyone else that comes across this, removing all files in the rouncubemail/temp/ directory fixed the issue:
rm -f rouncubemail/temp/*
Well, not fixed after all. Back to investigating. If anyone has any ideas for what to try I'm all ears!
Have you tried using another browser? Is there any errors in the browsers JS console?
Good ideas, thank you for the suggestions.
Unfortunately I see the same behavior in Microsoft Edge, Google Chrome, and Firefox, all at latest version. No JS errors in the browser console.
When you updated Roundcube did you replace all the skin files? Did you install from the complete download or dependent version?
I downloaded the complete package and ran the bin/installto.sh command, as per the upgrade instructions:
cd <the-unpacked-roundcube-directory>
bin/installto.sh <your-existing-roundcube-directory>
I will try a fresh install today and see if that fixes. Will report back.
Fresh install ... no change.
Longer version: I downloaded the complete version of 1.7-rc4, moved config/config.inc.php.sample to config/config.inc.php and set my db and smtp config parameters. I still have the same problem of headers not being shown on initial load of new messages.
What the heck could have happened???
Did you do any server updates like PHP or your web server? I wonder if dependence like that could be the cause of the issue.
Only minor version updates for php (8.5.2 to 8.5.3 to 8.5.4), but just to check I downgraded php to version 8.4 with the same results as my current version.
Is there anyway I could get a test account to see if for myself?
Certainly! I'll pm you. Thank you
I tested with the account you send and was able to briefly see the problem, after switching the email to plan text all the headers showed up as normal and the problem happen again. I noticed that you have a larger number of plugins enabled. Can you try diabling all the plugin and see if the issues continues? My leading guess is that either a outdated plugin or conflict between plugins is causing the issue.
I appreciate the time you are spending on this.
I commented out ALL plugins in the confing/config.inc.php file and just to be thorough (not sure if needed) I deleted all files in the temp/ directory.
Unfortunately there is no change. I'll leave all plugins disabled in case you want to have a look. It seems 2 plugins remain no matter what (jqueryui and filesystem_attachments).
As far as switching to plain text, I think that anything you do to refresh the page after the initial load will then appropriately show the headers. If I go to my settings and turn off HTML views of messages I see the same behavior with new messages not showing headers on initial load.
This is now solved. I was being affected by an already-reported roundcube bug (https://github.com/roundcube/roundcubemail/issues/10045)
I fixed as suggested by the bug reporter by setting
mail_attachment_detection_options="" in dovecot.conf