Error after upgrading to roundcube 1.3.5

ViAdCk

Verified User
Joined
Feb 14, 2005
Messages
300
Hello,

After upgrading roundcube from 1.3.4 to 1.3.5 we are seeing the following errors in the apache log:

PHP Warning: include_once(): Failed opening '/var/www/html/roundcubemail-1.3.4/program/include/rcmail.php' for inclusion (include_path='/var/www/html/roundcubemail-1.3.5/vendor/pear/auth_sasl:/var/www/html/roundcubemail-1.3.5/vendor/pear/console_commandline:/var/www/html/roundcubemail-1.3.5/vendor/pear/console_getopt:/var/www/html/roundcubemail-1.3.5/vendor/pear/crypt_gpg:/var/www/html/roundcubemail-1.3.5/vendor/pear/mail_mime:/var/www/html/roundcubemail-1.3.5/vendor/pear/net_idna2:/var/www/html/roundcubemail-1.3.5/vendor/pear/net_ldap2:/var/www/html/roundcubemail-1.3.5/vendor/pear/net_smtp:/var/www/html/roundcubemail-1.3.5/vendor/pear/net_socket:/var/www/html/roundcubemail-1.3.5/vendor/pear/pear-core-minimal/src:/var/www/html/roundcubemail-1.3.5/vendor/pear/pear_exception:/var/www/html/roundcube/program/lib:.:/usr/local/lib/php:/var/www/html/roundcubemail-1.3.5/program/lib') in /var/www/html/roundcubemail-1.3.5/program/include/iniset.php on line 76

PHP Fatal error: Class 'rcmail' not found in /var/www/html/roundcubemail-1.3.5/index.php on line 43

The login page shows a blank screen.

Any idea what could have gone wrong with the update?

Regards
 
Hi,

After restarting apache it appears to be working correctly. Just in case someone else has the same issue.

Regards
 
Yes indeed, this is a vps running mod_php with opcache.

I suppose opcache was caching the old version directories and the cache got refreshed with an apache restart.
 
Yes, opcache is the root cause here. So either apache or php-fpm should be restarted after every roudcube/phpmyadmin upgrade.
 
I find opcache (well, with the default settings) a pain, especially from a developer's perspective.
 
Back
Top