<p>From <a href="https://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0" rel="nofollow">https://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0</a></p>
<pre><code>--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";
</code></pre>
<p>That's the official(<strong>default</strong>) table name.</p>
<p><code>ERROR: auth_db [auth_db_mod.c:308]: auth_fixup(): error during table version check.</code></p>
<p>Error seems pretty clear to me, the version value is wrong. It has the module name, so you can check<br>
<a href="https://www.kamailio.org/docs/db-tables/kamailio-db-5.2.x.html#idm1021174668" rel="nofollow">AUTH_DB Module db structure</a> and find out what is missing.</p>
<p>You can imagine We can't support <strong>every</strong> <em>custom</em> installation in the world</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1780#issuecomment-449949610">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZTctJYuA8wGcYCCzKZ_ba3T1kYb4ks5u81YMgaJpZM4Zgzoz">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZRj9PxCjNNJRADiEb9EhpMX_S7A9ks5u81YMgaJpZM4Zgzoz.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@linuxmaniac in #1780: From https://www.kamailio.org/wiki/install/upgrade/4.4.x-to-5.0.0\r\n\r\n```\r\n--table: subscriber\r\nALTER TABLE subscriber CHANGE COLUMN rpid rpid VARCHAR(128) DEFAULT NULL; -- was varchar(64) DEFAULT NULL\r\nALTER TABLE subscriber CHANGE COLUMN email_address email_address VARCHAR(128) DEFAULT NULL; -- was varchar(64) NOT NULL DEFAULT ''\r\nALTER TABLE subscriber CHANGE COLUMN password password VARCHAR(64) NOT NULL DEFAULT ''; -- was varchar(25) NOT NULL DEFAULT ''\r\nALTER TABLE subscriber CHANGE COLUMN ha1 ha1 VARCHAR(128) NOT NULL DEFAULT ''; -- was varchar(64) NOT NULL DEFAULT ''\r\nALTER TABLE subscriber CHANGE COLUMN ha1b ha1b VARCHAR(128) NOT NULL DEFAULT ''; -- was varchar(64) NOT NULL DEFAULT ''\r\nUPDATE version SET table_version=7 WHERE TABLE_NAME=\"subscriber\";\r\n```\r\n\r\nThat's the official(**default**) table name.\r\n\r\n```ERROR: auth_db [auth_db_mod.c:308]: auth_fixup(): error during table version check.```\r\n\r\nError seems pretty clear to me, the version value is wrong. It has the module name, so you can check \r\n[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.\r\n\r\nYou can imagine We can't support **every** *custom* installation in the world\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1780#issuecomment-449949610"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1780#issuecomment-449949610",
"url": "https://github.com/kamailio/kamailio/issues/1780#issuecomment-449949610",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>