Migration

63 views
Skip to first unread message

Miha Zoubek

unread,
May 28, 2018, 6:53:27 AM5/28/18
to CGRateS
Hello

i install cgreates, now i have issue with version migration.

### Started at: Mon May 28 10:43:30 CEST 2018
Migration needed: please backup cgr data and run cgr-loader -migrat

I tried to use cgr-loader -migrate="...."..... and cgr-migrator. First thing what bothers me is regarding DB. So, i have to migrate redius part or we are talking regarding mysql, which is used in my case for storage of cdrs?

Please let me know what i missing here.


tnx
miha







Miha Zoubek

unread,
May 28, 2018, 6:57:36 AM5/28/18
to CGRateS
and if i do this:

 cgr-migrator -stordb_passwd="CGRateS.org" -migrate="*set_versions"
flag provided but not defined: -stordb_passwd
Usage of cgr-migrator:
  -version
        Prints the application version.

cgr-migrator -version
CGRateS 0.9.1~rc8 git+7383f1e (2017-08-30T21:06:43+02:00

in logs is said that i have to migrate version.





Dne ponedeljek, 28. maj 2018 12.53.27 UTC+2 je oseba Miha Zoubek napisala:

DanB

unread,
May 28, 2018, 7:57:17 AM5/28/18
to cgr...@googlegroups.com
Hey Miha,

Your cgr-migrator appears to be needing an upgrade ;).

DanB
> --
> You received this message because you are subscribed to the Google
> Groups "CGRateS" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to cgrates+u...@googlegroups.com.
> To post to this group, send email to cgr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/cgrates/ea9bbc8a-088a-45ed-b2e3-2daf4c344311%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.

Miha Zoubek

unread,
May 28, 2018, 8:27:53 AM5/28/18
to CGRateS
ok, Dan, how to solve this so that i can use new version :) 

p.s: this is fresh install.

Dne ponedeljek, 28. maj 2018 13.57.17 UTC+2 je oseba DanB napisala:

DanB

unread,
May 28, 2018, 8:31:27 AM5/28/18
to cgr...@googlegroups.com
Hey Miha,

Can you show me again your version (of the fresh install)?

DanB
> msgid/cgrates/129caa80-a8c6-4291-aff2-5853b563e216%40googlegroups.com

Miha Zoubek

unread,
May 28, 2018, 8:33:41 AM5/28/18
to CGRateS
 cgr-loader -version
CGRateS 0.9.1~rc8 git+7383f1e (2017-08-30T21:06:43+02:00)


Dne ponedeljek, 28. maj 2018 14.31.27 UTC+2 je oseba DanB napisala:

DanB

unread,
May 28, 2018, 8:36:08 AM5/28/18
to cgr...@googlegroups.com
Miha,

Something is not right since your last version looks like being from
2017 (we are in 2018).

DanB
> msgid/cgrates/a62e4f37-6a90-48bf-974b-5112bb904230%40googlegroups.com

Miha Zoubek

unread,
May 28, 2018, 8:42:17 AM5/28/18
to CGRateS
ok, tnx. this was it. I guess 2017 was so good to me:)

sorry, do not know how to missed that.

Dne ponedeljek, 28. maj 2018 14.36.08 UTC+2 je oseba DanB napisala:
Reply all
Reply to author
Forward
0 new messages