[OpenSIPS-Users] OpenSIPS 3.1 - DB version table error

Liviu Chircu liviu at opensips.org
Tue Jul 28 08:10:26 EST 2020


On 28.07.2020 11:00, Mark Allen wrote:
> Presumably, there's somewhere that I should be telling opensips-cli 
> that I want it to use the 3.1 schema?

Hey, Mark!

That seems to be the problem, indeed.  I assume you haven't yet 
installed the 3.1 opensips-mysql-module package, so the CLI can find the 
new schema under /usr/local/share/opensips/mysql. Alternatively, if you 
have a 3.1 source tree, just force the "database_schema_path" CLI 
argument [1] and it should pick up the new tables.

Hope this helps,

[1]: 
https://github.com/OpenSIPS/opensips-cli/blob/master/docs/modules/database.md#database-migration-mysql-only

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
OpenSIPS Summit 2020 Distributed
   www.opensips.org/events/Summit-2020Distributed




More information about the Users mailing list