Page 1 of 1

Roundcube Not Working

Posted: Tue Jan 14, 2014 9:47 am
by nightstryke
I'm using Ubuntu Server 12.04.3 x64.
I have installed twice and checked the settings, but Roundcube still won't connect to the database. There's something seriously wrong here if a new install isn't working!

Re: Roundcube Not Working

Posted: Tue Jan 14, 2014 11:04 am
by ahmiq
nightstryke wrote:I'm using Ubuntu Server 12.04.3 x64.
I have installed twice and checked the settings, but Roundcube still won't connect to the database. There's something seriously wrong here if a new install isn't working!
havent tried on ubuntu , but works ok with centos though

Re: Roundcube Not Working

Posted: Tue Jan 14, 2014 11:05 am
by nightstryke
ahmiq wrote:
nightstryke wrote:I'm using Ubuntu Server 12.04.3 x64.
I have installed twice and checked the settings, but Roundcube still won't connect to the database. There's something seriously wrong here if a new install isn't working!
havent tried on ubuntu , but works ok with centos though
Yeah not going to go through dependency hell just to get a control panel working, that's why I installed Ubuntu!

Re: Roundcube Not Working

Posted: Tue Jan 14, 2014 11:43 am
by nightstryke
Ok looking at it I've got these settings.

Code: Select all

/etc/roundcube/db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:012345@localhost/roundcube';

Code: Select all

/var/lib/roundcube/config/db.inc.php
$rcmail_config['db_dsnw'] = 'mysql://roundcube:012345@localhost/roundcube';

Code: Select all

/etc/roundcube/debian-db.php
$dbuser='roundcube';
$dbpass='56789';
$basepath='';
$dbname='roundcube';
$dbserver='';
$dbport='';
$dbtype='mysql';
Trying to log into roundcube user in CLI is unsuccessful with either of those passwords, but is successful without a password.

Any ideas? Should I dare to change them all to one password?

Re: Roundcube Not Working

Posted: Tue Jan 14, 2014 12:31 pm
by nightstryke
Ok changed the passwords in those files to the same password. - Didn't Work.

So I checked the databases apparently the install script for ubuntu is broken as it did not create the roundcube database. So I deleted and recreated the User and Database with the same password and then manually loaded the mysql database install and that seemed to fix it.