Fbarajas

Well-Known Member
Jul 15, 2004
57
4
158
Playa del Carmen, Mexico
Hi! I'm seeing this error on Apache's error_log:

PHP Strict Standards: Non-static method PEAR::setErrorHandling() should not b
e called statically in /usr/local/cpanel/base/3rdparty/roundcube/program/inclu
de/iniset.php on line 131

It repeats many times. Is there anything that shoud be fixed?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello,

Please let us know if the following command completes successfully:

Code:
/usr/local/cpanel/bin/update-roundcube --force
Thank you.
 

Fbarajas

Well-Known Member
Jul 15, 2004
57
4
158
Playa del Carmen, Mexico
No, it doesn't:

Problem encountered during schema update:
schema file: /usr/local/cpanel/src/3rdparty/gpl/roundcube_schema/upgrade/0.7_0.7.1/mysql
on statement: ALTER TABLE `contacts` DROP FOREIGN KEY `user_id_fk_contacts`;
Error: DBD::mysql::st execute failed: Error on rename of './roundcube/contacts' to './roundcube/#sql2-5e96a-abe73a' (errno: 152)
Warning: something's wrong at /usr/local/cpanel/bin/update-roundcube line 225.
Restoring previous Roundcube data
info [update-roundcube] Error occurred during upgrade
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
You may need to backup the roundcube database, drop it, and then force the roundcube update again. EX:

Code:
mysqldump roundcube > /var/cpanel/roundcube/backup_roundcube1.sql
mysql
mysql> DROP DATABASE roundcube;
Query OK, 15 rows affected (0.63 sec)
mysql> quit
/usr/local/cpanel/bin/update-roundcube --force
Then, if you have data you want to preserve from the Roundcube database that you saved, you can restore it.

Thank you.