[Kamailio-Users] Another table version issue

Raúl Alexis Betancor Santana rabs at dimension-virtual.com
Mon May 25 11:02:31 CEST 2009


On Monday 25 May 2009 09:23:09 Henning Westerholt wrote:
> On Sonntag, 24. Mai 2009, Raúl Alexis Betancor Santana wrote:
> > ERROR:core:db_check_table_version: invalid version 2 for table
> > carrierfailureroute found, expected 3 (check table structure and
> > table "version")
> >
> > If I manualy set carrierfailureroute table version to 3 (UPDATE version
> > SET table_version = 3 where table_name = 'carrierfailureroute';) I get
> > the opposite error:
> >
> > ERROR:core:db_check_table_version: invalid version 3 for table
> > carrierfailureroute found, expected 2 (check table structure and
> > table "version")
> >
> > It have no sense ... any clue  what's happening ?
>
> Hi Raúl ,
>
> this is indeed really strange. This are the values in the code:
>
> /* table version */
> const unsigned int carrierroute_version = 3;
> /* table version */
> const unsigned int carrierfailureroute_version = 2;
>
> and the corresponding entries in the version table.
>
> +---------------+---------------------+
>
> | table_version | table_name          |
>
> +---------------+---------------------+
>
> |             3 | carrierroute        |
> |             2 | carrierfailureroute |
>
> +---------------+---------------------+

I have the same on a new fresh "kamdbctl create" database, but ... I get lot 
of errors about fields that doesn't exist on carrierfailureroute table, apart 
from the errors about versions.

> Perhaps you've done some changes to the cr module? Just guessing what could
> be the reason for this problem..

I'm trying to upgrade from 1.3.2 to 1.5.1, thats all.

I will do a fresh full install on a new virtual machine and let you know what 
I get.

Regards

P.D.: Do not CC me, i'm on the list, so simply reply to the list.


-- 
Raúl Alexis Betancor Santana
Dimensión Virtual



More information about the Users mailing list