Attached images are not shown Roundcube webmail: failed to open stream

Created:

2016-11-16 13:04:50 UTC

Modified:

2017-08-08 13:35:18 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Attached images are not shown Roundcube webmail: failed to open stream

Applicable to:

  • Plesk 12.5 for Linux

Symptoms

Attached images are not displayed in preview in Roundcube despite the fact that "Display attached images" checkbox is selected in Roundcube webmail settings. In /var/log/plesk-roundcube/errors file the following errors are shown:

PHP Warning:  fopen(/var/tmp/plesk-roundcube//6573e5a4451571d2ee7fdc8f174b8ef1.tmp): failed to open stream: No existe el fichero o el directorio in /usr/share/psa-roundcube/program/steps/mail/get.inc on line 88

Cause

This is an internal issue with ID #PPPM-4630 , which is planned to be fixed in future product updates.

Workaround

  1. Increase memory_limit up to 256M in /etc/psa-webmail/roundcube/php.ini :

    # grep memory_limit /etc/psa-webmail/roundcube/php.ini
    memory_limit = 256M
  2. Redefine $config['temp_dir'] to '/var/tmp/' in /usr/share/psa-roundcube/config/defaults.inc.php:

     # grep temp_dir /usr/share/psa-roundcube/config/defaults.inc.php
    $config['temp_dir'] = /var/tmp/
Have more questions? Submit a request
Please sign in to leave a comment.