[Pkg-roundcube-maintainers] Bug#981716: roundcube-core: /usr/share/roundcube/bin/cleandb.sh aborts with php 7.4
Russell Coker
russell at coker.com.au
Wed Feb 3 07:53:27 GMT 2021
Package: roundcube
Version: 1.4.10+dfsg.2-1
Severity: normal
# /usr/bin/php7.4 /usr/share/roundcube/bin/cleandb.sh
PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /usr/share/roundcube/program/lib/Roundcube/bootstrap.php:86
Stack trace:
#0 /usr/share/roundcube/program/include/iniset.php(66): require_once()
#1 /usr/share/roundcube/program/include/clisetup.php(25): require_once('/usr/share/roun...')
#2 /usr/share/roundcube/bin/cleandb.sh(22): require('/usr/share/roun...')
#3 {main}
thrown in /usr/share/roundcube/program/lib/Roundcube/bootstrap.php on line 86
# /usr/bin/php7.3 /usr/share/roundcube/bin/cleandb.sh
0 records deleted from 'contactgroupmembers'
0 records deleted from 'contacts'
0 records deleted from 'contactgroupmembers'
0 records deleted from 'contactgroups'
0 records deleted from 'identities'
It works with PHP 7.3 but not 7.4. As an upgrade to bullseye upgrades from 7.3 to 7.4
this should work.
-- System Information:
Debian Release: 10.7
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Enforcing - Policy name: default
Versions of packages roundcube-core depends on:
ii dbconfig-common 2.0.11+deb10u1
ii debconf [debconf-2.0] 1.5.71
ii dpkg 1.19.7
ii libjs-bootstrap4 4.3.1+dfsg2-1
ii libjs-codemirror 5.59.2+~cs0.23.109-1
ii libjs-jquery 3.3.1~dfsg-3
ii libjs-jquery-minicolors 2.2.6+dfsg-3
ii libjs-jquery-ui 1.12.1+dfsg-5
ii libjs-jstimezonedetect 1.0.6-2
ii libmagic1 1:5.35-4+deb10u1
ii php 2:7.4+76
ii php-auth-sasl 1.0.6-3
ii php-common 2:69
ii php-intl 2:7.3+69
ii php-mail-mime 1.10.2-0.1
ii php-masterminds-html5 2.7.4+dfsg-2~bpo10+1
ii php-mbstring 2:7.3+69
ii php-net-sieve 1.4.1-1
ii php-net-smtp 1.8.0-1
ii php-net-socket 1.0.14-2
ii php-pear 1:1.10.6+submodules+notgz-1.1+deb10u1
ii php7.3 [php] 7.3.19-1~deb10u1
ii php7.3-cli [php-cli] 7.3.19-1~deb10u1
ii php7.3-intl [php-intl] 7.3.19-1~deb10u1
ii php7.3-json [php-json] 7.3.19-1~deb10u1
ii php7.3-mbstring [php-mbstring] 7.3.19-1~deb10u1
ii php7.4 [php] 7.4.14-1
ii php7.4-cli [php-cli] 7.4.14-1
ii php7.4-json [php-json] 7.4.14-1
ii roundcube-mysql 1.4.10+dfsg.2-1
ii roundcube-sqlite3 1.4.10+dfsg.2-1~bpo10+1
ii ucf 3.0038+nmu1
Versions of packages roundcube-core recommends:
ii apache2 [httpd-cgi] 2.4.46-4
ii php-fpm 2:7.4+76
ii php-gd 2:7.3+69
pn php-pspell <none>
ii php7.3-fpm [php-fpm] 7.3.19-1~deb10u1
ii php7.3-gd [php-gd] 7.3.19-1~deb10u1
ii php7.4-fpm [php-fpm] 7.4.14-1
Versions of packages roundcube-core suggests:
pn php-crypt-gpg <none>
pn php-mkopinsky-zxcvbn-php <none>
pn php-net-ldap3 <none>
pn roundcube-plugins <none>
Versions of packages roundcube depends on:
ii dpkg 1.19.7
-- Configuration Files:
/etc/cron.d/roundcube-core changed [not included]
-- debconf information excluded
More information about the Pkg-roundcube-maintainers
mailing list