<p></p>
<p>Im not saying the table version mismatch is crashing it, but i got it crash on a missing key:val in a mongo document :)<br>
so it might.. just might help in your case as well.</p>
<p>check this on your kamailio machine: /usr/share/kamailio/postgres or /usr/share/kamailio/mysql</p>
<p>This is what is needed as table version for 5.4.x</p>
<pre><code>kamailio2=# select * from version;
 id |     table_name      | table_version 
----+---------------------+---------------
  1 | version             |             1
  2 | acc                 |             5
  3 | acc_cdrs            |             2
  4 | missed_calls        |             4
  5 | lcr_gw              |             3
  6 | lcr_rule_target     |             1
  7 | lcr_rule            |             3
  8 | domain              |             2
  9 | domain_attrs        |             1
 10 | grp                 |             2
 11 | re_grp              |             1
 12 | trusted             |             6
 13 | address             |             6
 14 | aliases             |             8
 15 | location            |             9
 16 | location_attrs      |             1
 17 | silo                |             8
 18 | dbaliases           |             1
 19 | uri                 |             1
 20 | speed_dial          |             2
 21 | usr_preferences     |             2
 22 | subscriber          |             7
 23 | pdt                 |             1
 24 | dialog              |             7
 25 | dialog_vars         |             1
 26 | dispatcher          |             4
 27 | dialplan            |             2
 28 | topos_d             |             1
 29 | topos_t             |             1
 30 | presentity          |             5
 31 | active_watchers     |            12
 32 | watchers            |             3
 33 | xcap                |             4
 34 | pua                 |             7
 35 | rls_presentity      |             1
 36 | rls_watchers        |             3
 37 | imc_rooms           |             1
 38 | imc_members         |             1
 39 | cpl                 |             1
 40 | sip_trace           |             4
 41 | domainpolicy        |             2
 42 | carrierroute        |             3
 43 | carrierfailureroute |             2
 44 | carrier_name        |             1
 45 | domain_name         |             1
 46 | dr_gateways         |             3
 47 | dr_rules            |             3
 48 | dr_gw_lists         |             1
 49 | dr_groups           |             2
 50 | userblacklist       |             1
 51 | globalblacklist     |             1
 52 | htable              |             2
 53 | purplemap           |             1
 54 | uacreg              |             4
 55 | pl_pipes            |             1
 56 | mtree               |             1
 57 | mtrees              |             2
 58 | sca_subscriptions   |             2
 59 | mohqcalls           |             1
 60 | mohqueues           |             1
 61 | rtpproxy            |             1
 62 | rtpengine           |             1
 63 | secfilter           |             1
</code></pre>

<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/2560#issuecomment-739977585">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMRGFUNOPE4XL6CKX3STTV4HANCNFSM4UBLKL6A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLXWJJUOFQE2LSFL7DSTTV4HA5CNFSM4UBLKL6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFQNSS4I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2560#issuecomment-739977585",
"url": "https://github.com/kamailio/kamailio/issues/2560#issuecomment-739977585",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>