upgrading from 3.0 to 3.3

Thomas Spuhler thomas.spuhler at btspuhler.com
Tue Nov 18 18:14:54 CET 2014


On 11/17/2014 04:53 PM, Torsten Grote wrote:
> Hi Thomas,
>
> On 11/18/2014 12:17 PM, Thomas Spuhler wrote:
>> the roundcube docs say, main.inc.php and db.inc.php have been
>> combined onto config.inc.php However, I don't have any db.xx lines in
>> my config.inc.php
>>
>> Could this be the problem. There isn't much in the sql log, but then
>> I wasn't able to log in.
> It could very well be.
>
> Do you have $config['db_dsnw'] in config.inc.php? If not, you better put
> it there. You might also want to run setup-kolab roundcube again.
>
> Kind Regards,
> Torsten
>
>
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
I do have this line:
$config['db_dsnw'] = 'mysqli://roundcube:pwd@localhost/roundcube';


I put this in too (from 3.0). Do I need it?
       $config['db_max_length'] = 512000;
    $config['db_persistent'] = TRUE;
    $config['db_table_users'] = 'users';
    $config['db_table_identities'] = 'identities';
    $config['db_table_contacts'] = 'contacts';
    $config['db_table_contactgroups'] = 'contactgroups';
    $config['db_table_contactgroupmembers'] = 'contactgroupmembers';
    $config['db_table_session'] = 'session';
    $config['db_table_cache'] = 'cache';
    $config['db_table_messages'] = 'messages';
    $config['db_sequence_users'] = 'user_ids';
    $config['db_sequence_identities'] = 'identity_ids';
    $config['db_sequence_contacts'] = 'contact_ids';
    $config['db_sequence_contactgroups'] = 'contactgroups_ids';
    $config['db_sequence_cache'] = 'cache_ids';
    $config['db_sequence_messages'] = 'message_ids';


The failure message on the WEB interface,
https://localhost:8443/roundcubemail/?_task=login  at login is:
Connection to storage server failed

And yes, I did run setup-kolab roundcube again.

I get these db errors, but I guess they should be expected?

# setup-kolab roundcube

Please supply a password for the MySQL user 'roundcube'. This password
will be used by the Roundcube webmail interface.

MySQL roundcube password [wPjn-X3jgdAAiAu]:
Confirm MySQL roundcube password:
MySQL root password:
ERROR 1007 (HY000) at line 1: Can't create database 'roundcube';
database exists
ERROR 1050 (42S01) at line 8: Table 'session' already exists
ERROR 1217 (23000) at line 10: Cannot delete or update a parent row: a
foreign key constraint fails

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kolab.org/pipermail/users/attachments/20141118/085f1544/attachment.sig>


More information about the users mailing list