Bug #3309

Roundcube install fail - php-mysql not installed

Added by dz0 0te almost 4 years ago. Updated almost 4 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-roundcubemail
Target version:v6.7
Security class: Resolution:
Affected version:v6.7 NEEDINFO:No

Description

to replicate install a clean 6.7, update it, install Mail server with all option, then from dashboard > applications click to roundcube webmail

Error 500 in browser, while in /var/log/roundcubemail/errors
"PHP Fatal error: Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /usr/share/roundcubemail/program/lib/Roundcube/rcube_db_mysql.php on line 151"
solution was to install php-mysql-5.3.3-46.el6_6.x86_64.rpm

proposed solution: add php-mysql as dependence of nethserver-roundecubemail

Details here:
http://community.nethserver.org/t/roundcube-on-clean-6-7/2021

Associated revisions

Revision 8853891d
Added by Giacomo Sanchietti almost 4 years ago

spec: add php-mysql dependency. Refs #3309

History

#1 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-roundcubemail-1.1.0-1.2.g8853891.ns6.noarch.rpm
Test case
  • Check the bug is not reproducible

#5 Updated by stephane de Labrusse almost 4 years ago

Fully updated NS6.7

  1. yum install nethserver-roundcubemail --enablerepo=nethserver-testing

Installing:
nethserver-roundcubemail noarch 1.1.0-1.2.g8853891.ns6 nethserver-testing 38 k
Installing for dependencies:
...
....
php-mysql x86_64 5.3.3-46.el6_6 centos-updates 86 k
.....

after the installation, the roundcube session is reachable at https://url/webmail. I can perform a login with a user's credential.

set Verified

#6 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

#7 Updated by Giacomo Sanchietti almost 4 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-roundcubemail-1.1.1-1.ns6.noarch.rpm

Also available in: Atom PDF