Kolab-3. DB error

Carpenter, Troy troy at carpenter.cx
Tue Feb 3 18:17:38 CET 2015


On 2015-02-01 4:22 pm, Daniel Hoffend wrote:
> The kolab_cache_contact table belongs to the roundcube database.
> 
> Usually you shouldn't need to apply those patches manually. This
> is usually done by the upgrade script that gets executed during
> an installation or package upgrade.
> 
> Btw. Your error messages is about the cache_messages table and
> not the kolab_cache_contact table. It looks like the database
> structure of your default roundcube installation is out-of-date.
> 
> Maybe you would like to execute a command like this:
> 
>     /usr/share/roundcubemail/bin/updatedb.sh \
>         --dir /usr/share/doc/roundcubemail/SQL/ \
>         --package roundcube
> 
> But keep in mind: Usually this should have happend during the
> yum/apt-get upgrade command unless you've patched or installed
> roundcube yourself.


Sidetrack, but since it's related to DB errors, I thought I would ask.

I have been getting a DB error every time I update Roundcube or any 
other components.  So I tried the command above (with a slight 
modification listed below) and here are the results:

[root at mail etc]# /usr/share/roundcubemail/bin/updatedb.sh --dir 
/usr/share/doc/roundcubemail-1.1/SQL/ --package roundcube
Updating database schema (2013052500)... [FAILED]
ERROR: Error in DDL upgrade 2013052500: [1050] Table 'cache_shared' 
already exists

I see the first error all the time.  There are subsequent schemas in 
that SQL directory, but I'm guessing they are not applied since I'm 
getting the error.  How do I troubleshoot and fix this problem?

-- 
Troy Carpenter
troy at carpenter dot cx


More information about the users mailing list