I installed the 0.7.2-9 Debian package of roundcube but after installation I cannot connect to the database.
DATABASE ERROR: CONNECTION FAILED!
The information in /etc/roundcube/debian-db.php
seems to be correct - I can login with this information in console mysql and via phpmyadmin.
I ran dpkg-reconfigure roundcube-core several times. At first I tried to maintain the old database (I had a manually installed version of roundcube running beforehand) but then I created a new database with new roundcubeuser. Always the dpkg-reconfigure ends up with:
dpkg-reconfigure roundcube-core
dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
Replacing config file /etc/dbconfig-common/roundcube.conf with new version
Replacing config file /etc/roundcube/debian-db.php with new version
granting access to database roundcubedb for roundcubeuser@localhost: success.
verifying access for roundcubeuser@localhost: success.
creating database roundcubedb: success.
verifying database roundcubedb exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
[....] Reloading web server config: apache2[Tue Aug 23 11:05:35 2016] [warn] NameVirtualHost *:443 has no VirtualHosts
. ok
chown: cannot access `/var/lib/roundcube/temp': No such file or directory
I checked the postinstallation script of the deb package but the fix_symlinks section is a bit confusing to me, and I am not even sure the chown error has anything to do with the problem on hand (it is the last line of the postinstallaion script anyway).