<div dir="ltr">Hi Liviu<div><br></div><div>In my case I get:</div><div>database migrate<br></div><div>2.4_to_3.0 3.0_to_3.1<br></div><div><br></div><div>Which makes sense if not useful :(</div><div><br></div><div>I checked my installation:</div><div>which opensips-cli<br></div><div>/usr/bin/opensips-cli<br></div><div><br></div><div>dpkg -S /usr/bin/opensips-cli<br>opensips-cli: /usr/bin/opensips-cli<br></div><div><br></div><div>So I think I am using the nightly build from the apt repo.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 26 Jul 2021 at 12:29, Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On 26.07.2021 14:25, Mark Farmer wrote:<br>
> I have opensips 3.2 and opensips-cli nightly from the apt repo on <br>
> Ubuntu 20.04<br>
><br>
> When I try to run opensips-cli -x database migrate 3.1_to_3.2 opensips <br>
> opensips-32 I get this:<br>
><br>
> ERROR: unsupported migration flavour: 3.1_to_3.2<br>
<br>
Hi Mark,<br>
<br>
An easy way to test if your system really picked up the latest <br>
opensips-cli binaries is by using the auto-complete feature!<br>
<br>
$ opensips-cli<br>
(opensips-cli): database migrate <hit tab-tab-tab><br>
2.4_to_3.0 3.0_to_3.1 3.1_to_3.2<br>
<br>
In my case, I get three possible migration flavours. Does the output <br>
look the same in your case? If not, you may be dealing with an old CLI <br>
installed from source (perhaps with "python3 setup.py install clean"), <br>
which is now overriding your package install.<br>
<br>
Best,<br>
<br>
-- <br>
Liviu Chircu<br>
<a href="http://www.twitter.com/liviuchircu" rel="noreferrer" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
OpenSIPS Summit 2021 Distributed | <a href="http://www.opensips.org/events" rel="noreferrer" target="_blank">www.opensips.org/events</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>