[sr-dev] [kamailio/kamailio] table check error when upgrade kamailio 4 to 5 (#1780)

Victor Seva notifications at github.com
Wed Dec 26 11:57:16 CET 2018


>From https://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0

```
--table: subscriber
ALTER TABLE subscriber CHANGE COLUMN rpid rpid VARCHAR(128) DEFAULT NULL; -- was varchar(64) DEFAULT NULL
ALTER TABLE subscriber CHANGE COLUMN email_address email_address VARCHAR(128) DEFAULT NULL; -- was varchar(64) NOT NULL DEFAULT ''
ALTER TABLE subscriber CHANGE COLUMN password password VARCHAR(64) NOT NULL DEFAULT ''; -- was varchar(25) NOT NULL DEFAULT ''
ALTER TABLE subscriber CHANGE COLUMN ha1 ha1 VARCHAR(128) NOT NULL DEFAULT ''; -- was varchar(64) NOT NULL DEFAULT ''
ALTER TABLE subscriber CHANGE COLUMN ha1b ha1b VARCHAR(128) NOT NULL DEFAULT ''; -- was varchar(64) NOT NULL DEFAULT ''
UPDATE version SET table_version=7 WHERE TABLE_NAME="subscriber";
```

That's the official(**default**) table name.

```ERROR: auth_db [auth_db_mod.c:308]: auth_fixup(): error during table version check.```

Error seems pretty clear to me, the version value is wrong. It has the module name, so you can check 
[AUTH_DB Module db structure](https://www.kamailio.org/docs/db-tables/kamailio-db-5.2.x.html#idm1021174668) and find out what is missing.

You can imagine We can't support **every** *custom* installation in the world


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1780#issuecomment-449949610
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181226/e39c4929/attachment-0001.html>


More information about the sr-dev mailing list