[Pkg-roundcube-maintainers] Bug#887628: roundcube: Unsupported database driver with sqlite3 after dist-upgrade or install on stretch
Robert Lister
robl at lentil.org
Thu Jan 18 14:35:37 UTC 2018
Package: roundcube
Version: 1.2.3+dfsg.1-4+deb9u1
Severity: important
Dear Maintainer,
After dist-upgrade from jessie to stretch, my roundcube installation broke.
(I have roundcube with sqlite3 + apache2, based on standard package install)
In the error logs:
"DB Error: could not find driver in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 174"
* What exactly did you do (or not do) that was effective (or ineffective)?
Tried to remove and completely re-install:
apt-get purge roundcube
apt-get purge dbconfig-common
apt autoremove
rm -rf /etc/roundcube
rm -rf /etc/dbconfig-common
rm /var/lib/ucf/cache/:etc:dbconfig-common:roundcube.conf
apt-get clean
apt-get install roundcube
(in installation, select sqlite3 when prompted)
dpkg-reconfigure roundcube-core
(Edit apache config to enable the /roundcube alias, restart apache.)
root at eeyore:/etc/roundcube# dpkg-reconfigure roundcube-core
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
Not replacing deleted config file /etc/dbconfig-common/roundcube.conf
unable to read input file /etc/dbconfig-common/roundcube.conf
dbconfig-common: dumping sqlite3 database roundcube to /var/tmp/roundcube.roundcube.2018-01-18-14.06.sqlite3.cjF1Nc.
dbconfig-common: dropping old sqlite3 database roundcube.
dropping database roundcube: success.
verifying database roundcube was dropped: success.
creating database roundcube: success.
verifying database roundcube exists: success.
populating database via sql... done.
PHP Warning: include_once(/etc/roundcube/debian-db.php): failed to open stream: No such file or directory in /etc/roundcube/debian-db-roundcube.php on line 2
PHP Warning: include_once(): Failed opening '/etc/roundcube/debian-db.php' for inclusion (include_path='/usr/share/roundcube/program/lib:.:/usr/share/php') in /etc/roundcube/debian-db-roundcube.php on line 2
ERROR: Configuration error. Unsupported database driver: root at eeyore:/etc/roundcube#
root at eeyore:/etc/roundcube# cat /var/log/roundcube/errors
[18-Jan-2018 14:04:43 +0000]: DB Error: Configuration error. Unsupported database driver: in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82 (GET /roundcube/)
[18-Jan-2018 14:04:45 +0000]: DB Error: Configuration error. Unsupported database driver: in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82 (GET /roundcube/)
[18-Jan-2018 14:05:04 +0000]: DB Error: Configuration error. Unsupported database driver: in /usr/share/roundcube/program/lib/Roundcube/rcube_db.php on line 82 (GET /roundcube/)
-- System Information:
Debian Release: 9.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages roundcube depends on:
ii dpkg 1.18.24
ii roundcube-core 1.2.3+dfsg.1-4+deb9u1
roundcube recommends no packages.
roundcube suggests no packages.
Versions of packages roundcube-core depends on:
ii dbconfig-common 2.0.8
ii debconf [debconf-2.0] 1.5.61
ii dpkg 1.18.24
ii libapache2-mod-php 1:7.0+49
ii libapache2-mod-php7.0 [libapache2-mod-php] 7.0.27-0+deb9u1
ii libmagic1 1:5.30-1+deb9u1
ii php-auth-sasl 1.0.6-3
ii php-common 1:49
ii php-intl 1:7.0+49
ii php-mail-mime 1.10.0-2
ii php-mcrypt 1:7.0+49
ii php-net-smtp 1.7.1-2
ii php-net-socket 1.0.14-2
ii php-pear 1:1.10.1+submodules+notgz-9
ii php7.0-cli [php-cli] 7.0.27-0+deb9u1
ii php7.0-intl [php-intl] 7.0.27-0+deb9u1
ii php7.0-json [php-json] 7.0.27-0+deb9u1
ii php7.0-mcrypt [php-mcrypt] 7.0.27-0+deb9u1
ii roundcube-mysql 1.2.3+dfsg.1-4+deb9u1
ii ucf 3.0036
Versions of packages roundcube-core recommends:
ii apache2 [httpd-cgi] 2.4.25-3+deb9u3
ii php-gd 1:7.0+49
ii php-pspell 1:7.0+49
ii php7.0-gd [php-gd] 7.0.27-0+deb9u1
ii php7.0-pspell [php-pspell] 7.0.27-0+deb9u1
Versions of packages roundcube-core suggests:
pn php-crypt-gpg <none>
pn php-net-ldap2 <none>
pn php-net-ldap3 <none>
pn roundcube-plugins <none>
-- debconf information:
roundcube/language: en_GB
* roundcube/database-type: sqlite3
roundcube/upgrade-error: abort
roundcube/dbconfig-reinstall: false
roundcube/db/app-user:
roundcube/pgsql/admin-user: postgres
roundcube/install-error: abort
roundcube/passwords-do-not-match:
roundcube/missing-db-package-error: abort
roundcube/remote/newhost:
roundcube/hosts:
roundcube/mysql/method: Unix socket
roundcube/pgsql/manualconf:
roundcube/db/basepath: /var/lib/dbconfig-common/sqlite3/roundcube
roundcube/upgrade-backup: true
roundcube/remote/host: localhost
roundcube/dbconfig-remove: true
roundcube/internal/skip-preseed: false
roundcube/restart-webserver: true
roundcube/pgsql/authmethod-user: password
roundcube/pgsql/method: TCP/IP
roundcube/reconfigure-webserver: apache2, lighttpd
roundcube/db/dbname: roundcube
roundcube/remote/port:
roundcube/remove-error: abort
roundcube/dbconfig-upgrade: true
roundcube/mysql/admin-user:
roundcube/pgsql/changeconf: false
roundcube/pgsql/no-empty-passwords:
roundcube/pgsql/authmethod-admin: ident
* roundcube/dbconfig-install: true
roundcube/internal/reconfiguring: false
roundcube/purge: false
More information about the Pkg-roundcube-maintainers
mailing list