Hi all.
I'm trying to install Roundcube 0.5.2 on a debian server using postgresql and I'm desperately looking for a tutorial, a how-to...
A pointer to any lead would be appreciated.
Here are more details concerning the context and the issue(s) I am facing.
Before last week-end, il was running a nice debian lenny with a roundcube (0.3, I believe) installed by decompressing an archive in /usr/share/roundcube.
After the upgrade to squeeze (which broke a few things...), I thought I might as well upgrade to a newer version of roundcube.
A backport package being provided, I decided to use it : http://packages.debian.org/squeeze-backports/roundcube (along with the package for pgsql, and all necessary dependencies)
It seems like a lot of things have changed between 0.3 and 0.5. Perhaps the debian packagers have introduced modifications as well.
The installation used to involve accessing roundcube through its web page (URL/installer) and following the online configuration (database, etc). It looks like this does not existe anymore.
Concerning the DB, the config used to go like : pgsql://roundcube:password@localhost/roundcube
and now it is in /etc/roundcube/debian-db.php, generated from /etc/dbconfig-common/roundcube.conf
(Or perhaps is this specific to debian packaging ?)
Apparently I did not manage to configure the DB access correctly :
The error messages are :
On the web page DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator.
/var/log/apache2/error.log MDB2 Error: not found (-4): no RDBMS driver specified
/var/log/roundcube/errors DB Error: no RDBMS driver specified in /usr/share/roundcube/program/include/rcube_mdb2.php on line 101 (GET /)
I believe I entered the correct access parameters but I don't know where I indicated that postgresql is to be used (except when choosing its only .deb package).
/etc/roundcube/debian-db.php :
$dbuser='roundcube';
$dbpass='password';
$basepath='';
$dbname='roundcube';
$dbserver='';
$dbport='';
$dbtype='';
(It is a single server installation).
I don't understand all parameters in /etc/dbconfig-common/roundcube.conf
# dbc_dbtype: type of underlying database to use # this exists primarily to let dbconfig-common know what database # type to use when a package supports multiple database types. # don't change this value unless you know for certain that this # package supports multiple database types dbc_dbtype=''
Should I modify dbc_dbtype ?
Is there a guide for these parameters, apart from the comments ? Am I supposed to modify this file anyway ? Or is there any installer I didn't find already ?
Remarks :
as the installation I was already using, so I didn't move /usr/share/roundcube before processing. Therefore, I may have lost some of my old config (config directory was not modified, though). Anyway, it should not be an issue if I manage to get the new version up and running. I moved /usr/share/roundcube, then uninstalled through aptitude, then reinstalled, to get a clean directory. I don't think this is important but I might be wrong.
an installation, but I don't really mind losing it in the process : I've got a backup, and anyway, correct me if I'm wrong, but it is not much information (personnal settings, identities, and such, not a real issue for my users).
Thank you for any help. And sorry if it is an easy one, I swear I've been searching and I feel kinda stuck.